From 5a5b6cd1c4519e0e5b479f368a19163dacf2e93f Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Fri, 29 Mar 2024 05:26:42 -0700 Subject: [PATCH] Upgrade terraform-provider-databricks to v1.39.0 (#403) This PR was generated via `$ upgrade-provider pulumi/pulumi-databricks --kind=all --target-bridge-version=latest`. --- - Updating Java Gen version from 0.9.9 to 0.10.0. - Upgrading terraform-provider-databricks from 1.38.0 to 1.39.0. Fixes #402 --- .pulumi-java-gen.version | 2 +- .../bridge-metadata.json | 217 + .../pulumi-resource-databricks/schema.json | 1707 +- provider/go.mod | 36 +- provider/go.sum | 73 +- sdk/dotnet/CatalogWorkspaceBinding.cs | 6 +- sdk/dotnet/GetAwsCrossAccountPolicy.cs | 84 +- sdk/dotnet/GetStorageCredentials.cs | 15 +- ...JobJobSettingsSettingsTaskConditionTask.cs | 12 +- ...obSettingsSettingsTaskConditionTaskArgs.cs | 12 +- ...bSettingsSettingsTaskEmailNotifications.cs | 3 + ...tingsSettingsTaskEmailNotificationsArgs.cs | 3 + ...ettingsTaskForEachTaskTaskConditionTask.cs | 12 +- ...ngsTaskForEachTaskTaskConditionTaskArgs.cs | 12 +- ...gsTaskForEachTaskTaskEmailNotifications.cs | 3 + ...skForEachTaskTaskEmailNotificationsArgs.cs | 3 + ...tionsOnDurationWarningThresholdExceeded.cs | 4 +- ...sOnDurationWarningThresholdExceededArgs.cs | 4 +- ...chTaskTaskWebhookNotificationsOnFailure.cs | 4 +- ...skTaskWebhookNotificationsOnFailureArgs.cs | 4 +- ...EachTaskTaskWebhookNotificationsOnStart.cs | 4 +- ...TaskTaskWebhookNotificationsOnStartArgs.cs | 4 +- ...chTaskTaskWebhookNotificationsOnSuccess.cs | 4 +- ...skTaskWebhookNotificationsOnSuccessArgs.cs | 4 +- ...tionsOnDurationWarningThresholdExceeded.cs | 4 +- ...sOnDurationWarningThresholdExceededArgs.cs | 4 +- ...ttingsTaskWebhookNotificationsOnFailure.cs | 4 +- ...gsTaskWebhookNotificationsOnFailureArgs.cs | 4 +- ...SettingsTaskWebhookNotificationsOnStart.cs | 4 +- ...ingsTaskWebhookNotificationsOnStartArgs.cs | 4 +- ...ttingsTaskWebhookNotificationsOnSuccess.cs | 4 +- ...gsTaskWebhookNotificationsOnSuccessArgs.cs | 4 +- .../GetJobJobSettingsSettingsTrigger.cs | 7 +- .../GetJobJobSettingsSettingsTriggerArgs.cs | 7 +- ...obJobSettingsSettingsTriggerTableUpdate.cs | 37 + ...bSettingsSettingsTriggerTableUpdateArgs.cs | 37 + ...tionsOnDurationWarningThresholdExceeded.cs | 4 +- ...sOnDurationWarningThresholdExceededArgs.cs | 4 +- ...gsSettingsWebhookNotificationsOnFailure.cs | 4 +- ...ttingsWebhookNotificationsOnFailureArgs.cs | 4 +- ...ingsSettingsWebhookNotificationsOnStart.cs | 4 +- ...SettingsWebhookNotificationsOnStartArgs.cs | 4 +- ...gsSettingsWebhookNotificationsOnSuccess.cs | 4 +- ...ttingsWebhookNotificationsOnSuccessArgs.cs | 4 +- sdk/dotnet/Inputs/JobTaskArgs.cs | 2 +- sdk/dotnet/Inputs/JobTaskConditionTaskArgs.cs | 12 +- .../Inputs/JobTaskConditionTaskGetArgs.cs | 12 +- .../Inputs/JobTaskEmailNotificationsArgs.cs | 6 + .../JobTaskEmailNotificationsGetArgs.cs | 6 + .../Inputs/JobTaskForEachTaskTaskArgs.cs | 2 +- ...JobTaskForEachTaskTaskConditionTaskArgs.cs | 12 +- ...TaskForEachTaskTaskConditionTaskGetArgs.cs | 12 +- ...skForEachTaskTaskEmailNotificationsArgs.cs | 6 + ...orEachTaskTaskEmailNotificationsGetArgs.cs | 6 + .../Inputs/JobTaskForEachTaskTaskGetArgs.cs | 2 +- ...sOnDurationWarningThresholdExceededArgs.cs | 4 +- ...DurationWarningThresholdExceededGetArgs.cs | 4 +- ...skTaskWebhookNotificationsOnFailureArgs.cs | 4 +- ...askWebhookNotificationsOnFailureGetArgs.cs | 4 +- ...TaskTaskWebhookNotificationsOnStartArgs.cs | 4 +- ...kTaskWebhookNotificationsOnStartGetArgs.cs | 4 +- ...skTaskWebhookNotificationsOnSuccessArgs.cs | 4 +- ...askWebhookNotificationsOnSuccessGetArgs.cs | 4 +- sdk/dotnet/Inputs/JobTaskGetArgs.cs | 2 +- ...sOnDurationWarningThresholdExceededArgs.cs | 4 +- ...DurationWarningThresholdExceededGetArgs.cs | 4 +- ...obTaskWebhookNotificationsOnFailureArgs.cs | 4 +- ...askWebhookNotificationsOnFailureGetArgs.cs | 4 +- .../JobTaskWebhookNotificationsOnStartArgs.cs | 4 +- ...bTaskWebhookNotificationsOnStartGetArgs.cs | 4 +- ...obTaskWebhookNotificationsOnSuccessArgs.cs | 4 +- ...askWebhookNotificationsOnSuccessGetArgs.cs | 4 +- sdk/dotnet/Inputs/JobTriggerArgs.cs | 10 +- sdk/dotnet/Inputs/JobTriggerGetArgs.cs | 10 +- .../Inputs/JobTriggerTableUpdateArgs.cs | 50 + .../Inputs/JobTriggerTableUpdateGetArgs.cs | 50 + ...sOnDurationWarningThresholdExceededArgs.cs | 4 +- ...DurationWarningThresholdExceededGetArgs.cs | 4 +- .../JobWebhookNotificationsOnFailureArgs.cs | 4 +- ...JobWebhookNotificationsOnFailureGetArgs.cs | 4 +- .../JobWebhookNotificationsOnStartArgs.cs | 4 +- .../JobWebhookNotificationsOnStartGetArgs.cs | 4 +- .../JobWebhookNotificationsOnSuccessArgs.cs | 4 +- ...JobWebhookNotificationsOnSuccessGetArgs.cs | 4 +- .../LakehouseMonitorCustomMetricArgs.cs | 56 + .../LakehouseMonitorCustomMetricGetArgs.cs | 56 + ...ouseMonitorDataClassificationConfigArgs.cs | 23 + ...eMonitorDataClassificationConfigGetArgs.cs | 23 + .../LakehouseMonitorInferenceLogArgs.cs | 68 + .../LakehouseMonitorInferenceLogGetArgs.cs | 68 + .../LakehouseMonitorNotificationsArgs.cs | 23 + .../LakehouseMonitorNotificationsGetArgs.cs | 23 + ...ehouseMonitorNotificationsOnFailureArgs.cs | 28 + ...useMonitorNotificationsOnFailureGetArgs.cs | 28 + .../Inputs/LakehouseMonitorScheduleArgs.cs | 29 + .../Inputs/LakehouseMonitorScheduleGetArgs.cs | 29 + .../Inputs/LakehouseMonitorSnapshotArgs.cs | 20 + .../Inputs/LakehouseMonitorSnapshotGetArgs.cs | 20 + .../Inputs/LakehouseMonitorTimeSeriesArgs.cs | 38 + .../LakehouseMonitorTimeSeriesGetArgs.cs | 38 + sdk/dotnet/Inputs/ModelServingConfigArgs.cs | 16 + ...ModelServingConfigAutoCaptureConfigArgs.cs | 12 + ...elServingConfigAutoCaptureConfigGetArgs.cs | 12 + .../Inputs/ModelServingConfigGetArgs.cs | 16 + .../ModelServingConfigServedEntityArgs.cs | 92 + ...edEntityExternalModelAi21labsConfigArgs.cs | 26 + ...ntityExternalModelAi21labsConfigGetArgs.cs | 26 + ...ityExternalModelAmazonBedrockConfigArgs.cs | 44 + ...ExternalModelAmazonBedrockConfigGetArgs.cs | 44 + ...dEntityExternalModelAnthropicConfigArgs.cs | 27 + ...tityExternalModelAnthropicConfigGetArgs.cs | 27 + ...vingConfigServedEntityExternalModelArgs.cs | 80 + ...rvedEntityExternalModelCohereConfigArgs.cs | 26 + ...dEntityExternalModelCohereConfigGetArgs.cs | 26 + ...alModelDatabricksModelServingConfigArgs.cs | 32 + ...odelDatabricksModelServingConfigGetArgs.cs | 32 + ...gConfigServedEntityExternalModelGetArgs.cs | 80 + ...rvedEntityExternalModelOpenaiConfigArgs.cs | 56 + ...dEntityExternalModelOpenaiConfigGetArgs.cs | 56 + ...ServedEntityExternalModelPalmConfigArgs.cs | 26 + ...vedEntityExternalModelPalmConfigGetArgs.cs | 26 + .../ModelServingConfigServedEntityGetArgs.cs | 92 + .../ModelServingConfigServedModelArgs.cs | 4 +- .../ModelServingConfigServedModelGetArgs.cs | 4 +- .../ModelServingConfigTrafficConfigArgs.cs | 2 +- .../ModelServingConfigTrafficConfigGetArgs.cs | 2 +- ...odelServingConfigTrafficConfigRouteArgs.cs | 3 - ...lServingConfigTrafficConfigRouteGetArgs.cs | 3 - .../Inputs/ModelServingRateLimitArgs.cs | 9 + .../Inputs/ModelServingRateLimitGetArgs.cs | 9 + sdk/dotnet/Inputs/ModelServingTagArgs.cs | 6 + sdk/dotnet/Inputs/ModelServingTagGetArgs.cs | 6 + sdk/dotnet/Inputs/OnlineTableSpecArgs.cs | 68 + sdk/dotnet/Inputs/OnlineTableSpecGetArgs.cs | 68 + .../OnlineTableSpecRunContinuouslyArgs.cs | 20 + .../OnlineTableSpecRunContinuouslyGetArgs.cs | 20 + .../Inputs/OnlineTableSpecRunTriggeredArgs.cs | 20 + .../OnlineTableSpecRunTriggeredGetArgs.cs | 20 + sdk/dotnet/Inputs/OnlineTableStatusArgs.cs | 44 + ...neTableStatusContinuousUpdateStatusArgs.cs | 29 + ...ableStatusContinuousUpdateStatusGetArgs.cs | 29 + ...teStatusInitialPipelineSyncProgressArgs.cs | 35 + ...tatusInitialPipelineSyncProgressGetArgs.cs | 35 + .../OnlineTableStatusFailedStatusArgs.cs | 26 + .../OnlineTableStatusFailedStatusGetArgs.cs | 26 + sdk/dotnet/Inputs/OnlineTableStatusGetArgs.cs | 44 + ...OnlineTableStatusProvisioningStatusArgs.cs | 23 + ...ineTableStatusProvisioningStatusGetArgs.cs | 23 + ...ngStatusInitialPipelineSyncProgressArgs.cs | 35 + ...tatusInitialPipelineSyncProgressGetArgs.cs | 35 + ...ineTableStatusTriggeredUpdateStatusArgs.cs | 29 + ...TableStatusTriggeredUpdateStatusGetArgs.cs | 29 + ...UpdateStatusTriggeredUpdateProgressArgs.cs | 35 + ...ateStatusTriggeredUpdateProgressGetArgs.cs | 35 + sdk/dotnet/Inputs/ShareObjectArgs.cs | 4 +- sdk/dotnet/Inputs/ShareObjectGetArgs.cs | 4 +- .../Inputs/StorageCredentialAwsIamRoleArgs.cs | 10 +- .../StorageCredentialAwsIamRoleGetArgs.cs | 10 +- .../VectorSearchEndpointEndpointStatusArgs.cs | 2 +- ...ctorSearchEndpointEndpointStatusGetArgs.cs | 2 +- ...VectorSearchIndexDeltaSyncIndexSpecArgs.cs | 62 + ...aSyncIndexSpecEmbeddingSourceColumnArgs.cs | 32 + ...ncIndexSpecEmbeddingSourceColumnGetArgs.cs | 32 + ...aSyncIndexSpecEmbeddingVectorColumnArgs.cs | 32 + ...ncIndexSpecEmbeddingVectorColumnGetArgs.cs | 32 + ...torSearchIndexDeltaSyncIndexSpecGetArgs.cs | 62 + ...torSearchIndexDirectAccessIndexSpecArgs.cs | 50 + ...ccessIndexSpecEmbeddingSourceColumnArgs.cs | 32 + ...ssIndexSpecEmbeddingSourceColumnGetArgs.cs | 32 + ...ccessIndexSpecEmbeddingVectorColumnArgs.cs | 32 + ...ssIndexSpecEmbeddingVectorColumnGetArgs.cs | 32 + ...SearchIndexDirectAccessIndexSpecGetArgs.cs | 50 + .../Inputs/VectorSearchIndexStatusArgs.cs | 44 + .../Inputs/VectorSearchIndexStatusGetArgs.cs | 44 + sdk/dotnet/Job.cs | 6 +- sdk/dotnet/LakehouseMonitor.cs | 489 + sdk/dotnet/ModelServing.cs | 38 +- sdk/dotnet/OnlineTable.cs | 171 + ...SettingsSettingsTaskConditionTaskResult.cs | 12 +- ...ngsSettingsTaskEmailNotificationsResult.cs | 4 + ...sTaskForEachTaskTaskConditionTaskResult.cs | 12 +- ...ForEachTaskTaskEmailNotificationsResult.cs | 4 + ...nDurationWarningThresholdExceededResult.cs | 4 +- ...TaskWebhookNotificationsOnFailureResult.cs | 4 +- ...skTaskWebhookNotificationsOnStartResult.cs | 4 +- ...TaskWebhookNotificationsOnSuccessResult.cs | 4 +- ...nDurationWarningThresholdExceededResult.cs | 4 +- ...TaskWebhookNotificationsOnFailureResult.cs | 4 +- ...gsTaskWebhookNotificationsOnStartResult.cs | 4 +- ...TaskWebhookNotificationsOnSuccessResult.cs | 4 +- .../GetJobJobSettingsSettingsTriggerResult.cs | 10 +- ...ettingsSettingsTriggerTableUpdateResult.cs | 37 + ...nDurationWarningThresholdExceededResult.cs | 4 +- ...ingsWebhookNotificationsOnFailureResult.cs | 4 +- ...ttingsWebhookNotificationsOnStartResult.cs | 4 +- ...ingsWebhookNotificationsOnSuccessResult.cs | 4 +- sdk/dotnet/Outputs/JobTask.cs | 2 +- sdk/dotnet/Outputs/JobTaskConditionTask.cs | 12 +- .../Outputs/JobTaskEmailNotifications.cs | 7 + sdk/dotnet/Outputs/JobTaskForEachTaskTask.cs | 2 +- .../JobTaskForEachTaskTaskConditionTask.cs | 12 +- ...obTaskForEachTaskTaskEmailNotifications.cs | 7 + ...tionsOnDurationWarningThresholdExceeded.cs | 4 +- ...chTaskTaskWebhookNotificationsOnFailure.cs | 4 +- ...EachTaskTaskWebhookNotificationsOnStart.cs | 4 +- ...chTaskTaskWebhookNotificationsOnSuccess.cs | 4 +- ...tionsOnDurationWarningThresholdExceeded.cs | 4 +- .../JobTaskWebhookNotificationsOnFailure.cs | 4 +- .../JobTaskWebhookNotificationsOnStart.cs | 4 +- .../JobTaskWebhookNotificationsOnSuccess.cs | 4 +- sdk/dotnet/Outputs/JobTrigger.cs | 13 +- sdk/dotnet/Outputs/JobTriggerTableUpdate.cs | 49 + ...tionsOnDurationWarningThresholdExceeded.cs | 4 +- .../JobWebhookNotificationsOnFailure.cs | 4 +- .../Outputs/JobWebhookNotificationsOnStart.cs | 4 +- .../JobWebhookNotificationsOnSuccess.cs | 4 +- .../Outputs/LakehouseMonitorCustomMetric.cs | 56 + ...akehouseMonitorDataClassificationConfig.cs | 24 + .../Outputs/LakehouseMonitorInferenceLog.cs | 70 + .../Outputs/LakehouseMonitorNotifications.cs | 24 + .../LakehouseMonitorNotificationsOnFailure.cs | 24 + .../Outputs/LakehouseMonitorSchedule.cs | 33 + .../Outputs/LakehouseMonitorSnapshot.cs | 21 + .../Outputs/LakehouseMonitorTimeSeries.cs | 35 + sdk/dotnet/Outputs/ModelServingConfig.cs | 10 + .../ModelServingConfigAutoCaptureConfig.cs | 12 + .../Outputs/ModelServingConfigServedEntity.cs | 98 + ...lServingConfigServedEntityExternalModel.cs | 91 + ...ServedEntityExternalModelAi21labsConfig.cs | 27 + ...dEntityExternalModelAmazonBedrockConfig.cs | 49 + ...ervedEntityExternalModelAnthropicConfig.cs | 28 + ...igServedEntityExternalModelCohereConfig.cs | 27 + ...ternalModelDatabricksModelServingConfig.cs | 35 + ...igServedEntityExternalModelOpenaiConfig.cs | 63 + ...nfigServedEntityExternalModelPalmConfig.cs | 27 + .../Outputs/ModelServingConfigServedModel.cs | 4 +- .../ModelServingConfigTrafficConfig.cs | 2 +- .../ModelServingConfigTrafficConfigRoute.cs | 3 - sdk/dotnet/Outputs/ModelServingRateLimit.cs | 9 + sdk/dotnet/Outputs/ModelServingTag.cs | 6 + sdk/dotnet/Outputs/OnlineTableSpec.cs | 70 + .../Outputs/OnlineTableSpecRunContinuously.cs | 21 + .../Outputs/OnlineTableSpecRunTriggered.cs | 21 + sdk/dotnet/Outputs/OnlineTableStatus.cs | 51 + ...OnlineTableStatusContinuousUpdateStatus.cs | 33 + ...UpdateStatusInitialPipelineSyncProgress.cs | 41 + .../Outputs/OnlineTableStatusFailedStatus.cs | 29 + .../OnlineTableStatusProvisioningStatus.cs | 24 + ...ioningStatusInitialPipelineSyncProgress.cs | 41 + .../OnlineTableStatusTriggeredUpdateStatus.cs | 33 + ...eredUpdateStatusTriggeredUpdateProgress.cs | 41 + sdk/dotnet/Outputs/ShareObject.cs | 4 +- .../Outputs/StorageCredentialAwsIamRole.cs | 8 +- .../VectorSearchEndpointEndpointStatus.cs | 2 +- .../VectorSearchIndexDeltaSyncIndexSpec.cs | 56 + ...DeltaSyncIndexSpecEmbeddingSourceColumn.cs | 35 + ...DeltaSyncIndexSpecEmbeddingVectorColumn.cs | 35 + .../VectorSearchIndexDirectAccessIndexSpec.cs | 42 + ...ectAccessIndexSpecEmbeddingSourceColumn.cs | 35 + ...ectAccessIndexSpecEmbeddingVectorColumn.cs | 35 + sdk/dotnet/Outputs/VectorSearchIndexStatus.cs | 49 + sdk/dotnet/RegisteredModel.cs | 18 + sdk/dotnet/ServicePrincipal.cs | 57 +- sdk/dotnet/User.cs | 10 +- sdk/dotnet/VectorSearchEndpoint.cs | 20 +- sdk/dotnet/VectorSearchIndex.cs | 262 + sdk/go/databricks/catalogWorkspaceBinding.go | 6 +- sdk/go/databricks/getAwsCrossAccountPolicy.go | 51 +- sdk/go/databricks/getStorageCredentials.go | 10 +- sdk/go/databricks/init.go | 21 + sdk/go/databricks/job.go | 12 +- sdk/go/databricks/lakehouseMonitor.go | 574 + sdk/go/databricks/modelServing.go | 52 +- sdk/go/databricks/onlineTable.go | 287 + sdk/go/databricks/pulumiTypes.go | 50924 ++++++++-------- sdk/go/databricks/pulumiTypes1.go | 6558 +- sdk/go/databricks/registeredModel.go | 15 + sdk/go/databricks/servicePrincipal.go | 69 +- sdk/go/databricks/user.go | 16 +- sdk/go/databricks/vectorSearchEndpoint.go | 40 +- sdk/go/databricks/vectorSearchIndex.go | 376 + sdk/java/build.gradle | 2 +- .../databricks/CatalogWorkspaceBinding.java | 6 +- .../databricks/DatabricksFunctions.java | 12 +- .../main/java/com/pulumi/databricks/Job.java | 4 +- .../java/com/pulumi/databricks/JobArgs.java | 10 +- .../pulumi/databricks/LakehouseMonitor.java | 522 + .../databricks/LakehouseMonitorArgs.java | 624 + .../com/pulumi/databricks/ModelServing.java | 32 +- .../pulumi/databricks/ModelServingArgs.java | 52 + .../com/pulumi/databricks/OnlineTable.java | 168 + .../pulumi/databricks/OnlineTableArgs.java | 121 + .../pulumi/databricks/RegisteredModel.java | 14 + .../databricks/RegisteredModelArgs.java | 37 + .../pulumi/databricks/ServicePrincipal.java | 53 +- .../databricks/ServicePrincipalArgs.java | 16 +- .../main/java/com/pulumi/databricks/User.java | 8 +- .../java/com/pulumi/databricks/UserArgs.java | 8 +- .../databricks/VectorSearchEndpoint.java | 16 +- .../databricks/VectorSearchEndpointArgs.java | 16 +- .../pulumi/databricks/VectorSearchIndex.java | 244 + .../databricks/VectorSearchIndexArgs.java | 280 + .../inputs/GetAwsCrossAccountPolicyArgs.java | 190 + .../GetAwsCrossAccountPolicyPlainArgs.java | 139 + ...bJobSettingsSettingsTaskConditionTask.java | 42 +- ...SettingsSettingsTaskConditionTaskArgs.java | 42 +- ...ettingsSettingsTaskEmailNotifications.java | 14 + ...ngsSettingsTaskEmailNotificationsArgs.java | 18 + ...tingsTaskForEachTaskTaskConditionTask.java | 42 +- ...sTaskForEachTaskTaskConditionTaskArgs.java | 42 +- ...TaskForEachTaskTaskEmailNotifications.java | 14 + ...ForEachTaskTaskEmailNotificationsArgs.java | 18 + ...onsOnDurationWarningThresholdExceeded.java | 16 +- ...nDurationWarningThresholdExceededArgs.java | 16 +- ...TaskTaskWebhookNotificationsOnFailure.java | 16 +- ...TaskWebhookNotificationsOnFailureArgs.java | 16 +- ...chTaskTaskWebhookNotificationsOnStart.java | 16 +- ...skTaskWebhookNotificationsOnStartArgs.java | 16 +- ...TaskTaskWebhookNotificationsOnSuccess.java | 16 +- ...TaskWebhookNotificationsOnSuccessArgs.java | 16 +- ...onsOnDurationWarningThresholdExceeded.java | 16 +- ...nDurationWarningThresholdExceededArgs.java | 16 +- ...ingsTaskWebhookNotificationsOnFailure.java | 16 +- ...TaskWebhookNotificationsOnFailureArgs.java | 16 +- ...ttingsTaskWebhookNotificationsOnStart.java | 16 +- ...gsTaskWebhookNotificationsOnStartArgs.java | 16 +- ...ingsTaskWebhookNotificationsOnSuccess.java | 16 +- ...TaskWebhookNotificationsOnSuccessArgs.java | 16 +- .../GetJobJobSettingsSettingsTrigger.java | 28 +- .../GetJobJobSettingsSettingsTriggerArgs.java | 32 +- ...JobSettingsSettingsTriggerTableUpdate.java | 107 + ...ettingsSettingsTriggerTableUpdateArgs.java | 124 + ...onsOnDurationWarningThresholdExceeded.java | 16 +- ...nDurationWarningThresholdExceededArgs.java | 16 +- ...SettingsWebhookNotificationsOnFailure.java | 16 +- ...ingsWebhookNotificationsOnFailureArgs.java | 16 +- ...gsSettingsWebhookNotificationsOnStart.java | 16 +- ...ttingsWebhookNotificationsOnStartArgs.java | 16 +- ...SettingsWebhookNotificationsOnSuccess.java | 16 +- ...ingsWebhookNotificationsOnSuccessArgs.java | 16 +- .../inputs/GetStorageCredentialsArgs.java | 26 + .../GetStorageCredentialsPlainArgs.java | 20 + .../pulumi/databricks/inputs/JobState.java | 10 +- .../pulumi/databricks/inputs/JobTaskArgs.java | 10 +- .../inputs/JobTaskConditionTaskArgs.java | 42 +- .../inputs/JobTaskEmailNotificationsArgs.java | 38 + .../inputs/JobTaskForEachTaskTaskArgs.java | 10 +- ...bTaskForEachTaskTaskConditionTaskArgs.java | 42 +- ...ForEachTaskTaskEmailNotificationsArgs.java | 38 + ...nDurationWarningThresholdExceededArgs.java | 16 +- ...TaskWebhookNotificationsOnFailureArgs.java | 16 +- ...skTaskWebhookNotificationsOnStartArgs.java | 16 +- ...TaskWebhookNotificationsOnSuccessArgs.java | 16 +- ...nDurationWarningThresholdExceededArgs.java | 16 +- ...TaskWebhookNotificationsOnFailureArgs.java | 16 +- ...obTaskWebhookNotificationsOnStartArgs.java | 16 +- ...TaskWebhookNotificationsOnSuccessArgs.java | 16 +- .../databricks/inputs/JobTriggerArgs.java | 52 +- .../inputs/JobTriggerTableUpdateArgs.java | 210 + ...nDurationWarningThresholdExceededArgs.java | 16 +- .../JobWebhookNotificationsOnFailureArgs.java | 16 +- .../JobWebhookNotificationsOnStartArgs.java | 16 +- .../JobWebhookNotificationsOnSuccessArgs.java | 16 +- .../LakehouseMonitorCustomMetricArgs.java | 242 + ...seMonitorDataClassificationConfigArgs.java | 63 + .../LakehouseMonitorInferenceLogArgs.java | 316 + .../LakehouseMonitorNotificationsArgs.java | 63 + ...ouseMonitorNotificationsOnFailureArgs.java | 68 + .../inputs/LakehouseMonitorScheduleArgs.java | 97 + .../inputs/LakehouseMonitorSnapshotArgs.java | 28 + .../inputs/LakehouseMonitorState.java | 799 + .../LakehouseMonitorTimeSeriesArgs.java | 131 + .../inputs/ModelServingConfigArgs.java | 88 + ...delServingConfigAutoCaptureConfigArgs.java | 80 + .../ModelServingConfigServedEntityArgs.java | 458 + ...EntityExternalModelAi21labsConfigArgs.java | 85 + ...yExternalModelAmazonBedrockConfigArgs.java | 205 + ...ntityExternalModelAnthropicConfigArgs.java | 89 + ...ngConfigServedEntityExternalModelArgs.java | 433 + ...edEntityExternalModelCohereConfigArgs.java | 85 + ...ModelDatabricksModelServingConfigArgs.java | 125 + ...edEntityExternalModelOpenaiConfigArgs.java | 272 + ...rvedEntityExternalModelPalmConfigArgs.java | 85 + .../ModelServingConfigServedModelArgs.java | 16 +- .../ModelServingConfigTrafficConfigArgs.java | 10 +- ...elServingConfigTrafficConfigRouteArgs.java | 20 - .../inputs/ModelServingRateLimitArgs.java | 60 + .../databricks/inputs/ModelServingState.java | 52 + .../inputs/ModelServingTagArgs.java | 40 + .../inputs/OnlineTableSpecArgs.java | 319 + .../OnlineTableSpecRunContinuouslyArgs.java | 28 + .../OnlineTableSpecRunTriggeredArgs.java | 28 + .../databricks/inputs/OnlineTableState.java | 170 + .../inputs/OnlineTableStatusArgs.java | 192 + ...TableStatusContinuousUpdateStatusArgs.java | 99 + ...StatusInitialPipelineSyncProgressArgs.java | 132 + .../OnlineTableStatusFailedStatusArgs.java | 81 + ...lineTableStatusProvisioningStatusArgs.java | 63 + ...StatusInitialPipelineSyncProgressArgs.java | 132 + ...eTableStatusTriggeredUpdateStatusArgs.java | 99 + ...dateStatusTriggeredUpdateProgressArgs.java | 132 + .../inputs/RegisteredModelState.java | 37 + .../inputs/ServicePrincipalState.java | 16 +- .../databricks/inputs/ShareObjectArgs.java | 16 +- .../StorageCredentialAwsIamRoleArgs.java | 56 +- .../pulumi/databricks/inputs/UserState.java | 8 +- ...ectorSearchEndpointEndpointStatusArgs.java | 8 +- .../inputs/VectorSearchEndpointState.java | 34 +- ...ctorSearchIndexDeltaSyncIndexSpecArgs.java | 254 + ...yncIndexSpecEmbeddingSourceColumnArgs.java | 120 + ...yncIndexSpecEmbeddingVectorColumnArgs.java | 121 + ...rSearchIndexDirectAccessIndexSpecArgs.java | 180 + ...essIndexSpecEmbeddingSourceColumnArgs.java | 120 + ...essIndexSpecEmbeddingVectorColumnArgs.java | 121 + .../inputs/VectorSearchIndexState.java | 356 + .../inputs/VectorSearchIndexStatusArgs.java | 196 + .../GetAwsCrossAccountPolicyResult.java | 66 + ...bJobSettingsSettingsTaskConditionTask.java | 45 +- ...ettingsSettingsTaskEmailNotifications.java | 15 + ...tingsTaskForEachTaskTaskConditionTask.java | 45 +- ...TaskForEachTaskTaskEmailNotifications.java | 15 + ...onsOnDurationWarningThresholdExceeded.java | 17 +- ...TaskTaskWebhookNotificationsOnFailure.java | 17 +- ...chTaskTaskWebhookNotificationsOnStart.java | 17 +- ...TaskTaskWebhookNotificationsOnSuccess.java | 17 +- ...onsOnDurationWarningThresholdExceeded.java | 17 +- ...ingsTaskWebhookNotificationsOnFailure.java | 17 +- ...ttingsTaskWebhookNotificationsOnStart.java | 17 +- ...ingsTaskWebhookNotificationsOnSuccess.java | 17 +- .../GetJobJobSettingsSettingsTrigger.java | 29 +- ...JobSettingsSettingsTriggerTableUpdate.java | 96 + ...onsOnDurationWarningThresholdExceeded.java | 17 +- ...SettingsWebhookNotificationsOnFailure.java | 17 +- ...gsSettingsWebhookNotificationsOnStart.java | 17 +- ...SettingsWebhookNotificationsOnSuccess.java | 17 +- .../outputs/GetStorageCredentialsResult.java | 8 + .../pulumi/databricks/outputs/JobTask.java | 4 +- .../outputs/JobTaskConditionTask.java | 45 +- .../outputs/JobTaskEmailNotifications.java | 23 + .../outputs/JobTaskForEachTaskTask.java | 4 +- .../JobTaskForEachTaskTaskConditionTask.java | 45 +- ...TaskForEachTaskTaskEmailNotifications.java | 23 + ...onsOnDurationWarningThresholdExceeded.java | 17 +- ...TaskTaskWebhookNotificationsOnFailure.java | 17 +- ...chTaskTaskWebhookNotificationsOnStart.java | 17 +- ...TaskTaskWebhookNotificationsOnSuccess.java | 17 +- ...onsOnDurationWarningThresholdExceeded.java | 17 +- .../JobTaskWebhookNotificationsOnFailure.java | 17 +- .../JobTaskWebhookNotificationsOnStart.java | 17 +- .../JobTaskWebhookNotificationsOnSuccess.java | 17 +- .../pulumi/databricks/outputs/JobTrigger.java | 37 +- .../outputs/JobTriggerTableUpdate.java | 128 + ...onsOnDurationWarningThresholdExceeded.java | 17 +- .../JobWebhookNotificationsOnFailure.java | 17 +- .../JobWebhookNotificationsOnStart.java | 17 +- .../JobWebhookNotificationsOnSuccess.java | 17 +- .../outputs/LakehouseMonitorCustomMetric.java | 145 + ...ehouseMonitorDataClassificationConfig.java | 49 + .../outputs/LakehouseMonitorInferenceLog.java | 187 + .../LakehouseMonitorNotifications.java | 49 + ...akehouseMonitorNotificationsOnFailure.java | 52 + .../outputs/LakehouseMonitorSchedule.java | 75 + .../outputs/LakehouseMonitorSnapshot.java | 32 + .../outputs/LakehouseMonitorTimeSeries.java | 82 + .../outputs/ModelServingConfig.java | 41 + .../ModelServingConfigAutoCaptureConfig.java | 32 + .../ModelServingConfigServedEntity.java | 272 + ...ervingConfigServedEntityExternalModel.java | 260 + ...rvedEntityExternalModelAi21labsConfig.java | 58 + ...ntityExternalModelAmazonBedrockConfig.java | 127 + ...vedEntityExternalModelAnthropicConfig.java | 60 + ...ServedEntityExternalModelCohereConfig.java | 58 + ...rnalModelDatabricksModelServingConfig.java | 81 + ...ServedEntityExternalModelOpenaiConfig.java | 165 + ...igServedEntityExternalModelPalmConfig.java | 58 + .../ModelServingConfigServedModel.java | 8 +- .../ModelServingConfigTrafficConfig.java | 4 +- .../ModelServingConfigTrafficConfigRoute.java | 8 - .../outputs/ModelServingRateLimit.java | 24 + .../databricks/outputs/ModelServingTag.java | 16 + .../databricks/outputs/OnlineTableSpec.java | 190 + .../OnlineTableSpecRunContinuously.java | 32 + .../outputs/OnlineTableSpecRunTriggered.java | 32 + .../databricks/outputs/OnlineTableStatus.java | 134 + ...lineTableStatusContinuousUpdateStatus.java | 77 + ...dateStatusInitialPipelineSyncProgress.java | 102 + .../OnlineTableStatusFailedStatus.java | 63 + .../OnlineTableStatusProvisioningStatus.java | 49 + ...ningStatusInitialPipelineSyncProgress.java | 102 + ...nlineTableStatusTriggeredUpdateStatus.java | 77 + ...edUpdateStatusTriggeredUpdateProgress.java | 102 + .../databricks/outputs/ShareObject.java | 8 +- .../outputs/StorageCredentialAwsIamRole.java | 22 +- .../VectorSearchEndpointEndpointStatus.java | 4 +- .../VectorSearchIndexDeltaSyncIndexSpec.java | 150 + ...ltaSyncIndexSpecEmbeddingSourceColumn.java | 78 + ...ltaSyncIndexSpecEmbeddingVectorColumn.java | 79 + ...ectorSearchIndexDirectAccessIndexSpec.java | 108 + ...tAccessIndexSpecEmbeddingSourceColumn.java | 78 + ...tAccessIndexSpecEmbeddingVectorColumn.java | 79 + .../outputs/VectorSearchIndexStatus.java | 122 + sdk/nodejs/catalogWorkspaceBinding.ts | 6 +- sdk/nodejs/getAwsCrossAccountPolicy.ts | 52 + sdk/nodejs/getStorageCredentials.ts | 13 +- sdk/nodejs/index.ts | 24 + sdk/nodejs/job.ts | 6 +- sdk/nodejs/lakehouseMonitor.ts | 381 + sdk/nodejs/modelServing.ts | 30 +- sdk/nodejs/onlineTable.ts | 137 + sdk/nodejs/registeredModel.ts | 14 + sdk/nodejs/servicePrincipal.ts | 57 +- sdk/nodejs/tsconfig.json | 3 + sdk/nodejs/types/input.ts | 688 +- sdk/nodejs/types/output.ts | 640 +- sdk/nodejs/user.ts | 10 +- sdk/nodejs/vectorSearchEndpoint.ts | 20 +- sdk/nodejs/vectorSearchIndex.ts | 220 + sdk/python/pulumi_databricks/__init__.py | 27 + sdk/python/pulumi_databricks/_inputs.py | 2977 +- .../catalog_workspace_binding.py | 12 +- .../get_aws_cross_account_policy.py | 91 +- .../get_storage_credentials.py | 13 +- sdk/python/pulumi_databricks/job.py | 14 +- .../pulumi_databricks/lakehouse_monitor.py | 1030 + sdk/python/pulumi_databricks/model_serving.py | 58 +- sdk/python/pulumi_databricks/online_table.py | 276 + sdk/python/pulumi_databricks/outputs.py | 5940 +- .../pulumi_databricks/registered_model.py | 47 + .../pulumi_databricks/service_principal.py | 118 +- sdk/python/pulumi_databricks/user.py | 22 +- .../vector_search_endpoint.py | 44 +- .../pulumi_databricks/vector_search_index.py | 509 + 532 files changed, 67128 insertions(+), 29662 deletions(-) create mode 100644 sdk/dotnet/Inputs/GetJobJobSettingsSettingsTriggerTableUpdate.cs create mode 100644 sdk/dotnet/Inputs/GetJobJobSettingsSettingsTriggerTableUpdateArgs.cs create mode 100644 sdk/dotnet/Inputs/JobTriggerTableUpdateArgs.cs create mode 100644 sdk/dotnet/Inputs/JobTriggerTableUpdateGetArgs.cs create mode 100644 sdk/dotnet/Inputs/LakehouseMonitorCustomMetricArgs.cs create mode 100644 sdk/dotnet/Inputs/LakehouseMonitorCustomMetricGetArgs.cs create mode 100644 sdk/dotnet/Inputs/LakehouseMonitorDataClassificationConfigArgs.cs create mode 100644 sdk/dotnet/Inputs/LakehouseMonitorDataClassificationConfigGetArgs.cs create mode 100644 sdk/dotnet/Inputs/LakehouseMonitorInferenceLogArgs.cs create mode 100644 sdk/dotnet/Inputs/LakehouseMonitorInferenceLogGetArgs.cs create mode 100644 sdk/dotnet/Inputs/LakehouseMonitorNotificationsArgs.cs create mode 100644 sdk/dotnet/Inputs/LakehouseMonitorNotificationsGetArgs.cs create mode 100644 sdk/dotnet/Inputs/LakehouseMonitorNotificationsOnFailureArgs.cs create mode 100644 sdk/dotnet/Inputs/LakehouseMonitorNotificationsOnFailureGetArgs.cs create mode 100644 sdk/dotnet/Inputs/LakehouseMonitorScheduleArgs.cs create mode 100644 sdk/dotnet/Inputs/LakehouseMonitorScheduleGetArgs.cs create mode 100644 sdk/dotnet/Inputs/LakehouseMonitorSnapshotArgs.cs create mode 100644 sdk/dotnet/Inputs/LakehouseMonitorSnapshotGetArgs.cs create mode 100644 sdk/dotnet/Inputs/LakehouseMonitorTimeSeriesArgs.cs create mode 100644 sdk/dotnet/Inputs/LakehouseMonitorTimeSeriesGetArgs.cs create mode 100644 sdk/dotnet/Inputs/ModelServingConfigServedEntityArgs.cs create mode 100644 sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAi21labsConfigArgs.cs create mode 100644 sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAi21labsConfigGetArgs.cs create mode 100644 sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs.cs create mode 100644 sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAmazonBedrockConfigGetArgs.cs create mode 100644 sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAnthropicConfigArgs.cs create mode 100644 sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAnthropicConfigGetArgs.cs create mode 100644 sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelArgs.cs create mode 100644 sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelCohereConfigArgs.cs create mode 100644 sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelCohereConfigGetArgs.cs create mode 100644 sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs.cs create mode 100644 sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigGetArgs.cs create mode 100644 sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelGetArgs.cs create mode 100644 sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigArgs.cs create mode 100644 sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigGetArgs.cs create mode 100644 sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelPalmConfigArgs.cs create mode 100644 sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelPalmConfigGetArgs.cs create mode 100644 sdk/dotnet/Inputs/ModelServingConfigServedEntityGetArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableSpecArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableSpecGetArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableSpecRunContinuouslyArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableSpecRunContinuouslyGetArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableSpecRunTriggeredArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableSpecRunTriggeredGetArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableStatusArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableStatusContinuousUpdateStatusArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableStatusContinuousUpdateStatusGetArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressGetArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableStatusFailedStatusArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableStatusFailedStatusGetArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableStatusGetArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableStatusProvisioningStatusArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableStatusProvisioningStatusGetArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressGetArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableStatusTriggeredUpdateStatusArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableStatusTriggeredUpdateStatusGetArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs.cs create mode 100644 sdk/dotnet/Inputs/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressGetArgs.cs create mode 100644 sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecArgs.cs create mode 100644 sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs.cs create mode 100644 sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnGetArgs.cs create mode 100644 sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs.cs create mode 100644 sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnGetArgs.cs create mode 100644 sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecGetArgs.cs create mode 100644 sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecArgs.cs create mode 100644 sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs.cs create mode 100644 sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnGetArgs.cs create mode 100644 sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs.cs create mode 100644 sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnGetArgs.cs create mode 100644 sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecGetArgs.cs create mode 100644 sdk/dotnet/Inputs/VectorSearchIndexStatusArgs.cs create mode 100644 sdk/dotnet/Inputs/VectorSearchIndexStatusGetArgs.cs create mode 100644 sdk/dotnet/LakehouseMonitor.cs create mode 100644 sdk/dotnet/OnlineTable.cs create mode 100644 sdk/dotnet/Outputs/GetJobJobSettingsSettingsTriggerTableUpdateResult.cs create mode 100644 sdk/dotnet/Outputs/JobTriggerTableUpdate.cs create mode 100644 sdk/dotnet/Outputs/LakehouseMonitorCustomMetric.cs create mode 100644 sdk/dotnet/Outputs/LakehouseMonitorDataClassificationConfig.cs create mode 100644 sdk/dotnet/Outputs/LakehouseMonitorInferenceLog.cs create mode 100644 sdk/dotnet/Outputs/LakehouseMonitorNotifications.cs create mode 100644 sdk/dotnet/Outputs/LakehouseMonitorNotificationsOnFailure.cs create mode 100644 sdk/dotnet/Outputs/LakehouseMonitorSchedule.cs create mode 100644 sdk/dotnet/Outputs/LakehouseMonitorSnapshot.cs create mode 100644 sdk/dotnet/Outputs/LakehouseMonitorTimeSeries.cs create mode 100644 sdk/dotnet/Outputs/ModelServingConfigServedEntity.cs create mode 100644 sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModel.cs create mode 100644 sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelAi21labsConfig.cs create mode 100644 sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelAmazonBedrockConfig.cs create mode 100644 sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelAnthropicConfig.cs create mode 100644 sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelCohereConfig.cs create mode 100644 sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig.cs create mode 100644 sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelOpenaiConfig.cs create mode 100644 sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelPalmConfig.cs create mode 100644 sdk/dotnet/Outputs/OnlineTableSpec.cs create mode 100644 sdk/dotnet/Outputs/OnlineTableSpecRunContinuously.cs create mode 100644 sdk/dotnet/Outputs/OnlineTableSpecRunTriggered.cs create mode 100644 sdk/dotnet/Outputs/OnlineTableStatus.cs create mode 100644 sdk/dotnet/Outputs/OnlineTableStatusContinuousUpdateStatus.cs create mode 100644 sdk/dotnet/Outputs/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress.cs create mode 100644 sdk/dotnet/Outputs/OnlineTableStatusFailedStatus.cs create mode 100644 sdk/dotnet/Outputs/OnlineTableStatusProvisioningStatus.cs create mode 100644 sdk/dotnet/Outputs/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress.cs create mode 100644 sdk/dotnet/Outputs/OnlineTableStatusTriggeredUpdateStatus.cs create mode 100644 sdk/dotnet/Outputs/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress.cs create mode 100644 sdk/dotnet/Outputs/VectorSearchIndexDeltaSyncIndexSpec.cs create mode 100644 sdk/dotnet/Outputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn.cs create mode 100644 sdk/dotnet/Outputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn.cs create mode 100644 sdk/dotnet/Outputs/VectorSearchIndexDirectAccessIndexSpec.cs create mode 100644 sdk/dotnet/Outputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn.cs create mode 100644 sdk/dotnet/Outputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn.cs create mode 100644 sdk/dotnet/Outputs/VectorSearchIndexStatus.cs create mode 100644 sdk/dotnet/VectorSearchIndex.cs create mode 100644 sdk/go/databricks/lakehouseMonitor.go create mode 100644 sdk/go/databricks/onlineTable.go create mode 100644 sdk/go/databricks/vectorSearchIndex.go create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/LakehouseMonitor.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/LakehouseMonitorArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/OnlineTable.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/OnlineTableArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/VectorSearchIndex.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/VectorSearchIndexArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTriggerTableUpdate.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTriggerTableUpdateArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTriggerTableUpdateArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorCustomMetricArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorDataClassificationConfigArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorInferenceLogArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorNotificationsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorNotificationsOnFailureArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorScheduleArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorSnapshotArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorState.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorTimeSeriesArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelAi21labsConfigArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelAnthropicConfigArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelCohereConfigArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelPalmConfigArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableSpecArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableSpecRunContinuouslyArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableSpecRunTriggeredArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableState.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusContinuousUpdateStatusArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusFailedStatusArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusProvisioningStatusArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusTriggeredUpdateStatusArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDeltaSyncIndexSpecArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDirectAccessIndexSpecArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexState.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexStatusArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTriggerTableUpdate.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTriggerTableUpdate.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorCustomMetric.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorDataClassificationConfig.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorInferenceLog.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorNotifications.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorNotificationsOnFailure.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorSchedule.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorSnapshot.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorTimeSeries.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntity.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModel.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelAi21labsConfig.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelAmazonBedrockConfig.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelAnthropicConfig.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelCohereConfig.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelOpenaiConfig.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelPalmConfig.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableSpec.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableSpecRunContinuously.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableSpecRunTriggered.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatus.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusContinuousUpdateStatus.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusFailedStatus.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusProvisioningStatus.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusTriggeredUpdateStatus.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDeltaSyncIndexSpec.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDirectAccessIndexSpec.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn.java create mode 100644 sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexStatus.java create mode 100644 sdk/nodejs/lakehouseMonitor.ts create mode 100644 sdk/nodejs/onlineTable.ts create mode 100644 sdk/nodejs/vectorSearchIndex.ts create mode 100644 sdk/python/pulumi_databricks/lakehouse_monitor.py create mode 100644 sdk/python/pulumi_databricks/online_table.py create mode 100644 sdk/python/pulumi_databricks/vector_search_index.py diff --git a/.pulumi-java-gen.version b/.pulumi-java-gen.version index 6f060dcb..2774f858 100644 --- a/.pulumi-java-gen.version +++ b/.pulumi-java-gen.version @@ -1 +1 @@ -0.9.9 \ No newline at end of file +0.10.0 \ No newline at end of file diff --git a/provider/cmd/pulumi-resource-databricks/bridge-metadata.json b/provider/cmd/pulumi-resource-databricks/bridge-metadata.json index 70561f36..35d72ae2 100644 --- a/provider/cmd/pulumi-resource-databricks/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-databricks/bridge-metadata.json @@ -1252,6 +1252,16 @@ "fields": { "file_arrival": { "maxItemsOne": true + }, + "table_update": { + "maxItemsOne": true, + "elem": { + "fields": { + "table_names": { + "maxItemsOne": false + } + } + } } } } @@ -1277,6 +1287,71 @@ } } }, + "databricks_lakehouse_monitor": { + "current": "databricks:index/lakehouseMonitor:LakehouseMonitor", + "majorVersion": 1, + "fields": { + "custom_metrics": { + "maxItemsOne": false, + "elem": { + "fields": { + "input_columns": { + "maxItemsOne": false + } + } + } + }, + "data_classification_config": { + "maxItemsOne": true + }, + "inference_log": { + "maxItemsOne": true, + "elem": { + "fields": { + "granularities": { + "maxItemsOne": false + } + } + } + }, + "notifications": { + "maxItemsOne": true, + "elem": { + "fields": { + "on_failure": { + "maxItemsOne": true, + "elem": { + "fields": { + "email_addresses": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "schedule": { + "maxItemsOne": true + }, + "slicing_exprs": { + "maxItemsOne": false + }, + "snapshot": { + "maxItemsOne": true + }, + "time_series": { + "maxItemsOne": true, + "elem": { + "fields": { + "granularities": { + "maxItemsOne": false + } + } + } + } + } + }, "databricks_library": { "current": "databricks:index/library:Library", "majorVersion": 1, @@ -1367,6 +1442,41 @@ "auto_capture_config": { "maxItemsOne": true }, + "served_entities": { + "maxItemsOne": false, + "elem": { + "fields": { + "external_model": { + "maxItemsOne": true, + "elem": { + "fields": { + "ai21labs_config": { + "maxItemsOne": true + }, + "amazon_bedrock_config": { + "maxItemsOne": true + }, + "anthropic_config": { + "maxItemsOne": true + }, + "cohere_config": { + "maxItemsOne": true + }, + "databricks_model_serving_config": { + "maxItemsOne": true + }, + "openai_config": { + "maxItemsOne": true + }, + "palm_config": { + "maxItemsOne": true + } + } + } + } + } + } + }, "served_models": { "maxItemsOne": false }, @@ -1538,6 +1648,68 @@ "current": "databricks:index/oboToken:OboToken", "majorVersion": 1 }, + "databricks_online_table": { + "current": "databricks:index/onlineTable:OnlineTable", + "majorVersion": 1, + "fields": { + "spec": { + "maxItemsOne": true, + "elem": { + "fields": { + "primary_key_columns": { + "maxItemsOne": false + }, + "run_continuously": { + "maxItemsOne": true + }, + "run_triggered": { + "maxItemsOne": true + } + } + } + }, + "status": { + "maxItemsOne": false, + "elem": { + "fields": { + "continuous_update_status": { + "maxItemsOne": true, + "elem": { + "fields": { + "initial_pipeline_sync_progress": { + "maxItemsOne": true + } + } + } + }, + "failed_status": { + "maxItemsOne": true + }, + "provisioning_status": { + "maxItemsOne": true, + "elem": { + "fields": { + "initial_pipeline_sync_progress": { + "maxItemsOne": true + } + } + } + }, + "triggered_update_status": { + "maxItemsOne": true, + "elem": { + "fields": { + "triggered_update_progress": { + "maxItemsOne": true + } + } + } + } + } + } + } + } + }, "databricks_permission_assignment": { "current": "databricks:index/permissionAssignment:PermissionAssignment", "majorVersion": 1, @@ -2055,6 +2227,41 @@ } } }, + "databricks_vector_search_index": { + "current": "databricks:index/vectorSearchIndex:VectorSearchIndex", + "majorVersion": 1, + "fields": { + "delta_sync_index_spec": { + "maxItemsOne": true, + "elem": { + "fields": { + "embedding_source_columns": { + "maxItemsOne": false + }, + "embedding_vector_columns": { + "maxItemsOne": false + } + } + } + }, + "direct_access_index_spec": { + "maxItemsOne": true, + "elem": { + "fields": { + "embedding_source_columns": { + "maxItemsOne": false + }, + "embedding_vector_columns": { + "maxItemsOne": false + } + } + } + }, + "status": { + "maxItemsOne": false + } + } + }, "databricks_volume": { "current": "databricks:index/volume:Volume", "majorVersion": 1 @@ -3262,6 +3469,16 @@ "fields": { "file_arrival": { "maxItemsOne": true + }, + "table_update": { + "maxItemsOne": true, + "elem": { + "fields": { + "table_names": { + "maxItemsOne": false + } + } + } } } } diff --git a/provider/cmd/pulumi-resource-databricks/schema.json b/provider/cmd/pulumi-resource-databricks/schema.json index 35c6da3c..9a3aacf9 100644 --- a/provider/cmd/pulumi-resource-databricks/schema.json +++ b/provider/cmd/pulumi-resource-databricks/schema.json @@ -2439,7 +2439,7 @@ "items": { "$ref": "#/types/databricks:index/JobTaskLibrary:JobTaskLibrary" }, - "description": "(Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource.\n" + "description": "(Set) An optional list of libraries to be installed on the cluster that will execute the job.\n" }, "maxRetries": { "type": "integer", @@ -2526,7 +2526,12 @@ "description": "The right operand of the condition task. It could be a string value, job state, or parameter reference.\n" } }, - "type": "object" + "type": "object", + "required": [ + "left", + "op", + "right" + ] }, "databricks:index/JobTaskDbtTask:JobTaskDbtTask": { "properties": { @@ -2585,6 +2590,10 @@ }, "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": { @@ -2679,7 +2688,7 @@ "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. Please consult libraries section for databricks.Cluster resource.\n" + "description": "(Set) An optional list of libraries to be installed on the cluster that will execute the job.\n" }, "maxRetries": { "type": "integer", @@ -2766,7 +2775,12 @@ "description": "The right operand of the condition task. It could be a string value, job state, or parameter reference.\n" } }, - "type": "object" + "type": "object", + "required": [ + "left", + "op", + "right" + ] }, "databricks:index/JobTaskForEachTaskTaskDbtTask:JobTaskForEachTaskTaskDbtTask": { "properties": { @@ -2825,6 +2839,10 @@ }, "databricks:index/JobTaskForEachTaskTaskEmailNotifications:JobTaskForEachTaskTaskEmailNotifications": { "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": { @@ -3755,7 +3773,10 @@ "description": "ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered.\n\n\u003e **Note** The following configuration blocks can be standalone or nested inside a `task` block\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/JobTaskForEachTaskTaskWebhookNotificationsOnFailure:JobTaskForEachTaskTaskWebhookNotificationsOnFailure": { "properties": { @@ -3764,7 +3785,10 @@ "description": "ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered.\n\n\u003e **Note** The following configuration blocks can be standalone or nested inside a `task` block\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/JobTaskForEachTaskTaskWebhookNotificationsOnStart:JobTaskForEachTaskTaskWebhookNotificationsOnStart": { "properties": { @@ -3773,7 +3797,10 @@ "description": "ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered.\n\n\u003e **Note** The following configuration blocks can be standalone or nested inside a `task` block\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/JobTaskForEachTaskTaskWebhookNotificationsOnSuccess:JobTaskForEachTaskTaskWebhookNotificationsOnSuccess": { "properties": { @@ -3782,7 +3809,10 @@ "description": "ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered.\n\n\u003e **Note** The following configuration blocks can be standalone or nested inside a `task` block\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/JobTaskHealth:JobTaskHealth": { "properties": { @@ -4682,7 +4712,10 @@ "description": "ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered.\n\n\u003e **Note** The following configuration blocks can be standalone or nested inside a `task` block\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/JobTaskWebhookNotificationsOnFailure:JobTaskWebhookNotificationsOnFailure": { "properties": { @@ -4691,7 +4724,10 @@ "description": "ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered.\n\n\u003e **Note** The following configuration blocks can be standalone or nested inside a `task` block\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/JobTaskWebhookNotificationsOnStart:JobTaskWebhookNotificationsOnStart": { "properties": { @@ -4700,7 +4736,10 @@ "description": "ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered.\n\n\u003e **Note** The following configuration blocks can be standalone or nested inside a `task` block\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/JobTaskWebhookNotificationsOnSuccess:JobTaskWebhookNotificationsOnSuccess": { "properties": { @@ -4709,7 +4748,10 @@ "description": "ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered.\n\n\u003e **Note** The following configuration blocks can be standalone or nested inside a `task` block\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/JobTrigger:JobTrigger": { "properties": { @@ -4720,12 +4762,13 @@ "pauseStatus": { "type": "string", "description": "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`.\n" + }, + "tableUpdate": { + "$ref": "#/types/databricks:index/JobTriggerTableUpdate:JobTriggerTableUpdate", + "description": "configuration block to define a trigger for Table Update events consisting of following attributes:\n" } }, - "type": "object", - "required": [ - "fileArrival" - ] + "type": "object" }, "databricks:index/JobTriggerFileArrival:JobTriggerFileArrival": { "properties": { @@ -4747,6 +4790,33 @@ "url" ] }, + "databricks:index/JobTriggerTableUpdate:JobTriggerTableUpdate": { + "properties": { + "condition": { + "type": "string", + "description": "The table(s) condition based on which to trigger a job run. Valid values are `ANY_UPDATED` or `ALL_UPDATED`.\n" + }, + "minTimeBetweenTriggersSeconds": { + "type": "integer", + "description": "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.\n" + }, + "tableNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of Delta tables to monitor for changes. The table name must be in the format `catalog_name.schema_name.table_name`.\n" + }, + "waitAfterLastChangeSeconds": { + "type": "integer", + "description": "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.\n" + } + }, + "type": "object", + "required": [ + "tableNames" + ] + }, "databricks:index/JobWebhookNotifications:JobWebhookNotifications": { "properties": { "onDurationWarningThresholdExceededs": { @@ -4787,7 +4857,10 @@ "description": "ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered.\n\n\u003e **Note** The following configuration blocks can be standalone or nested inside a `task` block\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/JobWebhookNotificationsOnFailure:JobWebhookNotificationsOnFailure": { "properties": { @@ -4796,7 +4869,10 @@ "description": "ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered.\n\n\u003e **Note** The following configuration blocks can be standalone or nested inside a `task` block\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/JobWebhookNotificationsOnStart:JobWebhookNotificationsOnStart": { "properties": { @@ -4805,7 +4881,10 @@ "description": "ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered.\n\n\u003e **Note** The following configuration blocks can be standalone or nested inside a `task` block\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/JobWebhookNotificationsOnSuccess:JobWebhookNotificationsOnSuccess": { "properties": { @@ -4814,6 +4893,133 @@ "description": "ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered.\n\n\u003e **Note** The following configuration blocks can be standalone or nested inside a `task` block\n" } }, + "type": "object", + "required": [ + "id" + ] + }, + "databricks:index/LakehouseMonitorCustomMetric:LakehouseMonitorCustomMetric": { + "properties": { + "definition": { + "type": "string", + "description": "[create metric definition]: https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition\n" + }, + "inputColumns": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Columns on the monitored table to apply the custom metrics to.\n" + }, + "name": { + "type": "string", + "description": "Name of the custom metric.\n" + }, + "outputDataType": { + "type": "string", + "description": "The output type of the custom metric.\n" + }, + "type": { + "type": "string", + "description": "The type of the custom metric.\n" + } + }, + "type": "object" + }, + "databricks:index/LakehouseMonitorDataClassificationConfig:LakehouseMonitorDataClassificationConfig": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "databricks:index/LakehouseMonitorInferenceLog:LakehouseMonitorInferenceLog": { + "properties": { + "granularities": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of granularities to use when aggregating data into time windows based on their timestamp.\n" + }, + "labelCol": { + "type": "string", + "description": "Column of the model label\n" + }, + "modelIdCol": { + "type": "string", + "description": "Column of the model id or version\n" + }, + "predictionCol": { + "type": "string", + "description": "Column of the model prediction\n" + }, + "predictionProbaCol": { + "type": "string", + "description": "Column of the model prediction probabilities\n" + }, + "problemType": { + "type": "string", + "description": "Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION`\n" + }, + "timestampCol": { + "type": "string", + "description": "Column of the timestamp of predictions\n" + } + }, + "type": "object" + }, + "databricks:index/LakehouseMonitorNotifications:LakehouseMonitorNotifications": { + "properties": { + "onFailure": { + "$ref": "#/types/databricks:index/LakehouseMonitorNotificationsOnFailure:LakehouseMonitorNotificationsOnFailure" + } + }, + "type": "object" + }, + "databricks:index/LakehouseMonitorNotificationsOnFailure:LakehouseMonitorNotificationsOnFailure": { + "properties": { + "emailAddresses": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" + }, + "databricks:index/LakehouseMonitorSchedule:LakehouseMonitorSchedule": { + "properties": { + "pauseStatus": { + "type": "string" + }, + "quartzCronExpression": { + "type": "string" + }, + "timezoneId": { + "type": "string" + } + }, + "type": "object" + }, + "databricks:index/LakehouseMonitorSnapshot:LakehouseMonitorSnapshot": { + "type": "object" + }, + "databricks:index/LakehouseMonitorTimeSeries:LakehouseMonitorTimeSeries": { + "properties": { + "granularities": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of granularities to use when aggregating data into time windows based on their timestamp.\n" + }, + "timestampCol": { + "type": "string", + "description": "Column of the timestamp of predictions\n" + } + }, "type": "object" }, "databricks:index/LibraryCran:LibraryCran": { @@ -5048,14 +5254,23 @@ "databricks:index/ModelServingConfig:ModelServingConfig": { "properties": { "autoCaptureConfig": { - "$ref": "#/types/databricks:index/ModelServingConfigAutoCaptureConfig:ModelServingConfigAutoCaptureConfig" + "$ref": "#/types/databricks:index/ModelServingConfigAutoCaptureConfig:ModelServingConfigAutoCaptureConfig", + "description": "Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog.\n" + }, + "servedEntities": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/ModelServingConfigServedEntity:ModelServingConfigServedEntity" + }, + "description": "A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities.\n" }, "servedModels": { "type": "array", "items": { "$ref": "#/types/databricks:index/ModelServingConfigServedModel:ModelServingConfigServedModel" }, - "description": "Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models.\n" + "description": "Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models.\n", + "deprecationMessage": "Please use 'config.served_entities' instead of 'config.served_models'." }, "trafficConfig": { "$ref": "#/types/databricks:index/ModelServingConfigTrafficConfig:ModelServingConfigTrafficConfig", @@ -5074,20 +5289,260 @@ "databricks:index/ModelServingConfigAutoCaptureConfig:ModelServingConfigAutoCaptureConfig": { "properties": { "catalogName": { - "type": "string" + "type": "string", + "description": "The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set.\n", + "willReplaceOnChanges": true }, "enabled": { - "type": "boolean" + "type": "boolean", + "description": "If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable again.\n" }, "schemaName": { - "type": "string" + "type": "string", + "description": "The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set.\n", + "willReplaceOnChanges": true }, "tableNamePrefix": { - "type": "string" + "type": "string", + "description": "The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set.\n", + "willReplaceOnChanges": true } }, "type": "object" }, + "databricks:index/ModelServingConfigServedEntity:ModelServingConfigServedEntity": { + "properties": { + "entityName": { + "type": "string", + "description": "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`.\n" + }, + "entityVersion": { + "type": "string", + "description": "The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`.\n" + }, + "environmentVars": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "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 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}}\"}```\n" + }, + "externalModel": { + "$ref": "#/types/databricks:index/ModelServingConfigServedEntityExternalModel:ModelServingConfigServedEntityExternalModel", + "description": "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. For an existing endpoint with `external_model`, it 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.\n" + }, + "instanceProfileArn": { + "type": "string", + "description": "ARN of the instance profile that the served entity uses to access AWS resources.\n" + }, + "maxProvisionedThroughput": { + "type": "integer", + "description": "The maximum tokens per second that the endpoint can scale up to.\n" + }, + "minProvisionedThroughput": { + "type": "integer", + "description": "The minimum tokens per second that the endpoint can scale down to.\n" + }, + "name": { + "type": "string", + "description": "The name of the external model.\n" + }, + "scaleToZeroEnabled": { + "type": "boolean", + "description": "Whether the compute resources for the served entity should scale down to zero.\n" + }, + "workloadSize": { + "type": "string", + "description": "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.\n" + }, + "workloadType": { + "type": "string", + "description": "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).\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "name" + ] + } + } + }, + "databricks:index/ModelServingConfigServedEntityExternalModel:ModelServingConfigServedEntityExternalModel": { + "properties": { + "ai21labsConfig": { + "$ref": "#/types/databricks:index/ModelServingConfigServedEntityExternalModelAi21labsConfig:ModelServingConfigServedEntityExternalModelAi21labsConfig", + "description": "AI21Labs Config\n" + }, + "amazonBedrockConfig": { + "$ref": "#/types/databricks:index/ModelServingConfigServedEntityExternalModelAmazonBedrockConfig:ModelServingConfigServedEntityExternalModelAmazonBedrockConfig", + "description": "Amazon Bedrock Config\n" + }, + "anthropicConfig": { + "$ref": "#/types/databricks:index/ModelServingConfigServedEntityExternalModelAnthropicConfig:ModelServingConfigServedEntityExternalModelAnthropicConfig", + "description": "Anthropic Config\n" + }, + "cohereConfig": { + "$ref": "#/types/databricks:index/ModelServingConfigServedEntityExternalModelCohereConfig:ModelServingConfigServedEntityExternalModelCohereConfig", + "description": "Cohere Config\n" + }, + "databricksModelServingConfig": { + "$ref": "#/types/databricks:index/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig:ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig", + "description": "Databricks Model Serving Config\n" + }, + "name": { + "type": "string", + "description": "The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name.\n" + }, + "openaiConfig": { + "$ref": "#/types/databricks:index/ModelServingConfigServedEntityExternalModelOpenaiConfig:ModelServingConfigServedEntityExternalModelOpenaiConfig", + "description": "OpenAI Config\n" + }, + "palmConfig": { + "$ref": "#/types/databricks:index/ModelServingConfigServedEntityExternalModelPalmConfig:ModelServingConfigServedEntityExternalModelPalmConfig", + "description": "PaLM Config\n" + }, + "provider": { + "type": "string", + "description": "The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `openai`, and `palm`.\n" + }, + "task": { + "type": "string", + "description": "The task type of the external model.\n" + } + }, + "type": "object", + "required": [ + "name", + "provider", + "task" + ] + }, + "databricks:index/ModelServingConfigServedEntityExternalModelAi21labsConfig:ModelServingConfigServedEntityExternalModelAi21labsConfig": { + "properties": { + "ai21labsApiKey": { + "type": "string", + "description": "The Databricks secret key reference for an AI21Labs API key.\n" + } + }, + "type": "object", + "required": [ + "ai21labsApiKey" + ] + }, + "databricks:index/ModelServingConfigServedEntityExternalModelAmazonBedrockConfig:ModelServingConfigServedEntityExternalModelAmazonBedrockConfig": { + "properties": { + "awsAccessKeyId": { + "type": "string", + "description": "The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services.\n" + }, + "awsRegion": { + "type": "string", + "description": "The AWS region to use. Bedrock has to be enabled there.\n" + }, + "awsSecretAccessKey": { + "type": "string", + "description": "The Databricks secret key reference for an AWS Secret Access Key paired with the access key ID, with permissions to interact with Bedrock services.\n" + }, + "bedrockProvider": { + "type": "string", + "description": "The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`.\n" + } + }, + "type": "object", + "required": [ + "awsAccessKeyId", + "awsRegion", + "awsSecretAccessKey", + "bedrockProvider" + ] + }, + "databricks:index/ModelServingConfigServedEntityExternalModelAnthropicConfig:ModelServingConfigServedEntityExternalModelAnthropicConfig": { + "properties": { + "anthropicApiKey": { + "type": "string", + "description": "The Databricks secret key reference for an Anthropic API key.\nThe Databricks secret key reference for an Anthropic API key.\n" + } + }, + "type": "object", + "required": [ + "anthropicApiKey" + ] + }, + "databricks:index/ModelServingConfigServedEntityExternalModelCohereConfig:ModelServingConfigServedEntityExternalModelCohereConfig": { + "properties": { + "cohereApiKey": { + "type": "string", + "description": "The Databricks secret key reference for a Cohere API key.\n" + } + }, + "type": "object", + "required": [ + "cohereApiKey" + ] + }, + "databricks:index/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig:ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig": { + "properties": { + "databricksApiToken": { + "type": "string", + "description": "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.\n" + }, + "databricksWorkspaceUrl": { + "type": "string", + "description": "The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model.\n" + } + }, + "type": "object", + "required": [ + "databricksApiToken", + "databricksWorkspaceUrl" + ] + }, + "databricks:index/ModelServingConfigServedEntityExternalModelOpenaiConfig:ModelServingConfigServedEntityExternalModelOpenaiConfig": { + "properties": { + "openaiApiBase": { + "type": "string", + "description": "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.\n" + }, + "openaiApiKey": { + "type": "string", + "description": "The Databricks secret key reference for an OpenAI or Azure OpenAI API key.\n" + }, + "openaiApiType": { + "type": "string", + "description": "This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and adjust this parameter to represent the preferred security access validation protocol. For access token validation, use azure. For authentication using Azure Active Directory (Azure AD) use, azuread.\n" + }, + "openaiApiVersion": { + "type": "string", + "description": "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.\n" + }, + "openaiDeploymentName": { + "type": "string", + "description": "This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service.\n" + }, + "openaiOrganization": { + "type": "string", + "description": "This is an optional field to specify the organization in OpenAI or Azure OpenAI.\n" + } + }, + "type": "object", + "required": [ + "openaiApiKey" + ] + }, + "databricks:index/ModelServingConfigServedEntityExternalModelPalmConfig:ModelServingConfigServedEntityExternalModelPalmConfig": { + "properties": { + "palmApiKey": { + "type": "string", + "description": "The Databricks secret key reference for a PaLM API key.\n" + } + }, + "type": "object", + "required": [ + "palmApiKey" + ] + }, "databricks:index/ModelServingConfigServedModel:ModelServingConfigServedModel": { "properties": { "environmentVars": { @@ -5115,11 +5570,11 @@ }, "scaleToZeroEnabled": { "type": "boolean", - "description": "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`.\n" + "description": "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`.\n" }, "workloadSize": { "type": "string", - "description": "The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are \"Small\" (4 - 4 provisioned concurrency), \"Medium\" (8 - 16 provisioned concurrency), and \"Large\" (16 - 64 provisioned concurrency).\n" + "description": "The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency).\n" }, "workloadType": { "type": "string", @@ -5150,7 +5605,7 @@ "items": { "$ref": "#/types/databricks:index/ModelServingConfigTrafficConfigRoute:ModelServingConfigTrafficConfigRoute" }, - "description": "Each block represents a route that defines traffic to each served model. Each `served_models` block needs to have a corresponding `routes` block\n" + "description": "Each block represents a route that defines traffic to each served entity. Each `served_entity` block needs to have a corresponding `routes` block.\n" } }, "type": "object" @@ -5158,8 +5613,7 @@ "databricks:index/ModelServingConfigTrafficConfigRoute:ModelServingConfigTrafficConfigRoute": { "properties": { "servedModelName": { - "type": "string", - "description": "The name of the served model this route configures traffic for. This needs to match the name of a `served_models` block\n" + "type": "string" }, "trafficPercentage": { "type": "integer", @@ -5175,13 +5629,16 @@ "databricks:index/ModelServingRateLimit:ModelServingRateLimit": { "properties": { "calls": { - "type": "integer" + "type": "integer", + "description": "Used to specify how many calls are allowed for a key within the renewal_period.\n" }, "key": { - "type": "string" + "type": "string", + "description": "Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified.\n" }, "renewalPeriod": { - "type": "string" + "type": "string", + "description": "Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported.\n" } }, "type": "object", @@ -5193,10 +5650,12 @@ "databricks:index/ModelServingTag:ModelServingTag": { "properties": { "key": { - "type": "string" + "type": "string", + "description": "The key field for a tag.\n" }, "value": { - "type": "string" + "type": "string", + "description": "The value field for a tag.\n" } }, "type": "object", @@ -5659,6 +6118,193 @@ } } }, + "databricks:index/OnlineTableSpec:OnlineTableSpec": { + "properties": { + "performFullCopy": { + "type": "boolean", + "description": "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.\n", + "willReplaceOnChanges": true + }, + "pipelineId": { + "type": "string", + "description": "ID of the associated Delta Live Table pipeline.\n" + }, + "primaryKeyColumns": { + "type": "array", + "items": { + "type": "string" + }, + "description": "list of the columns comprising the primary key.\n", + "willReplaceOnChanges": true + }, + "runContinuously": { + "$ref": "#/types/databricks:index/OnlineTableSpecRunContinuously:OnlineTableSpecRunContinuously", + "description": "empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `run_triggered`.\n", + "willReplaceOnChanges": true + }, + "runTriggered": { + "$ref": "#/types/databricks:index/OnlineTableSpecRunTriggered:OnlineTableSpecRunTriggered", + "description": "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).\n", + "willReplaceOnChanges": true + }, + "sourceTableFullName": { + "type": "string", + "description": "full name of the source table.\n", + "willReplaceOnChanges": true + }, + "timeseriesKey": { + "type": "string", + "description": "Time series key to deduplicate (tie-break) rows with the same primary key.\n", + "willReplaceOnChanges": true + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "pipelineId" + ] + } + } + }, + "databricks:index/OnlineTableSpecRunContinuously:OnlineTableSpecRunContinuously": { + "type": "object" + }, + "databricks:index/OnlineTableSpecRunTriggered:OnlineTableSpecRunTriggered": { + "type": "object" + }, + "databricks:index/OnlineTableStatus:OnlineTableStatus": { + "properties": { + "continuousUpdateStatus": { + "$ref": "#/types/databricks:index/OnlineTableStatusContinuousUpdateStatus:OnlineTableStatusContinuousUpdateStatus" + }, + "detailedState": { + "type": "string", + "description": "The state of the online table.\n" + }, + "failedStatus": { + "$ref": "#/types/databricks:index/OnlineTableStatusFailedStatus:OnlineTableStatusFailedStatus" + }, + "message": { + "type": "string", + "description": "A text description of the current state of the online table.\n" + }, + "provisioningStatus": { + "$ref": "#/types/databricks:index/OnlineTableStatusProvisioningStatus:OnlineTableStatusProvisioningStatus" + }, + "triggeredUpdateStatus": { + "$ref": "#/types/databricks:index/OnlineTableStatusTriggeredUpdateStatus:OnlineTableStatusTriggeredUpdateStatus" + } + }, + "type": "object" + }, + "databricks:index/OnlineTableStatusContinuousUpdateStatus:OnlineTableStatusContinuousUpdateStatus": { + "properties": { + "initialPipelineSyncProgress": { + "$ref": "#/types/databricks:index/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress:OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress" + }, + "lastProcessedCommitVersion": { + "type": "integer" + }, + "timestamp": { + "type": "string" + } + }, + "type": "object" + }, + "databricks:index/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress:OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress": { + "properties": { + "estimatedCompletionTimeSeconds": { + "type": "number" + }, + "latestVersionCurrentlyProcessing": { + "type": "integer" + }, + "syncProgressCompletion": { + "type": "number" + }, + "syncedRowCount": { + "type": "integer" + }, + "totalRowCount": { + "type": "integer" + } + }, + "type": "object" + }, + "databricks:index/OnlineTableStatusFailedStatus:OnlineTableStatusFailedStatus": { + "properties": { + "lastProcessedCommitVersion": { + "type": "integer" + }, + "timestamp": { + "type": "string" + } + }, + "type": "object" + }, + "databricks:index/OnlineTableStatusProvisioningStatus:OnlineTableStatusProvisioningStatus": { + "properties": { + "initialPipelineSyncProgress": { + "$ref": "#/types/databricks:index/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress:OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress" + } + }, + "type": "object" + }, + "databricks:index/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress:OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress": { + "properties": { + "estimatedCompletionTimeSeconds": { + "type": "number" + }, + "latestVersionCurrentlyProcessing": { + "type": "integer" + }, + "syncProgressCompletion": { + "type": "number" + }, + "syncedRowCount": { + "type": "integer" + }, + "totalRowCount": { + "type": "integer" + } + }, + "type": "object" + }, + "databricks:index/OnlineTableStatusTriggeredUpdateStatus:OnlineTableStatusTriggeredUpdateStatus": { + "properties": { + "lastProcessedCommitVersion": { + "type": "integer" + }, + "timestamp": { + "type": "string" + }, + "triggeredUpdateProgress": { + "$ref": "#/types/databricks:index/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress:OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress" + } + }, + "type": "object" + }, + "databricks:index/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress:OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress": { + "properties": { + "estimatedCompletionTimeSeconds": { + "type": "number" + }, + "latestVersionCurrentlyProcessing": { + "type": "integer" + }, + "syncProgressCompletion": { + "type": "number" + }, + "syncedRowCount": { + "type": "integer" + }, + "totalRowCount": { + "type": "integer" + } + }, + "type": "object" + }, "databricks:index/PermissionsAccessControl:PermissionsAccessControl": { "properties": { "groupName": { @@ -6241,7 +6887,7 @@ }, "dataObjectType": { "type": "string", - "description": "Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, `NOTEBOOK_FILE` are supported.\n" + "description": "Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported.\n" }, "historyDataSharingStatus": { "type": "string", @@ -6249,7 +6895,7 @@ }, "name": { "type": "string", - "description": "Full name of the object, e.g. `catalog.schema.name` for a table.\n" + "description": "Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas.\n" }, "partitions": { "type": "array", @@ -6899,16 +7545,14 @@ "databricks:index/StorageCredentialAwsIamRole:StorageCredentialAwsIamRole": { "properties": { "externalId": { - "type": "string", - "description": "The external ID used in role assumption to prevent confused deputy problem.\n" + "type": "string" }, "roleArn": { "type": "string", - "description": "The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF`\n" + "description": "The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, 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 service principal):\n" }, "unityCatalogIamArn": { - "type": "string", - "description": "The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role.\n\n`azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal):\n" + "type": "string" } }, "type": "object", @@ -7067,7 +7711,156 @@ }, "state": { "type": "string", - "description": "Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, `OFFLINE`.\n" + "description": "Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`.\n" + } + }, + "type": "object" + }, + "databricks:index/VectorSearchIndexDeltaSyncIndexSpec:VectorSearchIndexDeltaSyncIndexSpec": { + "properties": { + "embeddingSourceColumns": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn:VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn" + }, + "description": "array of objects representing columns that contain the embedding source. Each entry consists of:\n", + "willReplaceOnChanges": true + }, + "embeddingVectorColumns": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn:VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn" + }, + "description": "array of objects representing columns that contain the embedding vectors. Each entry consists of:\n", + "willReplaceOnChanges": true + }, + "pipelineId": { + "type": "string", + "description": "ID of the associated Delta Live Table pipeline.\n" + }, + "pipelineType": { + "type": "string", + "description": "Pipeline execution mode. Possible values are:\n", + "willReplaceOnChanges": true + }, + "sourceTable": { + "type": "string", + "description": "The name of the source table.\n", + "willReplaceOnChanges": true + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "pipelineId" + ] + } + } + }, + "databricks:index/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn:VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn": { + "properties": { + "embeddingModelEndpointName": { + "type": "string", + "description": "The name of the embedding model endpoint\n", + "willReplaceOnChanges": true + }, + "name": { + "type": "string", + "description": "The name of the column.\n", + "willReplaceOnChanges": true + } + }, + "type": "object" + }, + "databricks:index/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn:VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn": { + "properties": { + "embeddingDimension": { + "type": "integer", + "description": "Dimension of the embedding vector.\n", + "willReplaceOnChanges": true + }, + "name": { + "type": "string", + "description": "The name of the column.\n", + "willReplaceOnChanges": true + } + }, + "type": "object" + }, + "databricks:index/VectorSearchIndexDirectAccessIndexSpec:VectorSearchIndexDirectAccessIndexSpec": { + "properties": { + "embeddingSourceColumns": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn:VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn" + }, + "description": "array of objects representing columns that contain the embedding source. Each entry consists of:\n", + "willReplaceOnChanges": true + }, + "embeddingVectorColumns": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn:VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn" + }, + "description": "array of objects representing columns that contain the embedding vectors. Each entry consists of:\n", + "willReplaceOnChanges": true + }, + "schemaJson": { + "type": "string", + "description": "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.\n", + "willReplaceOnChanges": true + } + }, + "type": "object" + }, + "databricks:index/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn:VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn": { + "properties": { + "embeddingModelEndpointName": { + "type": "string", + "description": "The name of the embedding model endpoint\n", + "willReplaceOnChanges": true + }, + "name": { + "type": "string", + "description": "The name of the column.\n", + "willReplaceOnChanges": true + } + }, + "type": "object" + }, + "databricks:index/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn:VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn": { + "properties": { + "embeddingDimension": { + "type": "integer", + "description": "Dimension of the embedding vector.\n", + "willReplaceOnChanges": true + }, + "name": { + "type": "string", + "description": "The name of the column.\n", + "willReplaceOnChanges": true + } + }, + "type": "object" + }, + "databricks:index/VectorSearchIndexStatus:VectorSearchIndexStatus": { + "properties": { + "indexUrl": { + "type": "string", + "description": "Index API Url to be used to perform operations on the index\n" + }, + "indexedRowCount": { + "type": "integer", + "description": "Number of rows indexed\n" + }, + "message": { + "type": "string", + "description": "Message associated with the index status\n" + }, + "ready": { + "type": "boolean", + "description": "Whether the index is ready for search\n" } }, "type": "object" @@ -9681,7 +10474,12 @@ "type": "string" } }, - "type": "object" + "type": "object", + "required": [ + "left", + "op", + "right" + ] }, "databricks:index/getJobJobSettingsSettingsTaskDbtTask:getJobJobSettingsSettingsTaskDbtTask": { "properties": { @@ -9731,6 +10529,9 @@ }, "databricks:index/getJobJobSettingsSettingsTaskEmailNotifications:getJobJobSettingsSettingsTaskEmailNotifications": { "properties": { + "noAlertForSkippedRuns": { + "type": "boolean" + }, "onDurationWarningThresholdExceededs": { "type": "array", "items": { @@ -9888,7 +10689,12 @@ "type": "string" } }, - "type": "object" + "type": "object", + "required": [ + "left", + "op", + "right" + ] }, "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskDbtTask:getJobJobSettingsSettingsTaskForEachTaskTaskDbtTask": { "properties": { @@ -9938,6 +10744,9 @@ }, "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications:getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications": { "properties": { + "noAlertForSkippedRuns": { + "type": "boolean" + }, "onDurationWarningThresholdExceededs": { "type": "array", "items": { @@ -10816,7 +11625,10 @@ "description": "the id of databricks.Job if the resource was matched by name.\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure": { "properties": { @@ -10825,7 +11637,10 @@ "description": "the id of databricks.Job if the resource was matched by name.\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart": { "properties": { @@ -10834,7 +11649,10 @@ "description": "the id of databricks.Job if the resource was matched by name.\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess": { "properties": { @@ -10843,7 +11661,10 @@ "description": "the id of databricks.Job if the resource was matched by name.\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/getJobJobSettingsSettingsTaskHealth:getJobJobSettingsSettingsTaskHealth": { "properties": { @@ -11696,7 +12517,10 @@ "description": "the id of databricks.Job if the resource was matched by name.\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnFailure:getJobJobSettingsSettingsTaskWebhookNotificationsOnFailure": { "properties": { @@ -11705,7 +12529,10 @@ "description": "the id of databricks.Job if the resource was matched by name.\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnStart:getJobJobSettingsSettingsTaskWebhookNotificationsOnStart": { "properties": { @@ -11714,7 +12541,10 @@ "description": "the id of databricks.Job if the resource was matched by name.\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess:getJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess": { "properties": { @@ -11723,7 +12553,10 @@ "description": "the id of databricks.Job if the resource was matched by name.\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/getJobJobSettingsSettingsTrigger:getJobJobSettingsSettingsTrigger": { "properties": { @@ -11732,12 +12565,12 @@ }, "pauseStatus": { "type": "string" + }, + "tableUpdate": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTriggerTableUpdate:getJobJobSettingsSettingsTriggerTableUpdate" } }, - "type": "object", - "required": [ - "fileArrival" - ] + "type": "object" }, "databricks:index/getJobJobSettingsSettingsTriggerFileArrival:getJobJobSettingsSettingsTriggerFileArrival": { "properties": { @@ -11756,6 +12589,29 @@ "url" ] }, + "databricks:index/getJobJobSettingsSettingsTriggerTableUpdate:getJobJobSettingsSettingsTriggerTableUpdate": { + "properties": { + "condition": { + "type": "string" + }, + "minTimeBetweenTriggersSeconds": { + "type": "integer" + }, + "tableNames": { + "type": "array", + "items": { + "type": "string" + } + }, + "waitAfterLastChangeSeconds": { + "type": "integer" + } + }, + "type": "object", + "required": [ + "tableNames" + ] + }, "databricks:index/getJobJobSettingsSettingsWebhookNotifications:getJobJobSettingsSettingsWebhookNotifications": { "properties": { "onDurationWarningThresholdExceededs": { @@ -11792,7 +12648,10 @@ "description": "the id of databricks.Job if the resource was matched by name.\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnFailure:getJobJobSettingsSettingsWebhookNotificationsOnFailure": { "properties": { @@ -11801,7 +12660,10 @@ "description": "the id of databricks.Job if the resource was matched by name.\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnStart:getJobJobSettingsSettingsWebhookNotificationsOnStart": { "properties": { @@ -11810,7 +12672,10 @@ "description": "the id of databricks.Job if the resource was matched by name.\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnSuccess:getJobJobSettingsSettingsWebhookNotificationsOnSuccess": { "properties": { @@ -11819,7 +12684,10 @@ "description": "the id of databricks.Job if the resource was matched by name.\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, "databricks:index/getMetastoreMetastoreInfo:getMetastoreMetastoreInfo": { "properties": { @@ -12838,7 +13706,7 @@ } }, "databricks:index/catalogWorkspaceBinding:CatalogWorkspaceBinding": { - "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst sandboxCatalog = new databricks.Catalog(\"sandboxCatalog\", {isolationMode: \"ISOLATED\"});\nconst sandboxCatalogWorkspaceBinding = new databricks.CatalogWorkspaceBinding(\"sandboxCatalogWorkspaceBinding\", {\n securableName: sandboxCatalog.name,\n workspaceId: databricks_mws_workspaces.other.workspace_id,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsandbox_catalog = databricks.Catalog(\"sandboxCatalog\", isolation_mode=\"ISOLATED\")\nsandbox_catalog_workspace_binding = databricks.CatalogWorkspaceBinding(\"sandboxCatalogWorkspaceBinding\",\n securable_name=sandbox_catalog.name,\n workspace_id=databricks_mws_workspaces[\"other\"][\"workspace_id\"])\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 sandboxCatalog = new Databricks.Catalog(\"sandboxCatalog\", new()\n {\n IsolationMode = \"ISOLATED\",\n });\n\n var sandboxCatalogWorkspaceBinding = new Databricks.CatalogWorkspaceBinding(\"sandboxCatalogWorkspaceBinding\", new()\n {\n SecurableName = sandboxCatalog.Name,\n WorkspaceId = databricks_mws_workspaces.Other.Workspace_id,\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\tsandboxCatalog, err := databricks.NewCatalog(ctx, \"sandboxCatalog\", \u0026databricks.CatalogArgs{\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.NewCatalogWorkspaceBinding(ctx, \"sandboxCatalogWorkspaceBinding\", \u0026databricks.CatalogWorkspaceBindingArgs{\n\t\t\tSecurableName: sandboxCatalog.Name,\n\t\t\tWorkspaceId: pulumi.Any(databricks_mws_workspaces.Other.Workspace_id),\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.CatalogWorkspaceBinding;\nimport com.pulumi.databricks.CatalogWorkspaceBindingArgs;\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 sandboxCatalog = new Catalog(\"sandboxCatalog\", CatalogArgs.builder() \n .isolationMode(\"ISOLATED\")\n .build());\n\n var sandboxCatalogWorkspaceBinding = new CatalogWorkspaceBinding(\"sandboxCatalogWorkspaceBinding\", CatalogWorkspaceBindingArgs.builder() \n .securableName(sandboxCatalog.name())\n .workspaceId(databricks_mws_workspaces.other().workspace_id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sandboxCatalog:\n type: databricks:Catalog\n properties:\n isolationMode: ISOLATED\n sandboxCatalogWorkspaceBinding:\n type: databricks:CatalogWorkspaceBinding\n properties:\n securableName: ${sandboxCatalog.name}\n workspaceId: ${databricks_mws_workspaces.other.workspace_id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n-\u003e **Note** 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 databricks from \"@pulumi/databricks\";\n\nconst sandboxCatalog = new databricks.Catalog(\"sandboxCatalog\", {isolationMode: \"ISOLATED\"});\nconst sandboxCatalogWorkspaceBinding = new databricks.CatalogWorkspaceBinding(\"sandboxCatalogWorkspaceBinding\", {\n securableName: sandboxCatalog.name,\n workspaceId: databricks_mws_workspaces.other.workspace_id,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsandbox_catalog = databricks.Catalog(\"sandboxCatalog\", isolation_mode=\"ISOLATED\")\nsandbox_catalog_workspace_binding = databricks.CatalogWorkspaceBinding(\"sandboxCatalogWorkspaceBinding\",\n securable_name=sandbox_catalog.name,\n workspace_id=databricks_mws_workspaces[\"other\"][\"workspace_id\"])\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 sandboxCatalog = new Databricks.Catalog(\"sandboxCatalog\", new()\n {\n IsolationMode = \"ISOLATED\",\n });\n\n var sandboxCatalogWorkspaceBinding = new Databricks.CatalogWorkspaceBinding(\"sandboxCatalogWorkspaceBinding\", new()\n {\n SecurableName = sandboxCatalog.Name,\n WorkspaceId = databricks_mws_workspaces.Other.Workspace_id,\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\tsandboxCatalog, err := databricks.NewCatalog(ctx, \"sandboxCatalog\", \u0026databricks.CatalogArgs{\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.NewCatalogWorkspaceBinding(ctx, \"sandboxCatalogWorkspaceBinding\", \u0026databricks.CatalogWorkspaceBindingArgs{\n\t\t\tSecurableName: sandboxCatalog.Name,\n\t\t\tWorkspaceId: pulumi.Any(databricks_mws_workspaces.Other.Workspace_id),\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.CatalogWorkspaceBinding;\nimport com.pulumi.databricks.CatalogWorkspaceBindingArgs;\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 sandboxCatalog = new Catalog(\"sandboxCatalog\", CatalogArgs.builder() \n .isolationMode(\"ISOLATED\")\n .build());\n\n var sandboxCatalogWorkspaceBinding = new CatalogWorkspaceBinding(\"sandboxCatalogWorkspaceBinding\", CatalogWorkspaceBindingArgs.builder() \n .securableName(sandboxCatalog.name())\n .workspaceId(databricks_mws_workspaces.other().workspace_id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sandboxCatalog:\n type: databricks:Catalog\n properties:\n isolationMode: ISOLATED\n sandboxCatalogWorkspaceBinding:\n type: databricks:CatalogWorkspaceBinding\n properties:\n securableName: ${sandboxCatalog.name}\n workspaceId: ${databricks_mws_workspaces.other.workspace_id}\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/catalogWorkspaceBinding:CatalogWorkspaceBinding this \"\u003cworkspace_id\u003e|\u003csecurable_type\u003e|\u003csecurable_name\u003e\"\n```\n\n", "properties": { "bindingType": { "type": "string", @@ -14826,8 +15694,7 @@ }, "displayName": { "type": "string", - "description": "This is the display name for the given group.\n", - "willReplaceOnChanges": true + "description": "This is the display name for the given group.\n" }, "externalId": { "type": "string", @@ -14866,8 +15733,7 @@ }, "displayName": { "type": "string", - "description": "This is the display name for the given group.\n", - "willReplaceOnChanges": true + "description": "This is the display name for the given group.\n" }, "externalId": { "type": "string", @@ -15473,7 +16339,7 @@ "items": { "$ref": "#/types/databricks:index/JobLibrary:JobLibrary" }, - "description": "(Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource.\n" + "description": "(Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information.\n" }, "maxConcurrentRuns": { "type": "integer", @@ -15647,7 +16513,7 @@ "items": { "$ref": "#/types/databricks:index/JobLibrary:JobLibrary" }, - "description": "(Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource.\n" + "description": "(Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information.\n" }, "maxConcurrentRuns": { "type": "integer", @@ -15813,7 +16679,7 @@ "items": { "$ref": "#/types/databricks:index/JobLibrary:JobLibrary" }, - "description": "(Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource.\n" + "description": "(Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information.\n" }, "maxConcurrentRuns": { "type": "integer", @@ -15831,92 +16697,355 @@ }, "name": { "type": "string", - "description": "An optional name for the job. The default value is Untitled.\n" - }, - "newCluster": { - "$ref": "#/types/databricks:index/JobNewCluster:JobNewCluster", - "description": "Same set of parameters as for databricks.Cluster resource.\n" + "description": "An optional name for the job. The default value is Untitled.\n" + }, + "newCluster": { + "$ref": "#/types/databricks:index/JobNewCluster:JobNewCluster", + "description": "Same set of parameters as for databricks.Cluster resource.\n" + }, + "notebookTask": { + "$ref": "#/types/databricks:index/JobNotebookTask:JobNotebookTask", + "deprecationMessage": "should be used inside a task block and not inside a job block" + }, + "notificationSettings": { + "$ref": "#/types/databricks:index/JobNotificationSettings:JobNotificationSettings", + "description": "An optional block controlling the notification settings on the job level (described below).\n" + }, + "parameters": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/JobParameter:JobParameter" + } + }, + "pipelineTask": { + "$ref": "#/types/databricks:index/JobPipelineTask:JobPipelineTask", + "deprecationMessage": "should be used inside a task block and not inside a job block" + }, + "pythonWheelTask": { + "$ref": "#/types/databricks:index/JobPythonWheelTask:JobPythonWheelTask", + "deprecationMessage": "should be used inside a task block and not inside a job block" + }, + "queue": { + "$ref": "#/types/databricks:index/JobQueue:JobQueue" + }, + "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", + "deprecationMessage": "should be used inside a task block and not inside a job block" + }, + "runAs": { + "$ref": "#/types/databricks:index/JobRunAs:JobRunAs" + }, + "runJobTask": { + "$ref": "#/types/databricks:index/JobRunJobTask:JobRunJobTask", + "deprecationMessage": "should be used inside a task block and not inside a job block" + }, + "schedule": { + "$ref": "#/types/databricks:index/JobSchedule:JobSchedule", + "description": "(List) An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. This field is a block and is documented below.\n" + }, + "sparkJarTask": { + "$ref": "#/types/databricks:index/JobSparkJarTask:JobSparkJarTask", + "deprecationMessage": "should be used inside a task block and not inside a job block" + }, + "sparkPythonTask": { + "$ref": "#/types/databricks:index/JobSparkPythonTask:JobSparkPythonTask", + "deprecationMessage": "should be used inside a task block and not inside a job block" + }, + "sparkSubmitTask": { + "$ref": "#/types/databricks:index/JobSparkSubmitTask:JobSparkSubmitTask", + "deprecationMessage": "should be used inside a task block and not inside a job block" + }, + "tags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "tasks": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/JobTask:JobTask" + }, + "description": "Task to run against the `inputs` list.\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" + }, + "trigger": { + "$ref": "#/types/databricks:index/JobTrigger:JobTrigger" + }, + "url": { + "type": "string", + "description": "URL of the Git repository to use.\n" + }, + "webhookNotifications": { + "$ref": "#/types/databricks:index/JobWebhookNotifications:JobWebhookNotifications", + "description": "(List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this job begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.\n" + } + }, + "type": "object" + } + }, + "databricks:index/lakehouseMonitor:LakehouseMonitor": { + "description": "This resource allows you to manage [Lakehouse Monitors](https://docs.databricks.com/en/lakehouse-monitoring/index.html) in Databricks. \n\nA `databricks.LakehouseMonitor` is attached to a databricks.SqlTable and can be of type timeseries, snapshot or inference. \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.Catalog;\nimport com.pulumi.databricks.CatalogArgs;\nimport com.pulumi.databricks.Schema;\nimport com.pulumi.databricks.SchemaArgs;\nimport com.pulumi.databricks.SqlTable;\nimport com.pulumi.databricks.SqlTableArgs;\nimport com.pulumi.databricks.inputs.SqlTableColumnArgs;\nimport com.pulumi.databricks.LakehouseMonitor;\nimport com.pulumi.databricks.LakehouseMonitorArgs;\nimport com.pulumi.databricks.inputs.LakehouseMonitorTimeSeriesArgs;\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 .comment(\"this catalog is managed by terraform\")\n .properties(Map.of(\"purpose\", \"testing\"))\n .build());\n\n var things = new Schema(\"things\", SchemaArgs.builder() \n .catalogName(sandbox.id())\n .comment(\"this database is managed by terraform\")\n .properties(Map.of(\"kind\", \"various\"))\n .build());\n\n var myTestTable = new SqlTable(\"myTestTable\", SqlTableArgs.builder() \n .catalogName(\"main\")\n .schemaName(things.name())\n .tableType(\"MANAGED\")\n .dataSourceFormat(\"DELTA\")\n .columns(SqlTableColumnArgs.builder()\n .name(\"timestamp\")\n .position(1)\n .type(\"int\")\n .build())\n .build());\n\n var testTimeseriesMonitor = new LakehouseMonitor(\"testTimeseriesMonitor\", LakehouseMonitorArgs.builder() \n .tableName(Output.tuple(sandbox.name(), things.name(), myTestTable.name()).applyValue(values -\u003e {\n var sandboxName = values.t1;\n var thingsName = values.t2;\n var myTestTableName = values.t3;\n return String.format(\"%s.%s.%s\", sandboxName,thingsName,myTestTableName);\n }))\n .assetsDir(myTestTable.name().applyValue(name -\u003e String.format(\"/Shared/provider-test/databricks_lakehouse_monitoring/%s\", name)))\n .outputSchemaName(Output.tuple(sandbox.name(), things.name()).applyValue(values -\u003e {\n var sandboxName = values.t1;\n var thingsName = values.t2;\n return String.format(\"%s.%s\", sandboxName,thingsName);\n }))\n .timeSeries(LakehouseMonitorTimeSeriesArgs.builder()\n .granularities(\"1 hour\")\n .timestampCol(\"timestamp\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sandbox:\n type: databricks:Catalog\n properties:\n comment: this catalog is managed by terraform\n properties:\n purpose: testing\n things:\n type: databricks:Schema\n properties:\n catalogName: ${sandbox.id}\n comment: this database is managed by terraform\n properties:\n kind: various\n myTestTable:\n type: databricks:SqlTable\n properties:\n catalogName: main\n schemaName: ${things.name}\n tableType: MANAGED\n dataSourceFormat: DELTA\n columns:\n - name: timestamp\n position: 1\n type: int\n testTimeseriesMonitor:\n type: databricks:LakehouseMonitor\n properties:\n tableName: ${sandbox.name}.${things.name}.${myTestTable.name}\n assetsDir: /Shared/provider-test/databricks_lakehouse_monitoring/${myTestTable.name}\n outputSchemaName: ${sandbox.name}.${things.name}\n timeSeries:\n granularities:\n - 1 hour\n timestampCol: timestamp\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Inference Monitor\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst testMonitorInference = new databricks.LakehouseMonitor(\"testMonitorInference\", {\n assetsDir: `/Shared/provider-test/databricks_lakehouse_monitoring/${databricks_table.myTestTable.name}`,\n inferenceLog: {\n granularities: [\"1 hour\"],\n modelIdCol: \"model_id\",\n predictionCol: \"prediction\",\n problemType: \"PROBLEM_TYPE_REGRESSION\",\n timestampCol: \"timestamp\",\n },\n outputSchemaName: `${databricks_catalog.sandbox.name}.${databricks_schema.things.name}`,\n tableName: `${databricks_catalog.sandbox.name}.${databricks_schema.things.name}.${databricks_table.myTestTable.name}`,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ntest_monitor_inference = databricks.LakehouseMonitor(\"testMonitorInference\",\n assets_dir=f\"/Shared/provider-test/databricks_lakehouse_monitoring/{databricks_table['myTestTable']['name']}\",\n inference_log=databricks.LakehouseMonitorInferenceLogArgs(\n granularities=[\"1 hour\"],\n model_id_col=\"model_id\",\n prediction_col=\"prediction\",\n problem_type=\"PROBLEM_TYPE_REGRESSION\",\n timestamp_col=\"timestamp\",\n ),\n output_schema_name=f\"{databricks_catalog['sandbox']['name']}.{databricks_schema['things']['name']}\",\n table_name=f\"{databricks_catalog['sandbox']['name']}.{databricks_schema['things']['name']}.{databricks_table['myTestTable']['name']}\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testMonitorInference = new Databricks.LakehouseMonitor(\"testMonitorInference\", new()\n {\n AssetsDir = $\"/Shared/provider-test/databricks_lakehouse_monitoring/{databricks_table.MyTestTable.Name}\",\n InferenceLog = new Databricks.Inputs.LakehouseMonitorInferenceLogArgs\n {\n Granularities = new[]\n {\n \"1 hour\",\n },\n ModelIdCol = \"model_id\",\n PredictionCol = \"prediction\",\n ProblemType = \"PROBLEM_TYPE_REGRESSION\",\n TimestampCol = \"timestamp\",\n },\n OutputSchemaName = $\"{databricks_catalog.Sandbox.Name}.{databricks_schema.Things.Name}\",\n TableName = $\"{databricks_catalog.Sandbox.Name}.{databricks_schema.Things.Name}.{databricks_table.MyTestTable.Name}\",\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.NewLakehouseMonitor(ctx, \"testMonitorInference\", \u0026databricks.LakehouseMonitorArgs{\n\t\t\tAssetsDir: pulumi.String(fmt.Sprintf(\"/Shared/provider-test/databricks_lakehouse_monitoring/%v\", databricks_table.MyTestTable.Name)),\n\t\t\tInferenceLog: \u0026databricks.LakehouseMonitorInferenceLogArgs{\n\t\t\t\tGranularities: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"1 hour\"),\n\t\t\t\t},\n\t\t\t\tModelIdCol: pulumi.String(\"model_id\"),\n\t\t\t\tPredictionCol: pulumi.String(\"prediction\"),\n\t\t\t\tProblemType: pulumi.String(\"PROBLEM_TYPE_REGRESSION\"),\n\t\t\t\tTimestampCol: pulumi.String(\"timestamp\"),\n\t\t\t},\n\t\t\tOutputSchemaName: pulumi.String(fmt.Sprintf(\"%v.%v\", databricks_catalog.Sandbox.Name, databricks_schema.Things.Name)),\n\t\t\tTableName: pulumi.String(fmt.Sprintf(\"%v.%v.%v\", databricks_catalog.Sandbox.Name, databricks_schema.Things.Name, databricks_table.MyTestTable.Name)),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.LakehouseMonitor;\nimport com.pulumi.databricks.LakehouseMonitorArgs;\nimport com.pulumi.databricks.inputs.LakehouseMonitorInferenceLogArgs;\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 testMonitorInference = new LakehouseMonitor(\"testMonitorInference\", LakehouseMonitorArgs.builder() \n .assetsDir(String.format(\"/Shared/provider-test/databricks_lakehouse_monitoring/%s\", databricks_table.myTestTable().name()))\n .inferenceLog(LakehouseMonitorInferenceLogArgs.builder()\n .granularities(\"1 hour\")\n .modelIdCol(\"model_id\")\n .predictionCol(\"prediction\")\n .problemType(\"PROBLEM_TYPE_REGRESSION\")\n .timestampCol(\"timestamp\")\n .build())\n .outputSchemaName(String.format(\"%s.%s\", databricks_catalog.sandbox().name(),databricks_schema.things().name()))\n .tableName(String.format(\"%s.%s.%s\", databricks_catalog.sandbox().name(),databricks_schema.things().name(),databricks_table.myTestTable().name()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testMonitorInference:\n type: databricks:LakehouseMonitor\n properties:\n assetsDir: /Shared/provider-test/databricks_lakehouse_monitoring/${databricks_table.myTestTable.name}\n inferenceLog:\n granularities:\n - 1 hour\n modelIdCol: model_id\n predictionCol: prediction\n problemType: PROBLEM_TYPE_REGRESSION\n timestampCol: timestamp\n outputSchemaName: ${databricks_catalog.sandbox.name}.${databricks_schema.things.name}\n tableName: ${databricks_catalog.sandbox.name}.${databricks_schema.things.name}.${databricks_table.myTestTable.name}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n### Snapshot Monitor\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst testMonitorInference = new databricks.LakehouseMonitor(\"testMonitorInference\", {\n assetsDir: `/Shared/provider-test/databricks_lakehouse_monitoring/${databricks_table.myTestTable.name}`,\n outputSchemaName: `${databricks_catalog.sandbox.name}.${databricks_schema.things.name}`,\n snapshot: {},\n tableName: `${databricks_catalog.sandbox.name}.${databricks_schema.things.name}.${databricks_table.myTestTable.name}`,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ntest_monitor_inference = databricks.LakehouseMonitor(\"testMonitorInference\",\n assets_dir=f\"/Shared/provider-test/databricks_lakehouse_monitoring/{databricks_table['myTestTable']['name']}\",\n output_schema_name=f\"{databricks_catalog['sandbox']['name']}.{databricks_schema['things']['name']}\",\n snapshot=databricks.LakehouseMonitorSnapshotArgs(),\n table_name=f\"{databricks_catalog['sandbox']['name']}.{databricks_schema['things']['name']}.{databricks_table['myTestTable']['name']}\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testMonitorInference = new Databricks.LakehouseMonitor(\"testMonitorInference\", new()\n {\n AssetsDir = $\"/Shared/provider-test/databricks_lakehouse_monitoring/{databricks_table.MyTestTable.Name}\",\n OutputSchemaName = $\"{databricks_catalog.Sandbox.Name}.{databricks_schema.Things.Name}\",\n Snapshot = null,\n TableName = $\"{databricks_catalog.Sandbox.Name}.{databricks_schema.Things.Name}.{databricks_table.MyTestTable.Name}\",\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.NewLakehouseMonitor(ctx, \"testMonitorInference\", \u0026databricks.LakehouseMonitorArgs{\n\t\t\tAssetsDir: pulumi.String(fmt.Sprintf(\"/Shared/provider-test/databricks_lakehouse_monitoring/%v\", databricks_table.MyTestTable.Name)),\n\t\t\tOutputSchemaName: pulumi.String(fmt.Sprintf(\"%v.%v\", databricks_catalog.Sandbox.Name, databricks_schema.Things.Name)),\n\t\t\tSnapshot: nil,\n\t\t\tTableName: pulumi.String(fmt.Sprintf(\"%v.%v.%v\", databricks_catalog.Sandbox.Name, databricks_schema.Things.Name, databricks_table.MyTestTable.Name)),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.LakehouseMonitor;\nimport com.pulumi.databricks.LakehouseMonitorArgs;\nimport com.pulumi.databricks.inputs.LakehouseMonitorSnapshotArgs;\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 testMonitorInference = new LakehouseMonitor(\"testMonitorInference\", LakehouseMonitorArgs.builder() \n .assetsDir(String.format(\"/Shared/provider-test/databricks_lakehouse_monitoring/%s\", databricks_table.myTestTable().name()))\n .outputSchemaName(String.format(\"%s.%s\", databricks_catalog.sandbox().name(),databricks_schema.things().name()))\n .snapshot()\n .tableName(String.format(\"%s.%s.%s\", databricks_catalog.sandbox().name(),databricks_schema.things().name(),databricks_table.myTestTable().name()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testMonitorInference:\n type: databricks:LakehouseMonitor\n properties:\n assetsDir: /Shared/provider-test/databricks_lakehouse_monitoring/${databricks_table.myTestTable.name}\n outputSchemaName: ${databricks_catalog.sandbox.name}.${databricks_schema.things.name}\n snapshot: {}\n tableName: ${databricks_catalog.sandbox.name}.${databricks_schema.things.name}.${databricks_table.myTestTable.name}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are often used in the same context:\n\n* databricks.Catalog\n* databricks.Schema\n* databricks.SqlTable\n", + "properties": { + "assetsDir": { + "type": "string", + "description": "The directory to store the monitoring assets (Eg. Dashboard and Metric Tables)\n" + }, + "baselineTableName": { + "type": "string", + "description": "Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline\ntable.\n" + }, + "customMetrics": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/LakehouseMonitorCustomMetric:LakehouseMonitorCustomMetric" + }, + "description": "Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows).\n" + }, + "dashboardId": { + "type": "string", + "description": "The ID of the generated dashboard.\n" + }, + "dataClassificationConfig": { + "$ref": "#/types/databricks:index/LakehouseMonitorDataClassificationConfig:LakehouseMonitorDataClassificationConfig", + "description": "The data classification config for the monitor\n" + }, + "driftMetricsTableName": { + "type": "string", + "description": "The full name of the drift metrics table. Format: __catalog_name__.__schema_name__.__table_name__.\n" + }, + "inferenceLog": { + "$ref": "#/types/databricks:index/LakehouseMonitorInferenceLog:LakehouseMonitorInferenceLog", + "description": "Configuration for the inference log monitor\n" + }, + "latestMonitorFailureMsg": { + "type": "string" + }, + "monitorVersion": { + "type": "string", + "description": "The version of the monitor config (e.g. 1,2,3). If negative, the monitor may be corrupted\n" + }, + "notifications": { + "$ref": "#/types/databricks:index/LakehouseMonitorNotifications:LakehouseMonitorNotifications", + "description": "The notification settings for the monitor\n" + }, + "outputSchemaName": { + "type": "string", + "description": "Schema where output metric tables are created\n" + }, + "profileMetricsTableName": { + "type": "string", + "description": "The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__.\n" + }, + "schedule": { + "$ref": "#/types/databricks:index/LakehouseMonitorSchedule:LakehouseMonitorSchedule", + "description": "The schedule for automatically updating and refreshing metric tables.\n" + }, + "skipBuiltinDashboard": { + "type": "boolean", + "description": "Whether to skip creating a default dashboard summarizing data quality metrics.\n" + }, + "slicingExprs": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices.\n" + }, + "snapshot": { + "$ref": "#/types/databricks:index/LakehouseMonitorSnapshot:LakehouseMonitorSnapshot", + "description": "Configuration for monitoring snapshot tables.\n" + }, + "status": { + "type": "string", + "description": "Status of the Monitor\n" + }, + "tableName": { + "type": "string", + "description": "The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName}\n" + }, + "timeSeries": { + "$ref": "#/types/databricks:index/LakehouseMonitorTimeSeries:LakehouseMonitorTimeSeries", + "description": "Configuration for monitoring timeseries tables.\n" + }, + "warehouseId": { + "type": "string", + "description": "Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used.\n" + } + }, + "required": [ + "assetsDir", + "dashboardId", + "driftMetricsTableName", + "monitorVersion", + "outputSchemaName", + "profileMetricsTableName", + "status", + "tableName" + ], + "inputProperties": { + "assetsDir": { + "type": "string", + "description": "The directory to store the monitoring assets (Eg. Dashboard and Metric Tables)\n" + }, + "baselineTableName": { + "type": "string", + "description": "Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline\ntable.\n" + }, + "customMetrics": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/LakehouseMonitorCustomMetric:LakehouseMonitorCustomMetric" + }, + "description": "Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows).\n" + }, + "dataClassificationConfig": { + "$ref": "#/types/databricks:index/LakehouseMonitorDataClassificationConfig:LakehouseMonitorDataClassificationConfig", + "description": "The data classification config for the monitor\n" + }, + "inferenceLog": { + "$ref": "#/types/databricks:index/LakehouseMonitorInferenceLog:LakehouseMonitorInferenceLog", + "description": "Configuration for the inference log monitor\n" + }, + "latestMonitorFailureMsg": { + "type": "string" + }, + "notifications": { + "$ref": "#/types/databricks:index/LakehouseMonitorNotifications:LakehouseMonitorNotifications", + "description": "The notification settings for the monitor\n" + }, + "outputSchemaName": { + "type": "string", + "description": "Schema where output metric tables are created\n" + }, + "schedule": { + "$ref": "#/types/databricks:index/LakehouseMonitorSchedule:LakehouseMonitorSchedule", + "description": "The schedule for automatically updating and refreshing metric tables.\n" + }, + "skipBuiltinDashboard": { + "type": "boolean", + "description": "Whether to skip creating a default dashboard summarizing data quality metrics.\n" + }, + "slicingExprs": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices.\n" + }, + "snapshot": { + "$ref": "#/types/databricks:index/LakehouseMonitorSnapshot:LakehouseMonitorSnapshot", + "description": "Configuration for monitoring snapshot tables.\n" + }, + "tableName": { + "type": "string", + "description": "The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName}\n" + }, + "timeSeries": { + "$ref": "#/types/databricks:index/LakehouseMonitorTimeSeries:LakehouseMonitorTimeSeries", + "description": "Configuration for monitoring timeseries tables.\n" + }, + "warehouseId": { + "type": "string", + "description": "Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used.\n" + } + }, + "requiredInputs": [ + "assetsDir", + "outputSchemaName", + "tableName" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering LakehouseMonitor resources.\n", + "properties": { + "assetsDir": { + "type": "string", + "description": "The directory to store the monitoring assets (Eg. Dashboard and Metric Tables)\n" }, - "notebookTask": { - "$ref": "#/types/databricks:index/JobNotebookTask:JobNotebookTask", - "deprecationMessage": "should be used inside a task block and not inside a job block" - }, - "notificationSettings": { - "$ref": "#/types/databricks:index/JobNotificationSettings:JobNotificationSettings", - "description": "An optional block controlling the notification settings on the job level (described below).\n" + "baselineTableName": { + "type": "string", + "description": "Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline\ntable.\n" }, - "parameters": { + "customMetrics": { "type": "array", "items": { - "$ref": "#/types/databricks:index/JobParameter:JobParameter" - } + "$ref": "#/types/databricks:index/LakehouseMonitorCustomMetric:LakehouseMonitorCustomMetric" + }, + "description": "Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows).\n" }, - "pipelineTask": { - "$ref": "#/types/databricks:index/JobPipelineTask:JobPipelineTask", - "deprecationMessage": "should be used inside a task block and not inside a job block" + "dashboardId": { + "type": "string", + "description": "The ID of the generated dashboard.\n" }, - "pythonWheelTask": { - "$ref": "#/types/databricks:index/JobPythonWheelTask:JobPythonWheelTask", - "deprecationMessage": "should be used inside a task block and not inside a job block" + "dataClassificationConfig": { + "$ref": "#/types/databricks:index/LakehouseMonitorDataClassificationConfig:LakehouseMonitorDataClassificationConfig", + "description": "The data classification config for the monitor\n" }, - "queue": { - "$ref": "#/types/databricks:index/JobQueue:JobQueue" + "driftMetricsTableName": { + "type": "string", + "description": "The full name of the drift metrics table. Format: __catalog_name__.__schema_name__.__table_name__.\n" }, - "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", - "deprecationMessage": "should be used inside a task block and not inside a job block" + "inferenceLog": { + "$ref": "#/types/databricks:index/LakehouseMonitorInferenceLog:LakehouseMonitorInferenceLog", + "description": "Configuration for the inference log monitor\n" }, - "runAs": { - "$ref": "#/types/databricks:index/JobRunAs:JobRunAs" + "latestMonitorFailureMsg": { + "type": "string" }, - "runJobTask": { - "$ref": "#/types/databricks:index/JobRunJobTask:JobRunJobTask", - "deprecationMessage": "should be used inside a task block and not inside a job block" + "monitorVersion": { + "type": "string", + "description": "The version of the monitor config (e.g. 1,2,3). If negative, the monitor may be corrupted\n" }, - "schedule": { - "$ref": "#/types/databricks:index/JobSchedule:JobSchedule", - "description": "(List) An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. This field is a block and is documented below.\n" + "notifications": { + "$ref": "#/types/databricks:index/LakehouseMonitorNotifications:LakehouseMonitorNotifications", + "description": "The notification settings for the monitor\n" }, - "sparkJarTask": { - "$ref": "#/types/databricks:index/JobSparkJarTask:JobSparkJarTask", - "deprecationMessage": "should be used inside a task block and not inside a job block" + "outputSchemaName": { + "type": "string", + "description": "Schema where output metric tables are created\n" }, - "sparkPythonTask": { - "$ref": "#/types/databricks:index/JobSparkPythonTask:JobSparkPythonTask", - "deprecationMessage": "should be used inside a task block and not inside a job block" + "profileMetricsTableName": { + "type": "string", + "description": "The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__.\n" }, - "sparkSubmitTask": { - "$ref": "#/types/databricks:index/JobSparkSubmitTask:JobSparkSubmitTask", - "deprecationMessage": "should be used inside a task block and not inside a job block" + "schedule": { + "$ref": "#/types/databricks:index/LakehouseMonitorSchedule:LakehouseMonitorSchedule", + "description": "The schedule for automatically updating and refreshing metric tables.\n" }, - "tags": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - } + "skipBuiltinDashboard": { + "type": "boolean", + "description": "Whether to skip creating a default dashboard summarizing data quality metrics.\n" }, - "tasks": { + "slicingExprs": { "type": "array", "items": { - "$ref": "#/types/databricks:index/JobTask:JobTask" + "type": "string" }, - "description": "Task to run against the `inputs` list.\n" + "description": "List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices.\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" + "snapshot": { + "$ref": "#/types/databricks:index/LakehouseMonitorSnapshot:LakehouseMonitorSnapshot", + "description": "Configuration for monitoring snapshot tables.\n" }, - "trigger": { - "$ref": "#/types/databricks:index/JobTrigger:JobTrigger" + "status": { + "type": "string", + "description": "Status of the Monitor\n" }, - "url": { + "tableName": { "type": "string", - "description": "URL of the Git repository to use.\n" + "description": "The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName}\n" }, - "webhookNotifications": { - "$ref": "#/types/databricks:index/JobWebhookNotifications:JobWebhookNotifications", - "description": "(List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this job begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.\n" + "timeSeries": { + "$ref": "#/types/databricks:index/LakehouseMonitorTimeSeries:LakehouseMonitorTimeSeries", + "description": "Configuration for monitoring timeseries tables.\n" + }, + "warehouseId": { + "type": "string", + "description": "Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used.\n" } }, "type": "object" @@ -16787,7 +17916,7 @@ } }, "databricks:index/modelServing:ModelServing": { - "description": "This resource allows you to manage [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks.\n\n## 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.ModelServing(\"this\", {config: {\n servedModels: [\n {\n modelName: \"ads-model\",\n modelVersion: \"2\",\n name: \"prod_model\",\n scaleToZeroEnabled: true,\n workloadSize: \"Small\",\n },\n {\n modelName: \"ads-model\",\n modelVersion: \"4\",\n name: \"candidate_model\",\n scaleToZeroEnabled: false,\n workloadSize: \"Small\",\n },\n ],\n trafficConfig: {\n routes: [\n {\n servedModelName: \"prod_model\",\n trafficPercentage: 90,\n },\n {\n servedModelName: \"candidate_model\",\n trafficPercentage: 10,\n },\n ],\n },\n}});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.ModelServing(\"this\", config=databricks.ModelServingConfigArgs(\n served_models=[\n databricks.ModelServingConfigServedModelArgs(\n model_name=\"ads-model\",\n model_version=\"2\",\n name=\"prod_model\",\n scale_to_zero_enabled=True,\n workload_size=\"Small\",\n ),\n databricks.ModelServingConfigServedModelArgs(\n model_name=\"ads-model\",\n model_version=\"4\",\n name=\"candidate_model\",\n scale_to_zero_enabled=False,\n workload_size=\"Small\",\n ),\n ],\n traffic_config=databricks.ModelServingConfigTrafficConfigArgs(\n routes=[\n databricks.ModelServingConfigTrafficConfigRouteArgs(\n served_model_name=\"prod_model\",\n traffic_percentage=90,\n ),\n databricks.ModelServingConfigTrafficConfigRouteArgs(\n served_model_name=\"candidate_model\",\n traffic_percentage=10,\n ),\n ],\n ),\n))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.ModelServing(\"this\", new()\n {\n Config = new Databricks.Inputs.ModelServingConfigArgs\n {\n ServedModels = new[]\n {\n new Databricks.Inputs.ModelServingConfigServedModelArgs\n {\n ModelName = \"ads-model\",\n ModelVersion = \"2\",\n Name = \"prod_model\",\n ScaleToZeroEnabled = true,\n WorkloadSize = \"Small\",\n },\n new Databricks.Inputs.ModelServingConfigServedModelArgs\n {\n ModelName = \"ads-model\",\n ModelVersion = \"4\",\n Name = \"candidate_model\",\n ScaleToZeroEnabled = false,\n WorkloadSize = \"Small\",\n },\n },\n TrafficConfig = new Databricks.Inputs.ModelServingConfigTrafficConfigArgs\n {\n Routes = new[]\n {\n new Databricks.Inputs.ModelServingConfigTrafficConfigRouteArgs\n {\n ServedModelName = \"prod_model\",\n TrafficPercentage = 90,\n },\n new Databricks.Inputs.ModelServingConfigTrafficConfigRouteArgs\n {\n ServedModelName = \"candidate_model\",\n TrafficPercentage = 10,\n },\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewModelServing(ctx, \"this\", \u0026databricks.ModelServingArgs{\n\t\t\tConfig: \u0026databricks.ModelServingConfigArgs{\n\t\t\t\tServedModels: databricks.ModelServingConfigServedModelArray{\n\t\t\t\t\t\u0026databricks.ModelServingConfigServedModelArgs{\n\t\t\t\t\t\tModelName: pulumi.String(\"ads-model\"),\n\t\t\t\t\t\tModelVersion: pulumi.String(\"2\"),\n\t\t\t\t\t\tName: pulumi.String(\"prod_model\"),\n\t\t\t\t\t\tScaleToZeroEnabled: pulumi.Bool(true),\n\t\t\t\t\t\tWorkloadSize: pulumi.String(\"Small\"),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026databricks.ModelServingConfigServedModelArgs{\n\t\t\t\t\t\tModelName: pulumi.String(\"ads-model\"),\n\t\t\t\t\t\tModelVersion: pulumi.String(\"4\"),\n\t\t\t\t\t\tName: pulumi.String(\"candidate_model\"),\n\t\t\t\t\t\tScaleToZeroEnabled: pulumi.Bool(false),\n\t\t\t\t\t\tWorkloadSize: pulumi.String(\"Small\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tTrafficConfig: \u0026databricks.ModelServingConfigTrafficConfigArgs{\n\t\t\t\t\tRoutes: databricks.ModelServingConfigTrafficConfigRouteArray{\n\t\t\t\t\t\t\u0026databricks.ModelServingConfigTrafficConfigRouteArgs{\n\t\t\t\t\t\t\tServedModelName: pulumi.String(\"prod_model\"),\n\t\t\t\t\t\t\tTrafficPercentage: pulumi.Int(90),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026databricks.ModelServingConfigTrafficConfigRouteArgs{\n\t\t\t\t\t\t\tServedModelName: pulumi.String(\"candidate_model\"),\n\t\t\t\t\t\t\tTrafficPercentage: pulumi.Int(10),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.ModelServing;\nimport com.pulumi.databricks.ModelServingArgs;\nimport com.pulumi.databricks.inputs.ModelServingConfigArgs;\nimport com.pulumi.databricks.inputs.ModelServingConfigTrafficConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new ModelServing(\"this\", ModelServingArgs.builder() \n .config(ModelServingConfigArgs.builder()\n .servedModels( \n ModelServingConfigServedModelArgs.builder()\n .modelName(\"ads-model\")\n .modelVersion(\"2\")\n .name(\"prod_model\")\n .scaleToZeroEnabled(true)\n .workloadSize(\"Small\")\n .build(),\n ModelServingConfigServedModelArgs.builder()\n .modelName(\"ads-model\")\n .modelVersion(\"4\")\n .name(\"candidate_model\")\n .scaleToZeroEnabled(false)\n .workloadSize(\"Small\")\n .build())\n .trafficConfig(ModelServingConfigTrafficConfigArgs.builder()\n .routes( \n ModelServingConfigTrafficConfigRouteArgs.builder()\n .servedModelName(\"prod_model\")\n .trafficPercentage(90)\n .build(),\n ModelServingConfigTrafficConfigRouteArgs.builder()\n .servedModelName(\"candidate_model\")\n .trafficPercentage(10)\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:ModelServing\n properties:\n config:\n servedModels:\n - modelName: ads-model\n modelVersion: '2'\n name: prod_model\n scaleToZeroEnabled: true\n workloadSize: Small\n - modelName: ads-model\n modelVersion: '4'\n name: candidate_model\n scaleToZeroEnabled: false\n workloadSize: Small\n trafficConfig:\n routes:\n - servedModelName: prod_model\n trafficPercentage: 90\n - servedModelName: candidate_model\n trafficPercentage: 10\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Access Control\n\n* databricks.Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints.\n\n## Related Resources\n\nThe following resources are often used in the same context:\n\n* databricks.RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks.\n* End to end workspace management guide.\n* databricks.Directory to manage directories in [Databricks Workspace](https://docs.databricks.com/workspace/workspace-objects.html).\n* databricks.MlflowModel to create models in the [workspace model registry](https://docs.databricks.com/en/mlflow/model-registry.html) in Databricks.\n* databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).\n* databricks.Notebook data to export a notebook from Databricks Workspace.\n* databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).\n\n## Import\n\nThe model serving resource can be imported using the name of the endpoint.\n\nbash\n\n```sh\n$ pulumi import databricks:index/modelServing:ModelServing this \u003cmodel-serving-endpoint-name\u003e\n```\n\n", + "description": "This resource allows you to manage [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks.\n\n**Note** If you replace `served_models` with `served_entities` in an existing serving endpoint, the serving endpoint will briefly go into an update state (~30 seconds) and increment the config version.\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.ModelServing(\"this\", {config: {\n servedEntities: [\n {\n entityName: \"ads-model\",\n entityVersion: \"2\",\n name: \"prod_model\",\n scaleToZeroEnabled: true,\n workloadSize: \"Small\",\n },\n {\n entityName: \"ads-model\",\n entityVersion: \"4\",\n name: \"candidate_model\",\n scaleToZeroEnabled: false,\n workloadSize: \"Small\",\n },\n ],\n trafficConfig: {\n routes: [\n {\n servedModelName: \"prod_model\",\n trafficPercentage: 90,\n },\n {\n servedModelName: \"candidate_model\",\n trafficPercentage: 10,\n },\n ],\n },\n}});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.ModelServing(\"this\", config=databricks.ModelServingConfigArgs(\n served_entities=[\n databricks.ModelServingConfigServedEntityArgs(\n entity_name=\"ads-model\",\n entity_version=\"2\",\n name=\"prod_model\",\n scale_to_zero_enabled=True,\n workload_size=\"Small\",\n ),\n databricks.ModelServingConfigServedEntityArgs(\n entity_name=\"ads-model\",\n entity_version=\"4\",\n name=\"candidate_model\",\n scale_to_zero_enabled=False,\n workload_size=\"Small\",\n ),\n ],\n traffic_config=databricks.ModelServingConfigTrafficConfigArgs(\n routes=[\n databricks.ModelServingConfigTrafficConfigRouteArgs(\n served_model_name=\"prod_model\",\n traffic_percentage=90,\n ),\n databricks.ModelServingConfigTrafficConfigRouteArgs(\n served_model_name=\"candidate_model\",\n traffic_percentage=10,\n ),\n ],\n ),\n))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.ModelServing(\"this\", new()\n {\n Config = new Databricks.Inputs.ModelServingConfigArgs\n {\n ServedEntities = new[]\n {\n new Databricks.Inputs.ModelServingConfigServedEntityArgs\n {\n EntityName = \"ads-model\",\n EntityVersion = \"2\",\n Name = \"prod_model\",\n ScaleToZeroEnabled = true,\n WorkloadSize = \"Small\",\n },\n new Databricks.Inputs.ModelServingConfigServedEntityArgs\n {\n EntityName = \"ads-model\",\n EntityVersion = \"4\",\n Name = \"candidate_model\",\n ScaleToZeroEnabled = false,\n WorkloadSize = \"Small\",\n },\n },\n TrafficConfig = new Databricks.Inputs.ModelServingConfigTrafficConfigArgs\n {\n Routes = new[]\n {\n new Databricks.Inputs.ModelServingConfigTrafficConfigRouteArgs\n {\n ServedModelName = \"prod_model\",\n TrafficPercentage = 90,\n },\n new Databricks.Inputs.ModelServingConfigTrafficConfigRouteArgs\n {\n ServedModelName = \"candidate_model\",\n TrafficPercentage = 10,\n },\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewModelServing(ctx, \"this\", \u0026databricks.ModelServingArgs{\n\t\t\tConfig: \u0026databricks.ModelServingConfigArgs{\n\t\t\t\tServedEntities: databricks.ModelServingConfigServedEntityArray{\n\t\t\t\t\t\u0026databricks.ModelServingConfigServedEntityArgs{\n\t\t\t\t\t\tEntityName: pulumi.String(\"ads-model\"),\n\t\t\t\t\t\tEntityVersion: pulumi.String(\"2\"),\n\t\t\t\t\t\tName: pulumi.String(\"prod_model\"),\n\t\t\t\t\t\tScaleToZeroEnabled: pulumi.Bool(true),\n\t\t\t\t\t\tWorkloadSize: pulumi.String(\"Small\"),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026databricks.ModelServingConfigServedEntityArgs{\n\t\t\t\t\t\tEntityName: pulumi.String(\"ads-model\"),\n\t\t\t\t\t\tEntityVersion: pulumi.String(\"4\"),\n\t\t\t\t\t\tName: pulumi.String(\"candidate_model\"),\n\t\t\t\t\t\tScaleToZeroEnabled: pulumi.Bool(false),\n\t\t\t\t\t\tWorkloadSize: pulumi.String(\"Small\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tTrafficConfig: \u0026databricks.ModelServingConfigTrafficConfigArgs{\n\t\t\t\t\tRoutes: databricks.ModelServingConfigTrafficConfigRouteArray{\n\t\t\t\t\t\t\u0026databricks.ModelServingConfigTrafficConfigRouteArgs{\n\t\t\t\t\t\t\tServedModelName: pulumi.String(\"prod_model\"),\n\t\t\t\t\t\t\tTrafficPercentage: pulumi.Int(90),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026databricks.ModelServingConfigTrafficConfigRouteArgs{\n\t\t\t\t\t\t\tServedModelName: pulumi.String(\"candidate_model\"),\n\t\t\t\t\t\t\tTrafficPercentage: pulumi.Int(10),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.ModelServing;\nimport com.pulumi.databricks.ModelServingArgs;\nimport com.pulumi.databricks.inputs.ModelServingConfigArgs;\nimport com.pulumi.databricks.inputs.ModelServingConfigTrafficConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new ModelServing(\"this\", ModelServingArgs.builder() \n .config(ModelServingConfigArgs.builder()\n .servedEntities( \n ModelServingConfigServedEntityArgs.builder()\n .entityName(\"ads-model\")\n .entityVersion(\"2\")\n .name(\"prod_model\")\n .scaleToZeroEnabled(true)\n .workloadSize(\"Small\")\n .build(),\n ModelServingConfigServedEntityArgs.builder()\n .entityName(\"ads-model\")\n .entityVersion(\"4\")\n .name(\"candidate_model\")\n .scaleToZeroEnabled(false)\n .workloadSize(\"Small\")\n .build())\n .trafficConfig(ModelServingConfigTrafficConfigArgs.builder()\n .routes( \n ModelServingConfigTrafficConfigRouteArgs.builder()\n .servedModelName(\"prod_model\")\n .trafficPercentage(90)\n .build(),\n ModelServingConfigTrafficConfigRouteArgs.builder()\n .servedModelName(\"candidate_model\")\n .trafficPercentage(10)\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:ModelServing\n properties:\n config:\n servedEntities:\n - entityName: ads-model\n entityVersion: '2'\n name: prod_model\n scaleToZeroEnabled: true\n workloadSize: Small\n - entityName: ads-model\n entityVersion: '4'\n name: candidate_model\n scaleToZeroEnabled: false\n workloadSize: Small\n trafficConfig:\n routes:\n - servedModelName: prod_model\n trafficPercentage: 90\n - servedModelName: candidate_model\n trafficPercentage: 10\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Access Control\n\n* databricks.Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints.\n\n## Related Resources\n\nThe following resources are often used in the same context:\n\n* databricks.RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks.\n* End to end workspace management guide.\n* databricks.Directory to manage directories in [Databricks Workspace](https://docs.databricks.com/workspace/workspace-objects.html).\n* databricks.MlflowModel to create models in the [workspace model registry](https://docs.databricks.com/en/mlflow/model-registry.html) in Databricks.\n* databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).\n* databricks.Notebook data to export a notebook from Databricks Workspace.\n* databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).\n\n## Import\n\nThe model serving resource can be imported using the name of the endpoint.\n\nbash\n\n```sh\n$ pulumi import databricks:index/modelServing:ModelServing this \u003cmodel-serving-endpoint-name\u003e\n```\n\n", "properties": { "config": { "$ref": "#/types/databricks:index/ModelServingConfig:ModelServingConfig", @@ -16801,7 +17930,8 @@ "type": "array", "items": { "$ref": "#/types/databricks:index/ModelServingRateLimit:ModelServingRateLimit" - } + }, + "description": "A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now.\n" }, "servingEndpointId": { "type": "string", @@ -16811,7 +17941,8 @@ "type": "array", "items": { "$ref": "#/types/databricks:index/ModelServingTag:ModelServingTag" - } + }, + "description": "Tags to be attached to the serving endpoint and automatically propagated to billing logs.\n" } }, "required": [ @@ -16833,13 +17964,15 @@ "type": "array", "items": { "$ref": "#/types/databricks:index/ModelServingRateLimit:ModelServingRateLimit" - } + }, + "description": "A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now.\n" }, "tags": { "type": "array", "items": { "$ref": "#/types/databricks:index/ModelServingTag:ModelServingTag" - } + }, + "description": "Tags to be attached to the serving endpoint and automatically propagated to billing logs.\n" } }, "requiredInputs": [ @@ -16861,7 +17994,8 @@ "type": "array", "items": { "$ref": "#/types/databricks:index/ModelServingRateLimit:ModelServingRateLimit" - } + }, + "description": "A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now.\n" }, "servingEndpointId": { "type": "string", @@ -16871,7 +18005,8 @@ "type": "array", "items": { "$ref": "#/types/databricks:index/ModelServingTag:ModelServingTag" - } + }, + "description": "Tags to be attached to the serving endpoint and automatically propagated to billing logs.\n" } }, "type": "object" @@ -18600,6 +19735,65 @@ "type": "object" } }, + "databricks:index/onlineTable:OnlineTable": { + "description": "\u003e **Note** This resource could be only used on Unity Catalog-enabled workspace!\n\nThis resource allows you to create [Online Table](https://docs.databricks.com/en/machine-learning/feature-store/online-tables.html) in Databricks. An online table is a read-only copy of a Delta Table that is stored in row-oriented format optimized for online access. Online tables are fully serverless tables that auto-scale throughput capacity with the request load and provide low latency and high throughput access to data of any scale. Online tables are designed to work with Databricks Model Serving, Feature Serving, and retrieval-augmented generation (RAG) applications where they are used for fast data lookups.\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.OnlineTable(\"this\", {spec: {\n primaryKeyColumns: [\"id\"],\n runTriggered: {},\n sourceTableFullName: \"main.default.source_table\",\n}});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.OnlineTable(\"this\", spec=databricks.OnlineTableSpecArgs(\n primary_key_columns=[\"id\"],\n run_triggered=databricks.OnlineTableSpecRunTriggeredArgs(),\n source_table_full_name=\"main.default.source_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 @this = new Databricks.OnlineTable(\"this\", new()\n {\n Spec = new Databricks.Inputs.OnlineTableSpecArgs\n {\n PrimaryKeyColumns = new[]\n {\n \"id\",\n },\n RunTriggered = null,\n SourceTableFullName = \"main.default.source_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\t_, err := databricks.NewOnlineTable(ctx, \"this\", \u0026databricks.OnlineTableArgs{\n\t\t\tSpec: \u0026databricks.OnlineTableSpecArgs{\n\t\t\t\tPrimaryKeyColumns: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"id\"),\n\t\t\t\t},\n\t\t\t\tRunTriggered: nil,\n\t\t\t\tSourceTableFullName: pulumi.String(\"main.default.source_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.OnlineTable;\nimport com.pulumi.databricks.OnlineTableArgs;\nimport com.pulumi.databricks.inputs.OnlineTableSpecArgs;\nimport com.pulumi.databricks.inputs.OnlineTableSpecRunTriggeredArgs;\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 OnlineTable(\"this\", OnlineTableArgs.builder() \n .spec(OnlineTableSpecArgs.builder()\n .primaryKeyColumns(\"id\")\n .runTriggered()\n .sourceTableFullName(\"main.default.source_table\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:OnlineTable\n properties:\n spec:\n primaryKeyColumns:\n - id\n runTriggered: {}\n sourceTableFullName: main.default.source_table\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nThe resource can be imported using the name of the Online Table:\n\nbash\n\n```sh\n$ pulumi import databricks:index/onlineTable:OnlineTable this \u003cendpoint-name\u003e\n```\n\n", + "properties": { + "name": { + "type": "string", + "description": "3-level name of the Online Table to create.\n" + }, + "spec": { + "$ref": "#/types/databricks:index/OnlineTableSpec:OnlineTableSpec", + "description": "object containing specification of the online table:\n" + }, + "statuses": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/OnlineTableStatus:OnlineTableStatus" + }, + "description": "object describing status of the online table:\n" + } + }, + "required": [ + "name", + "statuses" + ], + "inputProperties": { + "name": { + "type": "string", + "description": "3-level name of the Online Table to create.\n", + "willReplaceOnChanges": true + }, + "spec": { + "$ref": "#/types/databricks:index/OnlineTableSpec:OnlineTableSpec", + "description": "object containing specification of the online table:\n", + "willReplaceOnChanges": true + } + }, + "stateInputs": { + "description": "Input properties used for looking up and filtering OnlineTable resources.\n", + "properties": { + "name": { + "type": "string", + "description": "3-level name of the Online Table to create.\n", + "willReplaceOnChanges": true + }, + "spec": { + "$ref": "#/types/databricks:index/OnlineTableSpec:OnlineTableSpec", + "description": "object containing specification of the online table:\n", + "willReplaceOnChanges": true + }, + "statuses": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/OnlineTableStatus:OnlineTableStatus" + }, + "description": "object describing status of the online table:\n" + } + }, + "type": "object" + } + }, "databricks:index/permissionAssignment:PermissionAssignment": { "properties": { "permissions": { @@ -19386,6 +20580,10 @@ "type": "string", "description": "The name of the registered model. *Change of this parameter forces recreation of the resource.*\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. *Change of this parameter forces recreation of the resource.*\n" @@ -19398,6 +20596,7 @@ "required": [ "catalogName", "name", + "owner", "schemaName", "storageLocation" ], @@ -19416,6 +20615,10 @@ "description": "The name of the registered model. *Change of this parameter forces recreation of the resource.*\n", "willReplaceOnChanges": true }, + "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. *Change of this parameter forces recreation of the resource.*\n", @@ -19448,6 +20651,10 @@ "description": "The name of the registered model. *Change of this parameter forces recreation of the resource.*\n", "willReplaceOnChanges": true }, + "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. *Change of this parameter forces recreation of the resource.*\n", @@ -19984,7 +21191,7 @@ } }, "databricks:index/servicePrincipal:ServicePrincipal": { - "description": "Directly manage [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html) that could be added to databricks.Group in Databricks workspace or account.\n\n\u003e **Note** To assign account level service principals to workspace use databricks_mws_permission_assignment.\n\n\u003e **Note** Entitlements, like, `allow_cluster_create`, `allow_instance_pool_create`, `databricks_sql_access`, `workspace_access` applicable only for workspace-level service principals. Use databricks.Entitlements resource to assign entitlements inside a workspace to account-level service principals.\n\nTo create service principals in the Databricks account, the provider must be configured with `host = \"https://accounts.cloud.databricks.com\"` on AWS deployments or `host = \"https://accounts.azuredatabricks.net\"` and authenticate using AAD tokens on Azure deployments\n\n## Example Usage\n\nCreating regular service principal:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst sp = new databricks.ServicePrincipal(\"sp\", {applicationId: \"00000000-0000-0000-0000-000000000000\"});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsp = databricks.ServicePrincipal(\"sp\", application_id=\"00000000-0000-0000-0000-000000000000\")\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 sp = new Databricks.ServicePrincipal(\"sp\", new()\n {\n ApplicationId = \"00000000-0000-0000-0000-000000000000\",\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.NewServicePrincipal(ctx, \"sp\", \u0026databricks.ServicePrincipalArgs{\n\t\t\tApplicationId: pulumi.String(\"00000000-0000-0000-0000-000000000000\"),\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.ServicePrincipal;\nimport com.pulumi.databricks.ServicePrincipalArgs;\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 sp = new ServicePrincipal(\"sp\", ServicePrincipalArgs.builder() \n .applicationId(\"00000000-0000-0000-0000-000000000000\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sp:\n type: databricks:ServicePrincipal\n properties:\n applicationId: 00000000-0000-0000-0000-000000000000\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nCreating service principal with administrative permissions - referencing special `admins` databricks.Group in databricks.GroupMember resource:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst admins = databricks.getGroup({\n displayName: \"admins\",\n});\nconst sp = new databricks.ServicePrincipal(\"sp\", {applicationId: \"00000000-0000-0000-0000-000000000000\"});\nconst i_am_admin = new databricks.GroupMember(\"i-am-admin\", {\n groupId: admins.then(admins =\u003e admins.id),\n memberId: sp.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nadmins = databricks.get_group(display_name=\"admins\")\nsp = databricks.ServicePrincipal(\"sp\", application_id=\"00000000-0000-0000-0000-000000000000\")\ni_am_admin = databricks.GroupMember(\"i-am-admin\",\n group_id=admins.id,\n member_id=sp.id)\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 admins = Databricks.GetGroup.Invoke(new()\n {\n DisplayName = \"admins\",\n });\n\n var sp = new Databricks.ServicePrincipal(\"sp\", new()\n {\n ApplicationId = \"00000000-0000-0000-0000-000000000000\",\n });\n\n var i_am_admin = new Databricks.GroupMember(\"i-am-admin\", new()\n {\n GroupId = admins.Apply(getGroupResult =\u003e getGroupResult.Id),\n MemberId = sp.Id,\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\tadmins, err := databricks.LookupGroup(ctx, \u0026databricks.LookupGroupArgs{\n\t\t\tDisplayName: \"admins\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsp, err := databricks.NewServicePrincipal(ctx, \"sp\", \u0026databricks.ServicePrincipalArgs{\n\t\t\tApplicationId: pulumi.String(\"00000000-0000-0000-0000-000000000000\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGroupMember(ctx, \"i-am-admin\", \u0026databricks.GroupMemberArgs{\n\t\t\tGroupId: pulumi.String(admins.Id),\n\t\t\tMemberId: sp.ID(),\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.GetGroupArgs;\nimport com.pulumi.databricks.ServicePrincipal;\nimport com.pulumi.databricks.ServicePrincipalArgs;\nimport com.pulumi.databricks.GroupMember;\nimport com.pulumi.databricks.GroupMemberArgs;\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 admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()\n .displayName(\"admins\")\n .build());\n\n var sp = new ServicePrincipal(\"sp\", ServicePrincipalArgs.builder() \n .applicationId(\"00000000-0000-0000-0000-000000000000\")\n .build());\n\n var i_am_admin = new GroupMember(\"i-am-admin\", GroupMemberArgs.builder() \n .groupId(admins.applyValue(getGroupResult -\u003e getGroupResult.id()))\n .memberId(sp.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sp:\n type: databricks:ServicePrincipal\n properties:\n applicationId: 00000000-0000-0000-0000-000000000000\n i-am-admin:\n type: databricks:GroupMember\n properties:\n groupId: ${admins.id}\n memberId: ${sp.id}\nvariables:\n admins:\n fn::invoke:\n Function: databricks:getGroup\n Arguments:\n displayName: admins\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nCreating service principal with cluster create permissions:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst sp = new databricks.ServicePrincipal(\"sp\", {\n allowClusterCreate: true,\n applicationId: \"00000000-0000-0000-0000-000000000000\",\n displayName: \"Example service principal\",\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsp = databricks.ServicePrincipal(\"sp\",\n allow_cluster_create=True,\n application_id=\"00000000-0000-0000-0000-000000000000\",\n display_name=\"Example service principal\")\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 sp = new Databricks.ServicePrincipal(\"sp\", new()\n {\n AllowClusterCreate = true,\n ApplicationId = \"00000000-0000-0000-0000-000000000000\",\n DisplayName = \"Example service principal\",\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.NewServicePrincipal(ctx, \"sp\", \u0026databricks.ServicePrincipalArgs{\n\t\t\tAllowClusterCreate: pulumi.Bool(true),\n\t\t\tApplicationId: pulumi.String(\"00000000-0000-0000-0000-000000000000\"),\n\t\t\tDisplayName: pulumi.String(\"Example service principal\"),\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.ServicePrincipal;\nimport com.pulumi.databricks.ServicePrincipalArgs;\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 sp = new ServicePrincipal(\"sp\", ServicePrincipalArgs.builder() \n .allowClusterCreate(true)\n .applicationId(\"00000000-0000-0000-0000-000000000000\")\n .displayName(\"Example service principal\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sp:\n type: databricks:ServicePrincipal\n properties:\n allowClusterCreate: true\n applicationId: 00000000-0000-0000-0000-000000000000\n displayName: Example service principal\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nCreating service principal in AWS Databricks account:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\n// initialize provider at account-level\nconst mws = new databricks.Provider(\"mws\", {\n host: \"https://accounts.cloud.databricks.com\",\n accountId: \"00000000-0000-0000-0000-000000000000\",\n clientId: _var.client_id,\n clientSecret: _var.client_secret,\n});\nconst sp = new databricks.ServicePrincipal(\"sp\", {displayName: \"Automation-only SP\"}, {\n provider: databricks.mws,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\n# initialize provider at account-level\nmws = databricks.Provider(\"mws\",\n host=\"https://accounts.cloud.databricks.com\",\n account_id=\"00000000-0000-0000-0000-000000000000\",\n client_id=var[\"client_id\"],\n client_secret=var[\"client_secret\"])\nsp = databricks.ServicePrincipal(\"sp\", display_name=\"Automation-only SP\",\nopts=pulumi.ResourceOptions(provider=databricks[\"mws\"]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // initialize provider at account-level\n var mws = new Databricks.Provider(\"mws\", new()\n {\n Host = \"https://accounts.cloud.databricks.com\",\n AccountId = \"00000000-0000-0000-0000-000000000000\",\n ClientId = @var.Client_id,\n ClientSecret = @var.Client_secret,\n });\n\n var sp = new Databricks.ServicePrincipal(\"sp\", new()\n {\n DisplayName = \"Automation-only SP\",\n }, new CustomResourceOptions\n {\n Provider = databricks.Mws,\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// initialize provider at account-level\n\t\t_, err := databricks.NewProvider(ctx, \"mws\", \u0026databricks.ProviderArgs{\n\t\t\tHost: pulumi.String(\"https://accounts.cloud.databricks.com\"),\n\t\t\tAccountId: pulumi.String(\"00000000-0000-0000-0000-000000000000\"),\n\t\t\tClientId: pulumi.Any(_var.Client_id),\n\t\t\tClientSecret: pulumi.Any(_var.Client_secret),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewServicePrincipal(ctx, \"sp\", \u0026databricks.ServicePrincipalArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation-only SP\"),\n\t\t}, pulumi.Provider(databricks.Mws))\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.Provider;\nimport com.pulumi.databricks.ProviderArgs;\nimport com.pulumi.databricks.ServicePrincipal;\nimport com.pulumi.databricks.ServicePrincipalArgs;\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 mws = new Provider(\"mws\", ProviderArgs.builder() \n .host(\"https://accounts.cloud.databricks.com\")\n .accountId(\"00000000-0000-0000-0000-000000000000\")\n .clientId(var_.client_id())\n .clientSecret(var_.client_secret())\n .build());\n\n var sp = new ServicePrincipal(\"sp\", ServicePrincipalArgs.builder() \n .displayName(\"Automation-only SP\")\n .build(), CustomResourceOptions.builder()\n .provider(databricks.mws())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # initialize provider at account-level\n mws:\n type: pulumi:providers:databricks\n properties:\n host: https://accounts.cloud.databricks.com\n accountId: 00000000-0000-0000-0000-000000000000\n clientId: ${var.client_id}\n clientSecret: ${var.client_secret}\n sp:\n type: databricks:ServicePrincipal\n properties:\n displayName: Automation-only SP\n options:\n provider: ${databricks.mws}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nCreating service principal in Azure Databricks account:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\n// initialize provider at Azure account-level\nconst azureAccount = new databricks.Provider(\"azureAccount\", {\n host: \"https://accounts.azuredatabricks.net\",\n accountId: \"00000000-0000-0000-0000-000000000000\",\n authType: \"azure-cli\",\n});\nconst sp = new databricks.ServicePrincipal(\"sp\", {applicationId: \"00000000-0000-0000-0000-000000000000\"}, {\n provider: databricks.azure_account,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\n# initialize provider at Azure account-level\nazure_account = databricks.Provider(\"azureAccount\",\n host=\"https://accounts.azuredatabricks.net\",\n account_id=\"00000000-0000-0000-0000-000000000000\",\n auth_type=\"azure-cli\")\nsp = databricks.ServicePrincipal(\"sp\", application_id=\"00000000-0000-0000-0000-000000000000\",\nopts=pulumi.ResourceOptions(provider=databricks[\"azure_account\"]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // initialize provider at Azure account-level\n var azureAccount = new Databricks.Provider(\"azureAccount\", new()\n {\n Host = \"https://accounts.azuredatabricks.net\",\n AccountId = \"00000000-0000-0000-0000-000000000000\",\n AuthType = \"azure-cli\",\n });\n\n var sp = new Databricks.ServicePrincipal(\"sp\", new()\n {\n ApplicationId = \"00000000-0000-0000-0000-000000000000\",\n }, new CustomResourceOptions\n {\n Provider = databricks.Azure_account,\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// initialize provider at Azure account-level\n\t\t_, err := databricks.NewProvider(ctx, \"azureAccount\", \u0026databricks.ProviderArgs{\n\t\t\tHost: pulumi.String(\"https://accounts.azuredatabricks.net\"),\n\t\t\tAccountId: pulumi.String(\"00000000-0000-0000-0000-000000000000\"),\n\t\t\tAuthType: pulumi.String(\"azure-cli\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewServicePrincipal(ctx, \"sp\", \u0026databricks.ServicePrincipalArgs{\n\t\t\tApplicationId: pulumi.String(\"00000000-0000-0000-0000-000000000000\"),\n\t\t}, pulumi.Provider(databricks.Azure_account))\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.Provider;\nimport com.pulumi.databricks.ProviderArgs;\nimport com.pulumi.databricks.ServicePrincipal;\nimport com.pulumi.databricks.ServicePrincipalArgs;\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 azureAccount = new Provider(\"azureAccount\", ProviderArgs.builder() \n .host(\"https://accounts.azuredatabricks.net\")\n .accountId(\"00000000-0000-0000-0000-000000000000\")\n .authType(\"azure-cli\")\n .build());\n\n var sp = new ServicePrincipal(\"sp\", ServicePrincipalArgs.builder() \n .applicationId(\"00000000-0000-0000-0000-000000000000\")\n .build(), CustomResourceOptions.builder()\n .provider(databricks.azure_account())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # initialize provider at Azure account-level\n azureAccount:\n type: pulumi:providers:databricks\n properties:\n host: https://accounts.azuredatabricks.net\n accountId: 00000000-0000-0000-0000-000000000000\n authType: azure-cli\n sp:\n type: databricks:ServicePrincipal\n properties:\n applicationId: 00000000-0000-0000-0000-000000000000\n options:\n provider: ${databricks.azure_account}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are often used in the same context:\n\n* End to end workspace management guide.\n* databricks.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).\n* databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.\n* databricks.GroupMember to attach users and groups as group members.\n* databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.\n* databricks.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and more to manage secrets for the service principal (only for AWS deployments)\n\n## Import\n\nThe resource scim service principal can be imported using its id, for example `2345678901234567`. To get the service principal ID, call [Get service principals](https://docs.databricks.com/dev-tools/api/latest/scim/scim-sp.html#get-service-principals).\n\nbash\n\n```sh\n$ pulumi import databricks:index/servicePrincipal:ServicePrincipal me \u003cservice-principal-id\u003e\n```\n\n", + "description": "Directly manage [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html) that could be added to databricks.Group in Databricks account or workspace.\n\nThere are different types of service principals:\n\n* Databricks-managed - exists only inside the Databricks platform (all clouds) and couldn't be used for accessing non-Databricks services.\n* Azure-managed - existing Azure service principal (enterprise application) is registered inside Databricks. It could be used to work with other Azure services.\n\n\u003e **Note** To assign account level service principals to workspace use databricks_mws_permission_assignment.\n\n\u003e **Note** Entitlements, like, `allow_cluster_create`, `allow_instance_pool_create`, `databricks_sql_access`, `workspace_access` applicable only for workspace-level service principals. Use databricks.Entitlements resource to assign entitlements inside a workspace to account-level service principals.\n\nTo create service principals in the Databricks account, the provider must be configured with `host = \"https://accounts.cloud.databricks.com\"` on AWS deployments or `host = \"https://accounts.azuredatabricks.net\"` and authenticate using the supported authentication method for account operations.\n\nThe default behavior when deleting a `databricks.ServicePrincipal` resource depends on whether the provider is configured at the workspace-level or account-level. When the provider is configured at the workspace-level, the service principal will be deleted from the workspace. When the provider is configured at the account-level, the service principal will be deactivated but not deleted. When the provider is configured at the account level, to delete the service principal from the account when the resource is deleted, set `disable_as_user_deletion = false`. Conversely, when the provider is configured at the account-level, to deactivate the service principal when the resource is deleted, set `disable_as_user_deletion = true`.\n\n## Example Usage\n\nCreating regular Databricks-managed service principal:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst sp = new databricks.ServicePrincipal(\"sp\", {displayName: \"Admin SP\"});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsp = databricks.ServicePrincipal(\"sp\", display_name=\"Admin SP\")\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 sp = new Databricks.ServicePrincipal(\"sp\", new()\n {\n DisplayName = \"Admin SP\",\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.NewServicePrincipal(ctx, \"sp\", \u0026databricks.ServicePrincipalArgs{\n\t\t\tDisplayName: pulumi.String(\"Admin SP\"),\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.ServicePrincipal;\nimport com.pulumi.databricks.ServicePrincipalArgs;\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 sp = new ServicePrincipal(\"sp\", ServicePrincipalArgs.builder() \n .displayName(\"Admin SP\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sp:\n type: databricks:ServicePrincipal\n properties:\n displayName: Admin SP\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nCreating service principal with administrative permissions - referencing special `admins` databricks.Group in databricks.GroupMember resource:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst admins = databricks.getGroup({\n displayName: \"admins\",\n});\nconst sp = new databricks.ServicePrincipal(\"sp\", {displayName: \"Admin SP\"});\nconst i_am_admin = new databricks.GroupMember(\"i-am-admin\", {\n groupId: admins.then(admins =\u003e admins.id),\n memberId: sp.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nadmins = databricks.get_group(display_name=\"admins\")\nsp = databricks.ServicePrincipal(\"sp\", display_name=\"Admin SP\")\ni_am_admin = databricks.GroupMember(\"i-am-admin\",\n group_id=admins.id,\n member_id=sp.id)\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 admins = Databricks.GetGroup.Invoke(new()\n {\n DisplayName = \"admins\",\n });\n\n var sp = new Databricks.ServicePrincipal(\"sp\", new()\n {\n DisplayName = \"Admin SP\",\n });\n\n var i_am_admin = new Databricks.GroupMember(\"i-am-admin\", new()\n {\n GroupId = admins.Apply(getGroupResult =\u003e getGroupResult.Id),\n MemberId = sp.Id,\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\tadmins, err := databricks.LookupGroup(ctx, \u0026databricks.LookupGroupArgs{\n\t\t\tDisplayName: \"admins\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsp, err := databricks.NewServicePrincipal(ctx, \"sp\", \u0026databricks.ServicePrincipalArgs{\n\t\t\tDisplayName: pulumi.String(\"Admin SP\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGroupMember(ctx, \"i-am-admin\", \u0026databricks.GroupMemberArgs{\n\t\t\tGroupId: pulumi.String(admins.Id),\n\t\t\tMemberId: sp.ID(),\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.GetGroupArgs;\nimport com.pulumi.databricks.ServicePrincipal;\nimport com.pulumi.databricks.ServicePrincipalArgs;\nimport com.pulumi.databricks.GroupMember;\nimport com.pulumi.databricks.GroupMemberArgs;\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 admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()\n .displayName(\"admins\")\n .build());\n\n var sp = new ServicePrincipal(\"sp\", ServicePrincipalArgs.builder() \n .displayName(\"Admin SP\")\n .build());\n\n var i_am_admin = new GroupMember(\"i-am-admin\", GroupMemberArgs.builder() \n .groupId(admins.applyValue(getGroupResult -\u003e getGroupResult.id()))\n .memberId(sp.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sp:\n type: databricks:ServicePrincipal\n properties:\n displayName: Admin SP\n i-am-admin:\n type: databricks:GroupMember\n properties:\n groupId: ${admins.id}\n memberId: ${sp.id}\nvariables:\n admins:\n fn::invoke:\n Function: databricks:getGroup\n Arguments:\n displayName: admins\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nCreating Azure-managed service principal with cluster create permissions:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst sp = new databricks.ServicePrincipal(\"sp\", {\n allowClusterCreate: true,\n applicationId: \"00000000-0000-0000-0000-000000000000\",\n displayName: \"Example service principal\",\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsp = databricks.ServicePrincipal(\"sp\",\n allow_cluster_create=True,\n application_id=\"00000000-0000-0000-0000-000000000000\",\n display_name=\"Example service principal\")\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 sp = new Databricks.ServicePrincipal(\"sp\", new()\n {\n AllowClusterCreate = true,\n ApplicationId = \"00000000-0000-0000-0000-000000000000\",\n DisplayName = \"Example service principal\",\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.NewServicePrincipal(ctx, \"sp\", \u0026databricks.ServicePrincipalArgs{\n\t\t\tAllowClusterCreate: pulumi.Bool(true),\n\t\t\tApplicationId: pulumi.String(\"00000000-0000-0000-0000-000000000000\"),\n\t\t\tDisplayName: pulumi.String(\"Example service principal\"),\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.ServicePrincipal;\nimport com.pulumi.databricks.ServicePrincipalArgs;\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 sp = new ServicePrincipal(\"sp\", ServicePrincipalArgs.builder() \n .allowClusterCreate(true)\n .applicationId(\"00000000-0000-0000-0000-000000000000\")\n .displayName(\"Example service principal\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sp:\n type: databricks:ServicePrincipal\n properties:\n allowClusterCreate: true\n applicationId: 00000000-0000-0000-0000-000000000000\n displayName: Example service principal\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nCreating Databricks-managed service principal in AWS Databricks account:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\n// initialize provider at account-level\nconst account = new databricks.Provider(\"account\", {\n host: \"https://accounts.cloud.databricks.com\",\n accountId: \"00000000-0000-0000-0000-000000000000\",\n clientId: _var.client_id,\n clientSecret: _var.client_secret,\n});\nconst sp = new databricks.ServicePrincipal(\"sp\", {displayName: \"Automation-only SP\"}, {\n provider: databricks.account,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\n# initialize provider at account-level\naccount = databricks.Provider(\"account\",\n host=\"https://accounts.cloud.databricks.com\",\n account_id=\"00000000-0000-0000-0000-000000000000\",\n client_id=var[\"client_id\"],\n client_secret=var[\"client_secret\"])\nsp = databricks.ServicePrincipal(\"sp\", display_name=\"Automation-only SP\",\nopts=pulumi.ResourceOptions(provider=databricks[\"account\"]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // initialize provider at account-level\n var account = new Databricks.Provider(\"account\", new()\n {\n Host = \"https://accounts.cloud.databricks.com\",\n AccountId = \"00000000-0000-0000-0000-000000000000\",\n ClientId = @var.Client_id,\n ClientSecret = @var.Client_secret,\n });\n\n var sp = new Databricks.ServicePrincipal(\"sp\", new()\n {\n DisplayName = \"Automation-only SP\",\n }, new CustomResourceOptions\n {\n Provider = databricks.Account,\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// initialize provider at account-level\n\t\t_, err := databricks.NewProvider(ctx, \"account\", \u0026databricks.ProviderArgs{\n\t\t\tHost: pulumi.String(\"https://accounts.cloud.databricks.com\"),\n\t\t\tAccountId: pulumi.String(\"00000000-0000-0000-0000-000000000000\"),\n\t\t\tClientId: pulumi.Any(_var.Client_id),\n\t\t\tClientSecret: pulumi.Any(_var.Client_secret),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewServicePrincipal(ctx, \"sp\", \u0026databricks.ServicePrincipalArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation-only SP\"),\n\t\t}, pulumi.Provider(databricks.Account))\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.Provider;\nimport com.pulumi.databricks.ProviderArgs;\nimport com.pulumi.databricks.ServicePrincipal;\nimport com.pulumi.databricks.ServicePrincipalArgs;\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 account = new Provider(\"account\", ProviderArgs.builder() \n .host(\"https://accounts.cloud.databricks.com\")\n .accountId(\"00000000-0000-0000-0000-000000000000\")\n .clientId(var_.client_id())\n .clientSecret(var_.client_secret())\n .build());\n\n var sp = new ServicePrincipal(\"sp\", ServicePrincipalArgs.builder() \n .displayName(\"Automation-only SP\")\n .build(), CustomResourceOptions.builder()\n .provider(databricks.account())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # initialize provider at account-level\n account:\n type: pulumi:providers:databricks\n properties:\n host: https://accounts.cloud.databricks.com\n accountId: 00000000-0000-0000-0000-000000000000\n clientId: ${var.client_id}\n clientSecret: ${var.client_secret}\n sp:\n type: databricks:ServicePrincipal\n properties:\n displayName: Automation-only SP\n options:\n provider: ${databricks.account}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nCreating Azure-managed service principal in Azure Databricks account:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\n// initialize provider at Azure account-level\nconst account = new databricks.Provider(\"account\", {\n host: \"https://accounts.azuredatabricks.net\",\n accountId: \"00000000-0000-0000-0000-000000000000\",\n authType: \"azure-cli\",\n});\nconst sp = new databricks.ServicePrincipal(\"sp\", {applicationId: \"00000000-0000-0000-0000-000000000000\"}, {\n provider: databricks.account,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\n# initialize provider at Azure account-level\naccount = databricks.Provider(\"account\",\n host=\"https://accounts.azuredatabricks.net\",\n account_id=\"00000000-0000-0000-0000-000000000000\",\n auth_type=\"azure-cli\")\nsp = databricks.ServicePrincipal(\"sp\", application_id=\"00000000-0000-0000-0000-000000000000\",\nopts=pulumi.ResourceOptions(provider=databricks[\"account\"]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // initialize provider at Azure account-level\n var account = new Databricks.Provider(\"account\", new()\n {\n Host = \"https://accounts.azuredatabricks.net\",\n AccountId = \"00000000-0000-0000-0000-000000000000\",\n AuthType = \"azure-cli\",\n });\n\n var sp = new Databricks.ServicePrincipal(\"sp\", new()\n {\n ApplicationId = \"00000000-0000-0000-0000-000000000000\",\n }, new CustomResourceOptions\n {\n Provider = databricks.Account,\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// initialize provider at Azure account-level\n\t\t_, err := databricks.NewProvider(ctx, \"account\", \u0026databricks.ProviderArgs{\n\t\t\tHost: pulumi.String(\"https://accounts.azuredatabricks.net\"),\n\t\t\tAccountId: pulumi.String(\"00000000-0000-0000-0000-000000000000\"),\n\t\t\tAuthType: pulumi.String(\"azure-cli\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewServicePrincipal(ctx, \"sp\", \u0026databricks.ServicePrincipalArgs{\n\t\t\tApplicationId: pulumi.String(\"00000000-0000-0000-0000-000000000000\"),\n\t\t}, pulumi.Provider(databricks.Account))\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.Provider;\nimport com.pulumi.databricks.ProviderArgs;\nimport com.pulumi.databricks.ServicePrincipal;\nimport com.pulumi.databricks.ServicePrincipalArgs;\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 account = new Provider(\"account\", ProviderArgs.builder() \n .host(\"https://accounts.azuredatabricks.net\")\n .accountId(\"00000000-0000-0000-0000-000000000000\")\n .authType(\"azure-cli\")\n .build());\n\n var sp = new ServicePrincipal(\"sp\", ServicePrincipalArgs.builder() \n .applicationId(\"00000000-0000-0000-0000-000000000000\")\n .build(), CustomResourceOptions.builder()\n .provider(databricks.account())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # initialize provider at Azure account-level\n account:\n type: pulumi:providers:databricks\n properties:\n host: https://accounts.azuredatabricks.net\n accountId: 00000000-0000-0000-0000-000000000000\n authType: azure-cli\n sp:\n type: databricks:ServicePrincipal\n properties:\n applicationId: 00000000-0000-0000-0000-000000000000\n options:\n provider: ${databricks.account}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are often used in the same context:\n\n- End to end workspace management guide.\n- databricks.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).\n- databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.\n- databricks.GroupMember to attach users and groups as group members.\n- databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.\n- databricks.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and more to manage secrets for the service principal (only for AWS deployments)\n\n## Import\n\nThe resource scim service principal can be imported using its id, for example `2345678901234567`. To get the service principal ID, call [Get service principals](https://docs.databricks.com/dev-tools/api/latest/scim/scim-sp.html#get-service-principals).\n\nbash\n\n```sh\n$ pulumi import databricks:index/servicePrincipal:ServicePrincipal me \u003cservice-principal-id\u003e\n```\n\n", "properties": { "aclPrincipalId": { "type": "string", @@ -20004,7 +21211,7 @@ }, "applicationId": { "type": "string", - "description": "This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated.\n" + "description": "This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated.\n" }, "databricksSqlAccess": { "type": "boolean", @@ -20012,7 +21219,7 @@ }, "disableAsUserDeletion": { "type": "boolean", - "description": "When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise.\n" + "description": "Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags.\n" }, "displayName": { "type": "string", @@ -20072,7 +21279,7 @@ }, "applicationId": { "type": "string", - "description": "This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated.\n", + "description": "This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated.\n", "willReplaceOnChanges": true }, "databricksSqlAccess": { @@ -20081,7 +21288,7 @@ }, "disableAsUserDeletion": { "type": "boolean", - "description": "When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise.\n" + "description": "Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags.\n" }, "displayName": { "type": "string", @@ -20137,7 +21344,7 @@ }, "applicationId": { "type": "string", - "description": "This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated.\n", + "description": "This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated.\n", "willReplaceOnChanges": true }, "databricksSqlAccess": { @@ -20146,7 +21353,7 @@ }, "disableAsUserDeletion": { "type": "boolean", - "description": "When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise.\n" + "description": "Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags.\n" }, "displayName": { "type": "string", @@ -22135,7 +23342,7 @@ } }, "databricks:index/user:User": { - "description": "This resource allows you to manage [users in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/users.html), [Databricks Account Console](https://accounts.cloud.databricks.com/) or [Azure Databricks Account Console](https://accounts.azuredatabricks.net). You can also associate Databricks users to databricks_group. Upon user creation the user will receive a password reset email. You can also get information about caller identity using databricks.getCurrentUser data source.\n\n\u003e **Note** To assign account level users to workspace use databricks_mws_permission_assignment.\n\n\u003e **Note** Entitlements, like, `allow_cluster_create`, `allow_instance_pool_create`, `databricks_sql_access`, `workspace_access` applicable only for workspace-level users. Use databricks.Entitlements resource to assign entitlements inside a workspace to account-level users.\n\nTo create users in the Databricks account, the provider must be configured with `host = \"https://accounts.cloud.databricks.com\"` on AWS deployments or `host = \"https://accounts.azuredatabricks.net\"` and authenticate using AAD tokens on Azure deployments\n\n## Example Usage\n\nCreating regular user:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst me = new databricks.User(\"me\", {userName: \"me@example.com\"});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nme = databricks.User(\"me\", user_name=\"me@example.com\")\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 = new Databricks.User(\"me\", new()\n {\n UserName = \"me@example.com\",\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.NewUser(ctx, \"me\", \u0026databricks.UserArgs{\n\t\t\tUserName: pulumi.String(\"me@example.com\"),\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.User;\nimport com.pulumi.databricks.UserArgs;\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 me = new User(\"me\", UserArgs.builder() \n .userName(\"me@example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n me:\n type: databricks:User\n properties:\n userName: me@example.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nCreating user with administrative permissions - referencing special `admins` databricks.Group in databricks.GroupMember resource:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst admins = databricks.getGroup({\n displayName: \"admins\",\n});\nconst me = new databricks.User(\"me\", {userName: \"me@example.com\"});\nconst i_am_admin = new databricks.GroupMember(\"i-am-admin\", {\n groupId: admins.then(admins =\u003e admins.id),\n memberId: me.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nadmins = databricks.get_group(display_name=\"admins\")\nme = databricks.User(\"me\", user_name=\"me@example.com\")\ni_am_admin = databricks.GroupMember(\"i-am-admin\",\n group_id=admins.id,\n member_id=me.id)\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 admins = Databricks.GetGroup.Invoke(new()\n {\n DisplayName = \"admins\",\n });\n\n var me = new Databricks.User(\"me\", new()\n {\n UserName = \"me@example.com\",\n });\n\n var i_am_admin = new Databricks.GroupMember(\"i-am-admin\", new()\n {\n GroupId = admins.Apply(getGroupResult =\u003e getGroupResult.Id),\n MemberId = me.Id,\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\tadmins, err := databricks.LookupGroup(ctx, \u0026databricks.LookupGroupArgs{\n\t\t\tDisplayName: \"admins\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tme, err := databricks.NewUser(ctx, \"me\", \u0026databricks.UserArgs{\n\t\t\tUserName: pulumi.String(\"me@example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGroupMember(ctx, \"i-am-admin\", \u0026databricks.GroupMemberArgs{\n\t\t\tGroupId: pulumi.String(admins.Id),\n\t\t\tMemberId: me.ID(),\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.GetGroupArgs;\nimport com.pulumi.databricks.User;\nimport com.pulumi.databricks.UserArgs;\nimport com.pulumi.databricks.GroupMember;\nimport com.pulumi.databricks.GroupMemberArgs;\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 admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()\n .displayName(\"admins\")\n .build());\n\n var me = new User(\"me\", UserArgs.builder() \n .userName(\"me@example.com\")\n .build());\n\n var i_am_admin = new GroupMember(\"i-am-admin\", GroupMemberArgs.builder() \n .groupId(admins.applyValue(getGroupResult -\u003e getGroupResult.id()))\n .memberId(me.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n me:\n type: databricks:User\n properties:\n userName: me@example.com\n i-am-admin:\n type: databricks:GroupMember\n properties:\n groupId: ${admins.id}\n memberId: ${me.id}\nvariables:\n admins:\n fn::invoke:\n Function: databricks:getGroup\n Arguments:\n displayName: admins\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nCreating user with cluster create permissions:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst me = new databricks.User(\"me\", {\n allowClusterCreate: true,\n displayName: \"Example user\",\n userName: \"me@example.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nme = databricks.User(\"me\",\n allow_cluster_create=True,\n display_name=\"Example user\",\n user_name=\"me@example.com\")\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 = new Databricks.User(\"me\", new()\n {\n AllowClusterCreate = true,\n DisplayName = \"Example user\",\n UserName = \"me@example.com\",\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.NewUser(ctx, \"me\", \u0026databricks.UserArgs{\n\t\t\tAllowClusterCreate: pulumi.Bool(true),\n\t\t\tDisplayName: pulumi.String(\"Example user\"),\n\t\t\tUserName: pulumi.String(\"me@example.com\"),\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.User;\nimport com.pulumi.databricks.UserArgs;\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 me = new User(\"me\", UserArgs.builder() \n .allowClusterCreate(true)\n .displayName(\"Example user\")\n .userName(\"me@example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n me:\n type: databricks:User\n properties:\n allowClusterCreate: true\n displayName: Example user\n userName: me@example.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nCreating user in AWS Databricks account:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\n// initialize provider at account-level\nconst mws = new databricks.Provider(\"mws\", {\n host: \"https://accounts.cloud.databricks.com\",\n accountId: \"00000000-0000-0000-0000-000000000000\",\n clientId: _var.client_id,\n clientSecret: _var.client_secret,\n});\nconst accountUser = new databricks.User(\"accountUser\", {\n userName: \"me@example.com\",\n displayName: \"Example user\",\n}, {\n provider: databricks.mws,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\n# initialize provider at account-level\nmws = databricks.Provider(\"mws\",\n host=\"https://accounts.cloud.databricks.com\",\n account_id=\"00000000-0000-0000-0000-000000000000\",\n client_id=var[\"client_id\"],\n client_secret=var[\"client_secret\"])\naccount_user = databricks.User(\"accountUser\",\n user_name=\"me@example.com\",\n display_name=\"Example user\",\n opts=pulumi.ResourceOptions(provider=databricks[\"mws\"]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // initialize provider at account-level\n var mws = new Databricks.Provider(\"mws\", new()\n {\n Host = \"https://accounts.cloud.databricks.com\",\n AccountId = \"00000000-0000-0000-0000-000000000000\",\n ClientId = @var.Client_id,\n ClientSecret = @var.Client_secret,\n });\n\n var accountUser = new Databricks.User(\"accountUser\", new()\n {\n UserName = \"me@example.com\",\n DisplayName = \"Example user\",\n }, new CustomResourceOptions\n {\n Provider = databricks.Mws,\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// initialize provider at account-level\n\t\t_, err := databricks.NewProvider(ctx, \"mws\", \u0026databricks.ProviderArgs{\n\t\t\tHost: pulumi.String(\"https://accounts.cloud.databricks.com\"),\n\t\t\tAccountId: pulumi.String(\"00000000-0000-0000-0000-000000000000\"),\n\t\t\tClientId: pulumi.Any(_var.Client_id),\n\t\t\tClientSecret: pulumi.Any(_var.Client_secret),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewUser(ctx, \"accountUser\", \u0026databricks.UserArgs{\n\t\t\tUserName: pulumi.String(\"me@example.com\"),\n\t\t\tDisplayName: pulumi.String(\"Example user\"),\n\t\t}, pulumi.Provider(databricks.Mws))\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.Provider;\nimport com.pulumi.databricks.ProviderArgs;\nimport com.pulumi.databricks.User;\nimport com.pulumi.databricks.UserArgs;\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 mws = new Provider(\"mws\", ProviderArgs.builder() \n .host(\"https://accounts.cloud.databricks.com\")\n .accountId(\"00000000-0000-0000-0000-000000000000\")\n .clientId(var_.client_id())\n .clientSecret(var_.client_secret())\n .build());\n\n var accountUser = new User(\"accountUser\", UserArgs.builder() \n .userName(\"me@example.com\")\n .displayName(\"Example user\")\n .build(), CustomResourceOptions.builder()\n .provider(databricks.mws())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # initialize provider at account-level\n mws:\n type: pulumi:providers:databricks\n properties:\n host: https://accounts.cloud.databricks.com\n accountId: 00000000-0000-0000-0000-000000000000\n clientId: ${var.client_id}\n clientSecret: ${var.client_secret}\n accountUser:\n type: databricks:User\n properties:\n userName: me@example.com\n displayName: Example user\n options:\n provider: ${databricks.mws}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nCreating user in Azure Databricks account:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\n// initialize provider at Azure account-level\nconst azureAccount = new databricks.Provider(\"azureAccount\", {\n host: \"https://accounts.azuredatabricks.net\",\n accountId: \"00000000-0000-0000-0000-000000000000\",\n authType: \"azure-cli\",\n});\nconst accountUser = new databricks.User(\"accountUser\", {\n userName: \"me@example.com\",\n displayName: \"Example user\",\n}, {\n provider: databricks.azure_account,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\n# initialize provider at Azure account-level\nazure_account = databricks.Provider(\"azureAccount\",\n host=\"https://accounts.azuredatabricks.net\",\n account_id=\"00000000-0000-0000-0000-000000000000\",\n auth_type=\"azure-cli\")\naccount_user = databricks.User(\"accountUser\",\n user_name=\"me@example.com\",\n display_name=\"Example user\",\n opts=pulumi.ResourceOptions(provider=databricks[\"azure_account\"]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // initialize provider at Azure account-level\n var azureAccount = new Databricks.Provider(\"azureAccount\", new()\n {\n Host = \"https://accounts.azuredatabricks.net\",\n AccountId = \"00000000-0000-0000-0000-000000000000\",\n AuthType = \"azure-cli\",\n });\n\n var accountUser = new Databricks.User(\"accountUser\", new()\n {\n UserName = \"me@example.com\",\n DisplayName = \"Example user\",\n }, new CustomResourceOptions\n {\n Provider = databricks.Azure_account,\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// initialize provider at Azure account-level\n\t\t_, err := databricks.NewProvider(ctx, \"azureAccount\", \u0026databricks.ProviderArgs{\n\t\t\tHost: pulumi.String(\"https://accounts.azuredatabricks.net\"),\n\t\t\tAccountId: pulumi.String(\"00000000-0000-0000-0000-000000000000\"),\n\t\t\tAuthType: pulumi.String(\"azure-cli\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewUser(ctx, \"accountUser\", \u0026databricks.UserArgs{\n\t\t\tUserName: pulumi.String(\"me@example.com\"),\n\t\t\tDisplayName: pulumi.String(\"Example user\"),\n\t\t}, pulumi.Provider(databricks.Azure_account))\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.Provider;\nimport com.pulumi.databricks.ProviderArgs;\nimport com.pulumi.databricks.User;\nimport com.pulumi.databricks.UserArgs;\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 azureAccount = new Provider(\"azureAccount\", ProviderArgs.builder() \n .host(\"https://accounts.azuredatabricks.net\")\n .accountId(\"00000000-0000-0000-0000-000000000000\")\n .authType(\"azure-cli\")\n .build());\n\n var accountUser = new User(\"accountUser\", UserArgs.builder() \n .userName(\"me@example.com\")\n .displayName(\"Example user\")\n .build(), CustomResourceOptions.builder()\n .provider(databricks.azure_account())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # initialize provider at Azure account-level\n azureAccount:\n type: pulumi:providers:databricks\n properties:\n host: https://accounts.azuredatabricks.net\n accountId: 00000000-0000-0000-0000-000000000000\n authType: azure-cli\n accountUser:\n type: databricks:User\n properties:\n userName: me@example.com\n displayName: Example user\n options:\n provider: ${databricks.azure_account}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are often used in the same context:\n\n* End to end workspace management guide.\n* databricks.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).\n* databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.\n* databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.\n* databricks.GroupMember to attach users and groups as group members.\n* databricks.InstanceProfile to manage AWS EC2 instance profiles that users can launch databricks.Cluster and access data, like databricks_mount.\n* databricks.User data to retrieve information about databricks_user.\n\n## Import\n\nThe resource scim user can be imported using id:\n\nbash\n\n```sh\n$ pulumi import databricks:index/user:User me \u003cuser-id\u003e\n```\n\n", + "description": "This resource allows you to manage [users in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/users.html), [Databricks Account Console](https://accounts.cloud.databricks.com/) or [Azure Databricks Account Console](https://accounts.azuredatabricks.net). You can also associate Databricks users to databricks_group. Upon user creation the user will receive a password reset email. You can also get information about caller identity using databricks.getCurrentUser data source.\n\n\u003e **Note** To assign account level users to workspace use databricks_mws_permission_assignment.\n\n\u003e **Note** Entitlements, like, `allow_cluster_create`, `allow_instance_pool_create`, `databricks_sql_access`, `workspace_access` applicable only for workspace-level users. Use databricks.Entitlements resource to assign entitlements inside a workspace to account-level users.\n\nTo create users in the Databricks account, the provider must be configured with `host = \"https://accounts.cloud.databricks.com\"` on AWS deployments or `host = \"https://accounts.azuredatabricks.net\"` and authenticate using AAD tokens on Azure deployments.\n\nThe default behavior when deleting a `databricks.User` resource depends on whether the provider is configured at the workspace-level or account-level. When the provider is configured at the workspace-level, the user will be deleted from the workspace. When the provider is configured at the account-level, the user will be deactivated but not deleted. When the provider is configured at the account level, to delete the user from the account when the resource is deleted, set `disable_as_user_deletion = false`. Conversely, when the provider is configured at the account-level, to deactivate the user when the resource is deleted, set `disable_as_user_deletion = true`.\n\n## Example Usage\n\nCreating regular user:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst me = new databricks.User(\"me\", {userName: \"me@example.com\"});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nme = databricks.User(\"me\", user_name=\"me@example.com\")\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 = new Databricks.User(\"me\", new()\n {\n UserName = \"me@example.com\",\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.NewUser(ctx, \"me\", \u0026databricks.UserArgs{\n\t\t\tUserName: pulumi.String(\"me@example.com\"),\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.User;\nimport com.pulumi.databricks.UserArgs;\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 me = new User(\"me\", UserArgs.builder() \n .userName(\"me@example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n me:\n type: databricks:User\n properties:\n userName: me@example.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nCreating user with administrative permissions - referencing special `admins` databricks.Group in databricks.GroupMember resource:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst admins = databricks.getGroup({\n displayName: \"admins\",\n});\nconst me = new databricks.User(\"me\", {userName: \"me@example.com\"});\nconst i_am_admin = new databricks.GroupMember(\"i-am-admin\", {\n groupId: admins.then(admins =\u003e admins.id),\n memberId: me.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nadmins = databricks.get_group(display_name=\"admins\")\nme = databricks.User(\"me\", user_name=\"me@example.com\")\ni_am_admin = databricks.GroupMember(\"i-am-admin\",\n group_id=admins.id,\n member_id=me.id)\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 admins = Databricks.GetGroup.Invoke(new()\n {\n DisplayName = \"admins\",\n });\n\n var me = new Databricks.User(\"me\", new()\n {\n UserName = \"me@example.com\",\n });\n\n var i_am_admin = new Databricks.GroupMember(\"i-am-admin\", new()\n {\n GroupId = admins.Apply(getGroupResult =\u003e getGroupResult.Id),\n MemberId = me.Id,\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\tadmins, err := databricks.LookupGroup(ctx, \u0026databricks.LookupGroupArgs{\n\t\t\tDisplayName: \"admins\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tme, err := databricks.NewUser(ctx, \"me\", \u0026databricks.UserArgs{\n\t\t\tUserName: pulumi.String(\"me@example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGroupMember(ctx, \"i-am-admin\", \u0026databricks.GroupMemberArgs{\n\t\t\tGroupId: pulumi.String(admins.Id),\n\t\t\tMemberId: me.ID(),\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.GetGroupArgs;\nimport com.pulumi.databricks.User;\nimport com.pulumi.databricks.UserArgs;\nimport com.pulumi.databricks.GroupMember;\nimport com.pulumi.databricks.GroupMemberArgs;\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 admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()\n .displayName(\"admins\")\n .build());\n\n var me = new User(\"me\", UserArgs.builder() \n .userName(\"me@example.com\")\n .build());\n\n var i_am_admin = new GroupMember(\"i-am-admin\", GroupMemberArgs.builder() \n .groupId(admins.applyValue(getGroupResult -\u003e getGroupResult.id()))\n .memberId(me.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n me:\n type: databricks:User\n properties:\n userName: me@example.com\n i-am-admin:\n type: databricks:GroupMember\n properties:\n groupId: ${admins.id}\n memberId: ${me.id}\nvariables:\n admins:\n fn::invoke:\n Function: databricks:getGroup\n Arguments:\n displayName: admins\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nCreating user with cluster create permissions:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst me = new databricks.User(\"me\", {\n allowClusterCreate: true,\n displayName: \"Example user\",\n userName: \"me@example.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nme = databricks.User(\"me\",\n allow_cluster_create=True,\n display_name=\"Example user\",\n user_name=\"me@example.com\")\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 = new Databricks.User(\"me\", new()\n {\n AllowClusterCreate = true,\n DisplayName = \"Example user\",\n UserName = \"me@example.com\",\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.NewUser(ctx, \"me\", \u0026databricks.UserArgs{\n\t\t\tAllowClusterCreate: pulumi.Bool(true),\n\t\t\tDisplayName: pulumi.String(\"Example user\"),\n\t\t\tUserName: pulumi.String(\"me@example.com\"),\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.User;\nimport com.pulumi.databricks.UserArgs;\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 me = new User(\"me\", UserArgs.builder() \n .allowClusterCreate(true)\n .displayName(\"Example user\")\n .userName(\"me@example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n me:\n type: databricks:User\n properties:\n allowClusterCreate: true\n displayName: Example user\n userName: me@example.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nCreating user in AWS Databricks account:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\n// initialize provider at account-level\nconst mws = new databricks.Provider(\"mws\", {\n host: \"https://accounts.cloud.databricks.com\",\n accountId: \"00000000-0000-0000-0000-000000000000\",\n clientId: _var.client_id,\n clientSecret: _var.client_secret,\n});\nconst accountUser = new databricks.User(\"accountUser\", {\n userName: \"me@example.com\",\n displayName: \"Example user\",\n}, {\n provider: databricks.mws,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\n# initialize provider at account-level\nmws = databricks.Provider(\"mws\",\n host=\"https://accounts.cloud.databricks.com\",\n account_id=\"00000000-0000-0000-0000-000000000000\",\n client_id=var[\"client_id\"],\n client_secret=var[\"client_secret\"])\naccount_user = databricks.User(\"accountUser\",\n user_name=\"me@example.com\",\n display_name=\"Example user\",\n opts=pulumi.ResourceOptions(provider=databricks[\"mws\"]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // initialize provider at account-level\n var mws = new Databricks.Provider(\"mws\", new()\n {\n Host = \"https://accounts.cloud.databricks.com\",\n AccountId = \"00000000-0000-0000-0000-000000000000\",\n ClientId = @var.Client_id,\n ClientSecret = @var.Client_secret,\n });\n\n var accountUser = new Databricks.User(\"accountUser\", new()\n {\n UserName = \"me@example.com\",\n DisplayName = \"Example user\",\n }, new CustomResourceOptions\n {\n Provider = databricks.Mws,\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// initialize provider at account-level\n\t\t_, err := databricks.NewProvider(ctx, \"mws\", \u0026databricks.ProviderArgs{\n\t\t\tHost: pulumi.String(\"https://accounts.cloud.databricks.com\"),\n\t\t\tAccountId: pulumi.String(\"00000000-0000-0000-0000-000000000000\"),\n\t\t\tClientId: pulumi.Any(_var.Client_id),\n\t\t\tClientSecret: pulumi.Any(_var.Client_secret),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewUser(ctx, \"accountUser\", \u0026databricks.UserArgs{\n\t\t\tUserName: pulumi.String(\"me@example.com\"),\n\t\t\tDisplayName: pulumi.String(\"Example user\"),\n\t\t}, pulumi.Provider(databricks.Mws))\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.Provider;\nimport com.pulumi.databricks.ProviderArgs;\nimport com.pulumi.databricks.User;\nimport com.pulumi.databricks.UserArgs;\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 mws = new Provider(\"mws\", ProviderArgs.builder() \n .host(\"https://accounts.cloud.databricks.com\")\n .accountId(\"00000000-0000-0000-0000-000000000000\")\n .clientId(var_.client_id())\n .clientSecret(var_.client_secret())\n .build());\n\n var accountUser = new User(\"accountUser\", UserArgs.builder() \n .userName(\"me@example.com\")\n .displayName(\"Example user\")\n .build(), CustomResourceOptions.builder()\n .provider(databricks.mws())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # initialize provider at account-level\n mws:\n type: pulumi:providers:databricks\n properties:\n host: https://accounts.cloud.databricks.com\n accountId: 00000000-0000-0000-0000-000000000000\n clientId: ${var.client_id}\n clientSecret: ${var.client_secret}\n accountUser:\n type: databricks:User\n properties:\n userName: me@example.com\n displayName: Example user\n options:\n provider: ${databricks.mws}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nCreating user in Azure Databricks account:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\n// initialize provider at Azure account-level\nconst azureAccount = new databricks.Provider(\"azureAccount\", {\n host: \"https://accounts.azuredatabricks.net\",\n accountId: \"00000000-0000-0000-0000-000000000000\",\n authType: \"azure-cli\",\n});\nconst accountUser = new databricks.User(\"accountUser\", {\n userName: \"me@example.com\",\n displayName: \"Example user\",\n}, {\n provider: databricks.azure_account,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\n# initialize provider at Azure account-level\nazure_account = databricks.Provider(\"azureAccount\",\n host=\"https://accounts.azuredatabricks.net\",\n account_id=\"00000000-0000-0000-0000-000000000000\",\n auth_type=\"azure-cli\")\naccount_user = databricks.User(\"accountUser\",\n user_name=\"me@example.com\",\n display_name=\"Example user\",\n opts=pulumi.ResourceOptions(provider=databricks[\"azure_account\"]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // initialize provider at Azure account-level\n var azureAccount = new Databricks.Provider(\"azureAccount\", new()\n {\n Host = \"https://accounts.azuredatabricks.net\",\n AccountId = \"00000000-0000-0000-0000-000000000000\",\n AuthType = \"azure-cli\",\n });\n\n var accountUser = new Databricks.User(\"accountUser\", new()\n {\n UserName = \"me@example.com\",\n DisplayName = \"Example user\",\n }, new CustomResourceOptions\n {\n Provider = databricks.Azure_account,\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// initialize provider at Azure account-level\n\t\t_, err := databricks.NewProvider(ctx, \"azureAccount\", \u0026databricks.ProviderArgs{\n\t\t\tHost: pulumi.String(\"https://accounts.azuredatabricks.net\"),\n\t\t\tAccountId: pulumi.String(\"00000000-0000-0000-0000-000000000000\"),\n\t\t\tAuthType: pulumi.String(\"azure-cli\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewUser(ctx, \"accountUser\", \u0026databricks.UserArgs{\n\t\t\tUserName: pulumi.String(\"me@example.com\"),\n\t\t\tDisplayName: pulumi.String(\"Example user\"),\n\t\t}, pulumi.Provider(databricks.Azure_account))\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.Provider;\nimport com.pulumi.databricks.ProviderArgs;\nimport com.pulumi.databricks.User;\nimport com.pulumi.databricks.UserArgs;\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 azureAccount = new Provider(\"azureAccount\", ProviderArgs.builder() \n .host(\"https://accounts.azuredatabricks.net\")\n .accountId(\"00000000-0000-0000-0000-000000000000\")\n .authType(\"azure-cli\")\n .build());\n\n var accountUser = new User(\"accountUser\", UserArgs.builder() \n .userName(\"me@example.com\")\n .displayName(\"Example user\")\n .build(), CustomResourceOptions.builder()\n .provider(databricks.azure_account())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # initialize provider at Azure account-level\n azureAccount:\n type: pulumi:providers:databricks\n properties:\n host: https://accounts.azuredatabricks.net\n accountId: 00000000-0000-0000-0000-000000000000\n authType: azure-cli\n accountUser:\n type: databricks:User\n properties:\n userName: me@example.com\n displayName: Example user\n options:\n provider: ${databricks.azure_account}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are often used in the same context:\n\n* End to end workspace management guide.\n* databricks.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).\n* databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.\n* databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.\n* databricks.GroupMember to attach users and groups as group members.\n* databricks.InstanceProfile to manage AWS EC2 instance profiles that users can launch databricks.Cluster and access data, like databricks_mount.\n* databricks.User data to retrieve information about databricks_user.\n\n## Import\n\nThe resource scim user can be imported using id:\n\nbash\n\n```sh\n$ pulumi import databricks:index/user:User me \u003cuser-id\u003e\n```\n\n", "properties": { "aclPrincipalId": { "type": "string", @@ -22159,7 +23366,7 @@ }, "disableAsUserDeletion": { "type": "boolean", - "description": "When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise.\n" + "description": "Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags.\n" }, "displayName": { "type": "string", @@ -22227,7 +23434,7 @@ }, "disableAsUserDeletion": { "type": "boolean", - "description": "When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise.\n" + "description": "Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags.\n" }, "displayName": { "type": "string", @@ -22293,7 +23500,7 @@ }, "disableAsUserDeletion": { "type": "boolean", - "description": "When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise.\n" + "description": "Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags.\n" }, "displayName": { "type": "string", @@ -22452,15 +23659,15 @@ "items": { "$ref": "#/types/databricks:index/VectorSearchEndpointEndpointStatus:VectorSearchEndpointEndpointStatus" }, - "description": "Object describing the current status of the endpoint consisting of following fields:\n" + "description": "Object describing the current status of the endpoint consisting of the following fields:\n" }, "endpointType": { "type": "string", - "description": "type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated.\n" + "description": "Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values).\n" }, "lastUpdatedTimestamp": { "type": "integer", - "description": "Timestamp of last update to the endpoint (milliseconds).\n" + "description": "Timestamp of the last update to the endpoint (milliseconds).\n" }, "lastUpdatedUser": { "type": "string", @@ -22468,7 +23675,7 @@ }, "name": { "type": "string", - "description": "Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated.\n" + "description": "Name of the Vector Search Endpoint to create.\n" }, "numIndexes": { "type": "integer", @@ -22489,12 +23696,12 @@ "inputProperties": { "endpointType": { "type": "string", - "description": "type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated.\n", + "description": "Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values).\n", "willReplaceOnChanges": true }, "name": { "type": "string", - "description": "Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated.\n", + "description": "Name of the Vector Search Endpoint to create.\n", "willReplaceOnChanges": true } }, @@ -22521,16 +23728,16 @@ "items": { "$ref": "#/types/databricks:index/VectorSearchEndpointEndpointStatus:VectorSearchEndpointEndpointStatus" }, - "description": "Object describing the current status of the endpoint consisting of following fields:\n" + "description": "Object describing the current status of the endpoint consisting of the following fields:\n" }, "endpointType": { "type": "string", - "description": "type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated.\n", + "description": "Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values).\n", "willReplaceOnChanges": true }, "lastUpdatedTimestamp": { "type": "integer", - "description": "Timestamp of last update to the endpoint (milliseconds).\n" + "description": "Timestamp of the last update to the endpoint (milliseconds).\n" }, "lastUpdatedUser": { "type": "string", @@ -22538,7 +23745,7 @@ }, "name": { "type": "string", - "description": "Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated.\n", + "description": "Name of the Vector Search Endpoint to create.\n", "willReplaceOnChanges": true }, "numIndexes": { @@ -22549,6 +23756,138 @@ "type": "object" } }, + "databricks:index/vectorSearchIndex:VectorSearchIndex": { + "description": "\u003e **Note** This resource could be only used on Unity Catalog-enabled workspace!\n\nThis resource allows you to create [Vector Search Index](https://docs.databricks.com/en/generative-ai/create-query-vector-search.html) in Databricks. Vector Search is a serverless similarity search engine that allows you to store a vector representation of your data, including metadata, in a vector database. The Vector Search Index provides the ability to search data in the linked Delta Table.\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 sync = new databricks.VectorSearchIndex(\"sync\", {\n endpointName: databricks_vector_search_endpoint[\"this\"].name,\n primaryKey: \"id\",\n indexType: \"DELTA_SYNC\",\n deltaSyncIndexSpec: {\n sourceTable: \"main.default.source_table\",\n pipelineType: \"TRIGGERED\",\n embeddingSourceColumns: [{\n name: \"text\",\n embeddingModelEndpointName: databricks_model_serving[\"this\"].name,\n }],\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsync = databricks.VectorSearchIndex(\"sync\",\n endpoint_name=databricks_vector_search_endpoint[\"this\"][\"name\"],\n primary_key=\"id\",\n index_type=\"DELTA_SYNC\",\n delta_sync_index_spec=databricks.VectorSearchIndexDeltaSyncIndexSpecArgs(\n source_table=\"main.default.source_table\",\n pipeline_type=\"TRIGGERED\",\n embedding_source_columns=[databricks.VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs(\n name=\"text\",\n embedding_model_endpoint_name=databricks_model_serving[\"this\"][\"name\"],\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 sync = new Databricks.VectorSearchIndex(\"sync\", new()\n {\n EndpointName = databricks_vector_search_endpoint.This.Name,\n PrimaryKey = \"id\",\n IndexType = \"DELTA_SYNC\",\n DeltaSyncIndexSpec = new Databricks.Inputs.VectorSearchIndexDeltaSyncIndexSpecArgs\n {\n SourceTable = \"main.default.source_table\",\n PipelineType = \"TRIGGERED\",\n EmbeddingSourceColumns = new[]\n {\n new Databricks.Inputs.VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs\n {\n Name = \"text\",\n EmbeddingModelEndpointName = databricks_model_serving.This.Name,\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.NewVectorSearchIndex(ctx, \"sync\", \u0026databricks.VectorSearchIndexArgs{\n\t\t\tEndpointName: pulumi.Any(databricks_vector_search_endpoint.This.Name),\n\t\t\tPrimaryKey: pulumi.String(\"id\"),\n\t\t\tIndexType: pulumi.String(\"DELTA_SYNC\"),\n\t\t\tDeltaSyncIndexSpec: \u0026databricks.VectorSearchIndexDeltaSyncIndexSpecArgs{\n\t\t\t\tSourceTable: pulumi.String(\"main.default.source_table\"),\n\t\t\t\tPipelineType: pulumi.String(\"TRIGGERED\"),\n\t\t\t\tEmbeddingSourceColumns: databricks.VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray{\n\t\t\t\t\t\u0026databricks.VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs{\n\t\t\t\t\t\tName: pulumi.String(\"text\"),\n\t\t\t\t\t\tEmbeddingModelEndpointName: pulumi.Any(databricks_model_serving.This.Name),\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.VectorSearchIndex;\nimport com.pulumi.databricks.VectorSearchIndexArgs;\nimport com.pulumi.databricks.inputs.VectorSearchIndexDeltaSyncIndexSpecArgs;\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 sync = new VectorSearchIndex(\"sync\", VectorSearchIndexArgs.builder() \n .endpointName(databricks_vector_search_endpoint.this().name())\n .primaryKey(\"id\")\n .indexType(\"DELTA_SYNC\")\n .deltaSyncIndexSpec(VectorSearchIndexDeltaSyncIndexSpecArgs.builder()\n .sourceTable(\"main.default.source_table\")\n .pipelineType(\"TRIGGERED\")\n .embeddingSourceColumns(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs.builder()\n .name(\"text\")\n .embeddingModelEndpointName(databricks_model_serving.this().name())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sync:\n type: databricks:VectorSearchIndex\n properties:\n endpointName: ${databricks_vector_search_endpoint.this.name}\n primaryKey: id\n indexType: DELTA_SYNC\n deltaSyncIndexSpec:\n sourceTable: main.default.source_table\n pipelineType: TRIGGERED\n embeddingSourceColumns:\n - name: text\n embeddingModelEndpointName: ${databricks_model_serving.this.name}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nThe resource can be imported using the name of the Vector Search Index\n\nbash\n\n```sh\n$ pulumi import databricks:index/vectorSearchIndex:VectorSearchIndex this \u003cindex-name\u003e\n```\n\n", + "properties": { + "creator": { + "type": "string", + "description": "Creator of the endpoint.\n" + }, + "deltaSyncIndexSpec": { + "$ref": "#/types/databricks:index/VectorSearchIndexDeltaSyncIndexSpec:VectorSearchIndexDeltaSyncIndexSpec", + "description": "Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`.\n" + }, + "directAccessIndexSpec": { + "$ref": "#/types/databricks:index/VectorSearchIndexDirectAccessIndexSpec:VectorSearchIndexDirectAccessIndexSpec", + "description": "Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`.\n" + }, + "endpointName": { + "type": "string", + "description": "The name of the Vector Search Endpoint that will be used for indexing the data.\n" + }, + "indexType": { + "type": "string", + "description": "Vector Search index type. Currently supported values are:\n" + }, + "name": { + "type": "string", + "description": "The name of the column.\n" + }, + "primaryKey": { + "type": "string", + "description": "The column name that will be used as a primary key.\n" + }, + "statuses": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/VectorSearchIndexStatus:VectorSearchIndexStatus" + }, + "description": "Object describing the current status of the index consisting of the following fields:\n" + } + }, + "required": [ + "creator", + "endpointName", + "indexType", + "name", + "primaryKey", + "statuses" + ], + "inputProperties": { + "deltaSyncIndexSpec": { + "$ref": "#/types/databricks:index/VectorSearchIndexDeltaSyncIndexSpec:VectorSearchIndexDeltaSyncIndexSpec", + "description": "Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`.\n", + "willReplaceOnChanges": true + }, + "directAccessIndexSpec": { + "$ref": "#/types/databricks:index/VectorSearchIndexDirectAccessIndexSpec:VectorSearchIndexDirectAccessIndexSpec", + "description": "Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`.\n", + "willReplaceOnChanges": true + }, + "endpointName": { + "type": "string", + "description": "The name of the Vector Search Endpoint that will be used for indexing the data.\n", + "willReplaceOnChanges": true + }, + "indexType": { + "type": "string", + "description": "Vector Search index type. Currently supported values are:\n", + "willReplaceOnChanges": true + }, + "name": { + "type": "string", + "description": "The name of the column.\n", + "willReplaceOnChanges": true + }, + "primaryKey": { + "type": "string", + "description": "The column name that will be used as a primary key.\n", + "willReplaceOnChanges": true + } + }, + "requiredInputs": [ + "endpointName", + "indexType", + "primaryKey" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering VectorSearchIndex resources.\n", + "properties": { + "creator": { + "type": "string", + "description": "Creator of the endpoint.\n" + }, + "deltaSyncIndexSpec": { + "$ref": "#/types/databricks:index/VectorSearchIndexDeltaSyncIndexSpec:VectorSearchIndexDeltaSyncIndexSpec", + "description": "Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`.\n", + "willReplaceOnChanges": true + }, + "directAccessIndexSpec": { + "$ref": "#/types/databricks:index/VectorSearchIndexDirectAccessIndexSpec:VectorSearchIndexDirectAccessIndexSpec", + "description": "Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`.\n", + "willReplaceOnChanges": true + }, + "endpointName": { + "type": "string", + "description": "The name of the Vector Search Endpoint that will be used for indexing the data.\n", + "willReplaceOnChanges": true + }, + "indexType": { + "type": "string", + "description": "Vector Search index type. Currently supported values are:\n", + "willReplaceOnChanges": true + }, + "name": { + "type": "string", + "description": "The name of the column.\n", + "willReplaceOnChanges": true + }, + "primaryKey": { + "type": "string", + "description": "The column name that will be used as a primary key.\n", + "willReplaceOnChanges": true + }, + "statuses": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/VectorSearchIndexStatus:VectorSearchIndexStatus" + }, + "description": "Object describing the current status of the index consisting of the following fields:\n" + } + }, + "type": "object" + } + }, "databricks:index/volume:Volume": { "description": "\u003e **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).\n\n\u003e **Note** This resource could be only used with workspace-level provider!\n\nVolumes are Unity Catalog objects representing a logical volume of storage in a cloud object storage location. Volumes provide capabilities for accessing, storing, governing, and organizing files. While tables provide governance over tabular datasets, volumes add governance over non-tabular datasets. You can use volumes to store and access files in any format, including structured, semi-structured, and unstructured data.\n\nA volume resides in the third layer of Unity Catalog’s three-level namespace. Volumes are siblings to tables, views, and other objects organized under a schema in Unity Catalog.\n\nA volume can be **managed** or **external**.\n\nA **managed volume** is a Unity Catalog-governed storage volume created within the default storage location of the containing schema. Managed volumes allow the creation of governed storage for working with files without the overhead of external locations and storage credentials. You do not need to specify a location when creating a managed volume, and all file access for data in managed volumes is through paths managed by Unity Catalog.\n\nAn **external volume** is a Unity Catalog-governed storage volume registered against a directory within an external location.\n\nA volume can be referenced using its identifier: ```\u003ccatalogName\u003e.\u003cschemaName\u003e.\u003cvolumeName\u003e```, where:\n\n* ```\u003ccatalogName\u003e```: The name of the catalog containing the Volume.\n* ```\u003cschemaName\u003e```: The name of the schema containing the Volume.\n* ```\u003cvolumeName\u003e```: The name of the Volume. It identifies the volume object.\n\nThe path to access files in volumes uses the following format:\n\n```/Volumes/\u003ccatalog\u003e/\u003cschema\u003e/\u003cvolume\u003e/\u003cpath\u003e/\u003cfile_name\u003e```\n\nDatabricks also supports an optional ```dbfs:/``` scheme, so the following path also works:\n\n```dbfs:/Volumes/\u003ccatalog\u003e/\u003cschema\u003e/\u003cvolume\u003e/\u003cpath\u003e/\u003cfile_name\u003e```\n\nThis resource manages Volumes in Unity Catalog.\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 comment: \"this catalog is managed by terraform\",\n properties: {\n purpose: \"testing\",\n },\n});\nconst things = new databricks.Schema(\"things\", {\n catalogName: sandbox.name,\n comment: \"this schema is managed by terraform\",\n properties: {\n kind: \"various\",\n },\n});\nconst external = new databricks.StorageCredential(\"external\", {awsIamRole: {\n roleArn: aws_iam_role.external_data_access.arn,\n}});\nconst some = new databricks.ExternalLocation(\"some\", {\n url: `s3://${aws_s3_bucket.external.id}/some`,\n credentialName: external.name,\n});\nconst _this = new databricks.Volume(\"this\", {\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```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsandbox = databricks.Catalog(\"sandbox\",\n comment=\"this catalog is managed by terraform\",\n properties={\n \"purpose\": \"testing\",\n })\nthings = databricks.Schema(\"things\",\n catalog_name=sandbox.name,\n comment=\"this schema is managed by terraform\",\n properties={\n \"kind\": \"various\",\n })\nexternal = databricks.StorageCredential(\"external\", aws_iam_role=databricks.StorageCredentialAwsIamRoleArgs(\n role_arn=aws_iam_role[\"external_data_access\"][\"arn\"],\n))\nsome = databricks.ExternalLocation(\"some\",\n url=f\"s3://{aws_s3_bucket['external']['id']}/some\",\n credential_name=external.name)\nthis = databricks.Volume(\"this\",\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\")\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 Comment = \"this catalog is managed by terraform\",\n Properties = \n {\n { \"purpose\", \"testing\" },\n },\n });\n\n var things = new Databricks.Schema(\"things\", new()\n {\n CatalogName = sandbox.Name,\n Comment = \"this schema is managed by terraform\",\n Properties = \n {\n { \"kind\", \"various\" },\n },\n });\n\n var external = new Databricks.StorageCredential(\"external\", new()\n {\n AwsIamRole = new Databricks.Inputs.StorageCredentialAwsIamRoleArgs\n {\n RoleArn = aws_iam_role.External_data_access.Arn,\n },\n });\n\n var some = new Databricks.ExternalLocation(\"some\", new()\n {\n Url = $\"s3://{aws_s3_bucket.External.Id}/some\",\n CredentialName = external.Name,\n });\n\n var @this = new Databricks.Volume(\"this\", new()\n {\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});\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\tsandbox, err := databricks.NewCatalog(ctx, \"sandbox\", \u0026databricks.CatalogArgs{\n\t\t\tComment: pulumi.String(\"this catalog is managed by terraform\"),\n\t\t\tProperties: pulumi.Map{\n\t\t\t\t\"purpose\": pulumi.Any(\"testing\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthings, err := databricks.NewSchema(ctx, \"things\", \u0026databricks.SchemaArgs{\n\t\t\tCatalogName: sandbox.Name,\n\t\t\tComment: pulumi.String(\"this schema is managed by terraform\"),\n\t\t\tProperties: pulumi.Map{\n\t\t\t\t\"kind\": pulumi.Any(\"various\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texternal, err := databricks.NewStorageCredential(ctx, \"external\", \u0026databricks.StorageCredentialArgs{\n\t\t\tAwsIamRole: \u0026databricks.StorageCredentialAwsIamRoleArgs{\n\t\t\t\tRoleArn: pulumi.Any(aws_iam_role.External_data_access.Arn),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsome, err := databricks.NewExternalLocation(ctx, \"some\", \u0026databricks.ExternalLocationArgs{\n\t\t\tUrl: pulumi.String(fmt.Sprintf(\"s3://%v/some\", aws_s3_bucket.External.Id)),\n\t\t\tCredentialName: external.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewVolume(ctx, \"this\", \u0026databricks.VolumeArgs{\n\t\t\tCatalogName: sandbox.Name,\n\t\t\tSchemaName: things.Name,\n\t\t\tVolumeType: pulumi.String(\"EXTERNAL\"),\n\t\t\tStorageLocation: 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\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.Schema;\nimport com.pulumi.databricks.SchemaArgs;\nimport com.pulumi.databricks.StorageCredential;\nimport com.pulumi.databricks.StorageCredentialArgs;\nimport com.pulumi.databricks.inputs.StorageCredentialAwsIamRoleArgs;\nimport com.pulumi.databricks.ExternalLocation;\nimport com.pulumi.databricks.ExternalLocationArgs;\nimport com.pulumi.databricks.Volume;\nimport com.pulumi.databricks.VolumeArgs;\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 .comment(\"this catalog is managed by terraform\")\n .properties(Map.of(\"purpose\", \"testing\"))\n .build());\n\n var things = new Schema(\"things\", SchemaArgs.builder() \n .catalogName(sandbox.name())\n .comment(\"this schema is managed by terraform\")\n .properties(Map.of(\"kind\", \"various\"))\n .build());\n\n var external = new StorageCredential(\"external\", StorageCredentialArgs.builder() \n .awsIamRole(StorageCredentialAwsIamRoleArgs.builder()\n .roleArn(aws_iam_role.external_data_access().arn())\n .build())\n .build());\n\n var some = new ExternalLocation(\"some\", ExternalLocationArgs.builder() \n .url(String.format(\"s3://%s/some\", aws_s3_bucket.external().id()))\n .credentialName(external.name())\n .build());\n\n var this_ = new Volume(\"this\", VolumeArgs.builder() \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 }\n}\n```\n```yaml\nresources:\n sandbox:\n type: databricks:Catalog\n properties:\n comment: this catalog is managed by terraform\n properties:\n purpose: testing\n things:\n type: databricks:Schema\n properties:\n catalogName: ${sandbox.name}\n comment: this schema is managed by terraform\n properties:\n kind: various\n external:\n type: databricks:StorageCredential\n properties:\n awsIamRole:\n roleArn: ${aws_iam_role.external_data_access.arn}\n some:\n type: databricks:ExternalLocation\n properties:\n url: s3://${aws_s3_bucket.external.id}/some\n credentialName: ${external.name}\n this:\n type: databricks:Volume\n properties:\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\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nThis resource can be imported by `full_name` which is the 3-level Volume identifier: `\u003ccatalog\u003e.\u003cschema\u003e.\u003cname\u003e`\n\nbash\n\n```sh\n$ pulumi import databricks:index/volume:Volume this \u003ccatalog_name\u003e.\u003cschema_name\u003e.\u003cname\u003e\n```\n\n", "properties": { @@ -22926,12 +24265,37 @@ "inputs": { "description": "A collection of arguments for invoking getAwsCrossAccountPolicy.\n", "properties": { + "awsAccountId": { + "type": "string", + "description": "— Your AWS account ID, which is a number.\n", + "willReplaceOnChanges": true + }, "passRoles": { "type": "array", "items": { "type": "string" }, - "description": "List of Data IAM role ARNs that are explicitly granted `iam:PassRole` action.\n", + "description": "List of Data IAM role ARNs that are explicitly granted `iam:PassRole` action.\nThe below arguments are only valid for `restricted` policy type\n", + "willReplaceOnChanges": true + }, + "policyType": { + "type": "string", + "description": "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\n", + "willReplaceOnChanges": true + }, + "region": { + "type": "string", + "description": "— AWS Region name for your VPC deployment, for example `us-west-2`.\n", + "willReplaceOnChanges": true + }, + "securityGroupId": { + "type": "string", + "description": "— ID of your AWS security group. When you add a security group restriction, you cannot reuse the cross-account IAM role or reference a credentials ID (`credentials_id`) for any other workspaces. For those other workspaces, you must create separate roles, policies, and credentials objects.\n", + "willReplaceOnChanges": true + }, + "vpcId": { + "type": "string", + "description": "— ID of the AWS VPC where you want to launch workspaces.\n", "willReplaceOnChanges": true } }, @@ -22940,6 +24304,9 @@ "outputs": { "description": "A collection of values returned by getAwsCrossAccountPolicy.\n", "properties": { + "awsAccountId": { + "type": "string" + }, "id": { "type": "string", "description": "The provider-assigned unique ID for this managed resource.\n" @@ -22953,6 +24320,18 @@ "items": { "type": "string" } + }, + "policyType": { + "type": "string" + }, + "region": { + "type": "string" + }, + "securityGroupId": { + "type": "string" + }, + "vpcId": { + "type": "string" } }, "type": "object", @@ -25127,7 +26506,7 @@ } }, "databricks:index/getStorageCredentials:getStorageCredentials": { - "description": "## Example Usage\n\nList all storage credentials 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 all = databricks.getStorageCredentials({});\nexport const allMetastores = data.databricks_metastores.all.names;\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nall = databricks.get_storage_credentials()\npulumi.export(\"allMetastores\", data[\"databricks_metastores\"][\"all\"][\"names\"])\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.GetStorageCredentials.Invoke();\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"allMetastores\"] = data.Databricks_metastores.All.Names,\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.GetStorageCredentials(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"allMetastores\", data.Databricks_metastores.All.Names)\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.GetStorageCredentialsArgs;\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.getStorageCredentials();\n\n ctx.export(\"allMetastores\", data.databricks_metastores().all().names());\n }\n}\n```\n```yaml\nvariables:\n all:\n fn::invoke:\n Function: databricks:getStorageCredentials\n Arguments: {}\noutputs:\n allMetastores: ${data.databricks_metastores.all.names}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* databricks.StorageCredential to get information about a single credential\n* databricks.StorageCredential to manage Storage Credentials within Unity Catalog.\n", + "description": "## Example Usage\n\nList all storage credentials 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 all = databricks.getStorageCredentials({});\nexport const allStorageCredentials = all.then(all =\u003e all.names);\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nall = databricks.get_storage_credentials()\npulumi.export(\"allStorageCredentials\", all.names)\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.GetStorageCredentials.Invoke();\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"allStorageCredentials\"] = all.Apply(getStorageCredentialsResult =\u003e getStorageCredentialsResult.Names),\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.GetStorageCredentials(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"allStorageCredentials\", all.Names)\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.GetStorageCredentialsArgs;\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.getStorageCredentials();\n\n ctx.export(\"allStorageCredentials\", all.applyValue(getStorageCredentialsResult -\u003e getStorageCredentialsResult.names()));\n }\n}\n```\n```yaml\nvariables:\n all:\n fn::invoke:\n Function: databricks:getStorageCredentials\n Arguments: {}\noutputs:\n allStorageCredentials: ${all.names}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* databricks.StorageCredential to get information about a single credential\n* databricks.StorageCredential to manage Storage Credentials within Unity Catalog.\n", "inputs": { "description": "A collection of arguments for invoking getStorageCredentials.\n", "properties": { @@ -25135,7 +26514,8 @@ "type": "array", "items": { "type": "string" - } + }, + "description": "List of names of databricks.StorageCredential in the metastore\n" } }, "type": "object" @@ -25151,7 +26531,8 @@ "type": "array", "items": { "type": "string" - } + }, + "description": "List of names of databricks.StorageCredential in the metastore\n" } }, "type": "object", diff --git a/provider/go.mod b/provider/go.mod index 13499181..cca70ad3 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -5,8 +5,8 @@ go 1.21 replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240229143312-4f60ee4e2975 require ( - github.com/databricks/databricks-sdk-go v0.33.1-0.20240226115927-28be042ad6fc - github.com/databricks/terraform-provider-databricks v1.38.0 + github.com/databricks/databricks-sdk-go v0.37.0 + github.com/databricks/terraform-provider-databricks v1.39.0 github.com/pulumi/pulumi-terraform-bridge/v3 v3.78.0 ) @@ -96,7 +96,7 @@ require ( github.com/google/uuid v1.6.0 // indirect github.com/google/wire v0.5.0 // indirect github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect - github.com/googleapis/gax-go/v2 v2.12.1 // indirect + github.com/googleapis/gax-go/v2 v2.12.2 // indirect github.com/gorilla/mux v1.8.0 // indirect github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect @@ -120,7 +120,7 @@ require ( github.com/hashicorp/golang-lru v0.6.0 // indirect github.com/hashicorp/hc-install v0.6.3 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hashicorp/hcl/v2 v2.20.0 // indirect + github.com/hashicorp/hcl/v2 v2.20.1 // indirect github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect github.com/hashicorp/logutils v1.0.0 // indirect github.com/hashicorp/terraform-exec v0.20.0 // indirect @@ -213,33 +213,33 @@ require ( github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect github.com/xeipuuv/gojsonschema v1.2.0 // indirect - github.com/zclconf/go-cty v1.14.3 // indirect + github.com/zclconf/go-cty v1.14.4 // indirect go.opencensus.io v0.24.0 // indirect - go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0 // indirect - go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.48.0 // indirect - go.opentelemetry.io/otel v1.23.1 // indirect - go.opentelemetry.io/otel/metric v1.23.1 // indirect - go.opentelemetry.io/otel/trace v1.23.1 // indirect + go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect + go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect + go.opentelemetry.io/otel v1.24.0 // indirect + go.opentelemetry.io/otel/metric v1.24.0 // indirect + go.opentelemetry.io/otel/trace v1.24.0 // indirect go.uber.org/atomic v1.10.0 // indirect gocloud.dev v0.36.0 // indirect gocloud.dev/secrets/hashivault v0.27.0 // indirect - golang.org/x/crypto v0.19.0 // indirect + golang.org/x/crypto v0.21.0 // indirect golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 // indirect - golang.org/x/mod v0.15.0 // indirect - golang.org/x/net v0.21.0 // indirect - golang.org/x/oauth2 v0.17.0 // indirect + golang.org/x/mod v0.16.0 // indirect + golang.org/x/net v0.22.0 // indirect + golang.org/x/oauth2 v0.18.0 // indirect golang.org/x/sync v0.6.0 // indirect - golang.org/x/sys v0.17.0 // indirect - golang.org/x/term v0.17.0 // indirect + golang.org/x/sys v0.18.0 // indirect + golang.org/x/term v0.18.0 // indirect golang.org/x/text v0.14.0 // indirect golang.org/x/time v0.5.0 // indirect golang.org/x/tools v0.18.0 // indirect golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect - google.golang.org/api v0.166.0 // indirect + google.golang.org/api v0.169.0 // indirect google.golang.org/appengine v1.6.8 // indirect google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 // indirect google.golang.org/genproto/googleapis/api v0.0.0-20240205150955-31a09d347014 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240221002015-b0ce06bbee7c // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240304161311-37d4d3c04a78 // indirect google.golang.org/grpc v1.62.0 // indirect google.golang.org/protobuf v1.33.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect diff --git a/provider/go.sum b/provider/go.sum index 19d020ef..711b19c7 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1321,7 +1321,6 @@ github.com/apparentlymart/go-cidr v1.0.1/go.mod h1:EBcsNrHc3zQeuaeCeCtQruQm+n9/Y github.com/apparentlymart/go-cidr v1.1.0 h1:2mAhrMoF+nhXqxTzSZMUzDHkLjmIHC+Zzn4tdgBZjnU= github.com/apparentlymart/go-cidr v1.1.0/go.mod h1:EBcsNrHc3zQeuaeCeCtQruQm+n9/YjEn/vI25Lg7Gwc= github.com/apparentlymart/go-dump v0.0.0-20180507223929-23540a00eaa3/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM= -github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0 h1:MzVXffFUye+ZcSR6opIgz9Co7WcDx6ZcY+RjfFHoA0I= github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM= github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/Nj9VFpLOpjS5yuumk= github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec= @@ -1520,8 +1519,6 @@ github.com/cncf/xds/go v0.0.0-20230310173818-32f1caf87195/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20230428030218-4003588d1b74/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20231109132714-523115ebc101/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa h1:jQCWAUqqlij9Pgj2i/PB79y4KOPYVyFYdROxgaCwdTQ= -github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa/go.mod h1:x/1Gn8zydmfq8dk6e9PdstVsDgu9RuyIIJqAaF//0IM= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h6jFvWxBdQXxjopDMZyH2UVceIRfR84bdzbkoKrsWNo= @@ -1658,10 +1655,10 @@ github.com/d2g/dhcp4 v0.0.0-20170904100407-a1d1b6c41b1c/go.mod h1:Ct2BUK8SB0YC1S github.com/d2g/dhcp4client v1.0.0/go.mod h1:j0hNfjhrt2SxUOw55nL0ATM/z4Yt3t2Kd1mW34z5W5s= github.com/d2g/dhcp4server v0.0.0-20181031114812-7d4a0a7f59a5/go.mod h1:Eo87+Kg/IX2hfWJfwxMzLyuSZyxSoAug2nGa1G2QAi8= github.com/d2g/hardwareaddr v0.0.0-20190221164911-e7d9fbe030e4/go.mod h1:bMl4RjIciD2oAxI7DmWRx6gbeqrkoLqv3MV0vzNad+I= -github.com/databricks/databricks-sdk-go v0.33.1-0.20240226115927-28be042ad6fc h1:d/y7Owlz2P5Dmxkxj1PToN1j6z+/wHnTx9QQ//h8/UI= -github.com/databricks/databricks-sdk-go v0.33.1-0.20240226115927-28be042ad6fc/go.mod h1:MGNWVPqxYCW1vj/xD7DeLT8uChi4lgTFum+iIwDxd/Q= -github.com/databricks/terraform-provider-databricks v1.38.0 h1:E+aSMijWdErrMOWJEcQ7DCFijVDk1jF/43YDG94QEKc= -github.com/databricks/terraform-provider-databricks v1.38.0/go.mod h1:LWOrk2muOX620vVegKbz8d4NmFpLbtikhKk7FcebAGI= +github.com/databricks/databricks-sdk-go v0.37.0 h1:8ej3hNqfyfDNdV5YBjfLbq+p99JLu5NTtzwObbsIhRM= +github.com/databricks/databricks-sdk-go v0.37.0/go.mod h1:Yjy1gREDLK65g4axpVbVNKYAHYE2Sqzj0AB9QWHCBVM= +github.com/databricks/terraform-provider-databricks v1.39.0 h1:sObod2jOwM3ogFa6LzzlykgqdEtLLJE1BthHMNBjtT0= +github.com/databricks/terraform-provider-databricks v1.39.0/go.mod h1:hUzSJYQ7uLBCllMasdVhT575tRpfgZnE9WCmMH4D5M4= 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= @@ -1741,8 +1738,6 @@ github.com/envoyproxy/protoc-gen-validate v0.10.0/go.mod h1:DRjgyB0I43LtJapqN6Ni github.com/envoyproxy/protoc-gen-validate v0.10.1/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= github.com/envoyproxy/protoc-gen-validate v1.0.1/go.mod h1:0vj8bNkYbSTNS2PIyH87KZaeN4x9zpL9Qt8fQC7d+vs= github.com/envoyproxy/protoc-gen-validate v1.0.2/go.mod h1:GpiZQP3dDbg4JouG/NNS7QWXpgx6x8QiMKdmN72jogE= -github.com/envoyproxy/protoc-gen-validate v1.0.4 h1:gVPz/FMfvh57HdSJQyvBtF00j8JU4zdyUgIUNhlgg0A= -github.com/envoyproxy/protoc-gen-validate v1.0.4/go.mod h1:qys6tmnRsYrQqIhm2bvKZH4Blx/1gTIZ2UKVY1M+Yew= github.com/ettle/strcase v0.1.1 h1:htFueZyVeE1XNnMEfbqp5r67qAN/4r6ya1ysq8Q+Zcw= github.com/ettle/strcase v0.1.1/go.mod h1:hzDLsPC7/lwKyBOywSHEP89nt2pDgdy+No1NBA9o9VY= github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= @@ -2099,8 +2094,8 @@ github.com/googleapis/gax-go/v2 v2.8.0/go.mod h1:4orTrqY6hXxxaUL4LHIPl6lGo8vAE38 github.com/googleapis/gax-go/v2 v2.10.0/go.mod h1:4UOEnMCrxsSqQ940WnTiD6qJ63le2ev3xfyagutxiPw= github.com/googleapis/gax-go/v2 v2.11.0/go.mod h1:DxmR61SGKkGLa2xigwuZIQpkCI2S5iydzRfb3peWZJI= github.com/googleapis/gax-go/v2 v2.12.0/go.mod h1:y+aIqrI5eb1YGMVJfuV3185Ts/D7qKpsEkdD5+I6QGU= -github.com/googleapis/gax-go/v2 v2.12.1 h1:9F8GV9r9ztXyAi00gsMQHNoF51xPZm8uj1dpYt2ZETM= -github.com/googleapis/gax-go/v2 v2.12.1/go.mod h1:61M8vcyyXR2kqKFxKrfA22jaA8JGF7Dc8App1U3H6jc= +github.com/googleapis/gax-go/v2 v2.12.2 h1:mhN09QQW1jEWeMF74zGR81R30z4VJzjZsfkUhuHF+DA= +github.com/googleapis/gax-go/v2 v2.12.2/go.mod h1:61M8vcyyXR2kqKFxKrfA22jaA8JGF7Dc8App1U3H6jc= github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU= github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97DwqyJO1AENw9kA= @@ -2234,8 +2229,8 @@ github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/hcl/v2 v2.0.0/go.mod h1:oVVDG71tEinNGYCxinCYadcmKU9bglqW9pV3txagJ90= github.com/hashicorp/hcl/v2 v2.19.1/go.mod h1:ThLC89FV4p9MPW804KVbe/cEXoQ8NZEh+JtMeeGErHE= -github.com/hashicorp/hcl/v2 v2.20.0 h1:l++cRs/5jQOiKVvqXZm/P1ZEfVXJmvLS9WSVxkaeTb4= -github.com/hashicorp/hcl/v2 v2.20.0/go.mod h1:WmcD/Ym72MDOOx5F62Ly+leloeu6H7m0pG7VBiU6pQk= +github.com/hashicorp/hcl/v2 v2.20.1 h1:M6hgdyz7HYt1UN9e61j+qKJBqR3orTWbI1HKBJEdxtc= +github.com/hashicorp/hcl/v2 v2.20.1/go.mod h1:TZDqQ4kNKCbh1iJp99FdPiUaVDDUPivbqxZulxDYqL4= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 h1:T1Q6ag9tCwun16AW+XK3tAql24P4uTGUMIn1/92WsQQ= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93/go.mod h1:n2TSygSNwsLJ76m8qFXTSc7beTb+auJxYdqrnoqwZWE= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= @@ -3050,8 +3045,8 @@ github.com/zclconf/go-cty v1.13.0/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4 github.com/zclconf/go-cty v1.13.1/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= github.com/zclconf/go-cty v1.14.1/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= github.com/zclconf/go-cty v1.14.2/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= -github.com/zclconf/go-cty v1.14.3 h1:1JXy1XroaGrzZuG6X9dt7HL6s9AwbY+l4UNL8o5B6ho= -github.com/zclconf/go-cty v1.14.3/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= +github.com/zclconf/go-cty v1.14.4 h1:uXXczd9QDGsgu0i/QFR/hzI5NYCHLf6NQw/atrbnhq8= +github.com/zclconf/go-cty v1.14.4/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b h1:FosyBZYxY34Wul7O/MSKey3txpPYyCqVO5ZyceuQJEI= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= github.com/zclconf/go-cty-yaml v1.0.1 h1:up11wlgAaDvlAGENcFDnZgkn0qUJurso7k6EpURKNF8= @@ -3091,20 +3086,20 @@ go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= go.opentelemetry.io/contrib v0.20.0/go.mod h1:G/EtFaa6qaN7+LxqfIAT3GiZa7Wv5DTBUzl5H4LY0Kc= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0/go.mod h1:oVGt1LRbBOBq1A5BQLlUg9UaU/54aiHw8cgjV3aWZ/E= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.28.0/go.mod h1:vEhqr0m4eTc+DWxfsXoXue2GBgV2uUwVznkGIHW/e5w= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0 h1:P+/g8GpuJGYbOp2tAdKrIPUX9JO02q8Q0YNlHolpibA= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0/go.mod h1:tIKj3DbO8N9Y2xo52og3irLsPI4GW02DSMtrVgNMgxg= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 h1:4Pp6oUg3+e/6M4C0A/3kJ2VYa++dsWVTtGgLVj5xtHg= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0/go.mod h1:Mjt1i1INqiaoZOMGR1RIUJN+i3ChKoFRqzrRQhlkbs0= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0/go.mod h1:2AboqHi0CiIZU0qwhtUfCYD1GeUzvvIXWNkhDt7ZMG4= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.31.0/go.mod h1:PFmBsWbldL1kiWZk9+0LBZz2brhByaGsvp6pRICMlPE= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.32.0/go.mod h1:5eCOqeGphOyz6TsY3ZDNjE33SM/TFAK3RGuCL2naTgY= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.48.0 h1:doUP+ExOpH3spVTLS0FcWGLnQrPct/hD/bCPbDRUEAU= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.48.0/go.mod h1:rdENBZMT2OE6Ne/KLwpiXudnAsbdrdBaqBvTN8M8BgA= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 h1:jq9TW8u3so/bN+JPT166wjOI6/vQPF6Xe7nMNIltagk= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0/go.mod h1:p8pYQP+m5XfbZm9fxtSKAbM6oIllS7s2AfxrChvc7iw= go.opentelemetry.io/otel v0.20.0/go.mod h1:Y3ugLH2oa81t5QO+Lty+zXf8zC9L26ax4Nzoxm/dooo= go.opentelemetry.io/otel v1.3.0/go.mod h1:PWIKzi6JCp7sM0k9yZ43VX+T345uNbAkDKwHVjb2PTs= go.opentelemetry.io/otel v1.6.0/go.mod h1:bfJD2DZVw0LBxghOTlgnlI0CV3hLDu9XF/QKOUXMTQQ= go.opentelemetry.io/otel v1.6.1/go.mod h1:blzUabWHkX6LJewxvadmzafgh/wnvBSDBdOuwkAtrWQ= go.opentelemetry.io/otel v1.7.0/go.mod h1:5BdUoMIz5WEs0vt0CUEMtSSaTSHBBVwrhnz7+nrD5xk= -go.opentelemetry.io/otel v1.23.1 h1:Za4UzOqJYS+MUczKI320AtqZHZb7EqxO00jAHE0jmQY= -go.opentelemetry.io/otel v1.23.1/go.mod h1:Td0134eafDLcTS4y+zQ26GE8u3dEuRBiBCTUIRHaikA= +go.opentelemetry.io/otel v1.24.0 h1:0LAOdjNmQeSTzGBzduGe/rU4tZhMwL5rWgtp9Ku5Jfo= +go.opentelemetry.io/otel v1.24.0/go.mod h1:W7b9Ozg4nkF5tWI5zsXkaKKDjdVjpD4oAt9Qi/MArHo= go.opentelemetry.io/otel/exporters/otlp v0.20.0/go.mod h1:YIieizyaN77rtLJra0buKiNBOm9XQfkPEKBeuhoMwAM= go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.3.0/go.mod h1:VpP4/RMn8bv8gNo9uK7/IMY4mtWLELsS+JIP0inH0h4= go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.6.1/go.mod h1:NEu79Xo32iVb+0gVNV8PMd7GoWqnyDXRlj04yFjqz40= @@ -3121,8 +3116,8 @@ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.7.0/go.mod h1 go.opentelemetry.io/otel/metric v0.20.0/go.mod h1:598I5tYlH1vzBjn+BTuhzTCSb/9debfNp6R3s7Pr1eU= go.opentelemetry.io/otel/metric v0.28.0/go.mod h1:TrzsfQAmQaB1PDcdhBauLMk7nyyg9hm+GoQq/ekE9Iw= go.opentelemetry.io/otel/metric v0.30.0/go.mod h1:/ShZ7+TS4dHzDFmfi1kSXMhMVubNoP0oIaBp70J6UXU= -go.opentelemetry.io/otel/metric v1.23.1 h1:PQJmqJ9u2QaJLBOELl1cxIdPcpbwzbkjfEyelTl2rlo= -go.opentelemetry.io/otel/metric v1.23.1/go.mod h1:mpG2QPlAfnK8yNhNJAxDZruU9Y1/HubbC+KyH8FaCWI= +go.opentelemetry.io/otel/metric v1.24.0 h1:6EhoGWWK28x1fbpA4tYTOWBkPefTDQnb8WSGXlc88kI= +go.opentelemetry.io/otel/metric v1.24.0/go.mod h1:VYhLe1rFfxuTXLgj4CBiyz+9WYBA8pNGJgDcSFRKBco= go.opentelemetry.io/otel/oteltest v0.20.0/go.mod h1:L7bgKf9ZB7qCwT9Up7i9/pn0PWIa9FqQ2IQ8LoxiGnw= go.opentelemetry.io/otel/sdk v0.20.0/go.mod h1:g/IcepuwNsoiX5Byy2nNV0ySUF1em498m7hBWC279Yc= go.opentelemetry.io/otel/sdk v1.3.0/go.mod h1:rIo4suHNhQwBIPg9axF8V9CA72Wz2mKF1teNrup8yzs= @@ -3137,8 +3132,8 @@ go.opentelemetry.io/otel/trace v1.3.0/go.mod h1:c/VDhno8888bvQYmbYLqe41/Ldmr/KKu go.opentelemetry.io/otel/trace v1.6.0/go.mod h1:qs7BrU5cZ8dXQHBGxHMOxwME/27YH2qEp4/+tZLLwJE= go.opentelemetry.io/otel/trace v1.6.1/go.mod h1:RkFRM1m0puWIq10oxImnGEduNBzxiN7TXluRBtE+5j0= go.opentelemetry.io/otel/trace v1.7.0/go.mod h1:fzLSB9nqR2eXzxPXb2JW9IKE+ScyXA48yyE4TNvoHqU= -go.opentelemetry.io/otel/trace v1.23.1 h1:4LrmmEd8AU2rFvU1zegmvqW7+kWarxtNOPyeL6HmYY8= -go.opentelemetry.io/otel/trace v1.23.1/go.mod h1:4IpnpJFwr1mo/6HL8XIPJaE9y0+u1KcVmuW7dwFSVrI= +go.opentelemetry.io/otel/trace v1.24.0 h1:CsKnnL4dUAr/0llH9FKuc698G04IrpWV0MQA/Y1YELI= +go.opentelemetry.io/otel/trace v1.24.0/go.mod h1:HPc3Xr/cOApsBI154IU0OI0HJexz+aw5uPdbs3UCjNU= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.opentelemetry.io/proto/otlp v0.11.0/go.mod h1:QpEjXPrNQzrFDZgoTo49dgHR9RYRSrg3NAKnUGl9YpQ= go.opentelemetry.io/proto/otlp v0.12.1/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= @@ -3228,8 +3223,9 @@ golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf golang.org/x/crypto v0.15.0/go.mod h1:4ChreQoLWfG3xLDer1WdlH5NdlQ3+mwnQq1YTKY+72g= golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= -golang.org/x/crypto v0.19.0 h1:ENy+Az/9Y1vSrlrvBSyna3PITt4tiZLf7sgCjZBX7Wo= golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= +golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA= +golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -3295,8 +3291,9 @@ golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.11.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/mod v0.15.0 h1:SernR4v+D55NyBH2QiEQrlBAnj1ECL6AGrA5+dPaMY8= golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.16.0 h1:QX4fJ0Rr5cPQCF7O9lh9Se4pmwfwskqZfq5moyldzic= +golang.org/x/mod v0.16.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -3400,8 +3397,8 @@ golang.org/x/net v0.16.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/net v0.18.0/go.mod h1:/czyP5RqHAH4odGYxBJ1qz0+CE5WZ+2j1YgoEo8F2jQ= golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= -golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4= -golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= +golang.org/x/net v0.22.0 h1:9sGLhx7iRIHEiX0oAJ3MRZMUCElJgy7Br1nO+AMN3Tc= +golang.org/x/net v0.22.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -3441,8 +3438,8 @@ golang.org/x/oauth2 v0.10.0/go.mod h1:kTpgurOux7LqtuxjuyZa4Gj2gdezIt/jQtGnNFfypQ golang.org/x/oauth2 v0.11.0/go.mod h1:LdF7O/8bLR/qWK9DrpXmbHLTouvRHK0SgJl0GmDBchk= golang.org/x/oauth2 v0.13.0/go.mod h1:/JMhi4ZRXAf4HG9LiNmxvk+45+96RUlVThiH8FzNBn0= golang.org/x/oauth2 v0.14.0/go.mod h1:lAtNWgaWfL4cm7j2OV8TxGi9Qb7ECORx8DktCY74OwM= -golang.org/x/oauth2 v0.17.0 h1:6m3ZPmLEFdVxKKWnKq4VqZ60gutO35zm+zrAHVmHyDQ= -golang.org/x/oauth2 v0.17.0/go.mod h1:OzPDGQiuQMguemayvdylqddI7qcD9lnSDb+1FiwQ5HA= +golang.org/x/oauth2 v0.18.0 h1:09qnuIAgzdx1XplqJvW6CQqMCtGZykZWcXzPMPUusvI= +golang.org/x/oauth2 v0.18.0/go.mod h1:Wf7knwG0MPoWIMMBgFlEaSUDaKskp0dCfrlJRJXbBi8= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -3635,8 +3632,9 @@ golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y= golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= +golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -3658,8 +3656,9 @@ golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/term v0.14.0/go.mod h1:TySc+nGkYR6qt8km8wUhuFRTVSMIX3XPR58y2lC8vww= golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= -golang.org/x/term v0.17.0 h1:mkTF7LCd6WGJNL3K1Ad7kwxNfYAW6a8a8QqtMblp/4U= golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= +golang.org/x/term v0.18.0 h1:FcHjZXDMxI8mM3nwhX9HlKop4C0YQvCVCdwYl2wOtE8= +golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -3891,8 +3890,8 @@ google.golang.org/api v0.126.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvy google.golang.org/api v0.128.0/go.mod h1:Y611qgqaE92On/7g65MQgxYul3c0rEB894kniWLY750= google.golang.org/api v0.139.0/go.mod h1:CVagp6Eekz9CjGZ718Z+sloknzkDJE7Vc1Ckj9+viBk= google.golang.org/api v0.149.0/go.mod h1:Mwn1B7JTXrzXtnvmzQE2BD6bYZQ8DShKZDZbeN9I7qI= -google.golang.org/api v0.166.0 h1:6m4NUwrZYhAaVIHZWxaKjw1L1vNAjtMwORmKRyEEo24= -google.golang.org/api v0.166.0/go.mod h1:4FcBc686KFi7QI/U51/2GKKevfZMpM17sCdibqe/bSA= +google.golang.org/api v0.169.0 h1:QwWPy71FgMWqJN/l6jVlFHUa29a7dcUy02I8o799nPY= +google.golang.org/api v0.169.0/go.mod h1:gpNOiMA2tZ4mf5R9Iwf4rK/Dcz0fbdIgWYWVoxmsyLg= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -4114,8 +4113,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20231012201019-e917dd12ba7a/go. google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b/go.mod h1:swOH3j0KzcDDgGUWr+SNpyTen5YrXjS3eyPzFYKc6lc= google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405/go.mod h1:67X1fPuzjcrkymZzZV1vvkFeTn2Rvc6lYF9MYFGCcwE= google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:oQ5rr10WTTMvP4A36n8JpR1OrO1BEiV4f78CneXZxkA= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240221002015-b0ce06bbee7c h1:NUsgEN92SQQqzfA+YtqYNqYmB3DMMYLlIwUZAQFVFbo= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240221002015-b0ce06bbee7c/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240304161311-37d4d3c04a78 h1:Xs9lu+tLXxLIfuci70nG4cpwaRC+mRQPUL7LoIeDJC4= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240304161311-37d4d3c04a78/go.mod h1:UCOku4NytXMJuLQE5VuqA5lX3PcHCBo8pxNyvkf4xBs= google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= diff --git a/sdk/dotnet/CatalogWorkspaceBinding.cs b/sdk/dotnet/CatalogWorkspaceBinding.cs index 490bbcbb..1f916782 100644 --- a/sdk/dotnet/CatalogWorkspaceBinding.cs +++ b/sdk/dotnet/CatalogWorkspaceBinding.cs @@ -38,7 +38,11 @@ namespace Pulumi.Databricks /// /// ## Import /// - /// -> **Note** Importing this resource is not currently supported. + /// This resource can be imported by using combination of workspace ID, securable type and name: + /// + /// ```sh + /// $ pulumi import databricks:index/catalogWorkspaceBinding:CatalogWorkspaceBinding this "<workspace_id>|<securable_type>|<securable_name>" + /// ``` /// [DatabricksResourceType("databricks:index/catalogWorkspaceBinding:CatalogWorkspaceBinding")] public partial class CatalogWorkspaceBinding : global::Pulumi.CustomResource diff --git a/sdk/dotnet/GetAwsCrossAccountPolicy.cs b/sdk/dotnet/GetAwsCrossAccountPolicy.cs index d53d59c5..b941f6b0 100644 --- a/sdk/dotnet/GetAwsCrossAccountPolicy.cs +++ b/sdk/dotnet/GetAwsCrossAccountPolicy.cs @@ -83,11 +83,18 @@ public static Output Invoke(GetAwsCrossAccountPo public sealed class GetAwsCrossAccountPolicyArgs : global::Pulumi.InvokeArgs { + /// + /// — Your AWS account ID, which is a number. + /// + [Input("awsAccountId")] + public string? AwsAccountId { get; set; } + [Input("passRoles")] private List? _passRoles; /// /// List of Data IAM role ARNs that are explicitly granted `iam:PassRole` action. + /// The below arguments are only valid for `restricted` policy type /// public List PassRoles { @@ -95,6 +102,30 @@ public List PassRoles set => _passRoles = value; } + /// + /// 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 + /// + [Input("policyType")] + public string? PolicyType { get; set; } + + /// + /// — AWS Region name for your VPC deployment, for example `us-west-2`. + /// + [Input("region")] + public string? Region { get; set; } + + /// + /// — ID of your AWS security group. When you add a security group restriction, you cannot reuse the cross-account IAM role or reference a credentials ID (`credentials_id`) for any other workspaces. For those other workspaces, you must create separate roles, policies, and credentials objects. + /// + [Input("securityGroupId")] + public string? SecurityGroupId { get; set; } + + /// + /// — ID of the AWS VPC where you want to launch workspaces. + /// + [Input("vpcId")] + public string? VpcId { get; set; } + public GetAwsCrossAccountPolicyArgs() { } @@ -103,11 +134,18 @@ public GetAwsCrossAccountPolicyArgs() public sealed class GetAwsCrossAccountPolicyInvokeArgs : global::Pulumi.InvokeArgs { + /// + /// — Your AWS account ID, which is a number. + /// + [Input("awsAccountId")] + public Input? AwsAccountId { get; set; } + [Input("passRoles")] private InputList? _passRoles; /// /// List of Data IAM role ARNs that are explicitly granted `iam:PassRole` action. + /// The below arguments are only valid for `restricted` policy type /// public InputList PassRoles { @@ -115,6 +153,30 @@ public InputList PassRoles set => _passRoles = value; } + /// + /// 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 + /// + [Input("policyType")] + public Input? PolicyType { get; set; } + + /// + /// — AWS Region name for your VPC deployment, for example `us-west-2`. + /// + [Input("region")] + public Input? Region { get; set; } + + /// + /// — ID of your AWS security group. When you add a security group restriction, you cannot reuse the cross-account IAM role or reference a credentials ID (`credentials_id`) for any other workspaces. For those other workspaces, you must create separate roles, policies, and credentials objects. + /// + [Input("securityGroupId")] + public Input? SecurityGroupId { get; set; } + + /// + /// — ID of the AWS VPC where you want to launch workspaces. + /// + [Input("vpcId")] + public Input? VpcId { get; set; } + public GetAwsCrossAccountPolicyInvokeArgs() { } @@ -125,6 +187,7 @@ public GetAwsCrossAccountPolicyInvokeArgs() [OutputType] public sealed class GetAwsCrossAccountPolicyResult { + public readonly string? AwsAccountId; /// /// The provider-assigned unique ID for this managed resource. /// @@ -134,18 +197,37 @@ public sealed class GetAwsCrossAccountPolicyResult /// public readonly string Json; public readonly ImmutableArray PassRoles; + public readonly string? PolicyType; + public readonly string? Region; + public readonly string? SecurityGroupId; + public readonly string? VpcId; [OutputConstructor] private GetAwsCrossAccountPolicyResult( + string? awsAccountId, + string id, string json, - ImmutableArray passRoles) + ImmutableArray passRoles, + + string? policyType, + + string? region, + + string? securityGroupId, + + string? vpcId) { + AwsAccountId = awsAccountId; Id = id; Json = json; PassRoles = passRoles; + PolicyType = policyType; + Region = region; + SecurityGroupId = securityGroupId; + VpcId = vpcId; } } } diff --git a/sdk/dotnet/GetStorageCredentials.cs b/sdk/dotnet/GetStorageCredentials.cs index 802a7a93..bdffcd9a 100644 --- a/sdk/dotnet/GetStorageCredentials.cs +++ b/sdk/dotnet/GetStorageCredentials.cs @@ -29,7 +29,7 @@ public static class GetStorageCredentials /// /// return new Dictionary<string, object?> /// { - /// ["allMetastores"] = data.Databricks_metastores.All.Names, + /// ["allStorageCredentials"] = all.Apply(getStorageCredentialsResult => getStorageCredentialsResult.Names), /// }; /// }); /// ``` @@ -63,7 +63,7 @@ public static Task InvokeAsync(GetStorageCredential /// /// return new Dictionary<string, object?> /// { - /// ["allMetastores"] = data.Databricks_metastores.All.Names, + /// ["allStorageCredentials"] = all.Apply(getStorageCredentialsResult => getStorageCredentialsResult.Names), /// }; /// }); /// ``` @@ -85,6 +85,10 @@ public sealed class GetStorageCredentialsArgs : global::Pulumi.InvokeArgs { [Input("names")] private List? _names; + + /// + /// List of names of databricks.StorageCredential in the metastore + /// public List Names { get => _names ?? (_names = new List()); @@ -101,6 +105,10 @@ public sealed class GetStorageCredentialsInvokeArgs : global::Pulumi.InvokeArgs { [Input("names")] private InputList? _names; + + /// + /// List of names of databricks.StorageCredential in the metastore + /// public InputList Names { get => _names ?? (_names = new InputList()); @@ -121,6 +129,9 @@ public sealed class GetStorageCredentialsResult /// The provider-assigned unique ID for this managed resource. /// public readonly string Id; + /// + /// List of names of databricks.StorageCredential in the metastore + /// public readonly ImmutableArray Names; [OutputConstructor] diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskConditionTask.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskConditionTask.cs index 45e02893..9e449c73 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskConditionTask.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskConditionTask.cs @@ -12,14 +12,14 @@ namespace Pulumi.Databricks.Inputs public sealed class GetJobJobSettingsSettingsTaskConditionTaskArgs : global::Pulumi.InvokeArgs { - [Input("left")] - public string? Left { get; set; } + [Input("left", required: true)] + public string Left { get; set; } = null!; - [Input("op")] - public string? Op { get; set; } + [Input("op", required: true)] + public string Op { get; set; } = null!; - [Input("right")] - public string? Right { get; set; } + [Input("right", required: true)] + public string Right { get; set; } = null!; public GetJobJobSettingsSettingsTaskConditionTaskArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskConditionTaskArgs.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskConditionTaskArgs.cs index 143e90b6..3cf5e8fc 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskConditionTaskArgs.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskConditionTaskArgs.cs @@ -12,14 +12,14 @@ namespace Pulumi.Databricks.Inputs public sealed class GetJobJobSettingsSettingsTaskConditionTaskInputArgs : global::Pulumi.ResourceArgs { - [Input("left")] - public Input? Left { get; set; } + [Input("left", required: true)] + public Input Left { get; set; } = null!; - [Input("op")] - public Input? Op { get; set; } + [Input("op", required: true)] + public Input Op { get; set; } = null!; - [Input("right")] - public Input? Right { get; set; } + [Input("right", required: true)] + public Input Right { get; set; } = null!; public GetJobJobSettingsSettingsTaskConditionTaskInputArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskEmailNotifications.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskEmailNotifications.cs index 7cfb91de..c339e1f0 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskEmailNotifications.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskEmailNotifications.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class GetJobJobSettingsSettingsTaskEmailNotificationsArgs : global::Pulumi.InvokeArgs { + [Input("noAlertForSkippedRuns")] + public bool? NoAlertForSkippedRuns { get; set; } + [Input("onDurationWarningThresholdExceededs")] private List? _onDurationWarningThresholdExceededs; public List OnDurationWarningThresholdExceededs diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskEmailNotificationsArgs.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskEmailNotificationsArgs.cs index 858378be..cfe86e94 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskEmailNotificationsArgs.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskEmailNotificationsArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class GetJobJobSettingsSettingsTaskEmailNotificationsInputArgs : global::Pulumi.ResourceArgs { + [Input("noAlertForSkippedRuns")] + public Input? NoAlertForSkippedRuns { get; set; } + [Input("onDurationWarningThresholdExceededs")] private InputList? _onDurationWarningThresholdExceededs; public InputList OnDurationWarningThresholdExceededs diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask.cs index 1c91a8a6..63c28a7e 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask.cs @@ -12,14 +12,14 @@ namespace Pulumi.Databricks.Inputs public sealed class GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs : global::Pulumi.InvokeArgs { - [Input("left")] - public string? Left { get; set; } + [Input("left", required: true)] + public string Left { get; set; } = null!; - [Input("op")] - public string? Op { get; set; } + [Input("op", required: true)] + public string Op { get; set; } = null!; - [Input("right")] - public string? Right { get; set; } + [Input("right", required: true)] + public string Right { get; set; } = null!; public GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs.cs index ac969ecf..72f7ce03 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs.cs @@ -12,14 +12,14 @@ namespace Pulumi.Databricks.Inputs public sealed class GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskInputArgs : global::Pulumi.ResourceArgs { - [Input("left")] - public Input? Left { get; set; } + [Input("left", required: true)] + public Input Left { get; set; } = null!; - [Input("op")] - public Input? Op { get; set; } + [Input("op", required: true)] + public Input Op { get; set; } = null!; - [Input("right")] - public Input? Right { get; set; } + [Input("right", required: true)] + public Input Right { get; set; } = null!; public GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskInputArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications.cs index 36ce06dc..0c44759c 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs : global::Pulumi.InvokeArgs { + [Input("noAlertForSkippedRuns")] + public bool? NoAlertForSkippedRuns { get; set; } + [Input("onDurationWarningThresholdExceededs")] private List? _onDurationWarningThresholdExceededs; public List OnDurationWarningThresholdExceededs diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs.cs index d5c0109d..464d68f4 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsInputArgs : global::Pulumi.ResourceArgs { + [Input("noAlertForSkippedRuns")] + public Input? NoAlertForSkippedRuns { get; set; } + [Input("onDurationWarningThresholdExceededs")] private InputList? _onDurationWarningThresholdExceededs; public InputList OnDurationWarningThresholdExceededs diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded.cs index 98e13f75..9fca4fde 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificat /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public string? Id { get; set; } + [Input("id", required: true)] + public string Id { get; set; } = null!; public GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs index 3317c21b..f0b56631 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificat /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInputArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure.cs index 31c714f1..d8cd9b1d 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificat /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public string? Id { get; set; } + [Input("id", required: true)] + public string Id { get; set; } = null!; public GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs.cs index 4be2701b..ea5dd1e1 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificat /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureInputArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart.cs index adfa8101..5ddcdb6a 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificat /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public string? Id { get; set; } + [Input("id", required: true)] + public string Id { get; set; } = null!; public GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs.cs index 89abf780..2b97205e 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificat /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartInputArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess.cs index 243aba35..7c4a0ecd 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificat /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public string? Id { get; set; } + [Input("id", required: true)] + public string Id { get; set; } = null!; public GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs.cs index abc36b02..5321d658 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificat /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessInputArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded.cs index 910f7e8f..596fa78f 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationW /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public string? Id { get; set; } + [Input("id", required: true)] + public string Id { get; set; } = null!; public GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs index 3f9fd34b..18ea69f3 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationW /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededInputArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure.cs index 1d7bcb99..05a19951 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureAr /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public string? Id { get; set; } + [Input("id", required: true)] + public string Id { get; set; } = null!; public GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs.cs index 5a401e59..7b5d42ad 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureIn /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureInputArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart.cs index 935d1065..9f19410e 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public string? Id { get; set; } + [Input("id", required: true)] + public string Id { get; set; } = null!; public GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs.cs index cdf9a0ca..4aa5cab4 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartInpu /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartInputArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess.cs index 7fa785fa..5502a321 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessAr /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public string? Id { get; set; } + [Input("id", required: true)] + public string Id { get; set; } = null!; public GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs.cs index d1dedbc0..c70e0c05 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessIn /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessInputArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTrigger.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTrigger.cs index 06e8c1ac..588e6ebc 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTrigger.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTrigger.cs @@ -12,12 +12,15 @@ namespace Pulumi.Databricks.Inputs public sealed class GetJobJobSettingsSettingsTriggerArgs : global::Pulumi.InvokeArgs { - [Input("fileArrival", required: true)] - public Inputs.GetJobJobSettingsSettingsTriggerFileArrivalArgs FileArrival { get; set; } = null!; + [Input("fileArrival")] + public Inputs.GetJobJobSettingsSettingsTriggerFileArrivalArgs? FileArrival { get; set; } [Input("pauseStatus")] public string? PauseStatus { get; set; } + [Input("tableUpdate")] + public Inputs.GetJobJobSettingsSettingsTriggerTableUpdateArgs? TableUpdate { get; set; } + public GetJobJobSettingsSettingsTriggerArgs() { } diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTriggerArgs.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTriggerArgs.cs index 53acf1ee..07ae0e01 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTriggerArgs.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTriggerArgs.cs @@ -12,12 +12,15 @@ namespace Pulumi.Databricks.Inputs public sealed class GetJobJobSettingsSettingsTriggerInputArgs : global::Pulumi.ResourceArgs { - [Input("fileArrival", required: true)] - public Input FileArrival { get; set; } = null!; + [Input("fileArrival")] + public Input? FileArrival { get; set; } [Input("pauseStatus")] public Input? PauseStatus { get; set; } + [Input("tableUpdate")] + public Input? TableUpdate { get; set; } + public GetJobJobSettingsSettingsTriggerInputArgs() { } diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTriggerTableUpdate.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTriggerTableUpdate.cs new file mode 100644 index 00000000..a9312d7c --- /dev/null +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTriggerTableUpdate.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 GetJobJobSettingsSettingsTriggerTableUpdateArgs : global::Pulumi.InvokeArgs + { + [Input("condition")] + public string? Condition { get; set; } + + [Input("minTimeBetweenTriggersSeconds")] + public int? MinTimeBetweenTriggersSeconds { get; set; } + + [Input("tableNames", required: true)] + private List? _tableNames; + public List TableNames + { + get => _tableNames ?? (_tableNames = new List()); + set => _tableNames = value; + } + + [Input("waitAfterLastChangeSeconds")] + public int? WaitAfterLastChangeSeconds { get; set; } + + public GetJobJobSettingsSettingsTriggerTableUpdateArgs() + { + } + public static new GetJobJobSettingsSettingsTriggerTableUpdateArgs Empty => new GetJobJobSettingsSettingsTriggerTableUpdateArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTriggerTableUpdateArgs.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTriggerTableUpdateArgs.cs new file mode 100644 index 00000000..c2657f0b --- /dev/null +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsTriggerTableUpdateArgs.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 GetJobJobSettingsSettingsTriggerTableUpdateInputArgs : global::Pulumi.ResourceArgs + { + [Input("condition")] + public Input? Condition { get; set; } + + [Input("minTimeBetweenTriggersSeconds")] + public Input? MinTimeBetweenTriggersSeconds { get; set; } + + [Input("tableNames", required: true)] + private InputList? _tableNames; + public InputList TableNames + { + get => _tableNames ?? (_tableNames = new InputList()); + set => _tableNames = value; + } + + [Input("waitAfterLastChangeSeconds")] + public Input? WaitAfterLastChangeSeconds { get; set; } + + public GetJobJobSettingsSettingsTriggerTableUpdateInputArgs() + { + } + public static new GetJobJobSettingsSettingsTriggerTableUpdateInputArgs Empty => new GetJobJobSettingsSettingsTriggerTableUpdateInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded.cs index c10a8ee5..79995b28 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarni /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public string? Id { get; set; } + [Input("id", required: true)] + public string Id { get; set; } = null!; public GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs index 914d204e..a8854e5f 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarni /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededInputArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailure.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailure.cs index da0d0ecf..446b58a5 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailure.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailure.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs : /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public string? Id { get; set; } + [Input("id", required: true)] + public string Id { get; set; } = null!; public GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs.cs index fe2fb67f..071a4026 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsWebhookNotificationsOnFailureInputA /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public GetJobJobSettingsSettingsWebhookNotificationsOnFailureInputArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnStart.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnStart.cs index 14290b79..e7022741 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnStart.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnStart.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs : g /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public string? Id { get; set; } + [Input("id", required: true)] + public string Id { get; set; } = null!; public GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs.cs index 77b11ee0..ef70c0b8 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsWebhookNotificationsOnStartInputArg /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public GetJobJobSettingsSettingsWebhookNotificationsOnStartInputArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccess.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccess.cs index 037eff15..ab9f9044 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccess.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccess.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs : /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public string? Id { get; set; } + [Input("id", required: true)] + public string Id { get; set; } = null!; public GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs() { diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs.cs index 2fa98702..d9c3ac82 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs.cs @@ -15,8 +15,8 @@ public sealed class GetJobJobSettingsSettingsWebhookNotificationsOnSuccessInputA /// /// the id of databricks.Job if the resource was matched by name. /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public GetJobJobSettingsSettingsWebhookNotificationsOnSuccessInputArgs() { diff --git a/sdk/dotnet/Inputs/JobTaskArgs.cs b/sdk/dotnet/Inputs/JobTaskArgs.cs index c960621a..96824589 100644 --- a/sdk/dotnet/Inputs/JobTaskArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskArgs.cs @@ -67,7 +67,7 @@ public InputList DependsOns private InputList? _libraries; /// - /// (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + /// (Set) An optional list of libraries to be installed on the cluster that will execute the job. /// public InputList Libraries { diff --git a/sdk/dotnet/Inputs/JobTaskConditionTaskArgs.cs b/sdk/dotnet/Inputs/JobTaskConditionTaskArgs.cs index 65fefe9d..d0793c9b 100644 --- a/sdk/dotnet/Inputs/JobTaskConditionTaskArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskConditionTaskArgs.cs @@ -15,22 +15,22 @@ public sealed class JobTaskConditionTaskArgs : global::Pulumi.ResourceArgs /// /// The left operand of the condition task. It could be a string value, job state, or a parameter reference. /// - [Input("left")] - public Input? Left { get; set; } + [Input("left", required: true)] + public Input Left { get; set; } = null!; /// /// 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. /// - [Input("op")] - public Input? Op { get; set; } + [Input("op", required: true)] + public Input Op { get; set; } = null!; /// /// The right operand of the condition task. It could be a string value, job state, or parameter reference. /// - [Input("right")] - public Input? Right { get; set; } + [Input("right", required: true)] + public Input Right { get; set; } = null!; public JobTaskConditionTaskArgs() { diff --git a/sdk/dotnet/Inputs/JobTaskConditionTaskGetArgs.cs b/sdk/dotnet/Inputs/JobTaskConditionTaskGetArgs.cs index 4d6a9fdd..16c42360 100644 --- a/sdk/dotnet/Inputs/JobTaskConditionTaskGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskConditionTaskGetArgs.cs @@ -15,22 +15,22 @@ public sealed class JobTaskConditionTaskGetArgs : global::Pulumi.ResourceArgs /// /// The left operand of the condition task. It could be a string value, job state, or a parameter reference. /// - [Input("left")] - public Input? Left { get; set; } + [Input("left", required: true)] + public Input Left { get; set; } = null!; /// /// 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. /// - [Input("op")] - public Input? Op { get; set; } + [Input("op", required: true)] + public Input Op { get; set; } = null!; /// /// The right operand of the condition task. It could be a string value, job state, or parameter reference. /// - [Input("right")] - public Input? Right { get; set; } + [Input("right", required: true)] + public Input Right { get; set; } = null!; public JobTaskConditionTaskGetArgs() { diff --git a/sdk/dotnet/Inputs/JobTaskEmailNotificationsArgs.cs b/sdk/dotnet/Inputs/JobTaskEmailNotificationsArgs.cs index 5f775af0..2e91f0a9 100644 --- a/sdk/dotnet/Inputs/JobTaskEmailNotificationsArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskEmailNotificationsArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.Databricks.Inputs public sealed class JobTaskEmailNotificationsArgs : global::Pulumi.ResourceArgs { + /// + /// (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + /// + [Input("noAlertForSkippedRuns")] + public Input? NoAlertForSkippedRuns { get; set; } + [Input("onDurationWarningThresholdExceededs")] private InputList? _onDurationWarningThresholdExceededs; diff --git a/sdk/dotnet/Inputs/JobTaskEmailNotificationsGetArgs.cs b/sdk/dotnet/Inputs/JobTaskEmailNotificationsGetArgs.cs index f9af0ca5..63a3dfce 100644 --- a/sdk/dotnet/Inputs/JobTaskEmailNotificationsGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskEmailNotificationsGetArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.Databricks.Inputs public sealed class JobTaskEmailNotificationsGetArgs : global::Pulumi.ResourceArgs { + /// + /// (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + /// + [Input("noAlertForSkippedRuns")] + public Input? NoAlertForSkippedRuns { get; set; } + [Input("onDurationWarningThresholdExceededs")] private InputList? _onDurationWarningThresholdExceededs; diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskArgs.cs index a4e9cedd..be97db7b 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskArgs.cs @@ -64,7 +64,7 @@ public InputList DependsOns private InputList? _libraries; /// - /// (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + /// (Set) An optional list of libraries to be installed on the cluster that will execute the job. /// public InputList Libraries { diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskConditionTaskArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskConditionTaskArgs.cs index 92a5822f..d01b60ca 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskConditionTaskArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskConditionTaskArgs.cs @@ -15,22 +15,22 @@ public sealed class JobTaskForEachTaskTaskConditionTaskArgs : global::Pulumi.Res /// /// The left operand of the condition task. It could be a string value, job state, or a parameter reference. /// - [Input("left")] - public Input? Left { get; set; } + [Input("left", required: true)] + public Input Left { get; set; } = null!; /// /// 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. /// - [Input("op")] - public Input? Op { get; set; } + [Input("op", required: true)] + public Input Op { get; set; } = null!; /// /// The right operand of the condition task. It could be a string value, job state, or parameter reference. /// - [Input("right")] - public Input? Right { get; set; } + [Input("right", required: true)] + public Input Right { get; set; } = null!; public JobTaskForEachTaskTaskConditionTaskArgs() { diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskConditionTaskGetArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskConditionTaskGetArgs.cs index 9fe521f7..97ddbbcb 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskConditionTaskGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskConditionTaskGetArgs.cs @@ -15,22 +15,22 @@ public sealed class JobTaskForEachTaskTaskConditionTaskGetArgs : global::Pulumi. /// /// The left operand of the condition task. It could be a string value, job state, or a parameter reference. /// - [Input("left")] - public Input? Left { get; set; } + [Input("left", required: true)] + public Input Left { get; set; } = null!; /// /// 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. /// - [Input("op")] - public Input? Op { get; set; } + [Input("op", required: true)] + public Input Op { get; set; } = null!; /// /// The right operand of the condition task. It could be a string value, job state, or parameter reference. /// - [Input("right")] - public Input? Right { get; set; } + [Input("right", required: true)] + public Input Right { get; set; } = null!; public JobTaskForEachTaskTaskConditionTaskGetArgs() { diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskEmailNotificationsArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskEmailNotificationsArgs.cs index 511a5531..83e9b261 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskEmailNotificationsArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskEmailNotificationsArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.Databricks.Inputs public sealed class JobTaskForEachTaskTaskEmailNotificationsArgs : global::Pulumi.ResourceArgs { + /// + /// (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + /// + [Input("noAlertForSkippedRuns")] + public Input? NoAlertForSkippedRuns { get; set; } + [Input("onDurationWarningThresholdExceededs")] private InputList? _onDurationWarningThresholdExceededs; diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskEmailNotificationsGetArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskEmailNotificationsGetArgs.cs index 9079c327..b242b090 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskEmailNotificationsGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskEmailNotificationsGetArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.Databricks.Inputs public sealed class JobTaskForEachTaskTaskEmailNotificationsGetArgs : global::Pulumi.ResourceArgs { + /// + /// (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + /// + [Input("noAlertForSkippedRuns")] + public Input? NoAlertForSkippedRuns { get; set; } + [Input("onDurationWarningThresholdExceededs")] private InputList? _onDurationWarningThresholdExceededs; diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskGetArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskGetArgs.cs index e388d3e6..f1288a1b 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskGetArgs.cs @@ -64,7 +64,7 @@ public InputList DependsOns private InputList? _libraries; /// - /// (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + /// (Set) An optional list of libraries to be installed on the cluster that will execute the job. /// public InputList Libraries { diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs index b1b529a3..6eaed235 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs @@ -17,8 +17,8 @@ public sealed class JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningT /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs() { diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededGetArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededGetArgs.cs index 9e7e5579..23439dd5 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededGetArgs.cs @@ -17,8 +17,8 @@ public sealed class JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningT /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededGetArgs() { diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs.cs index 752f7ce3..40b34ff6 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs.cs @@ -17,8 +17,8 @@ public sealed class JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs : gl /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs() { diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnFailureGetArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnFailureGetArgs.cs index 429ae1ea..58fe9261 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnFailureGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnFailureGetArgs.cs @@ -17,8 +17,8 @@ public sealed class JobTaskForEachTaskTaskWebhookNotificationsOnFailureGetArgs : /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobTaskForEachTaskTaskWebhookNotificationsOnFailureGetArgs() { diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs.cs index 93a8b5a6..6783ed3a 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs.cs @@ -17,8 +17,8 @@ public sealed class JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs : glob /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs() { diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnStartGetArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnStartGetArgs.cs index a2df2169..9896d53a 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnStartGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnStartGetArgs.cs @@ -17,8 +17,8 @@ public sealed class JobTaskForEachTaskTaskWebhookNotificationsOnStartGetArgs : g /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobTaskForEachTaskTaskWebhookNotificationsOnStartGetArgs() { diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs.cs index f8516142..a8314b28 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs.cs @@ -17,8 +17,8 @@ public sealed class JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs : gl /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs() { diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnSuccessGetArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnSuccessGetArgs.cs index d31af125..504693ed 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnSuccessGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskWebhookNotificationsOnSuccessGetArgs.cs @@ -17,8 +17,8 @@ public sealed class JobTaskForEachTaskTaskWebhookNotificationsOnSuccessGetArgs : /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobTaskForEachTaskTaskWebhookNotificationsOnSuccessGetArgs() { diff --git a/sdk/dotnet/Inputs/JobTaskGetArgs.cs b/sdk/dotnet/Inputs/JobTaskGetArgs.cs index 4d21b4c3..9fe5f7fb 100644 --- a/sdk/dotnet/Inputs/JobTaskGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskGetArgs.cs @@ -67,7 +67,7 @@ public InputList DependsOns private InputList? _libraries; /// - /// (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + /// (Set) An optional list of libraries to be installed on the cluster that will execute the job. /// public InputList Libraries { diff --git a/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs b/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs index 12690cd2..9ee14de9 100644 --- a/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs @@ -17,8 +17,8 @@ public sealed class JobTaskWebhookNotificationsOnDurationWarningThresholdExceede /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs() { diff --git a/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnDurationWarningThresholdExceededGetArgs.cs b/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnDurationWarningThresholdExceededGetArgs.cs index 2121397a..8edff2b5 100644 --- a/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnDurationWarningThresholdExceededGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnDurationWarningThresholdExceededGetArgs.cs @@ -17,8 +17,8 @@ public sealed class JobTaskWebhookNotificationsOnDurationWarningThresholdExceede /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobTaskWebhookNotificationsOnDurationWarningThresholdExceededGetArgs() { diff --git a/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnFailureArgs.cs b/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnFailureArgs.cs index 8486b646..5b781532 100644 --- a/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnFailureArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnFailureArgs.cs @@ -17,8 +17,8 @@ public sealed class JobTaskWebhookNotificationsOnFailureArgs : global::Pulumi.Re /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobTaskWebhookNotificationsOnFailureArgs() { diff --git a/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnFailureGetArgs.cs b/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnFailureGetArgs.cs index ceb1f28d..d5f71249 100644 --- a/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnFailureGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnFailureGetArgs.cs @@ -17,8 +17,8 @@ public sealed class JobTaskWebhookNotificationsOnFailureGetArgs : global::Pulumi /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobTaskWebhookNotificationsOnFailureGetArgs() { diff --git a/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnStartArgs.cs b/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnStartArgs.cs index df1f7f93..da855714 100644 --- a/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnStartArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnStartArgs.cs @@ -17,8 +17,8 @@ public sealed class JobTaskWebhookNotificationsOnStartArgs : global::Pulumi.Reso /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobTaskWebhookNotificationsOnStartArgs() { diff --git a/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnStartGetArgs.cs b/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnStartGetArgs.cs index 69e36170..3015835d 100644 --- a/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnStartGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnStartGetArgs.cs @@ -17,8 +17,8 @@ public sealed class JobTaskWebhookNotificationsOnStartGetArgs : global::Pulumi.R /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobTaskWebhookNotificationsOnStartGetArgs() { diff --git a/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnSuccessArgs.cs b/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnSuccessArgs.cs index 9fd2b562..b0ff3ddf 100644 --- a/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnSuccessArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnSuccessArgs.cs @@ -17,8 +17,8 @@ public sealed class JobTaskWebhookNotificationsOnSuccessArgs : global::Pulumi.Re /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobTaskWebhookNotificationsOnSuccessArgs() { diff --git a/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnSuccessGetArgs.cs b/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnSuccessGetArgs.cs index 6e1c8e15..b964c933 100644 --- a/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnSuccessGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskWebhookNotificationsOnSuccessGetArgs.cs @@ -17,8 +17,8 @@ public sealed class JobTaskWebhookNotificationsOnSuccessGetArgs : global::Pulumi /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobTaskWebhookNotificationsOnSuccessGetArgs() { diff --git a/sdk/dotnet/Inputs/JobTriggerArgs.cs b/sdk/dotnet/Inputs/JobTriggerArgs.cs index f9ecdfb7..8ff8c8d3 100644 --- a/sdk/dotnet/Inputs/JobTriggerArgs.cs +++ b/sdk/dotnet/Inputs/JobTriggerArgs.cs @@ -15,8 +15,8 @@ public sealed class JobTriggerArgs : global::Pulumi.ResourceArgs /// /// 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: /// - [Input("fileArrival", required: true)] - public Input FileArrival { get; set; } = null!; + [Input("fileArrival")] + public Input? FileArrival { get; set; } /// /// 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`. @@ -24,6 +24,12 @@ public sealed class JobTriggerArgs : global::Pulumi.ResourceArgs [Input("pauseStatus")] public Input? PauseStatus { get; set; } + /// + /// configuration block to define a trigger for Table Update events consisting of following attributes: + /// + [Input("tableUpdate")] + public Input? TableUpdate { get; set; } + public JobTriggerArgs() { } diff --git a/sdk/dotnet/Inputs/JobTriggerGetArgs.cs b/sdk/dotnet/Inputs/JobTriggerGetArgs.cs index f31a611c..ba4e56af 100644 --- a/sdk/dotnet/Inputs/JobTriggerGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTriggerGetArgs.cs @@ -15,8 +15,8 @@ public sealed class JobTriggerGetArgs : global::Pulumi.ResourceArgs /// /// 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: /// - [Input("fileArrival", required: true)] - public Input FileArrival { get; set; } = null!; + [Input("fileArrival")] + public Input? FileArrival { get; set; } /// /// 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`. @@ -24,6 +24,12 @@ public sealed class JobTriggerGetArgs : global::Pulumi.ResourceArgs [Input("pauseStatus")] public Input? PauseStatus { get; set; } + /// + /// configuration block to define a trigger for Table Update events consisting of following attributes: + /// + [Input("tableUpdate")] + public Input? TableUpdate { get; set; } + public JobTriggerGetArgs() { } diff --git a/sdk/dotnet/Inputs/JobTriggerTableUpdateArgs.cs b/sdk/dotnet/Inputs/JobTriggerTableUpdateArgs.cs new file mode 100644 index 00000000..880dae24 --- /dev/null +++ b/sdk/dotnet/Inputs/JobTriggerTableUpdateArgs.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 JobTriggerTableUpdateArgs : global::Pulumi.ResourceArgs + { + /// + /// The table(s) condition based on which to trigger a job run. Valid values are `ANY_UPDATED` or `ALL_UPDATED`. + /// + [Input("condition")] + public Input? Condition { get; 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. + /// + [Input("minTimeBetweenTriggersSeconds")] + public Input? MinTimeBetweenTriggersSeconds { get; set; } + + [Input("tableNames", required: true)] + private InputList? _tableNames; + + /// + /// A list of Delta tables to monitor for changes. The table name must be in the format `catalog_name.schema_name.table_name`. + /// + public InputList TableNames + { + get => _tableNames ?? (_tableNames = new InputList()); + set => _tableNames = value; + } + + /// + /// 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. + /// + [Input("waitAfterLastChangeSeconds")] + public Input? WaitAfterLastChangeSeconds { get; set; } + + public JobTriggerTableUpdateArgs() + { + } + public static new JobTriggerTableUpdateArgs Empty => new JobTriggerTableUpdateArgs(); + } +} diff --git a/sdk/dotnet/Inputs/JobTriggerTableUpdateGetArgs.cs b/sdk/dotnet/Inputs/JobTriggerTableUpdateGetArgs.cs new file mode 100644 index 00000000..dff5431c --- /dev/null +++ b/sdk/dotnet/Inputs/JobTriggerTableUpdateGetArgs.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 JobTriggerTableUpdateGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The table(s) condition based on which to trigger a job run. Valid values are `ANY_UPDATED` or `ALL_UPDATED`. + /// + [Input("condition")] + public Input? Condition { get; 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. + /// + [Input("minTimeBetweenTriggersSeconds")] + public Input? MinTimeBetweenTriggersSeconds { get; set; } + + [Input("tableNames", required: true)] + private InputList? _tableNames; + + /// + /// A list of Delta tables to monitor for changes. The table name must be in the format `catalog_name.schema_name.table_name`. + /// + public InputList TableNames + { + get => _tableNames ?? (_tableNames = new InputList()); + set => _tableNames = value; + } + + /// + /// 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. + /// + [Input("waitAfterLastChangeSeconds")] + public Input? WaitAfterLastChangeSeconds { get; set; } + + public JobTriggerTableUpdateGetArgs() + { + } + public static new JobTriggerTableUpdateGetArgs Empty => new JobTriggerTableUpdateGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/JobWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs b/sdk/dotnet/Inputs/JobWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs index 6f6c09c8..12e35696 100644 --- a/sdk/dotnet/Inputs/JobWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs +++ b/sdk/dotnet/Inputs/JobWebhookNotificationsOnDurationWarningThresholdExceededArgs.cs @@ -17,8 +17,8 @@ public sealed class JobWebhookNotificationsOnDurationWarningThresholdExceededArg /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobWebhookNotificationsOnDurationWarningThresholdExceededArgs() { diff --git a/sdk/dotnet/Inputs/JobWebhookNotificationsOnDurationWarningThresholdExceededGetArgs.cs b/sdk/dotnet/Inputs/JobWebhookNotificationsOnDurationWarningThresholdExceededGetArgs.cs index f012e700..74d782f5 100644 --- a/sdk/dotnet/Inputs/JobWebhookNotificationsOnDurationWarningThresholdExceededGetArgs.cs +++ b/sdk/dotnet/Inputs/JobWebhookNotificationsOnDurationWarningThresholdExceededGetArgs.cs @@ -17,8 +17,8 @@ public sealed class JobWebhookNotificationsOnDurationWarningThresholdExceededGet /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobWebhookNotificationsOnDurationWarningThresholdExceededGetArgs() { diff --git a/sdk/dotnet/Inputs/JobWebhookNotificationsOnFailureArgs.cs b/sdk/dotnet/Inputs/JobWebhookNotificationsOnFailureArgs.cs index d4286751..4f8598a6 100644 --- a/sdk/dotnet/Inputs/JobWebhookNotificationsOnFailureArgs.cs +++ b/sdk/dotnet/Inputs/JobWebhookNotificationsOnFailureArgs.cs @@ -17,8 +17,8 @@ public sealed class JobWebhookNotificationsOnFailureArgs : global::Pulumi.Resour /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobWebhookNotificationsOnFailureArgs() { diff --git a/sdk/dotnet/Inputs/JobWebhookNotificationsOnFailureGetArgs.cs b/sdk/dotnet/Inputs/JobWebhookNotificationsOnFailureGetArgs.cs index 40c8c570..66b72263 100644 --- a/sdk/dotnet/Inputs/JobWebhookNotificationsOnFailureGetArgs.cs +++ b/sdk/dotnet/Inputs/JobWebhookNotificationsOnFailureGetArgs.cs @@ -17,8 +17,8 @@ public sealed class JobWebhookNotificationsOnFailureGetArgs : global::Pulumi.Res /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobWebhookNotificationsOnFailureGetArgs() { diff --git a/sdk/dotnet/Inputs/JobWebhookNotificationsOnStartArgs.cs b/sdk/dotnet/Inputs/JobWebhookNotificationsOnStartArgs.cs index 847b7369..10e377d7 100644 --- a/sdk/dotnet/Inputs/JobWebhookNotificationsOnStartArgs.cs +++ b/sdk/dotnet/Inputs/JobWebhookNotificationsOnStartArgs.cs @@ -17,8 +17,8 @@ public sealed class JobWebhookNotificationsOnStartArgs : global::Pulumi.Resource /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobWebhookNotificationsOnStartArgs() { diff --git a/sdk/dotnet/Inputs/JobWebhookNotificationsOnStartGetArgs.cs b/sdk/dotnet/Inputs/JobWebhookNotificationsOnStartGetArgs.cs index c7c4cb11..7a5a9bca 100644 --- a/sdk/dotnet/Inputs/JobWebhookNotificationsOnStartGetArgs.cs +++ b/sdk/dotnet/Inputs/JobWebhookNotificationsOnStartGetArgs.cs @@ -17,8 +17,8 @@ public sealed class JobWebhookNotificationsOnStartGetArgs : global::Pulumi.Resou /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobWebhookNotificationsOnStartGetArgs() { diff --git a/sdk/dotnet/Inputs/JobWebhookNotificationsOnSuccessArgs.cs b/sdk/dotnet/Inputs/JobWebhookNotificationsOnSuccessArgs.cs index 87cab313..08bef572 100644 --- a/sdk/dotnet/Inputs/JobWebhookNotificationsOnSuccessArgs.cs +++ b/sdk/dotnet/Inputs/JobWebhookNotificationsOnSuccessArgs.cs @@ -17,8 +17,8 @@ public sealed class JobWebhookNotificationsOnSuccessArgs : global::Pulumi.Resour /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobWebhookNotificationsOnSuccessArgs() { diff --git a/sdk/dotnet/Inputs/JobWebhookNotificationsOnSuccessGetArgs.cs b/sdk/dotnet/Inputs/JobWebhookNotificationsOnSuccessGetArgs.cs index ecb51b1f..3232c08b 100644 --- a/sdk/dotnet/Inputs/JobWebhookNotificationsOnSuccessGetArgs.cs +++ b/sdk/dotnet/Inputs/JobWebhookNotificationsOnSuccessGetArgs.cs @@ -17,8 +17,8 @@ public sealed class JobWebhookNotificationsOnSuccessGetArgs : global::Pulumi.Res /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - [Input("id")] - public Input? Id { get; set; } + [Input("id", required: true)] + public Input Id { get; set; } = null!; public JobWebhookNotificationsOnSuccessGetArgs() { diff --git a/sdk/dotnet/Inputs/LakehouseMonitorCustomMetricArgs.cs b/sdk/dotnet/Inputs/LakehouseMonitorCustomMetricArgs.cs new file mode 100644 index 00000000..3903be48 --- /dev/null +++ b/sdk/dotnet/Inputs/LakehouseMonitorCustomMetricArgs.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 LakehouseMonitorCustomMetricArgs : global::Pulumi.ResourceArgs + { + /// + /// [create metric definition]: https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition + /// + [Input("definition")] + public Input? Definition { get; set; } + + [Input("inputColumns")] + private InputList? _inputColumns; + + /// + /// Columns on the monitored table to apply the custom metrics to. + /// + public InputList InputColumns + { + get => _inputColumns ?? (_inputColumns = new InputList()); + set => _inputColumns = value; + } + + /// + /// Name of the custom metric. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The output type of the custom metric. + /// + [Input("outputDataType")] + public Input? OutputDataType { get; set; } + + /// + /// The type of the custom metric. + /// + [Input("type")] + public Input? Type { get; set; } + + public LakehouseMonitorCustomMetricArgs() + { + } + public static new LakehouseMonitorCustomMetricArgs Empty => new LakehouseMonitorCustomMetricArgs(); + } +} diff --git a/sdk/dotnet/Inputs/LakehouseMonitorCustomMetricGetArgs.cs b/sdk/dotnet/Inputs/LakehouseMonitorCustomMetricGetArgs.cs new file mode 100644 index 00000000..1dcdf698 --- /dev/null +++ b/sdk/dotnet/Inputs/LakehouseMonitorCustomMetricGetArgs.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 LakehouseMonitorCustomMetricGetArgs : global::Pulumi.ResourceArgs + { + /// + /// [create metric definition]: https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition + /// + [Input("definition")] + public Input? Definition { get; set; } + + [Input("inputColumns")] + private InputList? _inputColumns; + + /// + /// Columns on the monitored table to apply the custom metrics to. + /// + public InputList InputColumns + { + get => _inputColumns ?? (_inputColumns = new InputList()); + set => _inputColumns = value; + } + + /// + /// Name of the custom metric. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The output type of the custom metric. + /// + [Input("outputDataType")] + public Input? OutputDataType { get; set; } + + /// + /// The type of the custom metric. + /// + [Input("type")] + public Input? Type { get; set; } + + public LakehouseMonitorCustomMetricGetArgs() + { + } + public static new LakehouseMonitorCustomMetricGetArgs Empty => new LakehouseMonitorCustomMetricGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/LakehouseMonitorDataClassificationConfigArgs.cs b/sdk/dotnet/Inputs/LakehouseMonitorDataClassificationConfigArgs.cs new file mode 100644 index 00000000..d4f4c12d --- /dev/null +++ b/sdk/dotnet/Inputs/LakehouseMonitorDataClassificationConfigArgs.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 LakehouseMonitorDataClassificationConfigArgs : global::Pulumi.ResourceArgs + { + [Input("enabled")] + public Input? Enabled { get; set; } + + public LakehouseMonitorDataClassificationConfigArgs() + { + } + public static new LakehouseMonitorDataClassificationConfigArgs Empty => new LakehouseMonitorDataClassificationConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/LakehouseMonitorDataClassificationConfigGetArgs.cs b/sdk/dotnet/Inputs/LakehouseMonitorDataClassificationConfigGetArgs.cs new file mode 100644 index 00000000..102dd156 --- /dev/null +++ b/sdk/dotnet/Inputs/LakehouseMonitorDataClassificationConfigGetArgs.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 LakehouseMonitorDataClassificationConfigGetArgs : global::Pulumi.ResourceArgs + { + [Input("enabled")] + public Input? Enabled { get; set; } + + public LakehouseMonitorDataClassificationConfigGetArgs() + { + } + public static new LakehouseMonitorDataClassificationConfigGetArgs Empty => new LakehouseMonitorDataClassificationConfigGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/LakehouseMonitorInferenceLogArgs.cs b/sdk/dotnet/Inputs/LakehouseMonitorInferenceLogArgs.cs new file mode 100644 index 00000000..33e35170 --- /dev/null +++ b/sdk/dotnet/Inputs/LakehouseMonitorInferenceLogArgs.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.Inputs +{ + + public sealed class LakehouseMonitorInferenceLogArgs : global::Pulumi.ResourceArgs + { + [Input("granularities")] + private InputList? _granularities; + + /// + /// List of granularities to use when aggregating data into time windows based on their timestamp. + /// + public InputList Granularities + { + get => _granularities ?? (_granularities = new InputList()); + set => _granularities = value; + } + + /// + /// Column of the model label + /// + [Input("labelCol")] + public Input? LabelCol { get; set; } + + /// + /// Column of the model id or version + /// + [Input("modelIdCol")] + public Input? ModelIdCol { get; set; } + + /// + /// Column of the model prediction + /// + [Input("predictionCol")] + public Input? PredictionCol { get; set; } + + /// + /// Column of the model prediction probabilities + /// + [Input("predictionProbaCol")] + public Input? PredictionProbaCol { get; set; } + + /// + /// Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + /// + [Input("problemType")] + public Input? ProblemType { get; set; } + + /// + /// Column of the timestamp of predictions + /// + [Input("timestampCol")] + public Input? TimestampCol { get; set; } + + public LakehouseMonitorInferenceLogArgs() + { + } + public static new LakehouseMonitorInferenceLogArgs Empty => new LakehouseMonitorInferenceLogArgs(); + } +} diff --git a/sdk/dotnet/Inputs/LakehouseMonitorInferenceLogGetArgs.cs b/sdk/dotnet/Inputs/LakehouseMonitorInferenceLogGetArgs.cs new file mode 100644 index 00000000..c773a779 --- /dev/null +++ b/sdk/dotnet/Inputs/LakehouseMonitorInferenceLogGetArgs.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.Inputs +{ + + public sealed class LakehouseMonitorInferenceLogGetArgs : global::Pulumi.ResourceArgs + { + [Input("granularities")] + private InputList? _granularities; + + /// + /// List of granularities to use when aggregating data into time windows based on their timestamp. + /// + public InputList Granularities + { + get => _granularities ?? (_granularities = new InputList()); + set => _granularities = value; + } + + /// + /// Column of the model label + /// + [Input("labelCol")] + public Input? LabelCol { get; set; } + + /// + /// Column of the model id or version + /// + [Input("modelIdCol")] + public Input? ModelIdCol { get; set; } + + /// + /// Column of the model prediction + /// + [Input("predictionCol")] + public Input? PredictionCol { get; set; } + + /// + /// Column of the model prediction probabilities + /// + [Input("predictionProbaCol")] + public Input? PredictionProbaCol { get; set; } + + /// + /// Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + /// + [Input("problemType")] + public Input? ProblemType { get; set; } + + /// + /// Column of the timestamp of predictions + /// + [Input("timestampCol")] + public Input? TimestampCol { get; set; } + + public LakehouseMonitorInferenceLogGetArgs() + { + } + public static new LakehouseMonitorInferenceLogGetArgs Empty => new LakehouseMonitorInferenceLogGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/LakehouseMonitorNotificationsArgs.cs b/sdk/dotnet/Inputs/LakehouseMonitorNotificationsArgs.cs new file mode 100644 index 00000000..de59b8bb --- /dev/null +++ b/sdk/dotnet/Inputs/LakehouseMonitorNotificationsArgs.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 LakehouseMonitorNotificationsArgs : global::Pulumi.ResourceArgs + { + [Input("onFailure")] + public Input? OnFailure { get; set; } + + public LakehouseMonitorNotificationsArgs() + { + } + public static new LakehouseMonitorNotificationsArgs Empty => new LakehouseMonitorNotificationsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/LakehouseMonitorNotificationsGetArgs.cs b/sdk/dotnet/Inputs/LakehouseMonitorNotificationsGetArgs.cs new file mode 100644 index 00000000..d2e53fbb --- /dev/null +++ b/sdk/dotnet/Inputs/LakehouseMonitorNotificationsGetArgs.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 LakehouseMonitorNotificationsGetArgs : global::Pulumi.ResourceArgs + { + [Input("onFailure")] + public Input? OnFailure { get; set; } + + public LakehouseMonitorNotificationsGetArgs() + { + } + public static new LakehouseMonitorNotificationsGetArgs Empty => new LakehouseMonitorNotificationsGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/LakehouseMonitorNotificationsOnFailureArgs.cs b/sdk/dotnet/Inputs/LakehouseMonitorNotificationsOnFailureArgs.cs new file mode 100644 index 00000000..0fff7b30 --- /dev/null +++ b/sdk/dotnet/Inputs/LakehouseMonitorNotificationsOnFailureArgs.cs @@ -0,0 +1,28 @@ +// *** 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 LakehouseMonitorNotificationsOnFailureArgs : global::Pulumi.ResourceArgs + { + [Input("emailAddresses")] + private InputList? _emailAddresses; + public InputList EmailAddresses + { + get => _emailAddresses ?? (_emailAddresses = new InputList()); + set => _emailAddresses = value; + } + + public LakehouseMonitorNotificationsOnFailureArgs() + { + } + public static new LakehouseMonitorNotificationsOnFailureArgs Empty => new LakehouseMonitorNotificationsOnFailureArgs(); + } +} diff --git a/sdk/dotnet/Inputs/LakehouseMonitorNotificationsOnFailureGetArgs.cs b/sdk/dotnet/Inputs/LakehouseMonitorNotificationsOnFailureGetArgs.cs new file mode 100644 index 00000000..12645ef1 --- /dev/null +++ b/sdk/dotnet/Inputs/LakehouseMonitorNotificationsOnFailureGetArgs.cs @@ -0,0 +1,28 @@ +// *** 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 LakehouseMonitorNotificationsOnFailureGetArgs : global::Pulumi.ResourceArgs + { + [Input("emailAddresses")] + private InputList? _emailAddresses; + public InputList EmailAddresses + { + get => _emailAddresses ?? (_emailAddresses = new InputList()); + set => _emailAddresses = value; + } + + public LakehouseMonitorNotificationsOnFailureGetArgs() + { + } + public static new LakehouseMonitorNotificationsOnFailureGetArgs Empty => new LakehouseMonitorNotificationsOnFailureGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/LakehouseMonitorScheduleArgs.cs b/sdk/dotnet/Inputs/LakehouseMonitorScheduleArgs.cs new file mode 100644 index 00000000..894e56fd --- /dev/null +++ b/sdk/dotnet/Inputs/LakehouseMonitorScheduleArgs.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 LakehouseMonitorScheduleArgs : global::Pulumi.ResourceArgs + { + [Input("pauseStatus")] + public Input? PauseStatus { get; set; } + + [Input("quartzCronExpression")] + public Input? QuartzCronExpression { get; set; } + + [Input("timezoneId")] + public Input? TimezoneId { get; set; } + + public LakehouseMonitorScheduleArgs() + { + } + public static new LakehouseMonitorScheduleArgs Empty => new LakehouseMonitorScheduleArgs(); + } +} diff --git a/sdk/dotnet/Inputs/LakehouseMonitorScheduleGetArgs.cs b/sdk/dotnet/Inputs/LakehouseMonitorScheduleGetArgs.cs new file mode 100644 index 00000000..273e63e2 --- /dev/null +++ b/sdk/dotnet/Inputs/LakehouseMonitorScheduleGetArgs.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 LakehouseMonitorScheduleGetArgs : global::Pulumi.ResourceArgs + { + [Input("pauseStatus")] + public Input? PauseStatus { get; set; } + + [Input("quartzCronExpression")] + public Input? QuartzCronExpression { get; set; } + + [Input("timezoneId")] + public Input? TimezoneId { get; set; } + + public LakehouseMonitorScheduleGetArgs() + { + } + public static new LakehouseMonitorScheduleGetArgs Empty => new LakehouseMonitorScheduleGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/LakehouseMonitorSnapshotArgs.cs b/sdk/dotnet/Inputs/LakehouseMonitorSnapshotArgs.cs new file mode 100644 index 00000000..e3a126c8 --- /dev/null +++ b/sdk/dotnet/Inputs/LakehouseMonitorSnapshotArgs.cs @@ -0,0 +1,20 @@ +// *** 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 LakehouseMonitorSnapshotArgs : global::Pulumi.ResourceArgs + { + public LakehouseMonitorSnapshotArgs() + { + } + public static new LakehouseMonitorSnapshotArgs Empty => new LakehouseMonitorSnapshotArgs(); + } +} diff --git a/sdk/dotnet/Inputs/LakehouseMonitorSnapshotGetArgs.cs b/sdk/dotnet/Inputs/LakehouseMonitorSnapshotGetArgs.cs new file mode 100644 index 00000000..589f7734 --- /dev/null +++ b/sdk/dotnet/Inputs/LakehouseMonitorSnapshotGetArgs.cs @@ -0,0 +1,20 @@ +// *** 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 LakehouseMonitorSnapshotGetArgs : global::Pulumi.ResourceArgs + { + public LakehouseMonitorSnapshotGetArgs() + { + } + public static new LakehouseMonitorSnapshotGetArgs Empty => new LakehouseMonitorSnapshotGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/LakehouseMonitorTimeSeriesArgs.cs b/sdk/dotnet/Inputs/LakehouseMonitorTimeSeriesArgs.cs new file mode 100644 index 00000000..8b40bfdb --- /dev/null +++ b/sdk/dotnet/Inputs/LakehouseMonitorTimeSeriesArgs.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 LakehouseMonitorTimeSeriesArgs : global::Pulumi.ResourceArgs + { + [Input("granularities")] + private InputList? _granularities; + + /// + /// List of granularities to use when aggregating data into time windows based on their timestamp. + /// + public InputList Granularities + { + get => _granularities ?? (_granularities = new InputList()); + set => _granularities = value; + } + + /// + /// Column of the timestamp of predictions + /// + [Input("timestampCol")] + public Input? TimestampCol { get; set; } + + public LakehouseMonitorTimeSeriesArgs() + { + } + public static new LakehouseMonitorTimeSeriesArgs Empty => new LakehouseMonitorTimeSeriesArgs(); + } +} diff --git a/sdk/dotnet/Inputs/LakehouseMonitorTimeSeriesGetArgs.cs b/sdk/dotnet/Inputs/LakehouseMonitorTimeSeriesGetArgs.cs new file mode 100644 index 00000000..dd5e1fb5 --- /dev/null +++ b/sdk/dotnet/Inputs/LakehouseMonitorTimeSeriesGetArgs.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 LakehouseMonitorTimeSeriesGetArgs : global::Pulumi.ResourceArgs + { + [Input("granularities")] + private InputList? _granularities; + + /// + /// List of granularities to use when aggregating data into time windows based on their timestamp. + /// + public InputList Granularities + { + get => _granularities ?? (_granularities = new InputList()); + set => _granularities = value; + } + + /// + /// Column of the timestamp of predictions + /// + [Input("timestampCol")] + public Input? TimestampCol { get; set; } + + public LakehouseMonitorTimeSeriesGetArgs() + { + } + public static new LakehouseMonitorTimeSeriesGetArgs Empty => new LakehouseMonitorTimeSeriesGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ModelServingConfigArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigArgs.cs index 84309b87..5fb879d5 100644 --- a/sdk/dotnet/Inputs/ModelServingConfigArgs.cs +++ b/sdk/dotnet/Inputs/ModelServingConfigArgs.cs @@ -12,15 +12,31 @@ namespace Pulumi.Databricks.Inputs public sealed class ModelServingConfigArgs : global::Pulumi.ResourceArgs { + /// + /// Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. + /// [Input("autoCaptureConfig")] public Input? AutoCaptureConfig { get; set; } + [Input("servedEntities")] + private InputList? _servedEntities; + + /// + /// A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. + /// + public InputList ServedEntities + { + get => _servedEntities ?? (_servedEntities = new InputList()); + set => _servedEntities = value; + } + [Input("servedModels")] private InputList? _servedModels; /// /// Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. /// + [Obsolete(@"Please use 'config.served_entities' instead of 'config.served_models'.")] public InputList ServedModels { get => _servedModels ?? (_servedModels = new InputList()); diff --git a/sdk/dotnet/Inputs/ModelServingConfigAutoCaptureConfigArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigAutoCaptureConfigArgs.cs index f9660332..c7536521 100644 --- a/sdk/dotnet/Inputs/ModelServingConfigAutoCaptureConfigArgs.cs +++ b/sdk/dotnet/Inputs/ModelServingConfigAutoCaptureConfigArgs.cs @@ -12,15 +12,27 @@ namespace Pulumi.Databricks.Inputs public sealed class ModelServingConfigAutoCaptureConfigArgs : global::Pulumi.ResourceArgs { + /// + /// The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. + /// [Input("catalogName")] public Input? CatalogName { get; set; } + /// + /// If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable again. + /// [Input("enabled")] public Input? Enabled { get; set; } + /// + /// The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + /// [Input("schemaName")] public Input? SchemaName { get; set; } + /// + /// The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. + /// [Input("tableNamePrefix")] public Input? TableNamePrefix { get; set; } diff --git a/sdk/dotnet/Inputs/ModelServingConfigAutoCaptureConfigGetArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigAutoCaptureConfigGetArgs.cs index 1c3dcacb..c4de4953 100644 --- a/sdk/dotnet/Inputs/ModelServingConfigAutoCaptureConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ModelServingConfigAutoCaptureConfigGetArgs.cs @@ -12,15 +12,27 @@ namespace Pulumi.Databricks.Inputs public sealed class ModelServingConfigAutoCaptureConfigGetArgs : global::Pulumi.ResourceArgs { + /// + /// The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. + /// [Input("catalogName")] public Input? CatalogName { get; set; } + /// + /// If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable again. + /// [Input("enabled")] public Input? Enabled { get; set; } + /// + /// The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + /// [Input("schemaName")] public Input? SchemaName { get; set; } + /// + /// The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. + /// [Input("tableNamePrefix")] public Input? TableNamePrefix { get; set; } diff --git a/sdk/dotnet/Inputs/ModelServingConfigGetArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigGetArgs.cs index a4002091..5c34947d 100644 --- a/sdk/dotnet/Inputs/ModelServingConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ModelServingConfigGetArgs.cs @@ -12,15 +12,31 @@ namespace Pulumi.Databricks.Inputs public sealed class ModelServingConfigGetArgs : global::Pulumi.ResourceArgs { + /// + /// Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. + /// [Input("autoCaptureConfig")] public Input? AutoCaptureConfig { get; set; } + [Input("servedEntities")] + private InputList? _servedEntities; + + /// + /// A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. + /// + public InputList ServedEntities + { + get => _servedEntities ?? (_servedEntities = new InputList()); + set => _servedEntities = value; + } + [Input("servedModels")] private InputList? _servedModels; /// /// Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. /// + [Obsolete(@"Please use 'config.served_entities' instead of 'config.served_models'.")] public InputList ServedModels { get => _servedModels ?? (_servedModels = new InputList()); diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedEntityArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedEntityArgs.cs new file mode 100644 index 00000000..12d771f7 --- /dev/null +++ b/sdk/dotnet/Inputs/ModelServingConfigServedEntityArgs.cs @@ -0,0 +1,92 @@ +// *** 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 ModelServingConfigServedEntityArgs : global::Pulumi.ResourceArgs + { + /// + /// 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`. + /// + [Input("entityName")] + public Input? EntityName { get; set; } + + /// + /// The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. + /// + [Input("entityVersion")] + public Input? EntityVersion { get; set; } + + [Input("environmentVars")] + private InputMap? _environmentVars; + + /// + /// 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 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}}"}``` + /// + public InputMap EnvironmentVars + { + get => _environmentVars ?? (_environmentVars = new InputMap()); + set => _environmentVars = value; + } + + /// + /// 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. For an existing endpoint with `external_model`, it 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. + /// + [Input("externalModel")] + public Input? ExternalModel { get; set; } + + /// + /// ARN of the instance profile that the served entity uses to access AWS resources. + /// + [Input("instanceProfileArn")] + public Input? InstanceProfileArn { get; set; } + + /// + /// The maximum tokens per second that the endpoint can scale up to. + /// + [Input("maxProvisionedThroughput")] + public Input? MaxProvisionedThroughput { get; set; } + + /// + /// The minimum tokens per second that the endpoint can scale down to. + /// + [Input("minProvisionedThroughput")] + public Input? MinProvisionedThroughput { get; set; } + + /// + /// The name of the external model. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Whether the compute resources for the served entity should scale down to zero. + /// + [Input("scaleToZeroEnabled")] + public Input? ScaleToZeroEnabled { get; set; } + + /// + /// 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. + /// + [Input("workloadSize")] + public Input? WorkloadSize { get; set; } + + /// + /// 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). + /// + [Input("workloadType")] + public Input? WorkloadType { get; set; } + + public ModelServingConfigServedEntityArgs() + { + } + public static new ModelServingConfigServedEntityArgs Empty => new ModelServingConfigServedEntityArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAi21labsConfigArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAi21labsConfigArgs.cs new file mode 100644 index 00000000..9a6077c9 --- /dev/null +++ b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAi21labsConfigArgs.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 ModelServingConfigServedEntityExternalModelAi21labsConfigArgs : global::Pulumi.ResourceArgs + { + /// + /// The Databricks secret key reference for an AI21Labs API key. + /// + [Input("ai21labsApiKey", required: true)] + public Input Ai21labsApiKey { get; set; } = null!; + + public ModelServingConfigServedEntityExternalModelAi21labsConfigArgs() + { + } + public static new ModelServingConfigServedEntityExternalModelAi21labsConfigArgs Empty => new ModelServingConfigServedEntityExternalModelAi21labsConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAi21labsConfigGetArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAi21labsConfigGetArgs.cs new file mode 100644 index 00000000..495a29d3 --- /dev/null +++ b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAi21labsConfigGetArgs.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 ModelServingConfigServedEntityExternalModelAi21labsConfigGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The Databricks secret key reference for an AI21Labs API key. + /// + [Input("ai21labsApiKey", required: true)] + public Input Ai21labsApiKey { get; set; } = null!; + + public ModelServingConfigServedEntityExternalModelAi21labsConfigGetArgs() + { + } + public static new ModelServingConfigServedEntityExternalModelAi21labsConfigGetArgs Empty => new ModelServingConfigServedEntityExternalModelAi21labsConfigGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs.cs new file mode 100644 index 00000000..a55a397a --- /dev/null +++ b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs.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 ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs : global::Pulumi.ResourceArgs + { + /// + /// The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. + /// + [Input("awsAccessKeyId", required: true)] + public Input AwsAccessKeyId { get; set; } = null!; + + /// + /// The AWS region to use. Bedrock has to be enabled there. + /// + [Input("awsRegion", required: true)] + public Input AwsRegion { get; set; } = null!; + + /// + /// The Databricks secret key reference for an AWS Secret Access Key paired with the access key ID, with permissions to interact with Bedrock services. + /// + [Input("awsSecretAccessKey", required: true)] + public Input AwsSecretAccessKey { get; set; } = null!; + + /// + /// The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. + /// + [Input("bedrockProvider", required: true)] + public Input BedrockProvider { get; set; } = null!; + + public ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs() + { + } + public static new ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs Empty => new ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAmazonBedrockConfigGetArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAmazonBedrockConfigGetArgs.cs new file mode 100644 index 00000000..9715eeef --- /dev/null +++ b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAmazonBedrockConfigGetArgs.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 ModelServingConfigServedEntityExternalModelAmazonBedrockConfigGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. + /// + [Input("awsAccessKeyId", required: true)] + public Input AwsAccessKeyId { get; set; } = null!; + + /// + /// The AWS region to use. Bedrock has to be enabled there. + /// + [Input("awsRegion", required: true)] + public Input AwsRegion { get; set; } = null!; + + /// + /// The Databricks secret key reference for an AWS Secret Access Key paired with the access key ID, with permissions to interact with Bedrock services. + /// + [Input("awsSecretAccessKey", required: true)] + public Input AwsSecretAccessKey { get; set; } = null!; + + /// + /// The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. + /// + [Input("bedrockProvider", required: true)] + public Input BedrockProvider { get; set; } = null!; + + public ModelServingConfigServedEntityExternalModelAmazonBedrockConfigGetArgs() + { + } + public static new ModelServingConfigServedEntityExternalModelAmazonBedrockConfigGetArgs Empty => new ModelServingConfigServedEntityExternalModelAmazonBedrockConfigGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAnthropicConfigArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAnthropicConfigArgs.cs new file mode 100644 index 00000000..39c7524c --- /dev/null +++ b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAnthropicConfigArgs.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.Inputs +{ + + public sealed class ModelServingConfigServedEntityExternalModelAnthropicConfigArgs : global::Pulumi.ResourceArgs + { + /// + /// The Databricks secret key reference for an Anthropic API key. + /// The Databricks secret key reference for an Anthropic API key. + /// + [Input("anthropicApiKey", required: true)] + public Input AnthropicApiKey { get; set; } = null!; + + public ModelServingConfigServedEntityExternalModelAnthropicConfigArgs() + { + } + public static new ModelServingConfigServedEntityExternalModelAnthropicConfigArgs Empty => new ModelServingConfigServedEntityExternalModelAnthropicConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAnthropicConfigGetArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAnthropicConfigGetArgs.cs new file mode 100644 index 00000000..2105ef8e --- /dev/null +++ b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelAnthropicConfigGetArgs.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.Inputs +{ + + public sealed class ModelServingConfigServedEntityExternalModelAnthropicConfigGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The Databricks secret key reference for an Anthropic API key. + /// The Databricks secret key reference for an Anthropic API key. + /// + [Input("anthropicApiKey", required: true)] + public Input AnthropicApiKey { get; set; } = null!; + + public ModelServingConfigServedEntityExternalModelAnthropicConfigGetArgs() + { + } + public static new ModelServingConfigServedEntityExternalModelAnthropicConfigGetArgs Empty => new ModelServingConfigServedEntityExternalModelAnthropicConfigGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelArgs.cs new file mode 100644 index 00000000..e5a42e8f --- /dev/null +++ b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelArgs.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 ModelServingConfigServedEntityExternalModelArgs : global::Pulumi.ResourceArgs + { + /// + /// AI21Labs Config + /// + [Input("ai21labsConfig")] + public Input? Ai21labsConfig { get; set; } + + /// + /// Amazon Bedrock Config + /// + [Input("amazonBedrockConfig")] + public Input? AmazonBedrockConfig { get; set; } + + /// + /// Anthropic Config + /// + [Input("anthropicConfig")] + public Input? AnthropicConfig { get; set; } + + /// + /// Cohere Config + /// + [Input("cohereConfig")] + public Input? CohereConfig { get; set; } + + /// + /// Databricks Model Serving Config + /// + [Input("databricksModelServingConfig")] + public Input? DatabricksModelServingConfig { get; set; } + + /// + /// The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// OpenAI Config + /// + [Input("openaiConfig")] + public Input? OpenaiConfig { get; set; } + + /// + /// PaLM Config + /// + [Input("palmConfig")] + public Input? PalmConfig { get; set; } + + /// + /// The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `openai`, and `palm`. + /// + [Input("provider", required: true)] + public Input Provider { get; set; } = null!; + + /// + /// The task type of the external model. + /// + [Input("task", required: true)] + public Input Task { get; set; } = null!; + + public ModelServingConfigServedEntityExternalModelArgs() + { + } + public static new ModelServingConfigServedEntityExternalModelArgs Empty => new ModelServingConfigServedEntityExternalModelArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelCohereConfigArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelCohereConfigArgs.cs new file mode 100644 index 00000000..4d9a3df5 --- /dev/null +++ b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelCohereConfigArgs.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 ModelServingConfigServedEntityExternalModelCohereConfigArgs : global::Pulumi.ResourceArgs + { + /// + /// The Databricks secret key reference for a Cohere API key. + /// + [Input("cohereApiKey", required: true)] + public Input CohereApiKey { get; set; } = null!; + + public ModelServingConfigServedEntityExternalModelCohereConfigArgs() + { + } + public static new ModelServingConfigServedEntityExternalModelCohereConfigArgs Empty => new ModelServingConfigServedEntityExternalModelCohereConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelCohereConfigGetArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelCohereConfigGetArgs.cs new file mode 100644 index 00000000..fc258bc5 --- /dev/null +++ b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelCohereConfigGetArgs.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 ModelServingConfigServedEntityExternalModelCohereConfigGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The Databricks secret key reference for a Cohere API key. + /// + [Input("cohereApiKey", required: true)] + public Input CohereApiKey { get; set; } = null!; + + public ModelServingConfigServedEntityExternalModelCohereConfigGetArgs() + { + } + public static new ModelServingConfigServedEntityExternalModelCohereConfigGetArgs Empty => new ModelServingConfigServedEntityExternalModelCohereConfigGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs.cs new file mode 100644 index 00000000..bc85d538 --- /dev/null +++ b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs.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 ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs : global::Pulumi.ResourceArgs + { + /// + /// 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. + /// + [Input("databricksApiToken", required: true)] + public Input DatabricksApiToken { get; set; } = null!; + + /// + /// The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. + /// + [Input("databricksWorkspaceUrl", required: true)] + public Input DatabricksWorkspaceUrl { get; set; } = null!; + + public ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs() + { + } + public static new ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs Empty => new ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigGetArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigGetArgs.cs new file mode 100644 index 00000000..5f81ccd6 --- /dev/null +++ b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigGetArgs.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 ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigGetArgs : global::Pulumi.ResourceArgs + { + /// + /// 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. + /// + [Input("databricksApiToken", required: true)] + public Input DatabricksApiToken { get; set; } = null!; + + /// + /// The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. + /// + [Input("databricksWorkspaceUrl", required: true)] + public Input DatabricksWorkspaceUrl { get; set; } = null!; + + public ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigGetArgs() + { + } + public static new ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigGetArgs Empty => new ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelGetArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelGetArgs.cs new file mode 100644 index 00000000..b4c3c003 --- /dev/null +++ b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelGetArgs.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 ModelServingConfigServedEntityExternalModelGetArgs : global::Pulumi.ResourceArgs + { + /// + /// AI21Labs Config + /// + [Input("ai21labsConfig")] + public Input? Ai21labsConfig { get; set; } + + /// + /// Amazon Bedrock Config + /// + [Input("amazonBedrockConfig")] + public Input? AmazonBedrockConfig { get; set; } + + /// + /// Anthropic Config + /// + [Input("anthropicConfig")] + public Input? AnthropicConfig { get; set; } + + /// + /// Cohere Config + /// + [Input("cohereConfig")] + public Input? CohereConfig { get; set; } + + /// + /// Databricks Model Serving Config + /// + [Input("databricksModelServingConfig")] + public Input? DatabricksModelServingConfig { get; set; } + + /// + /// The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// OpenAI Config + /// + [Input("openaiConfig")] + public Input? OpenaiConfig { get; set; } + + /// + /// PaLM Config + /// + [Input("palmConfig")] + public Input? PalmConfig { get; set; } + + /// + /// The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `openai`, and `palm`. + /// + [Input("provider", required: true)] + public Input Provider { get; set; } = null!; + + /// + /// The task type of the external model. + /// + [Input("task", required: true)] + public Input Task { get; set; } = null!; + + public ModelServingConfigServedEntityExternalModelGetArgs() + { + } + public static new ModelServingConfigServedEntityExternalModelGetArgs Empty => new ModelServingConfigServedEntityExternalModelGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigArgs.cs new file mode 100644 index 00000000..5519c749 --- /dev/null +++ b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigArgs.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 ModelServingConfigServedEntityExternalModelOpenaiConfigArgs : global::Pulumi.ResourceArgs + { + /// + /// 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. + /// + [Input("openaiApiBase")] + public Input? OpenaiApiBase { get; set; } + + /// + /// The Databricks secret key reference for an OpenAI or Azure OpenAI API key. + /// + [Input("openaiApiKey", required: true)] + public Input OpenaiApiKey { get; set; } = null!; + + /// + /// This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and adjust this parameter to represent the preferred security access validation protocol. For access token validation, use azure. For authentication using Azure Active Directory (Azure AD) use, azuread. + /// + [Input("openaiApiType")] + public Input? OpenaiApiType { get; set; } + + /// + /// 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. + /// + [Input("openaiApiVersion")] + public Input? OpenaiApiVersion { get; set; } + + /// + /// This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. + /// + [Input("openaiDeploymentName")] + public Input? OpenaiDeploymentName { get; set; } + + /// + /// This is an optional field to specify the organization in OpenAI or Azure OpenAI. + /// + [Input("openaiOrganization")] + public Input? OpenaiOrganization { get; set; } + + public ModelServingConfigServedEntityExternalModelOpenaiConfigArgs() + { + } + public static new ModelServingConfigServedEntityExternalModelOpenaiConfigArgs Empty => new ModelServingConfigServedEntityExternalModelOpenaiConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigGetArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigGetArgs.cs new file mode 100644 index 00000000..0bc9cbd0 --- /dev/null +++ b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigGetArgs.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 ModelServingConfigServedEntityExternalModelOpenaiConfigGetArgs : global::Pulumi.ResourceArgs + { + /// + /// 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. + /// + [Input("openaiApiBase")] + public Input? OpenaiApiBase { get; set; } + + /// + /// The Databricks secret key reference for an OpenAI or Azure OpenAI API key. + /// + [Input("openaiApiKey", required: true)] + public Input OpenaiApiKey { get; set; } = null!; + + /// + /// This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and adjust this parameter to represent the preferred security access validation protocol. For access token validation, use azure. For authentication using Azure Active Directory (Azure AD) use, azuread. + /// + [Input("openaiApiType")] + public Input? OpenaiApiType { get; set; } + + /// + /// 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. + /// + [Input("openaiApiVersion")] + public Input? OpenaiApiVersion { get; set; } + + /// + /// This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. + /// + [Input("openaiDeploymentName")] + public Input? OpenaiDeploymentName { get; set; } + + /// + /// This is an optional field to specify the organization in OpenAI or Azure OpenAI. + /// + [Input("openaiOrganization")] + public Input? OpenaiOrganization { get; set; } + + public ModelServingConfigServedEntityExternalModelOpenaiConfigGetArgs() + { + } + public static new ModelServingConfigServedEntityExternalModelOpenaiConfigGetArgs Empty => new ModelServingConfigServedEntityExternalModelOpenaiConfigGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelPalmConfigArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelPalmConfigArgs.cs new file mode 100644 index 00000000..40720466 --- /dev/null +++ b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelPalmConfigArgs.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 ModelServingConfigServedEntityExternalModelPalmConfigArgs : global::Pulumi.ResourceArgs + { + /// + /// The Databricks secret key reference for a PaLM API key. + /// + [Input("palmApiKey", required: true)] + public Input PalmApiKey { get; set; } = null!; + + public ModelServingConfigServedEntityExternalModelPalmConfigArgs() + { + } + public static new ModelServingConfigServedEntityExternalModelPalmConfigArgs Empty => new ModelServingConfigServedEntityExternalModelPalmConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelPalmConfigGetArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelPalmConfigGetArgs.cs new file mode 100644 index 00000000..634f6a0e --- /dev/null +++ b/sdk/dotnet/Inputs/ModelServingConfigServedEntityExternalModelPalmConfigGetArgs.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 ModelServingConfigServedEntityExternalModelPalmConfigGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The Databricks secret key reference for a PaLM API key. + /// + [Input("palmApiKey", required: true)] + public Input PalmApiKey { get; set; } = null!; + + public ModelServingConfigServedEntityExternalModelPalmConfigGetArgs() + { + } + public static new ModelServingConfigServedEntityExternalModelPalmConfigGetArgs Empty => new ModelServingConfigServedEntityExternalModelPalmConfigGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedEntityGetArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedEntityGetArgs.cs new file mode 100644 index 00000000..22f55d7e --- /dev/null +++ b/sdk/dotnet/Inputs/ModelServingConfigServedEntityGetArgs.cs @@ -0,0 +1,92 @@ +// *** 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 ModelServingConfigServedEntityGetArgs : global::Pulumi.ResourceArgs + { + /// + /// 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`. + /// + [Input("entityName")] + public Input? EntityName { get; set; } + + /// + /// The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. + /// + [Input("entityVersion")] + public Input? EntityVersion { get; set; } + + [Input("environmentVars")] + private InputMap? _environmentVars; + + /// + /// 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 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}}"}``` + /// + public InputMap EnvironmentVars + { + get => _environmentVars ?? (_environmentVars = new InputMap()); + set => _environmentVars = value; + } + + /// + /// 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. For an existing endpoint with `external_model`, it 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. + /// + [Input("externalModel")] + public Input? ExternalModel { get; set; } + + /// + /// ARN of the instance profile that the served entity uses to access AWS resources. + /// + [Input("instanceProfileArn")] + public Input? InstanceProfileArn { get; set; } + + /// + /// The maximum tokens per second that the endpoint can scale up to. + /// + [Input("maxProvisionedThroughput")] + public Input? MaxProvisionedThroughput { get; set; } + + /// + /// The minimum tokens per second that the endpoint can scale down to. + /// + [Input("minProvisionedThroughput")] + public Input? MinProvisionedThroughput { get; set; } + + /// + /// The name of the external model. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Whether the compute resources for the served entity should scale down to zero. + /// + [Input("scaleToZeroEnabled")] + public Input? ScaleToZeroEnabled { get; set; } + + /// + /// 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. + /// + [Input("workloadSize")] + public Input? WorkloadSize { get; set; } + + /// + /// 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). + /// + [Input("workloadType")] + public Input? WorkloadType { get; set; } + + public ModelServingConfigServedEntityGetArgs() + { + } + public static new ModelServingConfigServedEntityGetArgs Empty => new ModelServingConfigServedEntityGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedModelArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedModelArgs.cs index dc4a2413..50e78ce7 100644 --- a/sdk/dotnet/Inputs/ModelServingConfigServedModelArgs.cs +++ b/sdk/dotnet/Inputs/ModelServingConfigServedModelArgs.cs @@ -49,13 +49,13 @@ public InputMap EnvironmentVars public Input? Name { get; set; } /// - /// 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`. + /// 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`. /// [Input("scaleToZeroEnabled")] public Input? ScaleToZeroEnabled { get; set; } /// - /// 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). + /// 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). /// [Input("workloadSize", required: true)] public Input WorkloadSize { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedModelGetArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedModelGetArgs.cs index 0ea066d5..a7f80f24 100644 --- a/sdk/dotnet/Inputs/ModelServingConfigServedModelGetArgs.cs +++ b/sdk/dotnet/Inputs/ModelServingConfigServedModelGetArgs.cs @@ -49,13 +49,13 @@ public InputMap EnvironmentVars public Input? Name { get; set; } /// - /// 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`. + /// 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`. /// [Input("scaleToZeroEnabled")] public Input? ScaleToZeroEnabled { get; set; } /// - /// 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). + /// 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). /// [Input("workloadSize", required: true)] public Input WorkloadSize { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/ModelServingConfigTrafficConfigArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigTrafficConfigArgs.cs index c12fa772..124e994f 100644 --- a/sdk/dotnet/Inputs/ModelServingConfigTrafficConfigArgs.cs +++ b/sdk/dotnet/Inputs/ModelServingConfigTrafficConfigArgs.cs @@ -16,7 +16,7 @@ public sealed class ModelServingConfigTrafficConfigArgs : global::Pulumi.Resourc private InputList? _routes; /// - /// Each block represents a route that defines traffic to each served model. Each `served_models` block needs to have a corresponding `routes` block + /// Each block represents a route that defines traffic to each served entity. Each `served_entity` block needs to have a corresponding `routes` block. /// public InputList Routes { diff --git a/sdk/dotnet/Inputs/ModelServingConfigTrafficConfigGetArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigTrafficConfigGetArgs.cs index c501e537..77c19ee2 100644 --- a/sdk/dotnet/Inputs/ModelServingConfigTrafficConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ModelServingConfigTrafficConfigGetArgs.cs @@ -16,7 +16,7 @@ public sealed class ModelServingConfigTrafficConfigGetArgs : global::Pulumi.Reso private InputList? _routes; /// - /// Each block represents a route that defines traffic to each served model. Each `served_models` block needs to have a corresponding `routes` block + /// Each block represents a route that defines traffic to each served entity. Each `served_entity` block needs to have a corresponding `routes` block. /// public InputList Routes { diff --git a/sdk/dotnet/Inputs/ModelServingConfigTrafficConfigRouteArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigTrafficConfigRouteArgs.cs index 47db7ab7..6a2cb5ae 100644 --- a/sdk/dotnet/Inputs/ModelServingConfigTrafficConfigRouteArgs.cs +++ b/sdk/dotnet/Inputs/ModelServingConfigTrafficConfigRouteArgs.cs @@ -12,9 +12,6 @@ namespace Pulumi.Databricks.Inputs public sealed class ModelServingConfigTrafficConfigRouteArgs : global::Pulumi.ResourceArgs { - /// - /// The name of the served model this route configures traffic for. This needs to match the name of a `served_models` block - /// [Input("servedModelName", required: true)] public Input ServedModelName { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/ModelServingConfigTrafficConfigRouteGetArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigTrafficConfigRouteGetArgs.cs index c221bc8f..70efc3ad 100644 --- a/sdk/dotnet/Inputs/ModelServingConfigTrafficConfigRouteGetArgs.cs +++ b/sdk/dotnet/Inputs/ModelServingConfigTrafficConfigRouteGetArgs.cs @@ -12,9 +12,6 @@ namespace Pulumi.Databricks.Inputs public sealed class ModelServingConfigTrafficConfigRouteGetArgs : global::Pulumi.ResourceArgs { - /// - /// The name of the served model this route configures traffic for. This needs to match the name of a `served_models` block - /// [Input("servedModelName", required: true)] public Input ServedModelName { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/ModelServingRateLimitArgs.cs b/sdk/dotnet/Inputs/ModelServingRateLimitArgs.cs index de4e07dd..e8b383b1 100644 --- a/sdk/dotnet/Inputs/ModelServingRateLimitArgs.cs +++ b/sdk/dotnet/Inputs/ModelServingRateLimitArgs.cs @@ -12,12 +12,21 @@ namespace Pulumi.Databricks.Inputs public sealed class ModelServingRateLimitArgs : global::Pulumi.ResourceArgs { + /// + /// Used to specify how many calls are allowed for a key within the renewal_period. + /// [Input("calls", required: true)] public Input Calls { get; set; } = null!; + /// + /// Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + /// [Input("key")] public Input? Key { get; set; } + /// + /// Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + /// [Input("renewalPeriod", required: true)] public Input RenewalPeriod { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/ModelServingRateLimitGetArgs.cs b/sdk/dotnet/Inputs/ModelServingRateLimitGetArgs.cs index cd4391e6..2b564b8e 100644 --- a/sdk/dotnet/Inputs/ModelServingRateLimitGetArgs.cs +++ b/sdk/dotnet/Inputs/ModelServingRateLimitGetArgs.cs @@ -12,12 +12,21 @@ namespace Pulumi.Databricks.Inputs public sealed class ModelServingRateLimitGetArgs : global::Pulumi.ResourceArgs { + /// + /// Used to specify how many calls are allowed for a key within the renewal_period. + /// [Input("calls", required: true)] public Input Calls { get; set; } = null!; + /// + /// Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + /// [Input("key")] public Input? Key { get; set; } + /// + /// Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + /// [Input("renewalPeriod", required: true)] public Input RenewalPeriod { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/ModelServingTagArgs.cs b/sdk/dotnet/Inputs/ModelServingTagArgs.cs index 4cbb2ad4..5e7f74e0 100644 --- a/sdk/dotnet/Inputs/ModelServingTagArgs.cs +++ b/sdk/dotnet/Inputs/ModelServingTagArgs.cs @@ -12,9 +12,15 @@ namespace Pulumi.Databricks.Inputs public sealed class ModelServingTagArgs : global::Pulumi.ResourceArgs { + /// + /// The key field for a tag. + /// [Input("key", required: true)] public Input Key { get; set; } = null!; + /// + /// The value field for a tag. + /// [Input("value")] public Input? Value { get; set; } diff --git a/sdk/dotnet/Inputs/ModelServingTagGetArgs.cs b/sdk/dotnet/Inputs/ModelServingTagGetArgs.cs index b06c7003..ce3d5ae7 100644 --- a/sdk/dotnet/Inputs/ModelServingTagGetArgs.cs +++ b/sdk/dotnet/Inputs/ModelServingTagGetArgs.cs @@ -12,9 +12,15 @@ namespace Pulumi.Databricks.Inputs public sealed class ModelServingTagGetArgs : global::Pulumi.ResourceArgs { + /// + /// The key field for a tag. + /// [Input("key", required: true)] public Input Key { get; set; } = null!; + /// + /// The value field for a tag. + /// [Input("value")] public Input? Value { get; set; } diff --git a/sdk/dotnet/Inputs/OnlineTableSpecArgs.cs b/sdk/dotnet/Inputs/OnlineTableSpecArgs.cs new file mode 100644 index 00000000..ddf4023b --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableSpecArgs.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.Inputs +{ + + public sealed class OnlineTableSpecArgs : global::Pulumi.ResourceArgs + { + /// + /// 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. + /// + [Input("performFullCopy")] + public Input? PerformFullCopy { get; set; } + + /// + /// ID of the associated Delta Live Table pipeline. + /// + [Input("pipelineId")] + public Input? PipelineId { get; set; } + + [Input("primaryKeyColumns")] + private InputList? _primaryKeyColumns; + + /// + /// list of the columns comprising the primary key. + /// + public InputList PrimaryKeyColumns + { + get => _primaryKeyColumns ?? (_primaryKeyColumns = new InputList()); + set => _primaryKeyColumns = value; + } + + /// + /// empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `run_triggered`. + /// + [Input("runContinuously")] + public Input? RunContinuously { get; set; } + + /// + /// 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). + /// + [Input("runTriggered")] + public Input? RunTriggered { get; set; } + + /// + /// full name of the source table. + /// + [Input("sourceTableFullName")] + public Input? SourceTableFullName { get; set; } + + /// + /// Time series key to deduplicate (tie-break) rows with the same primary key. + /// + [Input("timeseriesKey")] + public Input? TimeseriesKey { get; set; } + + public OnlineTableSpecArgs() + { + } + public static new OnlineTableSpecArgs Empty => new OnlineTableSpecArgs(); + } +} diff --git a/sdk/dotnet/Inputs/OnlineTableSpecGetArgs.cs b/sdk/dotnet/Inputs/OnlineTableSpecGetArgs.cs new file mode 100644 index 00000000..f8b68074 --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableSpecGetArgs.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.Inputs +{ + + public sealed class OnlineTableSpecGetArgs : global::Pulumi.ResourceArgs + { + /// + /// 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. + /// + [Input("performFullCopy")] + public Input? PerformFullCopy { get; set; } + + /// + /// ID of the associated Delta Live Table pipeline. + /// + [Input("pipelineId")] + public Input? PipelineId { get; set; } + + [Input("primaryKeyColumns")] + private InputList? _primaryKeyColumns; + + /// + /// list of the columns comprising the primary key. + /// + public InputList PrimaryKeyColumns + { + get => _primaryKeyColumns ?? (_primaryKeyColumns = new InputList()); + set => _primaryKeyColumns = value; + } + + /// + /// empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `run_triggered`. + /// + [Input("runContinuously")] + public Input? RunContinuously { get; set; } + + /// + /// 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). + /// + [Input("runTriggered")] + public Input? RunTriggered { get; set; } + + /// + /// full name of the source table. + /// + [Input("sourceTableFullName")] + public Input? SourceTableFullName { get; set; } + + /// + /// Time series key to deduplicate (tie-break) rows with the same primary key. + /// + [Input("timeseriesKey")] + public Input? TimeseriesKey { get; set; } + + public OnlineTableSpecGetArgs() + { + } + public static new OnlineTableSpecGetArgs Empty => new OnlineTableSpecGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/OnlineTableSpecRunContinuouslyArgs.cs b/sdk/dotnet/Inputs/OnlineTableSpecRunContinuouslyArgs.cs new file mode 100644 index 00000000..64fa0590 --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableSpecRunContinuouslyArgs.cs @@ -0,0 +1,20 @@ +// *** 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 OnlineTableSpecRunContinuouslyArgs : global::Pulumi.ResourceArgs + { + public OnlineTableSpecRunContinuouslyArgs() + { + } + public static new OnlineTableSpecRunContinuouslyArgs Empty => new OnlineTableSpecRunContinuouslyArgs(); + } +} diff --git a/sdk/dotnet/Inputs/OnlineTableSpecRunContinuouslyGetArgs.cs b/sdk/dotnet/Inputs/OnlineTableSpecRunContinuouslyGetArgs.cs new file mode 100644 index 00000000..7671e5d3 --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableSpecRunContinuouslyGetArgs.cs @@ -0,0 +1,20 @@ +// *** 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 OnlineTableSpecRunContinuouslyGetArgs : global::Pulumi.ResourceArgs + { + public OnlineTableSpecRunContinuouslyGetArgs() + { + } + public static new OnlineTableSpecRunContinuouslyGetArgs Empty => new OnlineTableSpecRunContinuouslyGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/OnlineTableSpecRunTriggeredArgs.cs b/sdk/dotnet/Inputs/OnlineTableSpecRunTriggeredArgs.cs new file mode 100644 index 00000000..19eeff0a --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableSpecRunTriggeredArgs.cs @@ -0,0 +1,20 @@ +// *** 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 OnlineTableSpecRunTriggeredArgs : global::Pulumi.ResourceArgs + { + public OnlineTableSpecRunTriggeredArgs() + { + } + public static new OnlineTableSpecRunTriggeredArgs Empty => new OnlineTableSpecRunTriggeredArgs(); + } +} diff --git a/sdk/dotnet/Inputs/OnlineTableSpecRunTriggeredGetArgs.cs b/sdk/dotnet/Inputs/OnlineTableSpecRunTriggeredGetArgs.cs new file mode 100644 index 00000000..82044996 --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableSpecRunTriggeredGetArgs.cs @@ -0,0 +1,20 @@ +// *** 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 OnlineTableSpecRunTriggeredGetArgs : global::Pulumi.ResourceArgs + { + public OnlineTableSpecRunTriggeredGetArgs() + { + } + public static new OnlineTableSpecRunTriggeredGetArgs Empty => new OnlineTableSpecRunTriggeredGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/OnlineTableStatusArgs.cs b/sdk/dotnet/Inputs/OnlineTableStatusArgs.cs new file mode 100644 index 00000000..53f22356 --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableStatusArgs.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 OnlineTableStatusArgs : global::Pulumi.ResourceArgs + { + [Input("continuousUpdateStatus")] + public Input? ContinuousUpdateStatus { get; set; } + + /// + /// The state of the online table. + /// + [Input("detailedState")] + public Input? DetailedState { get; set; } + + [Input("failedStatus")] + public Input? FailedStatus { get; set; } + + /// + /// A text description of the current state of the online table. + /// + [Input("message")] + public Input? Message { get; set; } + + [Input("provisioningStatus")] + public Input? ProvisioningStatus { get; set; } + + [Input("triggeredUpdateStatus")] + public Input? TriggeredUpdateStatus { get; set; } + + public OnlineTableStatusArgs() + { + } + public static new OnlineTableStatusArgs Empty => new OnlineTableStatusArgs(); + } +} diff --git a/sdk/dotnet/Inputs/OnlineTableStatusContinuousUpdateStatusArgs.cs b/sdk/dotnet/Inputs/OnlineTableStatusContinuousUpdateStatusArgs.cs new file mode 100644 index 00000000..083645a1 --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableStatusContinuousUpdateStatusArgs.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 OnlineTableStatusContinuousUpdateStatusArgs : global::Pulumi.ResourceArgs + { + [Input("initialPipelineSyncProgress")] + public Input? InitialPipelineSyncProgress { get; set; } + + [Input("lastProcessedCommitVersion")] + public Input? LastProcessedCommitVersion { get; set; } + + [Input("timestamp")] + public Input? Timestamp { get; set; } + + public OnlineTableStatusContinuousUpdateStatusArgs() + { + } + public static new OnlineTableStatusContinuousUpdateStatusArgs Empty => new OnlineTableStatusContinuousUpdateStatusArgs(); + } +} diff --git a/sdk/dotnet/Inputs/OnlineTableStatusContinuousUpdateStatusGetArgs.cs b/sdk/dotnet/Inputs/OnlineTableStatusContinuousUpdateStatusGetArgs.cs new file mode 100644 index 00000000..91bb9b43 --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableStatusContinuousUpdateStatusGetArgs.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 OnlineTableStatusContinuousUpdateStatusGetArgs : global::Pulumi.ResourceArgs + { + [Input("initialPipelineSyncProgress")] + public Input? InitialPipelineSyncProgress { get; set; } + + [Input("lastProcessedCommitVersion")] + public Input? LastProcessedCommitVersion { get; set; } + + [Input("timestamp")] + public Input? Timestamp { get; set; } + + public OnlineTableStatusContinuousUpdateStatusGetArgs() + { + } + public static new OnlineTableStatusContinuousUpdateStatusGetArgs Empty => new OnlineTableStatusContinuousUpdateStatusGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs.cs b/sdk/dotnet/Inputs/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs.cs new file mode 100644 index 00000000..f9d49e5d --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs.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 OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs : global::Pulumi.ResourceArgs + { + [Input("estimatedCompletionTimeSeconds")] + public Input? EstimatedCompletionTimeSeconds { get; set; } + + [Input("latestVersionCurrentlyProcessing")] + public Input? LatestVersionCurrentlyProcessing { get; set; } + + [Input("syncProgressCompletion")] + public Input? SyncProgressCompletion { get; set; } + + [Input("syncedRowCount")] + public Input? SyncedRowCount { get; set; } + + [Input("totalRowCount")] + public Input? TotalRowCount { get; set; } + + public OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs() + { + } + public static new OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs Empty => new OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs(); + } +} diff --git a/sdk/dotnet/Inputs/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressGetArgs.cs b/sdk/dotnet/Inputs/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressGetArgs.cs new file mode 100644 index 00000000..d600f18d --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressGetArgs.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 OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressGetArgs : global::Pulumi.ResourceArgs + { + [Input("estimatedCompletionTimeSeconds")] + public Input? EstimatedCompletionTimeSeconds { get; set; } + + [Input("latestVersionCurrentlyProcessing")] + public Input? LatestVersionCurrentlyProcessing { get; set; } + + [Input("syncProgressCompletion")] + public Input? SyncProgressCompletion { get; set; } + + [Input("syncedRowCount")] + public Input? SyncedRowCount { get; set; } + + [Input("totalRowCount")] + public Input? TotalRowCount { get; set; } + + public OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressGetArgs() + { + } + public static new OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressGetArgs Empty => new OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/OnlineTableStatusFailedStatusArgs.cs b/sdk/dotnet/Inputs/OnlineTableStatusFailedStatusArgs.cs new file mode 100644 index 00000000..c5dc6f12 --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableStatusFailedStatusArgs.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 OnlineTableStatusFailedStatusArgs : global::Pulumi.ResourceArgs + { + [Input("lastProcessedCommitVersion")] + public Input? LastProcessedCommitVersion { get; set; } + + [Input("timestamp")] + public Input? Timestamp { get; set; } + + public OnlineTableStatusFailedStatusArgs() + { + } + public static new OnlineTableStatusFailedStatusArgs Empty => new OnlineTableStatusFailedStatusArgs(); + } +} diff --git a/sdk/dotnet/Inputs/OnlineTableStatusFailedStatusGetArgs.cs b/sdk/dotnet/Inputs/OnlineTableStatusFailedStatusGetArgs.cs new file mode 100644 index 00000000..1ca6b288 --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableStatusFailedStatusGetArgs.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 OnlineTableStatusFailedStatusGetArgs : global::Pulumi.ResourceArgs + { + [Input("lastProcessedCommitVersion")] + public Input? LastProcessedCommitVersion { get; set; } + + [Input("timestamp")] + public Input? Timestamp { get; set; } + + public OnlineTableStatusFailedStatusGetArgs() + { + } + public static new OnlineTableStatusFailedStatusGetArgs Empty => new OnlineTableStatusFailedStatusGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/OnlineTableStatusGetArgs.cs b/sdk/dotnet/Inputs/OnlineTableStatusGetArgs.cs new file mode 100644 index 00000000..18a7dcd9 --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableStatusGetArgs.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 OnlineTableStatusGetArgs : global::Pulumi.ResourceArgs + { + [Input("continuousUpdateStatus")] + public Input? ContinuousUpdateStatus { get; set; } + + /// + /// The state of the online table. + /// + [Input("detailedState")] + public Input? DetailedState { get; set; } + + [Input("failedStatus")] + public Input? FailedStatus { get; set; } + + /// + /// A text description of the current state of the online table. + /// + [Input("message")] + public Input? Message { get; set; } + + [Input("provisioningStatus")] + public Input? ProvisioningStatus { get; set; } + + [Input("triggeredUpdateStatus")] + public Input? TriggeredUpdateStatus { get; set; } + + public OnlineTableStatusGetArgs() + { + } + public static new OnlineTableStatusGetArgs Empty => new OnlineTableStatusGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/OnlineTableStatusProvisioningStatusArgs.cs b/sdk/dotnet/Inputs/OnlineTableStatusProvisioningStatusArgs.cs new file mode 100644 index 00000000..02fe7459 --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableStatusProvisioningStatusArgs.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 OnlineTableStatusProvisioningStatusArgs : global::Pulumi.ResourceArgs + { + [Input("initialPipelineSyncProgress")] + public Input? InitialPipelineSyncProgress { get; set; } + + public OnlineTableStatusProvisioningStatusArgs() + { + } + public static new OnlineTableStatusProvisioningStatusArgs Empty => new OnlineTableStatusProvisioningStatusArgs(); + } +} diff --git a/sdk/dotnet/Inputs/OnlineTableStatusProvisioningStatusGetArgs.cs b/sdk/dotnet/Inputs/OnlineTableStatusProvisioningStatusGetArgs.cs new file mode 100644 index 00000000..370efa24 --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableStatusProvisioningStatusGetArgs.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 OnlineTableStatusProvisioningStatusGetArgs : global::Pulumi.ResourceArgs + { + [Input("initialPipelineSyncProgress")] + public Input? InitialPipelineSyncProgress { get; set; } + + public OnlineTableStatusProvisioningStatusGetArgs() + { + } + public static new OnlineTableStatusProvisioningStatusGetArgs Empty => new OnlineTableStatusProvisioningStatusGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs.cs b/sdk/dotnet/Inputs/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs.cs new file mode 100644 index 00000000..acc061b5 --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs.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 OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs : global::Pulumi.ResourceArgs + { + [Input("estimatedCompletionTimeSeconds")] + public Input? EstimatedCompletionTimeSeconds { get; set; } + + [Input("latestVersionCurrentlyProcessing")] + public Input? LatestVersionCurrentlyProcessing { get; set; } + + [Input("syncProgressCompletion")] + public Input? SyncProgressCompletion { get; set; } + + [Input("syncedRowCount")] + public Input? SyncedRowCount { get; set; } + + [Input("totalRowCount")] + public Input? TotalRowCount { get; set; } + + public OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs() + { + } + public static new OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs Empty => new OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs(); + } +} diff --git a/sdk/dotnet/Inputs/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressGetArgs.cs b/sdk/dotnet/Inputs/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressGetArgs.cs new file mode 100644 index 00000000..e93ddb18 --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressGetArgs.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 OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressGetArgs : global::Pulumi.ResourceArgs + { + [Input("estimatedCompletionTimeSeconds")] + public Input? EstimatedCompletionTimeSeconds { get; set; } + + [Input("latestVersionCurrentlyProcessing")] + public Input? LatestVersionCurrentlyProcessing { get; set; } + + [Input("syncProgressCompletion")] + public Input? SyncProgressCompletion { get; set; } + + [Input("syncedRowCount")] + public Input? SyncedRowCount { get; set; } + + [Input("totalRowCount")] + public Input? TotalRowCount { get; set; } + + public OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressGetArgs() + { + } + public static new OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressGetArgs Empty => new OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/OnlineTableStatusTriggeredUpdateStatusArgs.cs b/sdk/dotnet/Inputs/OnlineTableStatusTriggeredUpdateStatusArgs.cs new file mode 100644 index 00000000..3d260169 --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableStatusTriggeredUpdateStatusArgs.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 OnlineTableStatusTriggeredUpdateStatusArgs : global::Pulumi.ResourceArgs + { + [Input("lastProcessedCommitVersion")] + public Input? LastProcessedCommitVersion { get; set; } + + [Input("timestamp")] + public Input? Timestamp { get; set; } + + [Input("triggeredUpdateProgress")] + public Input? TriggeredUpdateProgress { get; set; } + + public OnlineTableStatusTriggeredUpdateStatusArgs() + { + } + public static new OnlineTableStatusTriggeredUpdateStatusArgs Empty => new OnlineTableStatusTriggeredUpdateStatusArgs(); + } +} diff --git a/sdk/dotnet/Inputs/OnlineTableStatusTriggeredUpdateStatusGetArgs.cs b/sdk/dotnet/Inputs/OnlineTableStatusTriggeredUpdateStatusGetArgs.cs new file mode 100644 index 00000000..ed0f03ff --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableStatusTriggeredUpdateStatusGetArgs.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 OnlineTableStatusTriggeredUpdateStatusGetArgs : global::Pulumi.ResourceArgs + { + [Input("lastProcessedCommitVersion")] + public Input? LastProcessedCommitVersion { get; set; } + + [Input("timestamp")] + public Input? Timestamp { get; set; } + + [Input("triggeredUpdateProgress")] + public Input? TriggeredUpdateProgress { get; set; } + + public OnlineTableStatusTriggeredUpdateStatusGetArgs() + { + } + public static new OnlineTableStatusTriggeredUpdateStatusGetArgs Empty => new OnlineTableStatusTriggeredUpdateStatusGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs.cs b/sdk/dotnet/Inputs/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs.cs new file mode 100644 index 00000000..9f2d8716 --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs.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 OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs : global::Pulumi.ResourceArgs + { + [Input("estimatedCompletionTimeSeconds")] + public Input? EstimatedCompletionTimeSeconds { get; set; } + + [Input("latestVersionCurrentlyProcessing")] + public Input? LatestVersionCurrentlyProcessing { get; set; } + + [Input("syncProgressCompletion")] + public Input? SyncProgressCompletion { get; set; } + + [Input("syncedRowCount")] + public Input? SyncedRowCount { get; set; } + + [Input("totalRowCount")] + public Input? TotalRowCount { get; set; } + + public OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs() + { + } + public static new OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs Empty => new OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs(); + } +} diff --git a/sdk/dotnet/Inputs/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressGetArgs.cs b/sdk/dotnet/Inputs/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressGetArgs.cs new file mode 100644 index 00000000..e9d05ae9 --- /dev/null +++ b/sdk/dotnet/Inputs/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressGetArgs.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 OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressGetArgs : global::Pulumi.ResourceArgs + { + [Input("estimatedCompletionTimeSeconds")] + public Input? EstimatedCompletionTimeSeconds { get; set; } + + [Input("latestVersionCurrentlyProcessing")] + public Input? LatestVersionCurrentlyProcessing { get; set; } + + [Input("syncProgressCompletion")] + public Input? SyncProgressCompletion { get; set; } + + [Input("syncedRowCount")] + public Input? SyncedRowCount { get; set; } + + [Input("totalRowCount")] + public Input? TotalRowCount { get; set; } + + public OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressGetArgs() + { + } + public static new OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressGetArgs Empty => new OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ShareObjectArgs.cs b/sdk/dotnet/Inputs/ShareObjectArgs.cs index 297ba760..7cfab9d6 100644 --- a/sdk/dotnet/Inputs/ShareObjectArgs.cs +++ b/sdk/dotnet/Inputs/ShareObjectArgs.cs @@ -31,7 +31,7 @@ public sealed class ShareObjectArgs : global::Pulumi.ResourceArgs public Input? Comment { get; set; } /// - /// Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, `NOTEBOOK_FILE` are supported. + /// Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. /// [Input("dataObjectType", required: true)] public Input DataObjectType { get; set; } = null!; @@ -45,7 +45,7 @@ public sealed class ShareObjectArgs : global::Pulumi.ResourceArgs public Input? HistoryDataSharingStatus { get; set; } /// - /// Full name of the object, e.g. `catalog.schema.name` for a table. + /// Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. /// [Input("name", required: true)] public Input Name { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/ShareObjectGetArgs.cs b/sdk/dotnet/Inputs/ShareObjectGetArgs.cs index e0761972..692bf057 100644 --- a/sdk/dotnet/Inputs/ShareObjectGetArgs.cs +++ b/sdk/dotnet/Inputs/ShareObjectGetArgs.cs @@ -31,7 +31,7 @@ public sealed class ShareObjectGetArgs : global::Pulumi.ResourceArgs public Input? Comment { get; set; } /// - /// Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, `NOTEBOOK_FILE` are supported. + /// Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. /// [Input("dataObjectType", required: true)] public Input DataObjectType { get; set; } = null!; @@ -45,7 +45,7 @@ public sealed class ShareObjectGetArgs : global::Pulumi.ResourceArgs public Input? HistoryDataSharingStatus { get; set; } /// - /// Full name of the object, e.g. `catalog.schema.name` for a table. + /// Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. /// [Input("name", required: true)] public Input Name { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/StorageCredentialAwsIamRoleArgs.cs b/sdk/dotnet/Inputs/StorageCredentialAwsIamRoleArgs.cs index 712d3f30..f8ee3eb7 100644 --- a/sdk/dotnet/Inputs/StorageCredentialAwsIamRoleArgs.cs +++ b/sdk/dotnet/Inputs/StorageCredentialAwsIamRoleArgs.cs @@ -12,23 +12,17 @@ namespace Pulumi.Databricks.Inputs public sealed class StorageCredentialAwsIamRoleArgs : global::Pulumi.ResourceArgs { - /// - /// The external ID used in role assumption to prevent confused deputy problem. - /// [Input("externalId")] public Input? ExternalId { get; set; } /// /// 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): /// [Input("roleArn", required: true)] public Input RoleArn { get; set; } = null!; - /// - /// The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. - /// - /// `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): - /// [Input("unityCatalogIamArn")] public Input? UnityCatalogIamArn { get; set; } diff --git a/sdk/dotnet/Inputs/StorageCredentialAwsIamRoleGetArgs.cs b/sdk/dotnet/Inputs/StorageCredentialAwsIamRoleGetArgs.cs index b0401a27..0dd81e9e 100644 --- a/sdk/dotnet/Inputs/StorageCredentialAwsIamRoleGetArgs.cs +++ b/sdk/dotnet/Inputs/StorageCredentialAwsIamRoleGetArgs.cs @@ -12,23 +12,17 @@ namespace Pulumi.Databricks.Inputs public sealed class StorageCredentialAwsIamRoleGetArgs : global::Pulumi.ResourceArgs { - /// - /// The external ID used in role assumption to prevent confused deputy problem. - /// [Input("externalId")] public Input? ExternalId { get; set; } /// /// 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): /// [Input("roleArn", required: true)] public Input RoleArn { get; set; } = null!; - /// - /// The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. - /// - /// `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): - /// [Input("unityCatalogIamArn")] public Input? UnityCatalogIamArn { get; set; } diff --git a/sdk/dotnet/Inputs/VectorSearchEndpointEndpointStatusArgs.cs b/sdk/dotnet/Inputs/VectorSearchEndpointEndpointStatusArgs.cs index d50a32a5..1e0aee4a 100644 --- a/sdk/dotnet/Inputs/VectorSearchEndpointEndpointStatusArgs.cs +++ b/sdk/dotnet/Inputs/VectorSearchEndpointEndpointStatusArgs.cs @@ -19,7 +19,7 @@ public sealed class VectorSearchEndpointEndpointStatusArgs : global::Pulumi.Reso public Input? Message { get; set; } /// - /// Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, `OFFLINE`. + /// Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. /// [Input("state")] public Input? State { get; set; } diff --git a/sdk/dotnet/Inputs/VectorSearchEndpointEndpointStatusGetArgs.cs b/sdk/dotnet/Inputs/VectorSearchEndpointEndpointStatusGetArgs.cs index 00c94e28..1a8157c8 100644 --- a/sdk/dotnet/Inputs/VectorSearchEndpointEndpointStatusGetArgs.cs +++ b/sdk/dotnet/Inputs/VectorSearchEndpointEndpointStatusGetArgs.cs @@ -19,7 +19,7 @@ public sealed class VectorSearchEndpointEndpointStatusGetArgs : global::Pulumi.R public Input? Message { get; set; } /// - /// Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, `OFFLINE`. + /// Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. /// [Input("state")] public Input? State { get; set; } diff --git a/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecArgs.cs b/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecArgs.cs new file mode 100644 index 00000000..0e931767 --- /dev/null +++ b/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecArgs.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.Inputs +{ + + public sealed class VectorSearchIndexDeltaSyncIndexSpecArgs : global::Pulumi.ResourceArgs + { + [Input("embeddingSourceColumns")] + private InputList? _embeddingSourceColumns; + + /// + /// array of objects representing columns that contain the embedding source. Each entry consists of: + /// + public InputList EmbeddingSourceColumns + { + get => _embeddingSourceColumns ?? (_embeddingSourceColumns = new InputList()); + set => _embeddingSourceColumns = value; + } + + [Input("embeddingVectorColumns")] + private InputList? _embeddingVectorColumns; + + /// + /// array of objects representing columns that contain the embedding vectors. Each entry consists of: + /// + public InputList EmbeddingVectorColumns + { + get => _embeddingVectorColumns ?? (_embeddingVectorColumns = new InputList()); + set => _embeddingVectorColumns = value; + } + + /// + /// ID of the associated Delta Live Table pipeline. + /// + [Input("pipelineId")] + public Input? PipelineId { get; set; } + + /// + /// Pipeline execution mode. Possible values are: + /// + [Input("pipelineType")] + public Input? PipelineType { get; set; } + + /// + /// The name of the source table. + /// + [Input("sourceTable")] + public Input? SourceTable { get; set; } + + public VectorSearchIndexDeltaSyncIndexSpecArgs() + { + } + public static new VectorSearchIndexDeltaSyncIndexSpecArgs Empty => new VectorSearchIndexDeltaSyncIndexSpecArgs(); + } +} diff --git a/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs.cs b/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs.cs new file mode 100644 index 00000000..e939e76d --- /dev/null +++ b/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs.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 VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the embedding model endpoint + /// + [Input("embeddingModelEndpointName")] + public Input? EmbeddingModelEndpointName { get; set; } + + /// + /// The name of the column. + /// + [Input("name")] + public Input? Name { get; set; } + + public VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs() + { + } + public static new VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs Empty => new VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs(); + } +} diff --git a/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnGetArgs.cs b/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnGetArgs.cs new file mode 100644 index 00000000..06b886b3 --- /dev/null +++ b/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnGetArgs.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 VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the embedding model endpoint + /// + [Input("embeddingModelEndpointName")] + public Input? EmbeddingModelEndpointName { get; set; } + + /// + /// The name of the column. + /// + [Input("name")] + public Input? Name { get; set; } + + public VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnGetArgs() + { + } + public static new VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnGetArgs Empty => new VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs.cs b/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs.cs new file mode 100644 index 00000000..599acc1f --- /dev/null +++ b/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs.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 VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs : global::Pulumi.ResourceArgs + { + /// + /// Dimension of the embedding vector. + /// + [Input("embeddingDimension")] + public Input? EmbeddingDimension { get; set; } + + /// + /// The name of the column. + /// + [Input("name")] + public Input? Name { get; set; } + + public VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs() + { + } + public static new VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs Empty => new VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs(); + } +} diff --git a/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnGetArgs.cs b/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnGetArgs.cs new file mode 100644 index 00000000..27f98dbd --- /dev/null +++ b/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnGetArgs.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 VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Dimension of the embedding vector. + /// + [Input("embeddingDimension")] + public Input? EmbeddingDimension { get; set; } + + /// + /// The name of the column. + /// + [Input("name")] + public Input? Name { get; set; } + + public VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnGetArgs() + { + } + public static new VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnGetArgs Empty => new VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecGetArgs.cs b/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecGetArgs.cs new file mode 100644 index 00000000..e4888a7e --- /dev/null +++ b/sdk/dotnet/Inputs/VectorSearchIndexDeltaSyncIndexSpecGetArgs.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.Inputs +{ + + public sealed class VectorSearchIndexDeltaSyncIndexSpecGetArgs : global::Pulumi.ResourceArgs + { + [Input("embeddingSourceColumns")] + private InputList? _embeddingSourceColumns; + + /// + /// array of objects representing columns that contain the embedding source. Each entry consists of: + /// + public InputList EmbeddingSourceColumns + { + get => _embeddingSourceColumns ?? (_embeddingSourceColumns = new InputList()); + set => _embeddingSourceColumns = value; + } + + [Input("embeddingVectorColumns")] + private InputList? _embeddingVectorColumns; + + /// + /// array of objects representing columns that contain the embedding vectors. Each entry consists of: + /// + public InputList EmbeddingVectorColumns + { + get => _embeddingVectorColumns ?? (_embeddingVectorColumns = new InputList()); + set => _embeddingVectorColumns = value; + } + + /// + /// ID of the associated Delta Live Table pipeline. + /// + [Input("pipelineId")] + public Input? PipelineId { get; set; } + + /// + /// Pipeline execution mode. Possible values are: + /// + [Input("pipelineType")] + public Input? PipelineType { get; set; } + + /// + /// The name of the source table. + /// + [Input("sourceTable")] + public Input? SourceTable { get; set; } + + public VectorSearchIndexDeltaSyncIndexSpecGetArgs() + { + } + public static new VectorSearchIndexDeltaSyncIndexSpecGetArgs Empty => new VectorSearchIndexDeltaSyncIndexSpecGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecArgs.cs b/sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecArgs.cs new file mode 100644 index 00000000..929dcd98 --- /dev/null +++ b/sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecArgs.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 VectorSearchIndexDirectAccessIndexSpecArgs : global::Pulumi.ResourceArgs + { + [Input("embeddingSourceColumns")] + private InputList? _embeddingSourceColumns; + + /// + /// array of objects representing columns that contain the embedding source. Each entry consists of: + /// + public InputList EmbeddingSourceColumns + { + get => _embeddingSourceColumns ?? (_embeddingSourceColumns = new InputList()); + set => _embeddingSourceColumns = value; + } + + [Input("embeddingVectorColumns")] + private InputList? _embeddingVectorColumns; + + /// + /// array of objects representing columns that contain the embedding vectors. Each entry consists of: + /// + public InputList EmbeddingVectorColumns + { + get => _embeddingVectorColumns ?? (_embeddingVectorColumns = new InputList()); + set => _embeddingVectorColumns = value; + } + + /// + /// 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. + /// + [Input("schemaJson")] + public Input? SchemaJson { get; set; } + + public VectorSearchIndexDirectAccessIndexSpecArgs() + { + } + public static new VectorSearchIndexDirectAccessIndexSpecArgs Empty => new VectorSearchIndexDirectAccessIndexSpecArgs(); + } +} diff --git a/sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs.cs b/sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs.cs new file mode 100644 index 00000000..bc05972a --- /dev/null +++ b/sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs.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 VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the embedding model endpoint + /// + [Input("embeddingModelEndpointName")] + public Input? EmbeddingModelEndpointName { get; set; } + + /// + /// The name of the column. + /// + [Input("name")] + public Input? Name { get; set; } + + public VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs() + { + } + public static new VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs Empty => new VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs(); + } +} diff --git a/sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnGetArgs.cs b/sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnGetArgs.cs new file mode 100644 index 00000000..7b02ae32 --- /dev/null +++ b/sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnGetArgs.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 VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the embedding model endpoint + /// + [Input("embeddingModelEndpointName")] + public Input? EmbeddingModelEndpointName { get; set; } + + /// + /// The name of the column. + /// + [Input("name")] + public Input? Name { get; set; } + + public VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnGetArgs() + { + } + public static new VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnGetArgs Empty => new VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs.cs b/sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs.cs new file mode 100644 index 00000000..5ab94a9a --- /dev/null +++ b/sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs.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 VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs : global::Pulumi.ResourceArgs + { + /// + /// Dimension of the embedding vector. + /// + [Input("embeddingDimension")] + public Input? EmbeddingDimension { get; set; } + + /// + /// The name of the column. + /// + [Input("name")] + public Input? Name { get; set; } + + public VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs() + { + } + public static new VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs Empty => new VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs(); + } +} diff --git a/sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnGetArgs.cs b/sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnGetArgs.cs new file mode 100644 index 00000000..7b30b056 --- /dev/null +++ b/sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnGetArgs.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 VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Dimension of the embedding vector. + /// + [Input("embeddingDimension")] + public Input? EmbeddingDimension { get; set; } + + /// + /// The name of the column. + /// + [Input("name")] + public Input? Name { get; set; } + + public VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnGetArgs() + { + } + public static new VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnGetArgs Empty => new VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecGetArgs.cs b/sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecGetArgs.cs new file mode 100644 index 00000000..915bef01 --- /dev/null +++ b/sdk/dotnet/Inputs/VectorSearchIndexDirectAccessIndexSpecGetArgs.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 VectorSearchIndexDirectAccessIndexSpecGetArgs : global::Pulumi.ResourceArgs + { + [Input("embeddingSourceColumns")] + private InputList? _embeddingSourceColumns; + + /// + /// array of objects representing columns that contain the embedding source. Each entry consists of: + /// + public InputList EmbeddingSourceColumns + { + get => _embeddingSourceColumns ?? (_embeddingSourceColumns = new InputList()); + set => _embeddingSourceColumns = value; + } + + [Input("embeddingVectorColumns")] + private InputList? _embeddingVectorColumns; + + /// + /// array of objects representing columns that contain the embedding vectors. Each entry consists of: + /// + public InputList EmbeddingVectorColumns + { + get => _embeddingVectorColumns ?? (_embeddingVectorColumns = new InputList()); + set => _embeddingVectorColumns = value; + } + + /// + /// 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. + /// + [Input("schemaJson")] + public Input? SchemaJson { get; set; } + + public VectorSearchIndexDirectAccessIndexSpecGetArgs() + { + } + public static new VectorSearchIndexDirectAccessIndexSpecGetArgs Empty => new VectorSearchIndexDirectAccessIndexSpecGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/VectorSearchIndexStatusArgs.cs b/sdk/dotnet/Inputs/VectorSearchIndexStatusArgs.cs new file mode 100644 index 00000000..ddb71c7a --- /dev/null +++ b/sdk/dotnet/Inputs/VectorSearchIndexStatusArgs.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 VectorSearchIndexStatusArgs : global::Pulumi.ResourceArgs + { + /// + /// Index API Url to be used to perform operations on the index + /// + [Input("indexUrl")] + public Input? IndexUrl { get; set; } + + /// + /// Number of rows indexed + /// + [Input("indexedRowCount")] + public Input? IndexedRowCount { get; set; } + + /// + /// Message associated with the index status + /// + [Input("message")] + public Input? Message { get; set; } + + /// + /// Whether the index is ready for search + /// + [Input("ready")] + public Input? Ready { get; set; } + + public VectorSearchIndexStatusArgs() + { + } + public static new VectorSearchIndexStatusArgs Empty => new VectorSearchIndexStatusArgs(); + } +} diff --git a/sdk/dotnet/Inputs/VectorSearchIndexStatusGetArgs.cs b/sdk/dotnet/Inputs/VectorSearchIndexStatusGetArgs.cs new file mode 100644 index 00000000..be87e5fd --- /dev/null +++ b/sdk/dotnet/Inputs/VectorSearchIndexStatusGetArgs.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 VectorSearchIndexStatusGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Index API Url to be used to perform operations on the index + /// + [Input("indexUrl")] + public Input? IndexUrl { get; set; } + + /// + /// Number of rows indexed + /// + [Input("indexedRowCount")] + public Input? IndexedRowCount { get; set; } + + /// + /// Message associated with the index status + /// + [Input("message")] + public Input? Message { get; set; } + + /// + /// Whether the index is ready for search + /// + [Input("ready")] + public Input? Ready { get; set; } + + public VectorSearchIndexStatusGetArgs() + { + } + public static new VectorSearchIndexStatusGetArgs Empty => new VectorSearchIndexStatusGetArgs(); + } +} diff --git a/sdk/dotnet/Job.cs b/sdk/dotnet/Job.cs index 9ee85f11..a446cdd1 100644 --- a/sdk/dotnet/Job.cs +++ b/sdk/dotnet/Job.cs @@ -98,7 +98,7 @@ public partial class Job : global::Pulumi.CustomResource public Output> JobClusters { get; private set; } = null!; /// - /// (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + /// (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. /// [Output("libraries")] public Output> Libraries { get; private set; } = null!; @@ -346,7 +346,7 @@ public InputList JobClusters private InputList? _libraries; /// - /// (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + /// (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. /// public InputList Libraries { @@ -569,7 +569,7 @@ public InputList JobClusters private InputList? _libraries; /// - /// (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + /// (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. /// public InputList Libraries { diff --git a/sdk/dotnet/LakehouseMonitor.cs b/sdk/dotnet/LakehouseMonitor.cs new file mode 100644 index 00000000..2aabfa83 --- /dev/null +++ b/sdk/dotnet/LakehouseMonitor.cs @@ -0,0 +1,489 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks +{ + /// + /// This resource allows you to manage [Lakehouse Monitors](https://docs.databricks.com/en/lakehouse-monitoring/index.html) in Databricks. + /// + /// A `databricks.LakehouseMonitor` is attached to a databricks.SqlTable and can be of type timeseries, snapshot or inference. + /// + /// ### Inference Monitor + /// + /// <!--Start PulumiCodeChooser --> + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testMonitorInference = new Databricks.LakehouseMonitor("testMonitorInference", new() + /// { + /// AssetsDir = $"/Shared/provider-test/databricks_lakehouse_monitoring/{databricks_table.MyTestTable.Name}", + /// InferenceLog = new Databricks.Inputs.LakehouseMonitorInferenceLogArgs + /// { + /// Granularities = new[] + /// { + /// "1 hour", + /// }, + /// ModelIdCol = "model_id", + /// PredictionCol = "prediction", + /// ProblemType = "PROBLEM_TYPE_REGRESSION", + /// TimestampCol = "timestamp", + /// }, + /// OutputSchemaName = $"{databricks_catalog.Sandbox.Name}.{databricks_schema.Things.Name}", + /// TableName = $"{databricks_catalog.Sandbox.Name}.{databricks_schema.Things.Name}.{databricks_table.MyTestTable.Name}", + /// }); + /// + /// }); + /// ``` + /// <!--End PulumiCodeChooser --> + /// ### Snapshot Monitor + /// <!--Start PulumiCodeChooser --> + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testMonitorInference = new Databricks.LakehouseMonitor("testMonitorInference", new() + /// { + /// AssetsDir = $"/Shared/provider-test/databricks_lakehouse_monitoring/{databricks_table.MyTestTable.Name}", + /// OutputSchemaName = $"{databricks_catalog.Sandbox.Name}.{databricks_schema.Things.Name}", + /// Snapshot = null, + /// TableName = $"{databricks_catalog.Sandbox.Name}.{databricks_schema.Things.Name}.{databricks_table.MyTestTable.Name}", + /// }); + /// + /// }); + /// ``` + /// <!--End PulumiCodeChooser --> + /// + /// ## Related Resources + /// + /// The following resources are often used in the same context: + /// + /// * databricks.Catalog + /// * databricks.Schema + /// * databricks.SqlTable + /// + [DatabricksResourceType("databricks:index/lakehouseMonitor:LakehouseMonitor")] + public partial class LakehouseMonitor : global::Pulumi.CustomResource + { + /// + /// The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + /// + [Output("assetsDir")] + public Output AssetsDir { get; private set; } = null!; + + /// + /// Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + /// table. + /// + [Output("baselineTableName")] + public Output BaselineTableName { get; private set; } = null!; + + /// + /// Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + /// + [Output("customMetrics")] + public Output> CustomMetrics { get; private set; } = null!; + + /// + /// The ID of the generated dashboard. + /// + [Output("dashboardId")] + public Output DashboardId { get; private set; } = null!; + + /// + /// The data classification config for the monitor + /// + [Output("dataClassificationConfig")] + public Output DataClassificationConfig { get; private set; } = null!; + + /// + /// The full name of the drift metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + /// + [Output("driftMetricsTableName")] + public Output DriftMetricsTableName { get; private set; } = null!; + + /// + /// Configuration for the inference log monitor + /// + [Output("inferenceLog")] + public Output InferenceLog { get; private set; } = null!; + + [Output("latestMonitorFailureMsg")] + public Output LatestMonitorFailureMsg { get; private set; } = null!; + + /// + /// The version of the monitor config (e.g. 1,2,3). If negative, the monitor may be corrupted + /// + [Output("monitorVersion")] + public Output MonitorVersion { get; private set; } = null!; + + /// + /// The notification settings for the monitor + /// + [Output("notifications")] + public Output Notifications { get; private set; } = null!; + + /// + /// Schema where output metric tables are created + /// + [Output("outputSchemaName")] + public Output OutputSchemaName { get; private set; } = null!; + + /// + /// The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + /// + [Output("profileMetricsTableName")] + public Output ProfileMetricsTableName { get; private set; } = null!; + + /// + /// The schedule for automatically updating and refreshing metric tables. + /// + [Output("schedule")] + public Output Schedule { get; private set; } = null!; + + /// + /// Whether to skip creating a default dashboard summarizing data quality metrics. + /// + [Output("skipBuiltinDashboard")] + public Output SkipBuiltinDashboard { get; private set; } = null!; + + /// + /// List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + /// + [Output("slicingExprs")] + public Output> SlicingExprs { get; private set; } = null!; + + /// + /// Configuration for monitoring snapshot tables. + /// + [Output("snapshot")] + public Output Snapshot { get; private set; } = null!; + + /// + /// Status of the Monitor + /// + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + /// + [Output("tableName")] + public Output TableName { get; private set; } = null!; + + /// + /// Configuration for monitoring timeseries tables. + /// + [Output("timeSeries")] + public Output TimeSeries { get; private set; } = null!; + + /// + /// Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + /// + [Output("warehouseId")] + public Output WarehouseId { get; private set; } = null!; + + + /// + /// Create a LakehouseMonitor 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 LakehouseMonitor(string name, LakehouseMonitorArgs args, CustomResourceOptions? options = null) + : base("databricks:index/lakehouseMonitor:LakehouseMonitor", name, args ?? new LakehouseMonitorArgs(), MakeResourceOptions(options, "")) + { + } + + private LakehouseMonitor(string name, Input id, LakehouseMonitorState? state = null, CustomResourceOptions? options = null) + : base("databricks:index/lakehouseMonitor:LakehouseMonitor", 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 LakehouseMonitor 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 LakehouseMonitor Get(string name, Input id, LakehouseMonitorState? state = null, CustomResourceOptions? options = null) + { + return new LakehouseMonitor(name, id, state, options); + } + } + + public sealed class LakehouseMonitorArgs : global::Pulumi.ResourceArgs + { + /// + /// The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + /// + [Input("assetsDir", required: true)] + public Input AssetsDir { get; set; } = null!; + + /// + /// Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + /// table. + /// + [Input("baselineTableName")] + public Input? BaselineTableName { get; set; } + + [Input("customMetrics")] + private InputList? _customMetrics; + + /// + /// Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + /// + public InputList CustomMetrics + { + get => _customMetrics ?? (_customMetrics = new InputList()); + set => _customMetrics = value; + } + + /// + /// The data classification config for the monitor + /// + [Input("dataClassificationConfig")] + public Input? DataClassificationConfig { get; set; } + + /// + /// Configuration for the inference log monitor + /// + [Input("inferenceLog")] + public Input? InferenceLog { get; set; } + + [Input("latestMonitorFailureMsg")] + public Input? LatestMonitorFailureMsg { get; set; } + + /// + /// The notification settings for the monitor + /// + [Input("notifications")] + public Input? Notifications { get; set; } + + /// + /// Schema where output metric tables are created + /// + [Input("outputSchemaName", required: true)] + public Input OutputSchemaName { get; set; } = null!; + + /// + /// The schedule for automatically updating and refreshing metric tables. + /// + [Input("schedule")] + public Input? Schedule { get; set; } + + /// + /// Whether to skip creating a default dashboard summarizing data quality metrics. + /// + [Input("skipBuiltinDashboard")] + public Input? SkipBuiltinDashboard { get; set; } + + [Input("slicingExprs")] + private InputList? _slicingExprs; + + /// + /// List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + /// + public InputList SlicingExprs + { + get => _slicingExprs ?? (_slicingExprs = new InputList()); + set => _slicingExprs = value; + } + + /// + /// Configuration for monitoring snapshot tables. + /// + [Input("snapshot")] + public Input? Snapshot { get; set; } + + /// + /// The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + /// + [Input("tableName", required: true)] + public Input TableName { get; set; } = null!; + + /// + /// Configuration for monitoring timeseries tables. + /// + [Input("timeSeries")] + public Input? TimeSeries { get; set; } + + /// + /// Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + /// + [Input("warehouseId")] + public Input? WarehouseId { get; set; } + + public LakehouseMonitorArgs() + { + } + public static new LakehouseMonitorArgs Empty => new LakehouseMonitorArgs(); + } + + public sealed class LakehouseMonitorState : global::Pulumi.ResourceArgs + { + /// + /// The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + /// + [Input("assetsDir")] + public Input? AssetsDir { get; set; } + + /// + /// Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + /// table. + /// + [Input("baselineTableName")] + public Input? BaselineTableName { get; set; } + + [Input("customMetrics")] + private InputList? _customMetrics; + + /// + /// Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + /// + public InputList CustomMetrics + { + get => _customMetrics ?? (_customMetrics = new InputList()); + set => _customMetrics = value; + } + + /// + /// The ID of the generated dashboard. + /// + [Input("dashboardId")] + public Input? DashboardId { get; set; } + + /// + /// The data classification config for the monitor + /// + [Input("dataClassificationConfig")] + public Input? DataClassificationConfig { get; set; } + + /// + /// The full name of the drift metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + /// + [Input("driftMetricsTableName")] + public Input? DriftMetricsTableName { get; set; } + + /// + /// Configuration for the inference log monitor + /// + [Input("inferenceLog")] + public Input? InferenceLog { get; set; } + + [Input("latestMonitorFailureMsg")] + public Input? LatestMonitorFailureMsg { get; set; } + + /// + /// The version of the monitor config (e.g. 1,2,3). If negative, the monitor may be corrupted + /// + [Input("monitorVersion")] + public Input? MonitorVersion { get; set; } + + /// + /// The notification settings for the monitor + /// + [Input("notifications")] + public Input? Notifications { get; set; } + + /// + /// Schema where output metric tables are created + /// + [Input("outputSchemaName")] + public Input? OutputSchemaName { get; set; } + + /// + /// The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + /// + [Input("profileMetricsTableName")] + public Input? ProfileMetricsTableName { get; set; } + + /// + /// The schedule for automatically updating and refreshing metric tables. + /// + [Input("schedule")] + public Input? Schedule { get; set; } + + /// + /// Whether to skip creating a default dashboard summarizing data quality metrics. + /// + [Input("skipBuiltinDashboard")] + public Input? SkipBuiltinDashboard { get; set; } + + [Input("slicingExprs")] + private InputList? _slicingExprs; + + /// + /// List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + /// + public InputList SlicingExprs + { + get => _slicingExprs ?? (_slicingExprs = new InputList()); + set => _slicingExprs = value; + } + + /// + /// Configuration for monitoring snapshot tables. + /// + [Input("snapshot")] + public Input? Snapshot { get; set; } + + /// + /// Status of the Monitor + /// + [Input("status")] + public Input? Status { get; set; } + + /// + /// The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + /// + [Input("tableName")] + public Input? TableName { get; set; } + + /// + /// Configuration for monitoring timeseries tables. + /// + [Input("timeSeries")] + public Input? TimeSeries { get; set; } + + /// + /// Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + /// + [Input("warehouseId")] + public Input? WarehouseId { get; set; } + + public LakehouseMonitorState() + { + } + public static new LakehouseMonitorState Empty => new LakehouseMonitorState(); + } +} diff --git a/sdk/dotnet/ModelServing.cs b/sdk/dotnet/ModelServing.cs index ccdabbcd..b0c1eef9 100644 --- a/sdk/dotnet/ModelServing.cs +++ b/sdk/dotnet/ModelServing.cs @@ -12,6 +12,8 @@ namespace Pulumi.Databricks /// /// This resource allows you to manage [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks. /// + /// **Note** If you replace `served_models` with `served_entities` in an existing serving endpoint, the serving endpoint will briefly go into an update state (~30 seconds) and increment the config version. + /// /// ## Example Usage /// /// <!--Start PulumiCodeChooser --> @@ -27,20 +29,20 @@ namespace Pulumi.Databricks /// { /// Config = new Databricks.Inputs.ModelServingConfigArgs /// { - /// ServedModels = new[] + /// ServedEntities = new[] /// { - /// new Databricks.Inputs.ModelServingConfigServedModelArgs + /// new Databricks.Inputs.ModelServingConfigServedEntityArgs /// { - /// ModelName = "ads-model", - /// ModelVersion = "2", + /// EntityName = "ads-model", + /// EntityVersion = "2", /// Name = "prod_model", /// ScaleToZeroEnabled = true, /// WorkloadSize = "Small", /// }, - /// new Databricks.Inputs.ModelServingConfigServedModelArgs + /// new Databricks.Inputs.ModelServingConfigServedEntityArgs /// { - /// ModelName = "ads-model", - /// ModelVersion = "4", + /// EntityName = "ads-model", + /// EntityVersion = "4", /// Name = "candidate_model", /// ScaleToZeroEnabled = false, /// WorkloadSize = "Small", @@ -110,6 +112,9 @@ public partial class ModelServing : global::Pulumi.CustomResource [Output("name")] public Output Name { get; private set; } = null!; + /// + /// A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + /// [Output("rateLimits")] public Output> RateLimits { get; private set; } = null!; @@ -119,6 +124,9 @@ public partial class ModelServing : global::Pulumi.CustomResource [Output("servingEndpointId")] public Output ServingEndpointId { get; private set; } = null!; + /// + /// Tags to be attached to the serving endpoint and automatically propagated to billing logs. + /// [Output("tags")] public Output> Tags { get; private set; } = null!; @@ -182,6 +190,10 @@ public sealed class ModelServingArgs : global::Pulumi.ResourceArgs [Input("rateLimits")] private InputList? _rateLimits; + + /// + /// A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + /// public InputList RateLimits { get => _rateLimits ?? (_rateLimits = new InputList()); @@ -190,6 +202,10 @@ public InputList RateLimits [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()); @@ -218,6 +234,10 @@ public sealed class ModelServingState : global::Pulumi.ResourceArgs [Input("rateLimits")] private InputList? _rateLimits; + + /// + /// A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + /// public InputList RateLimits { get => _rateLimits ?? (_rateLimits = new InputList()); @@ -232,6 +252,10 @@ public InputList RateLimits [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()); diff --git a/sdk/dotnet/OnlineTable.cs b/sdk/dotnet/OnlineTable.cs new file mode 100644 index 00000000..f1b4a05a --- /dev/null +++ b/sdk/dotnet/OnlineTable.cs @@ -0,0 +1,171 @@ +// *** 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 +{ + /// + /// > **Note** This resource could be only used on Unity Catalog-enabled workspace! + /// + /// This resource allows you to create [Online Table](https://docs.databricks.com/en/machine-learning/feature-store/online-tables.html) in Databricks. An online table is a read-only copy of a Delta Table that is stored in row-oriented format optimized for online access. Online tables are fully serverless tables that auto-scale throughput capacity with the request load and provide low latency and high throughput access to data of any scale. Online tables are designed to work with Databricks Model Serving, Feature Serving, and retrieval-augmented generation (RAG) applications where they are used for fast data lookups. + /// + /// ## Example Usage + /// + /// <!--Start PulumiCodeChooser --> + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = new Databricks.OnlineTable("this", new() + /// { + /// Spec = new Databricks.Inputs.OnlineTableSpecArgs + /// { + /// PrimaryKeyColumns = new[] + /// { + /// "id", + /// }, + /// RunTriggered = null, + /// SourceTableFullName = "main.default.source_table", + /// }, + /// }); + /// + /// }); + /// ``` + /// <!--End PulumiCodeChooser --> + /// + /// ## Import + /// + /// The resource can be imported using the name of the Online Table: + /// + /// bash + /// + /// ```sh + /// $ pulumi import databricks:index/onlineTable:OnlineTable this <endpoint-name> + /// ``` + /// + [DatabricksResourceType("databricks:index/onlineTable:OnlineTable")] + public partial class OnlineTable : global::Pulumi.CustomResource + { + /// + /// 3-level name of the Online Table to create. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// object containing specification of the online table: + /// + [Output("spec")] + public Output Spec { get; private set; } = null!; + + /// + /// object describing status of the online table: + /// + [Output("statuses")] + public Output> Statuses { get; private set; } = null!; + + + /// + /// Create a OnlineTable 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 OnlineTable(string name, OnlineTableArgs? args = null, CustomResourceOptions? options = null) + : base("databricks:index/onlineTable:OnlineTable", name, args ?? new OnlineTableArgs(), MakeResourceOptions(options, "")) + { + } + + private OnlineTable(string name, Input id, OnlineTableState? state = null, CustomResourceOptions? options = null) + : base("databricks:index/onlineTable:OnlineTable", 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 OnlineTable 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 OnlineTable Get(string name, Input id, OnlineTableState? state = null, CustomResourceOptions? options = null) + { + return new OnlineTable(name, id, state, options); + } + } + + public sealed class OnlineTableArgs : global::Pulumi.ResourceArgs + { + /// + /// 3-level name of the Online Table to create. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// object containing specification of the online table: + /// + [Input("spec")] + public Input? Spec { get; set; } + + public OnlineTableArgs() + { + } + public static new OnlineTableArgs Empty => new OnlineTableArgs(); + } + + public sealed class OnlineTableState : global::Pulumi.ResourceArgs + { + /// + /// 3-level name of the Online Table to create. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// object containing specification of the online table: + /// + [Input("spec")] + public Input? Spec { get; set; } + + [Input("statuses")] + private InputList? _statuses; + + /// + /// object describing status of the online table: + /// + public InputList Statuses + { + get => _statuses ?? (_statuses = new InputList()); + set => _statuses = value; + } + + public OnlineTableState() + { + } + public static new OnlineTableState Empty => new OnlineTableState(); + } +} diff --git a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskConditionTaskResult.cs b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskConditionTaskResult.cs index 2c3820fa..35793aae 100644 --- a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskConditionTaskResult.cs +++ b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskConditionTaskResult.cs @@ -13,17 +13,17 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class GetJobJobSettingsSettingsTaskConditionTaskResult { - public readonly string? Left; - public readonly string? Op; - public readonly string? Right; + public readonly string Left; + public readonly string Op; + public readonly string Right; [OutputConstructor] private GetJobJobSettingsSettingsTaskConditionTaskResult( - string? left, + string left, - string? op, + string op, - string? right) + string right) { Left = left; Op = op; diff --git a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskEmailNotificationsResult.cs b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskEmailNotificationsResult.cs index 60402e43..7e34d534 100644 --- a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskEmailNotificationsResult.cs +++ b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskEmailNotificationsResult.cs @@ -13,6 +13,7 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class GetJobJobSettingsSettingsTaskEmailNotificationsResult { + public readonly bool? NoAlertForSkippedRuns; public readonly ImmutableArray OnDurationWarningThresholdExceededs; public readonly ImmutableArray OnFailures; public readonly ImmutableArray OnStarts; @@ -20,6 +21,8 @@ public sealed class GetJobJobSettingsSettingsTaskEmailNotificationsResult [OutputConstructor] private GetJobJobSettingsSettingsTaskEmailNotificationsResult( + bool? noAlertForSkippedRuns, + ImmutableArray onDurationWarningThresholdExceededs, ImmutableArray onFailures, @@ -28,6 +31,7 @@ private GetJobJobSettingsSettingsTaskEmailNotificationsResult( ImmutableArray onSuccesses) { + NoAlertForSkippedRuns = noAlertForSkippedRuns; OnDurationWarningThresholdExceededs = onDurationWarningThresholdExceededs; OnFailures = onFailures; OnStarts = onStarts; diff --git a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskResult.cs b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskResult.cs index c284031e..939cd3bc 100644 --- a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskResult.cs +++ b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskResult.cs @@ -13,17 +13,17 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskResult { - public readonly string? Left; - public readonly string? Op; - public readonly string? Right; + public readonly string Left; + public readonly string Op; + public readonly string Right; [OutputConstructor] private GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskResult( - string? left, + string left, - string? op, + string op, - string? right) + string right) { Left = left; Op = op; diff --git a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsResult.cs b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsResult.cs index da57d99a..59e20b8f 100644 --- a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsResult.cs +++ b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsResult.cs @@ -13,6 +13,7 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsResult { + public readonly bool? NoAlertForSkippedRuns; public readonly ImmutableArray OnDurationWarningThresholdExceededs; public readonly ImmutableArray OnFailures; public readonly ImmutableArray OnStarts; @@ -20,6 +21,8 @@ public sealed class GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificatio [OutputConstructor] private GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsResult( + bool? noAlertForSkippedRuns, + ImmutableArray onDurationWarningThresholdExceededs, ImmutableArray onFailures, @@ -28,6 +31,7 @@ private GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsResult( ImmutableArray onSuccesses) { + NoAlertForSkippedRuns = noAlertForSkippedRuns; OnDurationWarningThresholdExceededs = onDurationWarningThresholdExceededs; OnFailures = onFailures; OnStarts = onStarts; diff --git a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededResult.cs b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededResult.cs index bc5c6b8d..1de6b496 100644 --- a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededResult.cs +++ b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededResult.cs @@ -16,10 +16,10 @@ public sealed class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificat /// /// the id of databricks.Job if the resource was matched by name. /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededResult(string? id) + private GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededResult(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureResult.cs b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureResult.cs index f3ab865f..59704cdd 100644 --- a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureResult.cs +++ b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureResult.cs @@ -16,10 +16,10 @@ public sealed class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificat /// /// the id of databricks.Job if the resource was matched by name. /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureResult(string? id) + private GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureResult(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartResult.cs b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartResult.cs index b6479018..377e029c 100644 --- a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartResult.cs +++ b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartResult.cs @@ -16,10 +16,10 @@ public sealed class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificat /// /// the id of databricks.Job if the resource was matched by name. /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartResult(string? id) + private GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartResult(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessResult.cs b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessResult.cs index fb6c6afc..f9935ad1 100644 --- a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessResult.cs +++ b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessResult.cs @@ -16,10 +16,10 @@ public sealed class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificat /// /// the id of databricks.Job if the resource was matched by name. /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessResult(string? id) + private GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessResult(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededResult.cs b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededResult.cs index 1607986f..4a48fc29 100644 --- a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededResult.cs +++ b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededResult.cs @@ -16,10 +16,10 @@ public sealed class GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationW /// /// the id of databricks.Job if the resource was matched by name. /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededResult(string? id) + private GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededResult(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureResult.cs b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureResult.cs index f6fc2aa9..3946f020 100644 --- a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureResult.cs +++ b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureResult.cs @@ -16,10 +16,10 @@ public sealed class GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureRe /// /// the id of databricks.Job if the resource was matched by name. /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureResult(string? id) + private GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureResult(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartResult.cs b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartResult.cs index c42dca40..e64efb98 100644 --- a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartResult.cs +++ b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartResult.cs @@ -16,10 +16,10 @@ public sealed class GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartResu /// /// the id of databricks.Job if the resource was matched by name. /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartResult(string? id) + private GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartResult(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessResult.cs b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessResult.cs index 5b23e441..54c69dae 100644 --- a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessResult.cs +++ b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessResult.cs @@ -16,10 +16,10 @@ public sealed class GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessRe /// /// the id of databricks.Job if the resource was matched by name. /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessResult(string? id) + private GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessResult(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTriggerResult.cs b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTriggerResult.cs index de711f7b..fe559e50 100644 --- a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTriggerResult.cs +++ b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTriggerResult.cs @@ -13,17 +13,21 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class GetJobJobSettingsSettingsTriggerResult { - public readonly Outputs.GetJobJobSettingsSettingsTriggerFileArrivalResult FileArrival; + public readonly Outputs.GetJobJobSettingsSettingsTriggerFileArrivalResult? FileArrival; public readonly string? PauseStatus; + public readonly Outputs.GetJobJobSettingsSettingsTriggerTableUpdateResult? TableUpdate; [OutputConstructor] private GetJobJobSettingsSettingsTriggerResult( - Outputs.GetJobJobSettingsSettingsTriggerFileArrivalResult fileArrival, + Outputs.GetJobJobSettingsSettingsTriggerFileArrivalResult? fileArrival, - string? pauseStatus) + string? pauseStatus, + + Outputs.GetJobJobSettingsSettingsTriggerTableUpdateResult? tableUpdate) { FileArrival = fileArrival; PauseStatus = pauseStatus; + TableUpdate = tableUpdate; } } } diff --git a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTriggerTableUpdateResult.cs b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTriggerTableUpdateResult.cs new file mode 100644 index 00000000..843ac64a --- /dev/null +++ b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsTriggerTableUpdateResult.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 GetJobJobSettingsSettingsTriggerTableUpdateResult + { + public readonly string? Condition; + public readonly int? MinTimeBetweenTriggersSeconds; + public readonly ImmutableArray TableNames; + public readonly int? WaitAfterLastChangeSeconds; + + [OutputConstructor] + private GetJobJobSettingsSettingsTriggerTableUpdateResult( + string? condition, + + int? minTimeBetweenTriggersSeconds, + + ImmutableArray tableNames, + + int? waitAfterLastChangeSeconds) + { + Condition = condition; + MinTimeBetweenTriggersSeconds = minTimeBetweenTriggersSeconds; + TableNames = tableNames; + WaitAfterLastChangeSeconds = waitAfterLastChangeSeconds; + } + } +} diff --git a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededResult.cs b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededResult.cs index 33e3a732..a8151d7e 100644 --- a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededResult.cs +++ b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededResult.cs @@ -16,10 +16,10 @@ public sealed class GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarni /// /// the id of databricks.Job if the resource was matched by name. /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededResult(string? id) + private GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededResult(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailureResult.cs b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailureResult.cs index e61d723d..a4ff56fe 100644 --- a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailureResult.cs +++ b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailureResult.cs @@ -16,10 +16,10 @@ public sealed class GetJobJobSettingsSettingsWebhookNotificationsOnFailureResult /// /// the id of databricks.Job if the resource was matched by name. /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private GetJobJobSettingsSettingsWebhookNotificationsOnFailureResult(string? id) + private GetJobJobSettingsSettingsWebhookNotificationsOnFailureResult(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsWebhookNotificationsOnStartResult.cs b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsWebhookNotificationsOnStartResult.cs index acc8817d..9e7d049f 100644 --- a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsWebhookNotificationsOnStartResult.cs +++ b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsWebhookNotificationsOnStartResult.cs @@ -16,10 +16,10 @@ public sealed class GetJobJobSettingsSettingsWebhookNotificationsOnStartResult /// /// the id of databricks.Job if the resource was matched by name. /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private GetJobJobSettingsSettingsWebhookNotificationsOnStartResult(string? id) + private GetJobJobSettingsSettingsWebhookNotificationsOnStartResult(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccessResult.cs b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccessResult.cs index 1d167985..b390ae1a 100644 --- a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccessResult.cs +++ b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccessResult.cs @@ -16,10 +16,10 @@ public sealed class GetJobJobSettingsSettingsWebhookNotificationsOnSuccessResult /// /// the id of databricks.Job if the resource was matched by name. /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private GetJobJobSettingsSettingsWebhookNotificationsOnSuccessResult(string? id) + private GetJobJobSettingsSettingsWebhookNotificationsOnSuccessResult(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/JobTask.cs b/sdk/dotnet/Outputs/JobTask.cs index 98cca7f6..e2002c66 100644 --- a/sdk/dotnet/Outputs/JobTask.cs +++ b/sdk/dotnet/Outputs/JobTask.cs @@ -39,7 +39,7 @@ public sealed class JobTask /// public readonly string? JobClusterKey; /// - /// (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + /// (Set) An optional list of libraries to be installed on the cluster that will execute the job. /// public readonly ImmutableArray Libraries; /// diff --git a/sdk/dotnet/Outputs/JobTaskConditionTask.cs b/sdk/dotnet/Outputs/JobTaskConditionTask.cs index c73aa583..a0d74f0d 100644 --- a/sdk/dotnet/Outputs/JobTaskConditionTask.cs +++ b/sdk/dotnet/Outputs/JobTaskConditionTask.cs @@ -16,25 +16,25 @@ public sealed class JobTaskConditionTask /// /// The left operand of the condition task. It could be a string value, job state, or a parameter reference. /// - public readonly string? Left; + public readonly string 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. /// - public readonly string? Op; + public readonly string Op; /// /// The right operand of the condition task. It could be a string value, job state, or parameter reference. /// - public readonly string? Right; + public readonly string Right; [OutputConstructor] private JobTaskConditionTask( - string? left, + string left, - string? op, + string op, - string? right) + string right) { Left = left; Op = op; diff --git a/sdk/dotnet/Outputs/JobTaskEmailNotifications.cs b/sdk/dotnet/Outputs/JobTaskEmailNotifications.cs index f33621e8..03318374 100644 --- a/sdk/dotnet/Outputs/JobTaskEmailNotifications.cs +++ b/sdk/dotnet/Outputs/JobTaskEmailNotifications.cs @@ -13,6 +13,10 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class JobTaskEmailNotifications { + /// + /// (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + /// + public readonly bool? 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. /// @@ -32,6 +36,8 @@ public sealed class JobTaskEmailNotifications [OutputConstructor] private JobTaskEmailNotifications( + bool? noAlertForSkippedRuns, + ImmutableArray onDurationWarningThresholdExceededs, ImmutableArray onFailures, @@ -40,6 +46,7 @@ private JobTaskEmailNotifications( ImmutableArray onSuccesses) { + NoAlertForSkippedRuns = noAlertForSkippedRuns; OnDurationWarningThresholdExceededs = onDurationWarningThresholdExceededs; OnFailures = onFailures; OnStarts = onStarts; diff --git a/sdk/dotnet/Outputs/JobTaskForEachTaskTask.cs b/sdk/dotnet/Outputs/JobTaskForEachTaskTask.cs index aa909e40..3914badd 100644 --- a/sdk/dotnet/Outputs/JobTaskForEachTaskTask.cs +++ b/sdk/dotnet/Outputs/JobTaskForEachTaskTask.cs @@ -38,7 +38,7 @@ public sealed class JobTaskForEachTaskTask /// public readonly string? JobClusterKey; /// - /// (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + /// (Set) An optional list of libraries to be installed on the cluster that will execute the job. /// public readonly ImmutableArray Libraries; /// diff --git a/sdk/dotnet/Outputs/JobTaskForEachTaskTaskConditionTask.cs b/sdk/dotnet/Outputs/JobTaskForEachTaskTaskConditionTask.cs index 5d8b0c56..5ea0f925 100644 --- a/sdk/dotnet/Outputs/JobTaskForEachTaskTaskConditionTask.cs +++ b/sdk/dotnet/Outputs/JobTaskForEachTaskTaskConditionTask.cs @@ -16,25 +16,25 @@ public sealed class JobTaskForEachTaskTaskConditionTask /// /// The left operand of the condition task. It could be a string value, job state, or a parameter reference. /// - public readonly string? Left; + public readonly string 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. /// - public readonly string? Op; + public readonly string Op; /// /// The right operand of the condition task. It could be a string value, job state, or parameter reference. /// - public readonly string? Right; + public readonly string Right; [OutputConstructor] private JobTaskForEachTaskTaskConditionTask( - string? left, + string left, - string? op, + string op, - string? right) + string right) { Left = left; Op = op; diff --git a/sdk/dotnet/Outputs/JobTaskForEachTaskTaskEmailNotifications.cs b/sdk/dotnet/Outputs/JobTaskForEachTaskTaskEmailNotifications.cs index bd15c732..9eb90cdb 100644 --- a/sdk/dotnet/Outputs/JobTaskForEachTaskTaskEmailNotifications.cs +++ b/sdk/dotnet/Outputs/JobTaskForEachTaskTaskEmailNotifications.cs @@ -13,6 +13,10 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class JobTaskForEachTaskTaskEmailNotifications { + /// + /// (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + /// + public readonly bool? 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. /// @@ -32,6 +36,8 @@ public sealed class JobTaskForEachTaskTaskEmailNotifications [OutputConstructor] private JobTaskForEachTaskTaskEmailNotifications( + bool? noAlertForSkippedRuns, + ImmutableArray onDurationWarningThresholdExceededs, ImmutableArray onFailures, @@ -40,6 +46,7 @@ private JobTaskForEachTaskTaskEmailNotifications( ImmutableArray onSuccesses) { + NoAlertForSkippedRuns = noAlertForSkippedRuns; OnDurationWarningThresholdExceededs = onDurationWarningThresholdExceededs; OnFailures = onFailures; OnStarts = onStarts; diff --git a/sdk/dotnet/Outputs/JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded.cs b/sdk/dotnet/Outputs/JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded.cs index 638e8085..770b9318 100644 --- a/sdk/dotnet/Outputs/JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded.cs +++ b/sdk/dotnet/Outputs/JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded.cs @@ -18,10 +18,10 @@ public sealed class JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningT /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded(string? id) + private JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/JobTaskForEachTaskTaskWebhookNotificationsOnFailure.cs b/sdk/dotnet/Outputs/JobTaskForEachTaskTaskWebhookNotificationsOnFailure.cs index 65d9dc0f..9d235548 100644 --- a/sdk/dotnet/Outputs/JobTaskForEachTaskTaskWebhookNotificationsOnFailure.cs +++ b/sdk/dotnet/Outputs/JobTaskForEachTaskTaskWebhookNotificationsOnFailure.cs @@ -18,10 +18,10 @@ public sealed class JobTaskForEachTaskTaskWebhookNotificationsOnFailure /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private JobTaskForEachTaskTaskWebhookNotificationsOnFailure(string? id) + private JobTaskForEachTaskTaskWebhookNotificationsOnFailure(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/JobTaskForEachTaskTaskWebhookNotificationsOnStart.cs b/sdk/dotnet/Outputs/JobTaskForEachTaskTaskWebhookNotificationsOnStart.cs index 44f54699..86e94fb1 100644 --- a/sdk/dotnet/Outputs/JobTaskForEachTaskTaskWebhookNotificationsOnStart.cs +++ b/sdk/dotnet/Outputs/JobTaskForEachTaskTaskWebhookNotificationsOnStart.cs @@ -18,10 +18,10 @@ public sealed class JobTaskForEachTaskTaskWebhookNotificationsOnStart /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private JobTaskForEachTaskTaskWebhookNotificationsOnStart(string? id) + private JobTaskForEachTaskTaskWebhookNotificationsOnStart(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/JobTaskForEachTaskTaskWebhookNotificationsOnSuccess.cs b/sdk/dotnet/Outputs/JobTaskForEachTaskTaskWebhookNotificationsOnSuccess.cs index 2e2cd202..cfa86c6e 100644 --- a/sdk/dotnet/Outputs/JobTaskForEachTaskTaskWebhookNotificationsOnSuccess.cs +++ b/sdk/dotnet/Outputs/JobTaskForEachTaskTaskWebhookNotificationsOnSuccess.cs @@ -18,10 +18,10 @@ public sealed class JobTaskForEachTaskTaskWebhookNotificationsOnSuccess /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private JobTaskForEachTaskTaskWebhookNotificationsOnSuccess(string? id) + private JobTaskForEachTaskTaskWebhookNotificationsOnSuccess(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded.cs b/sdk/dotnet/Outputs/JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded.cs index d7264388..b7b31dcd 100644 --- a/sdk/dotnet/Outputs/JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded.cs +++ b/sdk/dotnet/Outputs/JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded.cs @@ -18,10 +18,10 @@ public sealed class JobTaskWebhookNotificationsOnDurationWarningThresholdExceede /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded(string? id) + private JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/JobTaskWebhookNotificationsOnFailure.cs b/sdk/dotnet/Outputs/JobTaskWebhookNotificationsOnFailure.cs index 37858849..a67c8f77 100644 --- a/sdk/dotnet/Outputs/JobTaskWebhookNotificationsOnFailure.cs +++ b/sdk/dotnet/Outputs/JobTaskWebhookNotificationsOnFailure.cs @@ -18,10 +18,10 @@ public sealed class JobTaskWebhookNotificationsOnFailure /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private JobTaskWebhookNotificationsOnFailure(string? id) + private JobTaskWebhookNotificationsOnFailure(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/JobTaskWebhookNotificationsOnStart.cs b/sdk/dotnet/Outputs/JobTaskWebhookNotificationsOnStart.cs index 00bb8171..a53d046c 100644 --- a/sdk/dotnet/Outputs/JobTaskWebhookNotificationsOnStart.cs +++ b/sdk/dotnet/Outputs/JobTaskWebhookNotificationsOnStart.cs @@ -18,10 +18,10 @@ public sealed class JobTaskWebhookNotificationsOnStart /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private JobTaskWebhookNotificationsOnStart(string? id) + private JobTaskWebhookNotificationsOnStart(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/JobTaskWebhookNotificationsOnSuccess.cs b/sdk/dotnet/Outputs/JobTaskWebhookNotificationsOnSuccess.cs index 123a6269..b6bb4a9e 100644 --- a/sdk/dotnet/Outputs/JobTaskWebhookNotificationsOnSuccess.cs +++ b/sdk/dotnet/Outputs/JobTaskWebhookNotificationsOnSuccess.cs @@ -18,10 +18,10 @@ public sealed class JobTaskWebhookNotificationsOnSuccess /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private JobTaskWebhookNotificationsOnSuccess(string? id) + private JobTaskWebhookNotificationsOnSuccess(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/JobTrigger.cs b/sdk/dotnet/Outputs/JobTrigger.cs index 5fbb0e70..c63f2f89 100644 --- a/sdk/dotnet/Outputs/JobTrigger.cs +++ b/sdk/dotnet/Outputs/JobTrigger.cs @@ -16,20 +16,27 @@ public sealed class JobTrigger /// /// 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: /// - public readonly Outputs.JobTriggerFileArrival FileArrival; + public readonly Outputs.JobTriggerFileArrival? FileArrival; /// /// 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`. /// public readonly string? PauseStatus; + /// + /// configuration block to define a trigger for Table Update events consisting of following attributes: + /// + public readonly Outputs.JobTriggerTableUpdate? TableUpdate; [OutputConstructor] private JobTrigger( - Outputs.JobTriggerFileArrival fileArrival, + Outputs.JobTriggerFileArrival? fileArrival, + + string? pauseStatus, - string? pauseStatus) + Outputs.JobTriggerTableUpdate? tableUpdate) { FileArrival = fileArrival; PauseStatus = pauseStatus; + TableUpdate = tableUpdate; } } } diff --git a/sdk/dotnet/Outputs/JobTriggerTableUpdate.cs b/sdk/dotnet/Outputs/JobTriggerTableUpdate.cs new file mode 100644 index 00000000..82615404 --- /dev/null +++ b/sdk/dotnet/Outputs/JobTriggerTableUpdate.cs @@ -0,0 +1,49 @@ +// *** 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 JobTriggerTableUpdate + { + /// + /// The table(s) condition based on which to trigger a job run. Valid values are `ANY_UPDATED` or `ALL_UPDATED`. + /// + public readonly string? 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. + /// + public readonly int? MinTimeBetweenTriggersSeconds; + /// + /// A list of Delta tables to monitor for changes. The table name must be in the format `catalog_name.schema_name.table_name`. + /// + public readonly ImmutableArray 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. + /// + public readonly int? WaitAfterLastChangeSeconds; + + [OutputConstructor] + private JobTriggerTableUpdate( + string? condition, + + int? minTimeBetweenTriggersSeconds, + + ImmutableArray tableNames, + + int? waitAfterLastChangeSeconds) + { + Condition = condition; + MinTimeBetweenTriggersSeconds = minTimeBetweenTriggersSeconds; + TableNames = tableNames; + WaitAfterLastChangeSeconds = waitAfterLastChangeSeconds; + } + } +} diff --git a/sdk/dotnet/Outputs/JobWebhookNotificationsOnDurationWarningThresholdExceeded.cs b/sdk/dotnet/Outputs/JobWebhookNotificationsOnDurationWarningThresholdExceeded.cs index 6a9fbf0c..cff76767 100644 --- a/sdk/dotnet/Outputs/JobWebhookNotificationsOnDurationWarningThresholdExceeded.cs +++ b/sdk/dotnet/Outputs/JobWebhookNotificationsOnDurationWarningThresholdExceeded.cs @@ -18,10 +18,10 @@ public sealed class JobWebhookNotificationsOnDurationWarningThresholdExceeded /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private JobWebhookNotificationsOnDurationWarningThresholdExceeded(string? id) + private JobWebhookNotificationsOnDurationWarningThresholdExceeded(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/JobWebhookNotificationsOnFailure.cs b/sdk/dotnet/Outputs/JobWebhookNotificationsOnFailure.cs index c26b227b..352bc05d 100644 --- a/sdk/dotnet/Outputs/JobWebhookNotificationsOnFailure.cs +++ b/sdk/dotnet/Outputs/JobWebhookNotificationsOnFailure.cs @@ -18,10 +18,10 @@ public sealed class JobWebhookNotificationsOnFailure /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private JobWebhookNotificationsOnFailure(string? id) + private JobWebhookNotificationsOnFailure(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/JobWebhookNotificationsOnStart.cs b/sdk/dotnet/Outputs/JobWebhookNotificationsOnStart.cs index a084ad52..eece8f12 100644 --- a/sdk/dotnet/Outputs/JobWebhookNotificationsOnStart.cs +++ b/sdk/dotnet/Outputs/JobWebhookNotificationsOnStart.cs @@ -18,10 +18,10 @@ public sealed class JobWebhookNotificationsOnStart /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private JobWebhookNotificationsOnStart(string? id) + private JobWebhookNotificationsOnStart(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/JobWebhookNotificationsOnSuccess.cs b/sdk/dotnet/Outputs/JobWebhookNotificationsOnSuccess.cs index 8499ab0b..d0938d29 100644 --- a/sdk/dotnet/Outputs/JobWebhookNotificationsOnSuccess.cs +++ b/sdk/dotnet/Outputs/JobWebhookNotificationsOnSuccess.cs @@ -18,10 +18,10 @@ public sealed class JobWebhookNotificationsOnSuccess /// /// > **Note** The following configuration blocks can be standalone or nested inside a `task` block /// - public readonly string? Id; + public readonly string Id; [OutputConstructor] - private JobWebhookNotificationsOnSuccess(string? id) + private JobWebhookNotificationsOnSuccess(string id) { Id = id; } diff --git a/sdk/dotnet/Outputs/LakehouseMonitorCustomMetric.cs b/sdk/dotnet/Outputs/LakehouseMonitorCustomMetric.cs new file mode 100644 index 00000000..1022586d --- /dev/null +++ b/sdk/dotnet/Outputs/LakehouseMonitorCustomMetric.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.Outputs +{ + + [OutputType] + public sealed class LakehouseMonitorCustomMetric + { + /// + /// [create metric definition]: https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition + /// + public readonly string? Definition; + /// + /// Columns on the monitored table to apply the custom metrics to. + /// + public readonly ImmutableArray InputColumns; + /// + /// Name of the custom metric. + /// + public readonly string? Name; + /// + /// The output type of the custom metric. + /// + public readonly string? OutputDataType; + /// + /// The type of the custom metric. + /// + public readonly string? Type; + + [OutputConstructor] + private LakehouseMonitorCustomMetric( + string? definition, + + ImmutableArray inputColumns, + + string? name, + + string? outputDataType, + + string? type) + { + Definition = definition; + InputColumns = inputColumns; + Name = name; + OutputDataType = outputDataType; + Type = type; + } + } +} diff --git a/sdk/dotnet/Outputs/LakehouseMonitorDataClassificationConfig.cs b/sdk/dotnet/Outputs/LakehouseMonitorDataClassificationConfig.cs new file mode 100644 index 00000000..98927368 --- /dev/null +++ b/sdk/dotnet/Outputs/LakehouseMonitorDataClassificationConfig.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 LakehouseMonitorDataClassificationConfig + { + public readonly bool? Enabled; + + [OutputConstructor] + private LakehouseMonitorDataClassificationConfig(bool? enabled) + { + Enabled = enabled; + } + } +} diff --git a/sdk/dotnet/Outputs/LakehouseMonitorInferenceLog.cs b/sdk/dotnet/Outputs/LakehouseMonitorInferenceLog.cs new file mode 100644 index 00000000..b88717f2 --- /dev/null +++ b/sdk/dotnet/Outputs/LakehouseMonitorInferenceLog.cs @@ -0,0 +1,70 @@ +// *** 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 LakehouseMonitorInferenceLog + { + /// + /// List of granularities to use when aggregating data into time windows based on their timestamp. + /// + public readonly ImmutableArray Granularities; + /// + /// Column of the model label + /// + public readonly string? LabelCol; + /// + /// Column of the model id or version + /// + public readonly string? ModelIdCol; + /// + /// Column of the model prediction + /// + public readonly string? PredictionCol; + /// + /// Column of the model prediction probabilities + /// + public readonly string? PredictionProbaCol; + /// + /// Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + /// + public readonly string? ProblemType; + /// + /// Column of the timestamp of predictions + /// + public readonly string? TimestampCol; + + [OutputConstructor] + private LakehouseMonitorInferenceLog( + ImmutableArray granularities, + + string? labelCol, + + string? modelIdCol, + + string? predictionCol, + + string? predictionProbaCol, + + string? problemType, + + string? timestampCol) + { + Granularities = granularities; + LabelCol = labelCol; + ModelIdCol = modelIdCol; + PredictionCol = predictionCol; + PredictionProbaCol = predictionProbaCol; + ProblemType = problemType; + TimestampCol = timestampCol; + } + } +} diff --git a/sdk/dotnet/Outputs/LakehouseMonitorNotifications.cs b/sdk/dotnet/Outputs/LakehouseMonitorNotifications.cs new file mode 100644 index 00000000..2326d0b8 --- /dev/null +++ b/sdk/dotnet/Outputs/LakehouseMonitorNotifications.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 LakehouseMonitorNotifications + { + public readonly Outputs.LakehouseMonitorNotificationsOnFailure? OnFailure; + + [OutputConstructor] + private LakehouseMonitorNotifications(Outputs.LakehouseMonitorNotificationsOnFailure? onFailure) + { + OnFailure = onFailure; + } + } +} diff --git a/sdk/dotnet/Outputs/LakehouseMonitorNotificationsOnFailure.cs b/sdk/dotnet/Outputs/LakehouseMonitorNotificationsOnFailure.cs new file mode 100644 index 00000000..dcc4e3b7 --- /dev/null +++ b/sdk/dotnet/Outputs/LakehouseMonitorNotificationsOnFailure.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 LakehouseMonitorNotificationsOnFailure + { + public readonly ImmutableArray EmailAddresses; + + [OutputConstructor] + private LakehouseMonitorNotificationsOnFailure(ImmutableArray emailAddresses) + { + EmailAddresses = emailAddresses; + } + } +} diff --git a/sdk/dotnet/Outputs/LakehouseMonitorSchedule.cs b/sdk/dotnet/Outputs/LakehouseMonitorSchedule.cs new file mode 100644 index 00000000..5b2f063d --- /dev/null +++ b/sdk/dotnet/Outputs/LakehouseMonitorSchedule.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 LakehouseMonitorSchedule + { + public readonly string? PauseStatus; + public readonly string? QuartzCronExpression; + public readonly string? TimezoneId; + + [OutputConstructor] + private LakehouseMonitorSchedule( + string? pauseStatus, + + string? quartzCronExpression, + + string? timezoneId) + { + PauseStatus = pauseStatus; + QuartzCronExpression = quartzCronExpression; + TimezoneId = timezoneId; + } + } +} diff --git a/sdk/dotnet/Outputs/LakehouseMonitorSnapshot.cs b/sdk/dotnet/Outputs/LakehouseMonitorSnapshot.cs new file mode 100644 index 00000000..0e460bde --- /dev/null +++ b/sdk/dotnet/Outputs/LakehouseMonitorSnapshot.cs @@ -0,0 +1,21 @@ +// *** 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 LakehouseMonitorSnapshot + { + [OutputConstructor] + private LakehouseMonitorSnapshot() + { + } + } +} diff --git a/sdk/dotnet/Outputs/LakehouseMonitorTimeSeries.cs b/sdk/dotnet/Outputs/LakehouseMonitorTimeSeries.cs new file mode 100644 index 00000000..a849c6ed --- /dev/null +++ b/sdk/dotnet/Outputs/LakehouseMonitorTimeSeries.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 LakehouseMonitorTimeSeries + { + /// + /// List of granularities to use when aggregating data into time windows based on their timestamp. + /// + public readonly ImmutableArray Granularities; + /// + /// Column of the timestamp of predictions + /// + public readonly string? TimestampCol; + + [OutputConstructor] + private LakehouseMonitorTimeSeries( + ImmutableArray granularities, + + string? timestampCol) + { + Granularities = granularities; + TimestampCol = timestampCol; + } + } +} diff --git a/sdk/dotnet/Outputs/ModelServingConfig.cs b/sdk/dotnet/Outputs/ModelServingConfig.cs index 5824a686..83e866cb 100644 --- a/sdk/dotnet/Outputs/ModelServingConfig.cs +++ b/sdk/dotnet/Outputs/ModelServingConfig.cs @@ -13,8 +13,15 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class ModelServingConfig { + /// + /// Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. + /// public readonly Outputs.ModelServingConfigAutoCaptureConfig? AutoCaptureConfig; /// + /// A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. + /// + public readonly ImmutableArray ServedEntities; + /// /// Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. /// public readonly ImmutableArray ServedModels; @@ -27,11 +34,14 @@ public sealed class ModelServingConfig private ModelServingConfig( Outputs.ModelServingConfigAutoCaptureConfig? autoCaptureConfig, + ImmutableArray servedEntities, + ImmutableArray servedModels, Outputs.ModelServingConfigTrafficConfig? trafficConfig) { AutoCaptureConfig = autoCaptureConfig; + ServedEntities = servedEntities; ServedModels = servedModels; TrafficConfig = trafficConfig; } diff --git a/sdk/dotnet/Outputs/ModelServingConfigAutoCaptureConfig.cs b/sdk/dotnet/Outputs/ModelServingConfigAutoCaptureConfig.cs index 85f40567..4d45fb35 100644 --- a/sdk/dotnet/Outputs/ModelServingConfigAutoCaptureConfig.cs +++ b/sdk/dotnet/Outputs/ModelServingConfigAutoCaptureConfig.cs @@ -13,9 +13,21 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class ModelServingConfigAutoCaptureConfig { + /// + /// The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. + /// public readonly string? CatalogName; + /// + /// If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable again. + /// public readonly bool? Enabled; + /// + /// The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + /// public readonly string? SchemaName; + /// + /// The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. + /// public readonly string? TableNamePrefix; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/ModelServingConfigServedEntity.cs b/sdk/dotnet/Outputs/ModelServingConfigServedEntity.cs new file mode 100644 index 00000000..ae01a9fc --- /dev/null +++ b/sdk/dotnet/Outputs/ModelServingConfigServedEntity.cs @@ -0,0 +1,98 @@ +// *** 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 ModelServingConfigServedEntity + { + /// + /// 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`. + /// + public readonly string? EntityName; + /// + /// The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. + /// + public readonly string? 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 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}}"}``` + /// + public readonly ImmutableDictionary? EnvironmentVars; + /// + /// 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. For an existing endpoint with `external_model`, it 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. + /// + public readonly Outputs.ModelServingConfigServedEntityExternalModel? ExternalModel; + /// + /// ARN of the instance profile that the served entity uses to access AWS resources. + /// + public readonly string? InstanceProfileArn; + /// + /// The maximum tokens per second that the endpoint can scale up to. + /// + public readonly int? MaxProvisionedThroughput; + /// + /// The minimum tokens per second that the endpoint can scale down to. + /// + public readonly int? MinProvisionedThroughput; + /// + /// The name of the external model. + /// + public readonly string? Name; + /// + /// Whether the compute resources for the served entity should scale down to zero. + /// + public readonly bool? 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. + /// + public readonly string? 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). + /// + public readonly string? WorkloadType; + + [OutputConstructor] + private ModelServingConfigServedEntity( + string? entityName, + + string? entityVersion, + + ImmutableDictionary? environmentVars, + + Outputs.ModelServingConfigServedEntityExternalModel? externalModel, + + string? instanceProfileArn, + + int? maxProvisionedThroughput, + + int? minProvisionedThroughput, + + string? name, + + bool? scaleToZeroEnabled, + + string? workloadSize, + + string? workloadType) + { + EntityName = entityName; + EntityVersion = entityVersion; + EnvironmentVars = environmentVars; + ExternalModel = externalModel; + InstanceProfileArn = instanceProfileArn; + MaxProvisionedThroughput = maxProvisionedThroughput; + MinProvisionedThroughput = minProvisionedThroughput; + Name = name; + ScaleToZeroEnabled = scaleToZeroEnabled; + WorkloadSize = workloadSize; + WorkloadType = workloadType; + } + } +} diff --git a/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModel.cs b/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModel.cs new file mode 100644 index 00000000..cc7bad02 --- /dev/null +++ b/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModel.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 ModelServingConfigServedEntityExternalModel + { + /// + /// AI21Labs Config + /// + public readonly Outputs.ModelServingConfigServedEntityExternalModelAi21labsConfig? Ai21labsConfig; + /// + /// Amazon Bedrock Config + /// + public readonly Outputs.ModelServingConfigServedEntityExternalModelAmazonBedrockConfig? AmazonBedrockConfig; + /// + /// Anthropic Config + /// + public readonly Outputs.ModelServingConfigServedEntityExternalModelAnthropicConfig? AnthropicConfig; + /// + /// Cohere Config + /// + public readonly Outputs.ModelServingConfigServedEntityExternalModelCohereConfig? CohereConfig; + /// + /// Databricks Model Serving Config + /// + public readonly Outputs.ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig? DatabricksModelServingConfig; + /// + /// The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. + /// + public readonly string Name; + /// + /// OpenAI Config + /// + public readonly Outputs.ModelServingConfigServedEntityExternalModelOpenaiConfig? OpenaiConfig; + /// + /// PaLM Config + /// + public readonly Outputs.ModelServingConfigServedEntityExternalModelPalmConfig? PalmConfig; + /// + /// The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `openai`, and `palm`. + /// + public readonly string Provider; + /// + /// The task type of the external model. + /// + public readonly string Task; + + [OutputConstructor] + private ModelServingConfigServedEntityExternalModel( + Outputs.ModelServingConfigServedEntityExternalModelAi21labsConfig? ai21labsConfig, + + Outputs.ModelServingConfigServedEntityExternalModelAmazonBedrockConfig? amazonBedrockConfig, + + Outputs.ModelServingConfigServedEntityExternalModelAnthropicConfig? anthropicConfig, + + Outputs.ModelServingConfigServedEntityExternalModelCohereConfig? cohereConfig, + + Outputs.ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig? databricksModelServingConfig, + + string name, + + Outputs.ModelServingConfigServedEntityExternalModelOpenaiConfig? openaiConfig, + + Outputs.ModelServingConfigServedEntityExternalModelPalmConfig? palmConfig, + + string provider, + + string task) + { + Ai21labsConfig = ai21labsConfig; + AmazonBedrockConfig = amazonBedrockConfig; + AnthropicConfig = anthropicConfig; + CohereConfig = cohereConfig; + DatabricksModelServingConfig = databricksModelServingConfig; + Name = name; + OpenaiConfig = openaiConfig; + PalmConfig = palmConfig; + Provider = provider; + Task = task; + } + } +} diff --git a/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelAi21labsConfig.cs b/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelAi21labsConfig.cs new file mode 100644 index 00000000..af8fa1e6 --- /dev/null +++ b/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelAi21labsConfig.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 ModelServingConfigServedEntityExternalModelAi21labsConfig + { + /// + /// The Databricks secret key reference for an AI21Labs API key. + /// + public readonly string Ai21labsApiKey; + + [OutputConstructor] + private ModelServingConfigServedEntityExternalModelAi21labsConfig(string ai21labsApiKey) + { + Ai21labsApiKey = ai21labsApiKey; + } + } +} diff --git a/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelAmazonBedrockConfig.cs b/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelAmazonBedrockConfig.cs new file mode 100644 index 00000000..1d101aeb --- /dev/null +++ b/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelAmazonBedrockConfig.cs @@ -0,0 +1,49 @@ +// *** 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 ModelServingConfigServedEntityExternalModelAmazonBedrockConfig + { + /// + /// The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. + /// + public readonly string AwsAccessKeyId; + /// + /// The AWS region to use. Bedrock has to be enabled there. + /// + public readonly string 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. + /// + public readonly string AwsSecretAccessKey; + /// + /// The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. + /// + public readonly string BedrockProvider; + + [OutputConstructor] + private ModelServingConfigServedEntityExternalModelAmazonBedrockConfig( + string awsAccessKeyId, + + string awsRegion, + + string awsSecretAccessKey, + + string bedrockProvider) + { + AwsAccessKeyId = awsAccessKeyId; + AwsRegion = awsRegion; + AwsSecretAccessKey = awsSecretAccessKey; + BedrockProvider = bedrockProvider; + } + } +} diff --git a/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelAnthropicConfig.cs b/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelAnthropicConfig.cs new file mode 100644 index 00000000..e1636db4 --- /dev/null +++ b/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelAnthropicConfig.cs @@ -0,0 +1,28 @@ +// *** 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 ModelServingConfigServedEntityExternalModelAnthropicConfig + { + /// + /// The Databricks secret key reference for an Anthropic API key. + /// The Databricks secret key reference for an Anthropic API key. + /// + public readonly string AnthropicApiKey; + + [OutputConstructor] + private ModelServingConfigServedEntityExternalModelAnthropicConfig(string anthropicApiKey) + { + AnthropicApiKey = anthropicApiKey; + } + } +} diff --git a/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelCohereConfig.cs b/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelCohereConfig.cs new file mode 100644 index 00000000..03cc4f36 --- /dev/null +++ b/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelCohereConfig.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 ModelServingConfigServedEntityExternalModelCohereConfig + { + /// + /// The Databricks secret key reference for a Cohere API key. + /// + public readonly string CohereApiKey; + + [OutputConstructor] + private ModelServingConfigServedEntityExternalModelCohereConfig(string cohereApiKey) + { + CohereApiKey = cohereApiKey; + } + } +} diff --git a/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig.cs b/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig.cs new file mode 100644 index 00000000..ccccac1b --- /dev/null +++ b/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig.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 ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig + { + /// + /// 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. + /// + public readonly string DatabricksApiToken; + /// + /// The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. + /// + public readonly string DatabricksWorkspaceUrl; + + [OutputConstructor] + private ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig( + string databricksApiToken, + + string databricksWorkspaceUrl) + { + DatabricksApiToken = databricksApiToken; + DatabricksWorkspaceUrl = databricksWorkspaceUrl; + } + } +} diff --git a/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelOpenaiConfig.cs b/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelOpenaiConfig.cs new file mode 100644 index 00000000..f000046d --- /dev/null +++ b/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelOpenaiConfig.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 ModelServingConfigServedEntityExternalModelOpenaiConfig + { + /// + /// 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. + /// + public readonly string? OpenaiApiBase; + /// + /// The Databricks secret key reference for an OpenAI or Azure OpenAI API key. + /// + public readonly string OpenaiApiKey; + /// + /// This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and adjust this parameter to represent the preferred security access validation protocol. For access token validation, use azure. For authentication using Azure Active Directory (Azure AD) use, azuread. + /// + public readonly string? 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. + /// + public readonly string? OpenaiApiVersion; + /// + /// This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. + /// + public readonly string? OpenaiDeploymentName; + /// + /// This is an optional field to specify the organization in OpenAI or Azure OpenAI. + /// + public readonly string? OpenaiOrganization; + + [OutputConstructor] + private ModelServingConfigServedEntityExternalModelOpenaiConfig( + string? openaiApiBase, + + string openaiApiKey, + + string? openaiApiType, + + string? openaiApiVersion, + + string? openaiDeploymentName, + + string? openaiOrganization) + { + OpenaiApiBase = openaiApiBase; + OpenaiApiKey = openaiApiKey; + OpenaiApiType = openaiApiType; + OpenaiApiVersion = openaiApiVersion; + OpenaiDeploymentName = openaiDeploymentName; + OpenaiOrganization = openaiOrganization; + } + } +} diff --git a/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelPalmConfig.cs b/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelPalmConfig.cs new file mode 100644 index 00000000..7aa7dc65 --- /dev/null +++ b/sdk/dotnet/Outputs/ModelServingConfigServedEntityExternalModelPalmConfig.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 ModelServingConfigServedEntityExternalModelPalmConfig + { + /// + /// The Databricks secret key reference for a PaLM API key. + /// + public readonly string PalmApiKey; + + [OutputConstructor] + private ModelServingConfigServedEntityExternalModelPalmConfig(string palmApiKey) + { + PalmApiKey = palmApiKey; + } + } +} diff --git a/sdk/dotnet/Outputs/ModelServingConfigServedModel.cs b/sdk/dotnet/Outputs/ModelServingConfigServedModel.cs index 9678d379..6f04ad43 100644 --- a/sdk/dotnet/Outputs/ModelServingConfigServedModel.cs +++ b/sdk/dotnet/Outputs/ModelServingConfigServedModel.cs @@ -34,11 +34,11 @@ public sealed class ModelServingConfigServedModel /// public readonly string? 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`. + /// 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`. /// public readonly bool? 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). + /// The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). /// public readonly string WorkloadSize; /// diff --git a/sdk/dotnet/Outputs/ModelServingConfigTrafficConfig.cs b/sdk/dotnet/Outputs/ModelServingConfigTrafficConfig.cs index de13deba..db2ce93a 100644 --- a/sdk/dotnet/Outputs/ModelServingConfigTrafficConfig.cs +++ b/sdk/dotnet/Outputs/ModelServingConfigTrafficConfig.cs @@ -14,7 +14,7 @@ namespace Pulumi.Databricks.Outputs public sealed class ModelServingConfigTrafficConfig { /// - /// Each block represents a route that defines traffic to each served model. Each `served_models` block needs to have a corresponding `routes` block + /// Each block represents a route that defines traffic to each served entity. Each `served_entity` block needs to have a corresponding `routes` block. /// public readonly ImmutableArray Routes; diff --git a/sdk/dotnet/Outputs/ModelServingConfigTrafficConfigRoute.cs b/sdk/dotnet/Outputs/ModelServingConfigTrafficConfigRoute.cs index 20717789..97c061c5 100644 --- a/sdk/dotnet/Outputs/ModelServingConfigTrafficConfigRoute.cs +++ b/sdk/dotnet/Outputs/ModelServingConfigTrafficConfigRoute.cs @@ -13,9 +13,6 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class ModelServingConfigTrafficConfigRoute { - /// - /// The name of the served model this route configures traffic for. This needs to match the name of a `served_models` block - /// public readonly string ServedModelName; /// /// The percentage of endpoint traffic to send to this route. It must be an integer between 0 and 100 inclusive. diff --git a/sdk/dotnet/Outputs/ModelServingRateLimit.cs b/sdk/dotnet/Outputs/ModelServingRateLimit.cs index a5e114a9..929c1cc3 100644 --- a/sdk/dotnet/Outputs/ModelServingRateLimit.cs +++ b/sdk/dotnet/Outputs/ModelServingRateLimit.cs @@ -13,8 +13,17 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class ModelServingRateLimit { + /// + /// Used to specify how many calls are allowed for a key within the renewal_period. + /// public readonly int Calls; + /// + /// Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + /// public readonly string? Key; + /// + /// Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + /// public readonly string RenewalPeriod; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/ModelServingTag.cs b/sdk/dotnet/Outputs/ModelServingTag.cs index 123989a1..ee629a3e 100644 --- a/sdk/dotnet/Outputs/ModelServingTag.cs +++ b/sdk/dotnet/Outputs/ModelServingTag.cs @@ -13,7 +13,13 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class ModelServingTag { + /// + /// The key field for a tag. + /// public readonly string Key; + /// + /// The value field for a tag. + /// public readonly string? Value; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/OnlineTableSpec.cs b/sdk/dotnet/Outputs/OnlineTableSpec.cs new file mode 100644 index 00000000..fc544e61 --- /dev/null +++ b/sdk/dotnet/Outputs/OnlineTableSpec.cs @@ -0,0 +1,70 @@ +// *** 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 OnlineTableSpec + { + /// + /// 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. + /// + public readonly bool? PerformFullCopy; + /// + /// ID of the associated Delta Live Table pipeline. + /// + public readonly string? PipelineId; + /// + /// list of the columns comprising the primary key. + /// + public readonly ImmutableArray PrimaryKeyColumns; + /// + /// empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `run_triggered`. + /// + public readonly Outputs.OnlineTableSpecRunContinuously? 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). + /// + public readonly Outputs.OnlineTableSpecRunTriggered? RunTriggered; + /// + /// full name of the source table. + /// + public readonly string? SourceTableFullName; + /// + /// Time series key to deduplicate (tie-break) rows with the same primary key. + /// + public readonly string? TimeseriesKey; + + [OutputConstructor] + private OnlineTableSpec( + bool? performFullCopy, + + string? pipelineId, + + ImmutableArray primaryKeyColumns, + + Outputs.OnlineTableSpecRunContinuously? runContinuously, + + Outputs.OnlineTableSpecRunTriggered? runTriggered, + + string? sourceTableFullName, + + string? timeseriesKey) + { + PerformFullCopy = performFullCopy; + PipelineId = pipelineId; + PrimaryKeyColumns = primaryKeyColumns; + RunContinuously = runContinuously; + RunTriggered = runTriggered; + SourceTableFullName = sourceTableFullName; + TimeseriesKey = timeseriesKey; + } + } +} diff --git a/sdk/dotnet/Outputs/OnlineTableSpecRunContinuously.cs b/sdk/dotnet/Outputs/OnlineTableSpecRunContinuously.cs new file mode 100644 index 00000000..8504f558 --- /dev/null +++ b/sdk/dotnet/Outputs/OnlineTableSpecRunContinuously.cs @@ -0,0 +1,21 @@ +// *** 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 OnlineTableSpecRunContinuously + { + [OutputConstructor] + private OnlineTableSpecRunContinuously() + { + } + } +} diff --git a/sdk/dotnet/Outputs/OnlineTableSpecRunTriggered.cs b/sdk/dotnet/Outputs/OnlineTableSpecRunTriggered.cs new file mode 100644 index 00000000..bf0f2858 --- /dev/null +++ b/sdk/dotnet/Outputs/OnlineTableSpecRunTriggered.cs @@ -0,0 +1,21 @@ +// *** 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 OnlineTableSpecRunTriggered + { + [OutputConstructor] + private OnlineTableSpecRunTriggered() + { + } + } +} diff --git a/sdk/dotnet/Outputs/OnlineTableStatus.cs b/sdk/dotnet/Outputs/OnlineTableStatus.cs new file mode 100644 index 00000000..e1364704 --- /dev/null +++ b/sdk/dotnet/Outputs/OnlineTableStatus.cs @@ -0,0 +1,51 @@ +// *** 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 OnlineTableStatus + { + public readonly Outputs.OnlineTableStatusContinuousUpdateStatus? ContinuousUpdateStatus; + /// + /// The state of the online table. + /// + public readonly string? DetailedState; + public readonly Outputs.OnlineTableStatusFailedStatus? FailedStatus; + /// + /// A text description of the current state of the online table. + /// + public readonly string? Message; + public readonly Outputs.OnlineTableStatusProvisioningStatus? ProvisioningStatus; + public readonly Outputs.OnlineTableStatusTriggeredUpdateStatus? TriggeredUpdateStatus; + + [OutputConstructor] + private OnlineTableStatus( + Outputs.OnlineTableStatusContinuousUpdateStatus? continuousUpdateStatus, + + string? detailedState, + + Outputs.OnlineTableStatusFailedStatus? failedStatus, + + string? message, + + Outputs.OnlineTableStatusProvisioningStatus? provisioningStatus, + + Outputs.OnlineTableStatusTriggeredUpdateStatus? triggeredUpdateStatus) + { + ContinuousUpdateStatus = continuousUpdateStatus; + DetailedState = detailedState; + FailedStatus = failedStatus; + Message = message; + ProvisioningStatus = provisioningStatus; + TriggeredUpdateStatus = triggeredUpdateStatus; + } + } +} diff --git a/sdk/dotnet/Outputs/OnlineTableStatusContinuousUpdateStatus.cs b/sdk/dotnet/Outputs/OnlineTableStatusContinuousUpdateStatus.cs new file mode 100644 index 00000000..20d08d07 --- /dev/null +++ b/sdk/dotnet/Outputs/OnlineTableStatusContinuousUpdateStatus.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 OnlineTableStatusContinuousUpdateStatus + { + public readonly Outputs.OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress? InitialPipelineSyncProgress; + public readonly int? LastProcessedCommitVersion; + public readonly string? Timestamp; + + [OutputConstructor] + private OnlineTableStatusContinuousUpdateStatus( + Outputs.OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress? initialPipelineSyncProgress, + + int? lastProcessedCommitVersion, + + string? timestamp) + { + InitialPipelineSyncProgress = initialPipelineSyncProgress; + LastProcessedCommitVersion = lastProcessedCommitVersion; + Timestamp = timestamp; + } + } +} diff --git a/sdk/dotnet/Outputs/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress.cs b/sdk/dotnet/Outputs/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress.cs new file mode 100644 index 00000000..c9aadd84 --- /dev/null +++ b/sdk/dotnet/Outputs/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress.cs @@ -0,0 +1,41 @@ +// *** 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 OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress + { + public readonly double? EstimatedCompletionTimeSeconds; + public readonly int? LatestVersionCurrentlyProcessing; + public readonly double? SyncProgressCompletion; + public readonly int? SyncedRowCount; + public readonly int? TotalRowCount; + + [OutputConstructor] + private OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress( + double? estimatedCompletionTimeSeconds, + + int? latestVersionCurrentlyProcessing, + + double? syncProgressCompletion, + + int? syncedRowCount, + + int? totalRowCount) + { + EstimatedCompletionTimeSeconds = estimatedCompletionTimeSeconds; + LatestVersionCurrentlyProcessing = latestVersionCurrentlyProcessing; + SyncProgressCompletion = syncProgressCompletion; + SyncedRowCount = syncedRowCount; + TotalRowCount = totalRowCount; + } + } +} diff --git a/sdk/dotnet/Outputs/OnlineTableStatusFailedStatus.cs b/sdk/dotnet/Outputs/OnlineTableStatusFailedStatus.cs new file mode 100644 index 00000000..7ed8092e --- /dev/null +++ b/sdk/dotnet/Outputs/OnlineTableStatusFailedStatus.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 OnlineTableStatusFailedStatus + { + public readonly int? LastProcessedCommitVersion; + public readonly string? Timestamp; + + [OutputConstructor] + private OnlineTableStatusFailedStatus( + int? lastProcessedCommitVersion, + + string? timestamp) + { + LastProcessedCommitVersion = lastProcessedCommitVersion; + Timestamp = timestamp; + } + } +} diff --git a/sdk/dotnet/Outputs/OnlineTableStatusProvisioningStatus.cs b/sdk/dotnet/Outputs/OnlineTableStatusProvisioningStatus.cs new file mode 100644 index 00000000..7debe6ac --- /dev/null +++ b/sdk/dotnet/Outputs/OnlineTableStatusProvisioningStatus.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 OnlineTableStatusProvisioningStatus + { + public readonly Outputs.OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress? InitialPipelineSyncProgress; + + [OutputConstructor] + private OnlineTableStatusProvisioningStatus(Outputs.OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress? initialPipelineSyncProgress) + { + InitialPipelineSyncProgress = initialPipelineSyncProgress; + } + } +} diff --git a/sdk/dotnet/Outputs/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress.cs b/sdk/dotnet/Outputs/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress.cs new file mode 100644 index 00000000..0579dd63 --- /dev/null +++ b/sdk/dotnet/Outputs/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress.cs @@ -0,0 +1,41 @@ +// *** 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 OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress + { + public readonly double? EstimatedCompletionTimeSeconds; + public readonly int? LatestVersionCurrentlyProcessing; + public readonly double? SyncProgressCompletion; + public readonly int? SyncedRowCount; + public readonly int? TotalRowCount; + + [OutputConstructor] + private OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress( + double? estimatedCompletionTimeSeconds, + + int? latestVersionCurrentlyProcessing, + + double? syncProgressCompletion, + + int? syncedRowCount, + + int? totalRowCount) + { + EstimatedCompletionTimeSeconds = estimatedCompletionTimeSeconds; + LatestVersionCurrentlyProcessing = latestVersionCurrentlyProcessing; + SyncProgressCompletion = syncProgressCompletion; + SyncedRowCount = syncedRowCount; + TotalRowCount = totalRowCount; + } + } +} diff --git a/sdk/dotnet/Outputs/OnlineTableStatusTriggeredUpdateStatus.cs b/sdk/dotnet/Outputs/OnlineTableStatusTriggeredUpdateStatus.cs new file mode 100644 index 00000000..e8c48c6d --- /dev/null +++ b/sdk/dotnet/Outputs/OnlineTableStatusTriggeredUpdateStatus.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 OnlineTableStatusTriggeredUpdateStatus + { + public readonly int? LastProcessedCommitVersion; + public readonly string? Timestamp; + public readonly Outputs.OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress? TriggeredUpdateProgress; + + [OutputConstructor] + private OnlineTableStatusTriggeredUpdateStatus( + int? lastProcessedCommitVersion, + + string? timestamp, + + Outputs.OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress? triggeredUpdateProgress) + { + LastProcessedCommitVersion = lastProcessedCommitVersion; + Timestamp = timestamp; + TriggeredUpdateProgress = triggeredUpdateProgress; + } + } +} diff --git a/sdk/dotnet/Outputs/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress.cs b/sdk/dotnet/Outputs/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress.cs new file mode 100644 index 00000000..294cbaf6 --- /dev/null +++ b/sdk/dotnet/Outputs/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress.cs @@ -0,0 +1,41 @@ +// *** 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 OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress + { + public readonly double? EstimatedCompletionTimeSeconds; + public readonly int? LatestVersionCurrentlyProcessing; + public readonly double? SyncProgressCompletion; + public readonly int? SyncedRowCount; + public readonly int? TotalRowCount; + + [OutputConstructor] + private OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress( + double? estimatedCompletionTimeSeconds, + + int? latestVersionCurrentlyProcessing, + + double? syncProgressCompletion, + + int? syncedRowCount, + + int? totalRowCount) + { + EstimatedCompletionTimeSeconds = estimatedCompletionTimeSeconds; + LatestVersionCurrentlyProcessing = latestVersionCurrentlyProcessing; + SyncProgressCompletion = syncProgressCompletion; + SyncedRowCount = syncedRowCount; + TotalRowCount = totalRowCount; + } + } +} diff --git a/sdk/dotnet/Outputs/ShareObject.cs b/sdk/dotnet/Outputs/ShareObject.cs index 5d4656c2..7797360b 100644 --- a/sdk/dotnet/Outputs/ShareObject.cs +++ b/sdk/dotnet/Outputs/ShareObject.cs @@ -24,7 +24,7 @@ public sealed class ShareObject /// public readonly string? Comment; /// - /// Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, `NOTEBOOK_FILE` are supported. + /// Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. /// public readonly string DataObjectType; /// @@ -34,7 +34,7 @@ public sealed class ShareObject /// public readonly string? HistoryDataSharingStatus; /// - /// Full name of the object, e.g. `catalog.schema.name` for a table. + /// Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. /// public readonly string Name; public readonly ImmutableArray Partitions; diff --git a/sdk/dotnet/Outputs/StorageCredentialAwsIamRole.cs b/sdk/dotnet/Outputs/StorageCredentialAwsIamRole.cs index 9e2b7300..8e956630 100644 --- a/sdk/dotnet/Outputs/StorageCredentialAwsIamRole.cs +++ b/sdk/dotnet/Outputs/StorageCredentialAwsIamRole.cs @@ -13,19 +13,13 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class StorageCredentialAwsIamRole { - /// - /// The external ID used in role assumption to prevent confused deputy problem. - /// public readonly string? 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` - /// - public readonly string RoleArn; - /// - /// The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. /// /// `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): /// + public readonly string RoleArn; public readonly string? UnityCatalogIamArn; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/VectorSearchEndpointEndpointStatus.cs b/sdk/dotnet/Outputs/VectorSearchEndpointEndpointStatus.cs index c160cfc0..2c8c5c0f 100644 --- a/sdk/dotnet/Outputs/VectorSearchEndpointEndpointStatus.cs +++ b/sdk/dotnet/Outputs/VectorSearchEndpointEndpointStatus.cs @@ -18,7 +18,7 @@ public sealed class VectorSearchEndpointEndpointStatus /// public readonly string? Message; /// - /// Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, `OFFLINE`. + /// Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. /// public readonly string? State; diff --git a/sdk/dotnet/Outputs/VectorSearchIndexDeltaSyncIndexSpec.cs b/sdk/dotnet/Outputs/VectorSearchIndexDeltaSyncIndexSpec.cs new file mode 100644 index 00000000..ab888a07 --- /dev/null +++ b/sdk/dotnet/Outputs/VectorSearchIndexDeltaSyncIndexSpec.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.Outputs +{ + + [OutputType] + public sealed class VectorSearchIndexDeltaSyncIndexSpec + { + /// + /// array of objects representing columns that contain the embedding source. Each entry consists of: + /// + public readonly ImmutableArray EmbeddingSourceColumns; + /// + /// array of objects representing columns that contain the embedding vectors. Each entry consists of: + /// + public readonly ImmutableArray EmbeddingVectorColumns; + /// + /// ID of the associated Delta Live Table pipeline. + /// + public readonly string? PipelineId; + /// + /// Pipeline execution mode. Possible values are: + /// + public readonly string? PipelineType; + /// + /// The name of the source table. + /// + public readonly string? SourceTable; + + [OutputConstructor] + private VectorSearchIndexDeltaSyncIndexSpec( + ImmutableArray embeddingSourceColumns, + + ImmutableArray embeddingVectorColumns, + + string? pipelineId, + + string? pipelineType, + + string? sourceTable) + { + EmbeddingSourceColumns = embeddingSourceColumns; + EmbeddingVectorColumns = embeddingVectorColumns; + PipelineId = pipelineId; + PipelineType = pipelineType; + SourceTable = sourceTable; + } + } +} diff --git a/sdk/dotnet/Outputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn.cs b/sdk/dotnet/Outputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn.cs new file mode 100644 index 00000000..ae34f412 --- /dev/null +++ b/sdk/dotnet/Outputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn.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 VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn + { + /// + /// The name of the embedding model endpoint + /// + public readonly string? EmbeddingModelEndpointName; + /// + /// The name of the column. + /// + public readonly string? Name; + + [OutputConstructor] + private VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn( + string? embeddingModelEndpointName, + + string? name) + { + EmbeddingModelEndpointName = embeddingModelEndpointName; + Name = name; + } + } +} diff --git a/sdk/dotnet/Outputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn.cs b/sdk/dotnet/Outputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn.cs new file mode 100644 index 00000000..9b7a836b --- /dev/null +++ b/sdk/dotnet/Outputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn.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 VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn + { + /// + /// Dimension of the embedding vector. + /// + public readonly int? EmbeddingDimension; + /// + /// The name of the column. + /// + public readonly string? Name; + + [OutputConstructor] + private VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn( + int? embeddingDimension, + + string? name) + { + EmbeddingDimension = embeddingDimension; + Name = name; + } + } +} diff --git a/sdk/dotnet/Outputs/VectorSearchIndexDirectAccessIndexSpec.cs b/sdk/dotnet/Outputs/VectorSearchIndexDirectAccessIndexSpec.cs new file mode 100644 index 00000000..38383d4b --- /dev/null +++ b/sdk/dotnet/Outputs/VectorSearchIndexDirectAccessIndexSpec.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 VectorSearchIndexDirectAccessIndexSpec + { + /// + /// array of objects representing columns that contain the embedding source. Each entry consists of: + /// + public readonly ImmutableArray EmbeddingSourceColumns; + /// + /// array of objects representing columns that contain the embedding vectors. Each entry consists of: + /// + public readonly ImmutableArray 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. + /// + public readonly string? SchemaJson; + + [OutputConstructor] + private VectorSearchIndexDirectAccessIndexSpec( + ImmutableArray embeddingSourceColumns, + + ImmutableArray embeddingVectorColumns, + + string? schemaJson) + { + EmbeddingSourceColumns = embeddingSourceColumns; + EmbeddingVectorColumns = embeddingVectorColumns; + SchemaJson = schemaJson; + } + } +} diff --git a/sdk/dotnet/Outputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn.cs b/sdk/dotnet/Outputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn.cs new file mode 100644 index 00000000..b64c2b27 --- /dev/null +++ b/sdk/dotnet/Outputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn.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 VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn + { + /// + /// The name of the embedding model endpoint + /// + public readonly string? EmbeddingModelEndpointName; + /// + /// The name of the column. + /// + public readonly string? Name; + + [OutputConstructor] + private VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn( + string? embeddingModelEndpointName, + + string? name) + { + EmbeddingModelEndpointName = embeddingModelEndpointName; + Name = name; + } + } +} diff --git a/sdk/dotnet/Outputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn.cs b/sdk/dotnet/Outputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn.cs new file mode 100644 index 00000000..eb40dfe1 --- /dev/null +++ b/sdk/dotnet/Outputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn.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 VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn + { + /// + /// Dimension of the embedding vector. + /// + public readonly int? EmbeddingDimension; + /// + /// The name of the column. + /// + public readonly string? Name; + + [OutputConstructor] + private VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn( + int? embeddingDimension, + + string? name) + { + EmbeddingDimension = embeddingDimension; + Name = name; + } + } +} diff --git a/sdk/dotnet/Outputs/VectorSearchIndexStatus.cs b/sdk/dotnet/Outputs/VectorSearchIndexStatus.cs new file mode 100644 index 00000000..d63c0ce0 --- /dev/null +++ b/sdk/dotnet/Outputs/VectorSearchIndexStatus.cs @@ -0,0 +1,49 @@ +// *** 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 VectorSearchIndexStatus + { + /// + /// Index API Url to be used to perform operations on the index + /// + public readonly string? IndexUrl; + /// + /// Number of rows indexed + /// + public readonly int? IndexedRowCount; + /// + /// Message associated with the index status + /// + public readonly string? Message; + /// + /// Whether the index is ready for search + /// + public readonly bool? Ready; + + [OutputConstructor] + private VectorSearchIndexStatus( + string? indexUrl, + + int? indexedRowCount, + + string? message, + + bool? ready) + { + IndexUrl = indexUrl; + IndexedRowCount = indexedRowCount; + Message = message; + Ready = ready; + } + } +} diff --git a/sdk/dotnet/RegisteredModel.cs b/sdk/dotnet/RegisteredModel.cs index d97bc6a2..45e8e055 100644 --- a/sdk/dotnet/RegisteredModel.cs +++ b/sdk/dotnet/RegisteredModel.cs @@ -80,6 +80,12 @@ public partial class RegisteredModel : global::Pulumi.CustomResource [Output("name")] public Output Name { get; private set; } = null!; + /// + /// Name of the registered model owner. + /// + [Output("owner")] + public Output Owner { get; private set; } = null!; + /// /// The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.* /// @@ -156,6 +162,12 @@ public sealed class RegisteredModelArgs : global::Pulumi.ResourceArgs [Input("name")] public Input? Name { get; set; } + /// + /// Name of the registered model owner. + /// + [Input("owner")] + public Input? Owner { get; set; } + /// /// The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.* /// @@ -194,6 +206,12 @@ public sealed class RegisteredModelState : global::Pulumi.ResourceArgs [Input("name")] public Input? Name { get; set; } + /// + /// Name of the registered model owner. + /// + [Input("owner")] + public Input? Owner { get; set; } + /// /// The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.* /// diff --git a/sdk/dotnet/ServicePrincipal.cs b/sdk/dotnet/ServicePrincipal.cs index adab97a8..0c68b06b 100644 --- a/sdk/dotnet/ServicePrincipal.cs +++ b/sdk/dotnet/ServicePrincipal.cs @@ -10,17 +10,24 @@ namespace Pulumi.Databricks { /// - /// Directly manage [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html) that could be added to databricks.Group in Databricks workspace or account. + /// Directly manage [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html) that could be added to databricks.Group in Databricks account or workspace. + /// + /// There are different types of service principals: + /// + /// * Databricks-managed - exists only inside the Databricks platform (all clouds) and couldn't be used for accessing non-Databricks services. + /// * Azure-managed - existing Azure service principal (enterprise application) is registered inside Databricks. It could be used to work with other Azure services. /// /// > **Note** To assign account level service principals to workspace use databricks_mws_permission_assignment. /// - /// > **Note** Entitlements, like, `allow_cluster_create`, `allow_instance_pool_create`, `databricks_sql_access`, `workspace_access` applicable only for workspace-level service principals. Use databricks.Entitlements resource to assign entitlements inside a workspace to account-level service principals. + /// > **Note** Entitlements, like, `allow_cluster_create`, `allow_instance_pool_create`, `databricks_sql_access`, `workspace_access` applicable only for workspace-level service principals. Use databricks.Entitlements resource to assign entitlements inside a workspace to account-level service principals. + /// + /// To create service principals in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using the supported authentication method for account operations. /// - /// To create service principals in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments + /// The default behavior when deleting a `databricks.ServicePrincipal` resource depends on whether the provider is configured at the workspace-level or account-level. When the provider is configured at the workspace-level, the service principal will be deleted from the workspace. When the provider is configured at the account-level, the service principal will be deactivated but not deleted. When the provider is configured at the account level, to delete the service principal from the account when the resource is deleted, set `disable_as_user_deletion = false`. Conversely, when the provider is configured at the account-level, to deactivate the service principal when the resource is deleted, set `disable_as_user_deletion = true`. /// /// ## Example Usage /// - /// Creating regular service principal: + /// Creating regular Databricks-managed service principal: /// /// <!--Start PulumiCodeChooser --> /// ```csharp @@ -33,7 +40,7 @@ namespace Pulumi.Databricks /// { /// var sp = new Databricks.ServicePrincipal("sp", new() /// { - /// ApplicationId = "00000000-0000-0000-0000-000000000000", + /// DisplayName = "Admin SP", /// }); /// /// }); @@ -58,7 +65,7 @@ namespace Pulumi.Databricks /// /// var sp = new Databricks.ServicePrincipal("sp", new() /// { - /// ApplicationId = "00000000-0000-0000-0000-000000000000", + /// DisplayName = "Admin SP", /// }); /// /// var i_am_admin = new Databricks.GroupMember("i-am-admin", new() @@ -71,7 +78,7 @@ namespace Pulumi.Databricks /// ``` /// <!--End PulumiCodeChooser --> /// - /// Creating service principal with cluster create permissions: + /// Creating Azure-managed service principal with cluster create permissions: /// /// <!--Start PulumiCodeChooser --> /// ```csharp @@ -93,7 +100,7 @@ namespace Pulumi.Databricks /// ``` /// <!--End PulumiCodeChooser --> /// - /// Creating service principal in AWS Databricks account: + /// Creating Databricks-managed service principal in AWS Databricks account: /// /// <!--Start PulumiCodeChooser --> /// ```csharp @@ -105,7 +112,7 @@ namespace Pulumi.Databricks /// return await Deployment.RunAsync(() => /// { /// // initialize provider at account-level - /// var mws = new Databricks.Provider("mws", new() + /// var account = new Databricks.Provider("account", new() /// { /// Host = "https://accounts.cloud.databricks.com", /// AccountId = "00000000-0000-0000-0000-000000000000", @@ -118,14 +125,14 @@ namespace Pulumi.Databricks /// DisplayName = "Automation-only SP", /// }, new CustomResourceOptions /// { - /// Provider = databricks.Mws, + /// Provider = databricks.Account, /// }); /// /// }); /// ``` /// <!--End PulumiCodeChooser --> /// - /// Creating service principal in Azure Databricks account: + /// Creating Azure-managed service principal in Azure Databricks account: /// /// <!--Start PulumiCodeChooser --> /// ```csharp @@ -137,7 +144,7 @@ namespace Pulumi.Databricks /// return await Deployment.RunAsync(() => /// { /// // initialize provider at Azure account-level - /// var azureAccount = new Databricks.Provider("azureAccount", new() + /// var account = new Databricks.Provider("account", new() /// { /// Host = "https://accounts.azuredatabricks.net", /// AccountId = "00000000-0000-0000-0000-000000000000", @@ -149,7 +156,7 @@ namespace Pulumi.Databricks /// ApplicationId = "00000000-0000-0000-0000-000000000000", /// }, new CustomResourceOptions /// { - /// Provider = databricks.Azure_account, + /// Provider = databricks.Account, /// }); /// /// }); @@ -160,12 +167,12 @@ namespace Pulumi.Databricks /// /// The following resources are often used in the same context: /// - /// * End to end workspace management guide. - /// * 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.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.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and more to manage secrets for the service principal (only for AWS deployments) + /// - End to end workspace management guide. + /// - 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.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.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and more to manage secrets for the service principal (only for AWS deployments) /// /// ## Import /// @@ -205,7 +212,7 @@ public partial class ServicePrincipal : global::Pulumi.CustomResource public Output AllowInstancePoolCreate { get; private set; } = null!; /// - /// This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + /// This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. /// [Output("applicationId")] public Output ApplicationId { get; private set; } = null!; @@ -217,7 +224,7 @@ public partial class ServicePrincipal : global::Pulumi.CustomResource public Output DatabricksSqlAccess { get; private set; } = null!; /// - /// When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + /// Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. /// [Output("disableAsUserDeletion")] public Output DisableAsUserDeletion { get; private set; } = null!; @@ -338,7 +345,7 @@ public sealed class ServicePrincipalArgs : global::Pulumi.ResourceArgs public Input? AllowInstancePoolCreate { get; set; } /// - /// This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + /// This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. /// [Input("applicationId")] public Input? ApplicationId { get; set; } @@ -350,7 +357,7 @@ public sealed class ServicePrincipalArgs : global::Pulumi.ResourceArgs public Input? DatabricksSqlAccess { get; set; } /// - /// When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + /// Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. /// [Input("disableAsUserDeletion")] public Input? DisableAsUserDeletion { get; set; } @@ -433,7 +440,7 @@ public sealed class ServicePrincipalState : global::Pulumi.ResourceArgs public Input? AllowInstancePoolCreate { get; set; } /// - /// This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + /// This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. /// [Input("applicationId")] public Input? ApplicationId { get; set; } @@ -445,7 +452,7 @@ public sealed class ServicePrincipalState : global::Pulumi.ResourceArgs public Input? DatabricksSqlAccess { get; set; } /// - /// When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + /// Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. /// [Input("disableAsUserDeletion")] public Input? DisableAsUserDeletion { get; set; } diff --git a/sdk/dotnet/User.cs b/sdk/dotnet/User.cs index 307d6f0a..d77651a8 100644 --- a/sdk/dotnet/User.cs +++ b/sdk/dotnet/User.cs @@ -16,7 +16,9 @@ namespace Pulumi.Databricks /// /// > **Note** Entitlements, like, `allow_cluster_create`, `allow_instance_pool_create`, `databricks_sql_access`, `workspace_access` applicable only for workspace-level users. Use databricks.Entitlements resource to assign entitlements inside a workspace to account-level users. /// - /// To create users in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments + /// To create users in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments. + /// + /// The default behavior when deleting a `databricks.User` resource depends on whether the provider is configured at the workspace-level or account-level. When the provider is configured at the workspace-level, the user will be deleted from the workspace. When the provider is configured at the account-level, the user will be deactivated but not deleted. When the provider is configured at the account level, to delete the user from the account when the resource is deleted, set `disable_as_user_deletion = false`. Conversely, when the provider is configured at the account-level, to deactivate the user when the resource is deleted, set `disable_as_user_deletion = true`. /// /// ## Example Usage /// @@ -214,7 +216,7 @@ public partial class User : global::Pulumi.CustomResource public Output DatabricksSqlAccess { get; private set; } = null!; /// - /// When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + /// Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. /// [Output("disableAsUserDeletion")] public Output DisableAsUserDeletion { get; private set; } = null!; @@ -344,7 +346,7 @@ public sealed class UserArgs : global::Pulumi.ResourceArgs public Input? DatabricksSqlAccess { get; set; } /// - /// When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + /// Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. /// [Input("disableAsUserDeletion")] public Input? DisableAsUserDeletion { get; set; } @@ -436,7 +438,7 @@ public sealed class UserState : global::Pulumi.ResourceArgs public Input? DatabricksSqlAccess { get; set; } /// - /// When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + /// Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. /// [Input("disableAsUserDeletion")] public Input? DisableAsUserDeletion { get; set; } diff --git a/sdk/dotnet/VectorSearchEndpoint.cs b/sdk/dotnet/VectorSearchEndpoint.cs index 596a9444..85f138de 100644 --- a/sdk/dotnet/VectorSearchEndpoint.cs +++ b/sdk/dotnet/VectorSearchEndpoint.cs @@ -66,19 +66,19 @@ public partial class VectorSearchEndpoint : global::Pulumi.CustomResource public Output EndpointId { get; private set; } = null!; /// - /// Object describing the current status of the endpoint consisting of following fields: + /// Object describing the current status of the endpoint consisting of the following fields: /// [Output("endpointStatuses")] public Output> EndpointStatuses { get; private set; } = null!; /// - /// type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + /// Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). /// [Output("endpointType")] public Output EndpointType { get; private set; } = null!; /// - /// Timestamp of last update to the endpoint (milliseconds). + /// Timestamp of the last update to the endpoint (milliseconds). /// [Output("lastUpdatedTimestamp")] public Output LastUpdatedTimestamp { get; private set; } = null!; @@ -90,7 +90,7 @@ public partial class VectorSearchEndpoint : global::Pulumi.CustomResource public Output LastUpdatedUser { get; private set; } = null!; /// - /// Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + /// Name of the Vector Search Endpoint to create. /// [Output("name")] public Output Name { get; private set; } = null!; @@ -148,13 +148,13 @@ public static VectorSearchEndpoint Get(string name, Input id, VectorSear public sealed class VectorSearchEndpointArgs : global::Pulumi.ResourceArgs { /// - /// type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + /// Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). /// [Input("endpointType", required: true)] public Input EndpointType { get; set; } = null!; /// - /// Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + /// Name of the Vector Search Endpoint to create. /// [Input("name")] public Input? Name { get; set; } @@ -189,7 +189,7 @@ public sealed class VectorSearchEndpointState : global::Pulumi.ResourceArgs private InputList? _endpointStatuses; /// - /// Object describing the current status of the endpoint consisting of following fields: + /// Object describing the current status of the endpoint consisting of the following fields: /// public InputList EndpointStatuses { @@ -198,13 +198,13 @@ public InputList EndpointStatu } /// - /// type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + /// Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). /// [Input("endpointType")] public Input? EndpointType { get; set; } /// - /// Timestamp of last update to the endpoint (milliseconds). + /// Timestamp of the last update to the endpoint (milliseconds). /// [Input("lastUpdatedTimestamp")] public Input? LastUpdatedTimestamp { get; set; } @@ -216,7 +216,7 @@ public InputList EndpointStatu public Input? LastUpdatedUser { get; set; } /// - /// Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + /// Name of the Vector Search Endpoint to create. /// [Input("name")] public Input? Name { get; set; } diff --git a/sdk/dotnet/VectorSearchIndex.cs b/sdk/dotnet/VectorSearchIndex.cs new file mode 100644 index 00000000..f34b8dc6 --- /dev/null +++ b/sdk/dotnet/VectorSearchIndex.cs @@ -0,0 +1,262 @@ +// *** 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 +{ + /// + /// > **Note** This resource could be only used on Unity Catalog-enabled workspace! + /// + /// This resource allows you to create [Vector Search Index](https://docs.databricks.com/en/generative-ai/create-query-vector-search.html) in Databricks. Vector Search is a serverless similarity search engine that allows you to store a vector representation of your data, including metadata, in a vector database. The Vector Search Index provides the ability to search data in the linked Delta Table. + /// + /// ## Example Usage + /// + /// <!--Start PulumiCodeChooser --> + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var sync = new Databricks.VectorSearchIndex("sync", new() + /// { + /// EndpointName = databricks_vector_search_endpoint.This.Name, + /// PrimaryKey = "id", + /// IndexType = "DELTA_SYNC", + /// DeltaSyncIndexSpec = new Databricks.Inputs.VectorSearchIndexDeltaSyncIndexSpecArgs + /// { + /// SourceTable = "main.default.source_table", + /// PipelineType = "TRIGGERED", + /// EmbeddingSourceColumns = new[] + /// { + /// new Databricks.Inputs.VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs + /// { + /// Name = "text", + /// EmbeddingModelEndpointName = databricks_model_serving.This.Name, + /// }, + /// }, + /// }, + /// }); + /// + /// }); + /// ``` + /// <!--End PulumiCodeChooser --> + /// + /// ## Import + /// + /// The resource can be imported using the name of the Vector Search Index + /// + /// bash + /// + /// ```sh + /// $ pulumi import databricks:index/vectorSearchIndex:VectorSearchIndex this <index-name> + /// ``` + /// + [DatabricksResourceType("databricks:index/vectorSearchIndex:VectorSearchIndex")] + public partial class VectorSearchIndex : global::Pulumi.CustomResource + { + /// + /// Creator of the endpoint. + /// + [Output("creator")] + public Output Creator { get; private set; } = null!; + + /// + /// Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`. + /// + [Output("deltaSyncIndexSpec")] + public Output DeltaSyncIndexSpec { get; private set; } = null!; + + /// + /// Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`. + /// + [Output("directAccessIndexSpec")] + public Output DirectAccessIndexSpec { get; private set; } = null!; + + /// + /// The name of the Vector Search Endpoint that will be used for indexing the data. + /// + [Output("endpointName")] + public Output EndpointName { get; private set; } = null!; + + /// + /// Vector Search index type. Currently supported values are: + /// + [Output("indexType")] + public Output IndexType { get; private set; } = null!; + + /// + /// The name of the column. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The column name that will be used as a primary key. + /// + [Output("primaryKey")] + public Output PrimaryKey { get; private set; } = null!; + + /// + /// Object describing the current status of the index consisting of the following fields: + /// + [Output("statuses")] + public Output> Statuses { get; private set; } = null!; + + + /// + /// Create a VectorSearchIndex 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 VectorSearchIndex(string name, VectorSearchIndexArgs args, CustomResourceOptions? options = null) + : base("databricks:index/vectorSearchIndex:VectorSearchIndex", name, args ?? new VectorSearchIndexArgs(), MakeResourceOptions(options, "")) + { + } + + private VectorSearchIndex(string name, Input id, VectorSearchIndexState? state = null, CustomResourceOptions? options = null) + : base("databricks:index/vectorSearchIndex:VectorSearchIndex", 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 VectorSearchIndex 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 VectorSearchIndex Get(string name, Input id, VectorSearchIndexState? state = null, CustomResourceOptions? options = null) + { + return new VectorSearchIndex(name, id, state, options); + } + } + + public sealed class VectorSearchIndexArgs : global::Pulumi.ResourceArgs + { + /// + /// Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`. + /// + [Input("deltaSyncIndexSpec")] + public Input? DeltaSyncIndexSpec { get; set; } + + /// + /// Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`. + /// + [Input("directAccessIndexSpec")] + public Input? DirectAccessIndexSpec { get; set; } + + /// + /// The name of the Vector Search Endpoint that will be used for indexing the data. + /// + [Input("endpointName", required: true)] + public Input EndpointName { get; set; } = null!; + + /// + /// Vector Search index type. Currently supported values are: + /// + [Input("indexType", required: true)] + public Input IndexType { get; set; } = null!; + + /// + /// The name of the column. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The column name that will be used as a primary key. + /// + [Input("primaryKey", required: true)] + public Input PrimaryKey { get; set; } = null!; + + public VectorSearchIndexArgs() + { + } + public static new VectorSearchIndexArgs Empty => new VectorSearchIndexArgs(); + } + + public sealed class VectorSearchIndexState : global::Pulumi.ResourceArgs + { + /// + /// Creator of the endpoint. + /// + [Input("creator")] + public Input? Creator { get; set; } + + /// + /// Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`. + /// + [Input("deltaSyncIndexSpec")] + public Input? DeltaSyncIndexSpec { get; set; } + + /// + /// Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`. + /// + [Input("directAccessIndexSpec")] + public Input? DirectAccessIndexSpec { get; set; } + + /// + /// The name of the Vector Search Endpoint that will be used for indexing the data. + /// + [Input("endpointName")] + public Input? EndpointName { get; set; } + + /// + /// Vector Search index type. Currently supported values are: + /// + [Input("indexType")] + public Input? IndexType { get; set; } + + /// + /// The name of the column. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The column name that will be used as a primary key. + /// + [Input("primaryKey")] + public Input? PrimaryKey { get; set; } + + [Input("statuses")] + private InputList? _statuses; + + /// + /// Object describing the current status of the index consisting of the following fields: + /// + public InputList Statuses + { + get => _statuses ?? (_statuses = new InputList()); + set => _statuses = value; + } + + public VectorSearchIndexState() + { + } + public static new VectorSearchIndexState Empty => new VectorSearchIndexState(); + } +} diff --git a/sdk/go/databricks/catalogWorkspaceBinding.go b/sdk/go/databricks/catalogWorkspaceBinding.go index cabf28db..05ade1d6 100644 --- a/sdk/go/databricks/catalogWorkspaceBinding.go +++ b/sdk/go/databricks/catalogWorkspaceBinding.go @@ -48,7 +48,11 @@ import ( // // ## Import // -// -> **Note** Importing this resource is not currently supported. +// This resource can be imported by using combination of workspace ID, securable type and name: +// +// ```sh +// $ pulumi import databricks:index/catalogWorkspaceBinding:CatalogWorkspaceBinding this "||" +// ``` type CatalogWorkspaceBinding struct { pulumi.CustomResourceState diff --git a/sdk/go/databricks/getAwsCrossAccountPolicy.go b/sdk/go/databricks/getAwsCrossAccountPolicy.go index 06fe7eb6..18154c83 100644 --- a/sdk/go/databricks/getAwsCrossAccountPolicy.go +++ b/sdk/go/databricks/getAwsCrossAccountPolicy.go @@ -61,17 +61,33 @@ func GetAwsCrossAccountPolicy(ctx *pulumi.Context, args *GetAwsCrossAccountPolic // A collection of arguments for invoking getAwsCrossAccountPolicy. type GetAwsCrossAccountPolicyArgs struct { + // — Your AWS account ID, which is a number. + AwsAccountId *string `pulumi:"awsAccountId"` // 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"` + // 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 + PolicyType *string `pulumi:"policyType"` + // — AWS Region name for your VPC deployment, for example `us-west-2`. + Region *string `pulumi:"region"` + // — ID of your AWS security group. When you add a security group restriction, you cannot reuse the cross-account IAM role or reference a credentials ID (`credentialsId`) for any other workspaces. For those other workspaces, you must create separate roles, policies, and credentials objects. + SecurityGroupId *string `pulumi:"securityGroupId"` + // — ID of the AWS VPC where you want to launch workspaces. + VpcId *string `pulumi:"vpcId"` } // A collection of values returned by getAwsCrossAccountPolicy. type GetAwsCrossAccountPolicyResult struct { + AwsAccountId *string `pulumi:"awsAccountId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // AWS IAM Policy JSON document - Json string `pulumi:"json"` - PassRoles []string `pulumi:"passRoles"` + Json string `pulumi:"json"` + PassRoles []string `pulumi:"passRoles"` + PolicyType *string `pulumi:"policyType"` + Region *string `pulumi:"region"` + SecurityGroupId *string `pulumi:"securityGroupId"` + VpcId *string `pulumi:"vpcId"` } func GetAwsCrossAccountPolicyOutput(ctx *pulumi.Context, args GetAwsCrossAccountPolicyOutputArgs, opts ...pulumi.InvokeOption) GetAwsCrossAccountPolicyResultOutput { @@ -89,8 +105,19 @@ func GetAwsCrossAccountPolicyOutput(ctx *pulumi.Context, args GetAwsCrossAccount // A collection of arguments for invoking getAwsCrossAccountPolicy. type GetAwsCrossAccountPolicyOutputArgs struct { + // — Your AWS account ID, which is a number. + AwsAccountId pulumi.StringPtrInput `pulumi:"awsAccountId"` // 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"` + // 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 + PolicyType pulumi.StringPtrInput `pulumi:"policyType"` + // — AWS Region name for your VPC deployment, for example `us-west-2`. + Region pulumi.StringPtrInput `pulumi:"region"` + // — ID of your AWS security group. When you add a security group restriction, you cannot reuse the cross-account IAM role or reference a credentials ID (`credentialsId`) for any other workspaces. For those other workspaces, you must create separate roles, policies, and credentials objects. + SecurityGroupId pulumi.StringPtrInput `pulumi:"securityGroupId"` + // — ID of the AWS VPC where you want to launch workspaces. + VpcId pulumi.StringPtrInput `pulumi:"vpcId"` } func (GetAwsCrossAccountPolicyOutputArgs) ElementType() reflect.Type { @@ -112,6 +139,10 @@ func (o GetAwsCrossAccountPolicyResultOutput) ToGetAwsCrossAccountPolicyResultOu return o } +func (o GetAwsCrossAccountPolicyResultOutput) AwsAccountId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAwsCrossAccountPolicyResult) *string { return v.AwsAccountId }).(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) @@ -126,6 +157,22 @@ func (o GetAwsCrossAccountPolicyResultOutput) PassRoles() pulumi.StringArrayOutp return o.ApplyT(func(v GetAwsCrossAccountPolicyResult) []string { return v.PassRoles }).(pulumi.StringArrayOutput) } +func (o GetAwsCrossAccountPolicyResultOutput) PolicyType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAwsCrossAccountPolicyResult) *string { return v.PolicyType }).(pulumi.StringPtrOutput) +} + +func (o GetAwsCrossAccountPolicyResultOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAwsCrossAccountPolicyResult) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +func (o GetAwsCrossAccountPolicyResultOutput) SecurityGroupId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAwsCrossAccountPolicyResult) *string { return v.SecurityGroupId }).(pulumi.StringPtrOutput) +} + +func (o GetAwsCrossAccountPolicyResultOutput) VpcId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAwsCrossAccountPolicyResult) *string { return v.VpcId }).(pulumi.StringPtrOutput) +} + func init() { pulumi.RegisterOutputType(GetAwsCrossAccountPolicyResultOutput{}) } diff --git a/sdk/go/databricks/getStorageCredentials.go b/sdk/go/databricks/getStorageCredentials.go index cf9f155a..a1f3dba8 100644 --- a/sdk/go/databricks/getStorageCredentials.go +++ b/sdk/go/databricks/getStorageCredentials.go @@ -28,11 +28,11 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := databricks.GetStorageCredentials(ctx, nil, nil) +// all, err := databricks.GetStorageCredentials(ctx, nil, nil) // if err != nil { // return err // } -// ctx.Export("allMetastores", data.Databricks_metastores.All.Names) +// ctx.Export("allStorageCredentials", all.Names) // return nil // }) // } @@ -58,13 +58,15 @@ func GetStorageCredentials(ctx *pulumi.Context, args *GetStorageCredentialsArgs, // A collection of arguments for invoking getStorageCredentials. type GetStorageCredentialsArgs struct { + // List of names of StorageCredential in the metastore Names []string `pulumi:"names"` } // A collection of values returned by getStorageCredentials. type GetStorageCredentialsResult struct { // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` + Id string `pulumi:"id"` + // List of names of StorageCredential in the metastore Names []string `pulumi:"names"` } @@ -83,6 +85,7 @@ func GetStorageCredentialsOutput(ctx *pulumi.Context, args GetStorageCredentials // A collection of arguments for invoking getStorageCredentials. type GetStorageCredentialsOutputArgs struct { + // List of names of StorageCredential in the metastore Names pulumi.StringArrayInput `pulumi:"names"` } @@ -110,6 +113,7 @@ func (o GetStorageCredentialsResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetStorageCredentialsResult) string { return v.Id }).(pulumi.StringOutput) } +// List of names of StorageCredential in the metastore func (o GetStorageCredentialsResultOutput) Names() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStorageCredentialsResult) []string { return v.Names }).(pulumi.StringArrayOutput) } diff --git a/sdk/go/databricks/init.go b/sdk/go/databricks/init.go index 7685b51a..25fe892c 100644 --- a/sdk/go/databricks/init.go +++ b/sdk/go/databricks/init.go @@ -71,6 +71,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &IpAccessList{} case "databricks:index/job:Job": r = &Job{} + case "databricks:index/lakehouseMonitor:LakehouseMonitor": + r = &LakehouseMonitor{} case "databricks:index/library:Library": r = &Library{} case "databricks:index/metastore:Metastore": @@ -113,6 +115,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &Notebook{} case "databricks:index/oboToken:OboToken": r = &OboToken{} + case "databricks:index/onlineTable:OnlineTable": + r = &OnlineTable{} case "databricks:index/permissionAssignment:PermissionAssignment": r = &PermissionAssignment{} case "databricks:index/permissions:Permissions": @@ -177,6 +181,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &UserRole{} case "databricks:index/vectorSearchEndpoint:VectorSearchEndpoint": r = &VectorSearchEndpoint{} + case "databricks:index/vectorSearchIndex:VectorSearchIndex": + r = &VectorSearchIndex{} case "databricks:index/volume:Volume": r = &Volume{} case "databricks:index/workspaceConf:WorkspaceConf": @@ -339,6 +345,11 @@ func init() { "index/job", &module{version}, ) + pulumi.RegisterResourceModule( + "databricks", + "index/lakehouseMonitor", + &module{version}, + ) pulumi.RegisterResourceModule( "databricks", "index/library", @@ -444,6 +455,11 @@ func init() { "index/oboToken", &module{version}, ) + pulumi.RegisterResourceModule( + "databricks", + "index/onlineTable", + &module{version}, + ) pulumi.RegisterResourceModule( "databricks", "index/permissionAssignment", @@ -604,6 +620,11 @@ func init() { "index/vectorSearchEndpoint", &module{version}, ) + pulumi.RegisterResourceModule( + "databricks", + "index/vectorSearchIndex", + &module{version}, + ) pulumi.RegisterResourceModule( "databricks", "index/volume", diff --git a/sdk/go/databricks/job.go b/sdk/go/databricks/job.go index 4890407f..93d33cf8 100644 --- a/sdk/go/databricks/job.go +++ b/sdk/go/databricks/job.go @@ -64,7 +64,7 @@ type Job struct { Health JobHealthPtrOutput `pulumi:"health"` // A list of job Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. *Multi-task syntax* JobClusters JobJobClusterArrayOutput `pulumi:"jobClusters"` - // (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + // (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. Libraries JobLibraryArrayOutput `pulumi:"libraries"` // (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*. MaxConcurrentRuns pulumi.IntPtrOutput `pulumi:"maxConcurrentRuns"` @@ -188,7 +188,7 @@ type jobState struct { Health *JobHealth `pulumi:"health"` // A list of job Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. *Multi-task syntax* JobClusters []JobJobCluster `pulumi:"jobClusters"` - // (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + // (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. Libraries []JobLibrary `pulumi:"libraries"` // (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*. MaxConcurrentRuns *int `pulumi:"maxConcurrentRuns"` @@ -283,7 +283,7 @@ type JobState struct { Health JobHealthPtrInput // A list of job Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. *Multi-task syntax* JobClusters JobJobClusterArrayInput - // (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + // (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. Libraries JobLibraryArrayInput // (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*. MaxConcurrentRuns pulumi.IntPtrInput @@ -382,7 +382,7 @@ type jobArgs struct { Health *JobHealth `pulumi:"health"` // A list of job Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. *Multi-task syntax* JobClusters []JobJobCluster `pulumi:"jobClusters"` - // (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + // (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. Libraries []JobLibrary `pulumi:"libraries"` // (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*. MaxConcurrentRuns *int `pulumi:"maxConcurrentRuns"` @@ -476,7 +476,7 @@ type JobArgs struct { Health JobHealthPtrInput // A list of job Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. *Multi-task syntax* JobClusters JobJobClusterArrayInput - // (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + // (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. Libraries JobLibraryArrayInput // (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*. MaxConcurrentRuns pulumi.IntPtrInput @@ -700,7 +700,7 @@ func (o JobOutput) JobClusters() JobJobClusterArrayOutput { return o.ApplyT(func(v *Job) JobJobClusterArrayOutput { return v.JobClusters }).(JobJobClusterArrayOutput) } -// (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. +// (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. func (o JobOutput) Libraries() JobLibraryArrayOutput { return o.ApplyT(func(v *Job) JobLibraryArrayOutput { return v.Libraries }).(JobLibraryArrayOutput) } diff --git a/sdk/go/databricks/lakehouseMonitor.go b/sdk/go/databricks/lakehouseMonitor.go new file mode 100644 index 00000000..0fa9d88f --- /dev/null +++ b/sdk/go/databricks/lakehouseMonitor.go @@ -0,0 +1,574 @@ +// 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 allows you to manage [Lakehouse Monitors](https://docs.databricks.com/en/lakehouse-monitoring/index.html) in Databricks. +// +// A `LakehouseMonitor` is attached to a SqlTable and can be of type timeseries, snapshot or inference. +// +// ### Inference Monitor +// +// +// ```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 { +// _, err := databricks.NewLakehouseMonitor(ctx, "testMonitorInference", &databricks.LakehouseMonitorArgs{ +// AssetsDir: pulumi.String(fmt.Sprintf("/Shared/provider-test/databricks_lakehouse_monitoring/%v", databricks_table.MyTestTable.Name)), +// InferenceLog: &databricks.LakehouseMonitorInferenceLogArgs{ +// Granularities: pulumi.StringArray{ +// pulumi.String("1 hour"), +// }, +// ModelIdCol: pulumi.String("model_id"), +// PredictionCol: pulumi.String("prediction"), +// ProblemType: pulumi.String("PROBLEM_TYPE_REGRESSION"), +// TimestampCol: pulumi.String("timestamp"), +// }, +// OutputSchemaName: pulumi.String(fmt.Sprintf("%v.%v", databricks_catalog.Sandbox.Name, databricks_schema.Things.Name)), +// TableName: pulumi.String(fmt.Sprintf("%v.%v.%v", databricks_catalog.Sandbox.Name, databricks_schema.Things.Name, databricks_table.MyTestTable.Name)), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ### Snapshot Monitor +// +// ```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 { +// _, err := databricks.NewLakehouseMonitor(ctx, "testMonitorInference", &databricks.LakehouseMonitorArgs{ +// AssetsDir: pulumi.String(fmt.Sprintf("/Shared/provider-test/databricks_lakehouse_monitoring/%v", databricks_table.MyTestTable.Name)), +// OutputSchemaName: pulumi.String(fmt.Sprintf("%v.%v", databricks_catalog.Sandbox.Name, databricks_schema.Things.Name)), +// Snapshot: nil, +// TableName: pulumi.String(fmt.Sprintf("%v.%v.%v", databricks_catalog.Sandbox.Name, databricks_schema.Things.Name, databricks_table.MyTestTable.Name)), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// +// ## Related Resources +// +// The following resources are often used in the same context: +// +// * Catalog +// * Schema +// * SqlTable +type LakehouseMonitor struct { + pulumi.CustomResourceState + + // The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + AssetsDir pulumi.StringOutput `pulumi:"assetsDir"` + // Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + // table. + BaselineTableName pulumi.StringPtrOutput `pulumi:"baselineTableName"` + // Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + CustomMetrics LakehouseMonitorCustomMetricArrayOutput `pulumi:"customMetrics"` + // The ID of the generated dashboard. + DashboardId pulumi.StringOutput `pulumi:"dashboardId"` + // The data classification config for the monitor + DataClassificationConfig LakehouseMonitorDataClassificationConfigPtrOutput `pulumi:"dataClassificationConfig"` + // The full name of the drift metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + DriftMetricsTableName pulumi.StringOutput `pulumi:"driftMetricsTableName"` + // Configuration for the inference log monitor + InferenceLog LakehouseMonitorInferenceLogPtrOutput `pulumi:"inferenceLog"` + LatestMonitorFailureMsg pulumi.StringPtrOutput `pulumi:"latestMonitorFailureMsg"` + // The version of the monitor config (e.g. 1,2,3). If negative, the monitor may be corrupted + MonitorVersion pulumi.StringOutput `pulumi:"monitorVersion"` + // The notification settings for the monitor + Notifications LakehouseMonitorNotificationsPtrOutput `pulumi:"notifications"` + // Schema where output metric tables are created + OutputSchemaName pulumi.StringOutput `pulumi:"outputSchemaName"` + // The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + ProfileMetricsTableName pulumi.StringOutput `pulumi:"profileMetricsTableName"` + // The schedule for automatically updating and refreshing metric tables. + Schedule LakehouseMonitorSchedulePtrOutput `pulumi:"schedule"` + // Whether to skip creating a default dashboard summarizing data quality metrics. + SkipBuiltinDashboard pulumi.BoolPtrOutput `pulumi:"skipBuiltinDashboard"` + // List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + SlicingExprs pulumi.StringArrayOutput `pulumi:"slicingExprs"` + // Configuration for monitoring snapshot tables. + Snapshot LakehouseMonitorSnapshotPtrOutput `pulumi:"snapshot"` + // Status of the Monitor + Status pulumi.StringOutput `pulumi:"status"` + // The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + TableName pulumi.StringOutput `pulumi:"tableName"` + // Configuration for monitoring timeseries tables. + TimeSeries LakehouseMonitorTimeSeriesPtrOutput `pulumi:"timeSeries"` + // Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + WarehouseId pulumi.StringPtrOutput `pulumi:"warehouseId"` +} + +// NewLakehouseMonitor registers a new resource with the given unique name, arguments, and options. +func NewLakehouseMonitor(ctx *pulumi.Context, + name string, args *LakehouseMonitorArgs, opts ...pulumi.ResourceOption) (*LakehouseMonitor, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.AssetsDir == nil { + return nil, errors.New("invalid value for required argument 'AssetsDir'") + } + if args.OutputSchemaName == nil { + return nil, errors.New("invalid value for required argument 'OutputSchemaName'") + } + if args.TableName == nil { + return nil, errors.New("invalid value for required argument 'TableName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource LakehouseMonitor + err := ctx.RegisterResource("databricks:index/lakehouseMonitor:LakehouseMonitor", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetLakehouseMonitor gets an existing LakehouseMonitor 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 GetLakehouseMonitor(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *LakehouseMonitorState, opts ...pulumi.ResourceOption) (*LakehouseMonitor, error) { + var resource LakehouseMonitor + err := ctx.ReadResource("databricks:index/lakehouseMonitor:LakehouseMonitor", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering LakehouseMonitor resources. +type lakehouseMonitorState struct { + // The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + AssetsDir *string `pulumi:"assetsDir"` + // Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + // table. + BaselineTableName *string `pulumi:"baselineTableName"` + // Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + CustomMetrics []LakehouseMonitorCustomMetric `pulumi:"customMetrics"` + // The ID of the generated dashboard. + DashboardId *string `pulumi:"dashboardId"` + // The data classification config for the monitor + DataClassificationConfig *LakehouseMonitorDataClassificationConfig `pulumi:"dataClassificationConfig"` + // The full name of the drift metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + DriftMetricsTableName *string `pulumi:"driftMetricsTableName"` + // Configuration for the inference log monitor + InferenceLog *LakehouseMonitorInferenceLog `pulumi:"inferenceLog"` + LatestMonitorFailureMsg *string `pulumi:"latestMonitorFailureMsg"` + // The version of the monitor config (e.g. 1,2,3). If negative, the monitor may be corrupted + MonitorVersion *string `pulumi:"monitorVersion"` + // The notification settings for the monitor + Notifications *LakehouseMonitorNotifications `pulumi:"notifications"` + // Schema where output metric tables are created + OutputSchemaName *string `pulumi:"outputSchemaName"` + // The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + ProfileMetricsTableName *string `pulumi:"profileMetricsTableName"` + // The schedule for automatically updating and refreshing metric tables. + Schedule *LakehouseMonitorSchedule `pulumi:"schedule"` + // Whether to skip creating a default dashboard summarizing data quality metrics. + SkipBuiltinDashboard *bool `pulumi:"skipBuiltinDashboard"` + // List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + SlicingExprs []string `pulumi:"slicingExprs"` + // Configuration for monitoring snapshot tables. + Snapshot *LakehouseMonitorSnapshot `pulumi:"snapshot"` + // Status of the Monitor + Status *string `pulumi:"status"` + // The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + TableName *string `pulumi:"tableName"` + // Configuration for monitoring timeseries tables. + TimeSeries *LakehouseMonitorTimeSeries `pulumi:"timeSeries"` + // Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + WarehouseId *string `pulumi:"warehouseId"` +} + +type LakehouseMonitorState struct { + // The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + AssetsDir pulumi.StringPtrInput + // Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + // table. + BaselineTableName pulumi.StringPtrInput + // Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + CustomMetrics LakehouseMonitorCustomMetricArrayInput + // The ID of the generated dashboard. + DashboardId pulumi.StringPtrInput + // The data classification config for the monitor + DataClassificationConfig LakehouseMonitorDataClassificationConfigPtrInput + // The full name of the drift metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + DriftMetricsTableName pulumi.StringPtrInput + // Configuration for the inference log monitor + InferenceLog LakehouseMonitorInferenceLogPtrInput + LatestMonitorFailureMsg pulumi.StringPtrInput + // The version of the monitor config (e.g. 1,2,3). If negative, the monitor may be corrupted + MonitorVersion pulumi.StringPtrInput + // The notification settings for the monitor + Notifications LakehouseMonitorNotificationsPtrInput + // Schema where output metric tables are created + OutputSchemaName pulumi.StringPtrInput + // The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + ProfileMetricsTableName pulumi.StringPtrInput + // The schedule for automatically updating and refreshing metric tables. + Schedule LakehouseMonitorSchedulePtrInput + // Whether to skip creating a default dashboard summarizing data quality metrics. + SkipBuiltinDashboard pulumi.BoolPtrInput + // List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + SlicingExprs pulumi.StringArrayInput + // Configuration for monitoring snapshot tables. + Snapshot LakehouseMonitorSnapshotPtrInput + // Status of the Monitor + Status pulumi.StringPtrInput + // The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + TableName pulumi.StringPtrInput + // Configuration for monitoring timeseries tables. + TimeSeries LakehouseMonitorTimeSeriesPtrInput + // Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + WarehouseId pulumi.StringPtrInput +} + +func (LakehouseMonitorState) ElementType() reflect.Type { + return reflect.TypeOf((*lakehouseMonitorState)(nil)).Elem() +} + +type lakehouseMonitorArgs struct { + // The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + AssetsDir string `pulumi:"assetsDir"` + // Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + // table. + BaselineTableName *string `pulumi:"baselineTableName"` + // Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + CustomMetrics []LakehouseMonitorCustomMetric `pulumi:"customMetrics"` + // The data classification config for the monitor + DataClassificationConfig *LakehouseMonitorDataClassificationConfig `pulumi:"dataClassificationConfig"` + // Configuration for the inference log monitor + InferenceLog *LakehouseMonitorInferenceLog `pulumi:"inferenceLog"` + LatestMonitorFailureMsg *string `pulumi:"latestMonitorFailureMsg"` + // The notification settings for the monitor + Notifications *LakehouseMonitorNotifications `pulumi:"notifications"` + // Schema where output metric tables are created + OutputSchemaName string `pulumi:"outputSchemaName"` + // The schedule for automatically updating and refreshing metric tables. + Schedule *LakehouseMonitorSchedule `pulumi:"schedule"` + // Whether to skip creating a default dashboard summarizing data quality metrics. + SkipBuiltinDashboard *bool `pulumi:"skipBuiltinDashboard"` + // List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + SlicingExprs []string `pulumi:"slicingExprs"` + // Configuration for monitoring snapshot tables. + Snapshot *LakehouseMonitorSnapshot `pulumi:"snapshot"` + // The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + TableName string `pulumi:"tableName"` + // Configuration for monitoring timeseries tables. + TimeSeries *LakehouseMonitorTimeSeries `pulumi:"timeSeries"` + // Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + WarehouseId *string `pulumi:"warehouseId"` +} + +// The set of arguments for constructing a LakehouseMonitor resource. +type LakehouseMonitorArgs struct { + // The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + AssetsDir pulumi.StringInput + // Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + // table. + BaselineTableName pulumi.StringPtrInput + // Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + CustomMetrics LakehouseMonitorCustomMetricArrayInput + // The data classification config for the monitor + DataClassificationConfig LakehouseMonitorDataClassificationConfigPtrInput + // Configuration for the inference log monitor + InferenceLog LakehouseMonitorInferenceLogPtrInput + LatestMonitorFailureMsg pulumi.StringPtrInput + // The notification settings for the monitor + Notifications LakehouseMonitorNotificationsPtrInput + // Schema where output metric tables are created + OutputSchemaName pulumi.StringInput + // The schedule for automatically updating and refreshing metric tables. + Schedule LakehouseMonitorSchedulePtrInput + // Whether to skip creating a default dashboard summarizing data quality metrics. + SkipBuiltinDashboard pulumi.BoolPtrInput + // List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + SlicingExprs pulumi.StringArrayInput + // Configuration for monitoring snapshot tables. + Snapshot LakehouseMonitorSnapshotPtrInput + // The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + TableName pulumi.StringInput + // Configuration for monitoring timeseries tables. + TimeSeries LakehouseMonitorTimeSeriesPtrInput + // Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + WarehouseId pulumi.StringPtrInput +} + +func (LakehouseMonitorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*lakehouseMonitorArgs)(nil)).Elem() +} + +type LakehouseMonitorInput interface { + pulumi.Input + + ToLakehouseMonitorOutput() LakehouseMonitorOutput + ToLakehouseMonitorOutputWithContext(ctx context.Context) LakehouseMonitorOutput +} + +func (*LakehouseMonitor) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitor)(nil)).Elem() +} + +func (i *LakehouseMonitor) ToLakehouseMonitorOutput() LakehouseMonitorOutput { + return i.ToLakehouseMonitorOutputWithContext(context.Background()) +} + +func (i *LakehouseMonitor) ToLakehouseMonitorOutputWithContext(ctx context.Context) LakehouseMonitorOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorOutput) +} + +// LakehouseMonitorArrayInput is an input type that accepts LakehouseMonitorArray and LakehouseMonitorArrayOutput values. +// You can construct a concrete instance of `LakehouseMonitorArrayInput` via: +// +// LakehouseMonitorArray{ LakehouseMonitorArgs{...} } +type LakehouseMonitorArrayInput interface { + pulumi.Input + + ToLakehouseMonitorArrayOutput() LakehouseMonitorArrayOutput + ToLakehouseMonitorArrayOutputWithContext(context.Context) LakehouseMonitorArrayOutput +} + +type LakehouseMonitorArray []LakehouseMonitorInput + +func (LakehouseMonitorArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*LakehouseMonitor)(nil)).Elem() +} + +func (i LakehouseMonitorArray) ToLakehouseMonitorArrayOutput() LakehouseMonitorArrayOutput { + return i.ToLakehouseMonitorArrayOutputWithContext(context.Background()) +} + +func (i LakehouseMonitorArray) ToLakehouseMonitorArrayOutputWithContext(ctx context.Context) LakehouseMonitorArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorArrayOutput) +} + +// LakehouseMonitorMapInput is an input type that accepts LakehouseMonitorMap and LakehouseMonitorMapOutput values. +// You can construct a concrete instance of `LakehouseMonitorMapInput` via: +// +// LakehouseMonitorMap{ "key": LakehouseMonitorArgs{...} } +type LakehouseMonitorMapInput interface { + pulumi.Input + + ToLakehouseMonitorMapOutput() LakehouseMonitorMapOutput + ToLakehouseMonitorMapOutputWithContext(context.Context) LakehouseMonitorMapOutput +} + +type LakehouseMonitorMap map[string]LakehouseMonitorInput + +func (LakehouseMonitorMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*LakehouseMonitor)(nil)).Elem() +} + +func (i LakehouseMonitorMap) ToLakehouseMonitorMapOutput() LakehouseMonitorMapOutput { + return i.ToLakehouseMonitorMapOutputWithContext(context.Background()) +} + +func (i LakehouseMonitorMap) ToLakehouseMonitorMapOutputWithContext(ctx context.Context) LakehouseMonitorMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorMapOutput) +} + +type LakehouseMonitorOutput struct{ *pulumi.OutputState } + +func (LakehouseMonitorOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitor)(nil)).Elem() +} + +func (o LakehouseMonitorOutput) ToLakehouseMonitorOutput() LakehouseMonitorOutput { + return o +} + +func (o LakehouseMonitorOutput) ToLakehouseMonitorOutputWithContext(ctx context.Context) LakehouseMonitorOutput { + return o +} + +// The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) +func (o LakehouseMonitorOutput) AssetsDir() pulumi.StringOutput { + return o.ApplyT(func(v *LakehouseMonitor) pulumi.StringOutput { return v.AssetsDir }).(pulumi.StringOutput) +} + +// Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline +// table. +func (o LakehouseMonitorOutput) BaselineTableName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LakehouseMonitor) pulumi.StringPtrOutput { return v.BaselineTableName }).(pulumi.StringPtrOutput) +} + +// Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). +func (o LakehouseMonitorOutput) CustomMetrics() LakehouseMonitorCustomMetricArrayOutput { + return o.ApplyT(func(v *LakehouseMonitor) LakehouseMonitorCustomMetricArrayOutput { return v.CustomMetrics }).(LakehouseMonitorCustomMetricArrayOutput) +} + +// The ID of the generated dashboard. +func (o LakehouseMonitorOutput) DashboardId() pulumi.StringOutput { + return o.ApplyT(func(v *LakehouseMonitor) pulumi.StringOutput { return v.DashboardId }).(pulumi.StringOutput) +} + +// The data classification config for the monitor +func (o LakehouseMonitorOutput) DataClassificationConfig() LakehouseMonitorDataClassificationConfigPtrOutput { + return o.ApplyT(func(v *LakehouseMonitor) LakehouseMonitorDataClassificationConfigPtrOutput { + return v.DataClassificationConfig + }).(LakehouseMonitorDataClassificationConfigPtrOutput) +} + +// The full name of the drift metrics table. Format: __catalog_name__.__schema_name__.__table_name__. +func (o LakehouseMonitorOutput) DriftMetricsTableName() pulumi.StringOutput { + return o.ApplyT(func(v *LakehouseMonitor) pulumi.StringOutput { return v.DriftMetricsTableName }).(pulumi.StringOutput) +} + +// Configuration for the inference log monitor +func (o LakehouseMonitorOutput) InferenceLog() LakehouseMonitorInferenceLogPtrOutput { + return o.ApplyT(func(v *LakehouseMonitor) LakehouseMonitorInferenceLogPtrOutput { return v.InferenceLog }).(LakehouseMonitorInferenceLogPtrOutput) +} + +func (o LakehouseMonitorOutput) LatestMonitorFailureMsg() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LakehouseMonitor) pulumi.StringPtrOutput { return v.LatestMonitorFailureMsg }).(pulumi.StringPtrOutput) +} + +// The version of the monitor config (e.g. 1,2,3). If negative, the monitor may be corrupted +func (o LakehouseMonitorOutput) MonitorVersion() pulumi.StringOutput { + return o.ApplyT(func(v *LakehouseMonitor) pulumi.StringOutput { return v.MonitorVersion }).(pulumi.StringOutput) +} + +// The notification settings for the monitor +func (o LakehouseMonitorOutput) Notifications() LakehouseMonitorNotificationsPtrOutput { + return o.ApplyT(func(v *LakehouseMonitor) LakehouseMonitorNotificationsPtrOutput { return v.Notifications }).(LakehouseMonitorNotificationsPtrOutput) +} + +// Schema where output metric tables are created +func (o LakehouseMonitorOutput) OutputSchemaName() pulumi.StringOutput { + return o.ApplyT(func(v *LakehouseMonitor) pulumi.StringOutput { return v.OutputSchemaName }).(pulumi.StringOutput) +} + +// The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__. +func (o LakehouseMonitorOutput) ProfileMetricsTableName() pulumi.StringOutput { + return o.ApplyT(func(v *LakehouseMonitor) pulumi.StringOutput { return v.ProfileMetricsTableName }).(pulumi.StringOutput) +} + +// The schedule for automatically updating and refreshing metric tables. +func (o LakehouseMonitorOutput) Schedule() LakehouseMonitorSchedulePtrOutput { + return o.ApplyT(func(v *LakehouseMonitor) LakehouseMonitorSchedulePtrOutput { return v.Schedule }).(LakehouseMonitorSchedulePtrOutput) +} + +// Whether to skip creating a default dashboard summarizing data quality metrics. +func (o LakehouseMonitorOutput) SkipBuiltinDashboard() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LakehouseMonitor) pulumi.BoolPtrOutput { return v.SkipBuiltinDashboard }).(pulumi.BoolPtrOutput) +} + +// List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. +func (o LakehouseMonitorOutput) SlicingExprs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LakehouseMonitor) pulumi.StringArrayOutput { return v.SlicingExprs }).(pulumi.StringArrayOutput) +} + +// Configuration for monitoring snapshot tables. +func (o LakehouseMonitorOutput) Snapshot() LakehouseMonitorSnapshotPtrOutput { + return o.ApplyT(func(v *LakehouseMonitor) LakehouseMonitorSnapshotPtrOutput { return v.Snapshot }).(LakehouseMonitorSnapshotPtrOutput) +} + +// Status of the Monitor +func (o LakehouseMonitorOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *LakehouseMonitor) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +// The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} +func (o LakehouseMonitorOutput) TableName() pulumi.StringOutput { + return o.ApplyT(func(v *LakehouseMonitor) pulumi.StringOutput { return v.TableName }).(pulumi.StringOutput) +} + +// Configuration for monitoring timeseries tables. +func (o LakehouseMonitorOutput) TimeSeries() LakehouseMonitorTimeSeriesPtrOutput { + return o.ApplyT(func(v *LakehouseMonitor) LakehouseMonitorTimeSeriesPtrOutput { return v.TimeSeries }).(LakehouseMonitorTimeSeriesPtrOutput) +} + +// Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. +func (o LakehouseMonitorOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LakehouseMonitor) pulumi.StringPtrOutput { return v.WarehouseId }).(pulumi.StringPtrOutput) +} + +type LakehouseMonitorArrayOutput struct{ *pulumi.OutputState } + +func (LakehouseMonitorArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*LakehouseMonitor)(nil)).Elem() +} + +func (o LakehouseMonitorArrayOutput) ToLakehouseMonitorArrayOutput() LakehouseMonitorArrayOutput { + return o +} + +func (o LakehouseMonitorArrayOutput) ToLakehouseMonitorArrayOutputWithContext(ctx context.Context) LakehouseMonitorArrayOutput { + return o +} + +func (o LakehouseMonitorArrayOutput) Index(i pulumi.IntInput) LakehouseMonitorOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *LakehouseMonitor { + return vs[0].([]*LakehouseMonitor)[vs[1].(int)] + }).(LakehouseMonitorOutput) +} + +type LakehouseMonitorMapOutput struct{ *pulumi.OutputState } + +func (LakehouseMonitorMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*LakehouseMonitor)(nil)).Elem() +} + +func (o LakehouseMonitorMapOutput) ToLakehouseMonitorMapOutput() LakehouseMonitorMapOutput { + return o +} + +func (o LakehouseMonitorMapOutput) ToLakehouseMonitorMapOutputWithContext(ctx context.Context) LakehouseMonitorMapOutput { + return o +} + +func (o LakehouseMonitorMapOutput) MapIndex(k pulumi.StringInput) LakehouseMonitorOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *LakehouseMonitor { + return vs[0].(map[string]*LakehouseMonitor)[vs[1].(string)] + }).(LakehouseMonitorOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*LakehouseMonitorInput)(nil)).Elem(), &LakehouseMonitor{}) + pulumi.RegisterInputType(reflect.TypeOf((*LakehouseMonitorArrayInput)(nil)).Elem(), LakehouseMonitorArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*LakehouseMonitorMapInput)(nil)).Elem(), LakehouseMonitorMap{}) + pulumi.RegisterOutputType(LakehouseMonitorOutput{}) + pulumi.RegisterOutputType(LakehouseMonitorArrayOutput{}) + pulumi.RegisterOutputType(LakehouseMonitorMapOutput{}) +} diff --git a/sdk/go/databricks/modelServing.go b/sdk/go/databricks/modelServing.go index 4b0a95fb..2e16a4f6 100644 --- a/sdk/go/databricks/modelServing.go +++ b/sdk/go/databricks/modelServing.go @@ -14,6 +14,8 @@ import ( // This resource allows you to manage [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks. // +// **Note** If you replace `servedModels` with `servedEntities` in an existing serving endpoint, the serving endpoint will briefly go into an update state (~30 seconds) and increment the config version. +// // ## Example Usage // // @@ -31,17 +33,17 @@ import ( // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := databricks.NewModelServing(ctx, "this", &databricks.ModelServingArgs{ // Config: &databricks.ModelServingConfigArgs{ -// ServedModels: databricks.ModelServingConfigServedModelArray{ -// &databricks.ModelServingConfigServedModelArgs{ -// ModelName: pulumi.String("ads-model"), -// ModelVersion: pulumi.String("2"), +// ServedEntities: databricks.ModelServingConfigServedEntityArray{ +// &databricks.ModelServingConfigServedEntityArgs{ +// EntityName: pulumi.String("ads-model"), +// EntityVersion: pulumi.String("2"), // Name: pulumi.String("prod_model"), // ScaleToZeroEnabled: pulumi.Bool(true), // WorkloadSize: pulumi.String("Small"), // }, -// &databricks.ModelServingConfigServedModelArgs{ -// ModelName: pulumi.String("ads-model"), -// ModelVersion: pulumi.String("4"), +// &databricks.ModelServingConfigServedEntityArgs{ +// EntityName: pulumi.String("ads-model"), +// EntityVersion: pulumi.String("4"), // Name: pulumi.String("candidate_model"), // ScaleToZeroEnabled: pulumi.Bool(false), // WorkloadSize: pulumi.String("Small"), @@ -102,11 +104,13 @@ type ModelServing struct { // The model serving endpoint configuration. Config ModelServingConfigOutput `pulumi:"config"` // The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. - Name pulumi.StringOutput `pulumi:"name"` + Name pulumi.StringOutput `pulumi:"name"` + // A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. RateLimits ModelServingRateLimitArrayOutput `pulumi:"rateLimits"` // Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations. - ServingEndpointId pulumi.StringOutput `pulumi:"servingEndpointId"` - Tags ModelServingTagArrayOutput `pulumi:"tags"` + ServingEndpointId pulumi.StringOutput `pulumi:"servingEndpointId"` + // Tags to be attached to the serving endpoint and automatically propagated to billing logs. + Tags ModelServingTagArrayOutput `pulumi:"tags"` } // NewModelServing registers a new resource with the given unique name, arguments, and options. @@ -145,22 +149,26 @@ type modelServingState struct { // The model serving endpoint configuration. Config *ModelServingConfig `pulumi:"config"` // The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. - Name *string `pulumi:"name"` + Name *string `pulumi:"name"` + // A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. RateLimits []ModelServingRateLimit `pulumi:"rateLimits"` // Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations. - ServingEndpointId *string `pulumi:"servingEndpointId"` - Tags []ModelServingTag `pulumi:"tags"` + ServingEndpointId *string `pulumi:"servingEndpointId"` + // Tags to be attached to the serving endpoint and automatically propagated to billing logs. + Tags []ModelServingTag `pulumi:"tags"` } type ModelServingState struct { // The model serving endpoint configuration. Config ModelServingConfigPtrInput // The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. - Name pulumi.StringPtrInput + Name pulumi.StringPtrInput + // A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. RateLimits ModelServingRateLimitArrayInput // Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations. ServingEndpointId pulumi.StringPtrInput - Tags ModelServingTagArrayInput + // Tags to be attached to the serving endpoint and automatically propagated to billing logs. + Tags ModelServingTagArrayInput } func (ModelServingState) ElementType() reflect.Type { @@ -171,9 +179,11 @@ type modelServingArgs struct { // The model serving endpoint configuration. Config ModelServingConfig `pulumi:"config"` // The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. - Name *string `pulumi:"name"` + Name *string `pulumi:"name"` + // A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. RateLimits []ModelServingRateLimit `pulumi:"rateLimits"` - Tags []ModelServingTag `pulumi:"tags"` + // Tags to be attached to the serving endpoint and automatically propagated to billing logs. + Tags []ModelServingTag `pulumi:"tags"` } // The set of arguments for constructing a ModelServing resource. @@ -181,9 +191,11 @@ type ModelServingArgs struct { // The model serving endpoint configuration. Config ModelServingConfigInput // The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. - Name pulumi.StringPtrInput + Name pulumi.StringPtrInput + // A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. RateLimits ModelServingRateLimitArrayInput - Tags ModelServingTagArrayInput + // Tags to be attached to the serving endpoint and automatically propagated to billing logs. + Tags ModelServingTagArrayInput } func (ModelServingArgs) ElementType() reflect.Type { @@ -283,6 +295,7 @@ func (o ModelServingOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *ModelServing) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } +// A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. func (o ModelServingOutput) RateLimits() ModelServingRateLimitArrayOutput { return o.ApplyT(func(v *ModelServing) ModelServingRateLimitArrayOutput { return v.RateLimits }).(ModelServingRateLimitArrayOutput) } @@ -292,6 +305,7 @@ func (o ModelServingOutput) ServingEndpointId() pulumi.StringOutput { return o.ApplyT(func(v *ModelServing) pulumi.StringOutput { return v.ServingEndpointId }).(pulumi.StringOutput) } +// Tags to be attached to the serving endpoint and automatically propagated to billing logs. func (o ModelServingOutput) Tags() ModelServingTagArrayOutput { return o.ApplyT(func(v *ModelServing) ModelServingTagArrayOutput { return v.Tags }).(ModelServingTagArrayOutput) } diff --git a/sdk/go/databricks/onlineTable.go b/sdk/go/databricks/onlineTable.go new file mode 100644 index 00000000..089346c9 --- /dev/null +++ b/sdk/go/databricks/onlineTable.go @@ -0,0 +1,287 @@ +// 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 resource could be only used on Unity Catalog-enabled workspace! +// +// This resource allows you to create [Online Table](https://docs.databricks.com/en/machine-learning/feature-store/online-tables.html) in Databricks. An online table is a read-only copy of a Delta Table that is stored in row-oriented format optimized for online access. Online tables are fully serverless tables that auto-scale throughput capacity with the request load and provide low latency and high throughput access to data of any scale. Online tables are designed to work with Databricks Model Serving, Feature Serving, and retrieval-augmented generation (RAG) applications where they are used for fast data lookups. +// +// ## 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.NewOnlineTable(ctx, "this", &databricks.OnlineTableArgs{ +// Spec: &databricks.OnlineTableSpecArgs{ +// PrimaryKeyColumns: pulumi.StringArray{ +// pulumi.String("id"), +// }, +// RunTriggered: nil, +// SourceTableFullName: pulumi.String("main.default.source_table"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// +// ## Import +// +// The resource can be imported using the name of the Online Table: +// +// bash +// +// ```sh +// $ pulumi import databricks:index/onlineTable:OnlineTable this +// ``` +type OnlineTable struct { + pulumi.CustomResourceState + + // 3-level name of the Online Table to create. + Name pulumi.StringOutput `pulumi:"name"` + // object containing specification of the online table: + Spec OnlineTableSpecPtrOutput `pulumi:"spec"` + // object describing status of the online table: + Statuses OnlineTableStatusArrayOutput `pulumi:"statuses"` +} + +// NewOnlineTable registers a new resource with the given unique name, arguments, and options. +func NewOnlineTable(ctx *pulumi.Context, + name string, args *OnlineTableArgs, opts ...pulumi.ResourceOption) (*OnlineTable, error) { + if args == nil { + args = &OnlineTableArgs{} + } + + opts = internal.PkgResourceDefaultOpts(opts) + var resource OnlineTable + err := ctx.RegisterResource("databricks:index/onlineTable:OnlineTable", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetOnlineTable gets an existing OnlineTable 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 GetOnlineTable(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *OnlineTableState, opts ...pulumi.ResourceOption) (*OnlineTable, error) { + var resource OnlineTable + err := ctx.ReadResource("databricks:index/onlineTable:OnlineTable", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering OnlineTable resources. +type onlineTableState struct { + // 3-level name of the Online Table to create. + Name *string `pulumi:"name"` + // object containing specification of the online table: + Spec *OnlineTableSpec `pulumi:"spec"` + // object describing status of the online table: + Statuses []OnlineTableStatus `pulumi:"statuses"` +} + +type OnlineTableState struct { + // 3-level name of the Online Table to create. + Name pulumi.StringPtrInput + // object containing specification of the online table: + Spec OnlineTableSpecPtrInput + // object describing status of the online table: + Statuses OnlineTableStatusArrayInput +} + +func (OnlineTableState) ElementType() reflect.Type { + return reflect.TypeOf((*onlineTableState)(nil)).Elem() +} + +type onlineTableArgs struct { + // 3-level name of the Online Table to create. + Name *string `pulumi:"name"` + // object containing specification of the online table: + Spec *OnlineTableSpec `pulumi:"spec"` +} + +// The set of arguments for constructing a OnlineTable resource. +type OnlineTableArgs struct { + // 3-level name of the Online Table to create. + Name pulumi.StringPtrInput + // object containing specification of the online table: + Spec OnlineTableSpecPtrInput +} + +func (OnlineTableArgs) ElementType() reflect.Type { + return reflect.TypeOf((*onlineTableArgs)(nil)).Elem() +} + +type OnlineTableInput interface { + pulumi.Input + + ToOnlineTableOutput() OnlineTableOutput + ToOnlineTableOutputWithContext(ctx context.Context) OnlineTableOutput +} + +func (*OnlineTable) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTable)(nil)).Elem() +} + +func (i *OnlineTable) ToOnlineTableOutput() OnlineTableOutput { + return i.ToOnlineTableOutputWithContext(context.Background()) +} + +func (i *OnlineTable) ToOnlineTableOutputWithContext(ctx context.Context) OnlineTableOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableOutput) +} + +// OnlineTableArrayInput is an input type that accepts OnlineTableArray and OnlineTableArrayOutput values. +// You can construct a concrete instance of `OnlineTableArrayInput` via: +// +// OnlineTableArray{ OnlineTableArgs{...} } +type OnlineTableArrayInput interface { + pulumi.Input + + ToOnlineTableArrayOutput() OnlineTableArrayOutput + ToOnlineTableArrayOutputWithContext(context.Context) OnlineTableArrayOutput +} + +type OnlineTableArray []OnlineTableInput + +func (OnlineTableArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*OnlineTable)(nil)).Elem() +} + +func (i OnlineTableArray) ToOnlineTableArrayOutput() OnlineTableArrayOutput { + return i.ToOnlineTableArrayOutputWithContext(context.Background()) +} + +func (i OnlineTableArray) ToOnlineTableArrayOutputWithContext(ctx context.Context) OnlineTableArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableArrayOutput) +} + +// OnlineTableMapInput is an input type that accepts OnlineTableMap and OnlineTableMapOutput values. +// You can construct a concrete instance of `OnlineTableMapInput` via: +// +// OnlineTableMap{ "key": OnlineTableArgs{...} } +type OnlineTableMapInput interface { + pulumi.Input + + ToOnlineTableMapOutput() OnlineTableMapOutput + ToOnlineTableMapOutputWithContext(context.Context) OnlineTableMapOutput +} + +type OnlineTableMap map[string]OnlineTableInput + +func (OnlineTableMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*OnlineTable)(nil)).Elem() +} + +func (i OnlineTableMap) ToOnlineTableMapOutput() OnlineTableMapOutput { + return i.ToOnlineTableMapOutputWithContext(context.Background()) +} + +func (i OnlineTableMap) ToOnlineTableMapOutputWithContext(ctx context.Context) OnlineTableMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableMapOutput) +} + +type OnlineTableOutput struct{ *pulumi.OutputState } + +func (OnlineTableOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTable)(nil)).Elem() +} + +func (o OnlineTableOutput) ToOnlineTableOutput() OnlineTableOutput { + return o +} + +func (o OnlineTableOutput) ToOnlineTableOutputWithContext(ctx context.Context) OnlineTableOutput { + return o +} + +// 3-level name of the Online Table to create. +func (o OnlineTableOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *OnlineTable) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// object containing specification of the online table: +func (o OnlineTableOutput) Spec() OnlineTableSpecPtrOutput { + return o.ApplyT(func(v *OnlineTable) OnlineTableSpecPtrOutput { return v.Spec }).(OnlineTableSpecPtrOutput) +} + +// object describing status of the online table: +func (o OnlineTableOutput) Statuses() OnlineTableStatusArrayOutput { + return o.ApplyT(func(v *OnlineTable) OnlineTableStatusArrayOutput { return v.Statuses }).(OnlineTableStatusArrayOutput) +} + +type OnlineTableArrayOutput struct{ *pulumi.OutputState } + +func (OnlineTableArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*OnlineTable)(nil)).Elem() +} + +func (o OnlineTableArrayOutput) ToOnlineTableArrayOutput() OnlineTableArrayOutput { + return o +} + +func (o OnlineTableArrayOutput) ToOnlineTableArrayOutputWithContext(ctx context.Context) OnlineTableArrayOutput { + return o +} + +func (o OnlineTableArrayOutput) Index(i pulumi.IntInput) OnlineTableOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OnlineTable { + return vs[0].([]*OnlineTable)[vs[1].(int)] + }).(OnlineTableOutput) +} + +type OnlineTableMapOutput struct{ *pulumi.OutputState } + +func (OnlineTableMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*OnlineTable)(nil)).Elem() +} + +func (o OnlineTableMapOutput) ToOnlineTableMapOutput() OnlineTableMapOutput { + return o +} + +func (o OnlineTableMapOutput) ToOnlineTableMapOutputWithContext(ctx context.Context) OnlineTableMapOutput { + return o +} + +func (o OnlineTableMapOutput) MapIndex(k pulumi.StringInput) OnlineTableOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OnlineTable { + return vs[0].(map[string]*OnlineTable)[vs[1].(string)] + }).(OnlineTableOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableInput)(nil)).Elem(), &OnlineTable{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableArrayInput)(nil)).Elem(), OnlineTableArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableMapInput)(nil)).Elem(), OnlineTableMap{}) + pulumi.RegisterOutputType(OnlineTableOutput{}) + pulumi.RegisterOutputType(OnlineTableArrayOutput{}) + pulumi.RegisterOutputType(OnlineTableMapOutput{}) +} diff --git a/sdk/go/databricks/pulumiTypes.go b/sdk/go/databricks/pulumiTypes.go index 32343097..ffaa1586 100644 --- a/sdk/go/databricks/pulumiTypes.go +++ b/sdk/go/databricks/pulumiTypes.go @@ -19715,7 +19715,7 @@ type JobTask struct { Health *JobTaskHealth `pulumi:"health"` // Identifier that can be referenced in `task` block, so that cluster is shared between tasks JobClusterKey *string `pulumi:"jobClusterKey"` - // (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + // (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"` @@ -19773,7 +19773,7 @@ type JobTaskArgs struct { Health JobTaskHealthPtrInput `pulumi:"health"` // Identifier that can be referenced in `task` block, so that cluster is shared between tasks JobClusterKey pulumi.StringPtrInput `pulumi:"jobClusterKey"` - // (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + // (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"` @@ -19900,7 +19900,7 @@ func (o JobTaskOutput) JobClusterKey() pulumi.StringPtrOutput { return o.ApplyT(func(v JobTask) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) } -// (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. +// (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) } @@ -20005,13 +20005,13 @@ func (o JobTaskArrayOutput) Index(i pulumi.IntInput) JobTaskOutput { 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"` + 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"` + 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"` + Right string `pulumi:"right"` } // JobTaskConditionTaskInput is an input type that accepts JobTaskConditionTaskArgs and JobTaskConditionTaskOutput values. @@ -20027,13 +20027,13 @@ type JobTaskConditionTaskInput interface { type JobTaskConditionTaskArgs struct { // The left operand of the condition task. It could be a string value, job state, or a parameter reference. - Left pulumi.StringPtrInput `pulumi:"left"` + 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.StringPtrInput `pulumi:"op"` + 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.StringPtrInput `pulumi:"right"` + Right pulumi.StringInput `pulumi:"right"` } func (JobTaskConditionTaskArgs) ElementType() reflect.Type { @@ -20114,20 +20114,20 @@ func (o JobTaskConditionTaskOutput) ToJobTaskConditionTaskPtrOutputWithContext(c } // The left operand of the condition task. It could be a string value, job state, or a parameter reference. -func (o JobTaskConditionTaskOutput) Left() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskConditionTask) *string { return v.Left }).(pulumi.StringPtrOutput) +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.StringPtrOutput { - return o.ApplyT(func(v JobTaskConditionTask) *string { return v.Op }).(pulumi.StringPtrOutput) +func (o JobTaskConditionTaskOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskConditionTask) string { return v.Op }).(pulumi.StringOutput) } // The right operand of the condition task. It could be a string value, job state, or parameter reference. -func (o JobTaskConditionTaskOutput) Right() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskConditionTask) *string { return v.Right }).(pulumi.StringPtrOutput) +func (o JobTaskConditionTaskOutput) Right() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskConditionTask) string { return v.Right }).(pulumi.StringOutput) } type JobTaskConditionTaskPtrOutput struct{ *pulumi.OutputState } @@ -20160,7 +20160,7 @@ func (o JobTaskConditionTaskPtrOutput) Left() pulumi.StringPtrOutput { if v == nil { return nil } - return v.Left + return &v.Left }).(pulumi.StringPtrOutput) } @@ -20172,7 +20172,7 @@ func (o JobTaskConditionTaskPtrOutput) Op() pulumi.StringPtrOutput { if v == nil { return nil } - return v.Op + return &v.Op }).(pulumi.StringPtrOutput) } @@ -20182,7 +20182,7 @@ func (o JobTaskConditionTaskPtrOutput) Right() pulumi.StringPtrOutput { if v == nil { return nil } - return v.Right + return &v.Right }).(pulumi.StringPtrOutput) } @@ -20560,6 +20560,8 @@ func (o JobTaskDependsOnArrayOutput) Index(i pulumi.IntInput) JobTaskDependsOnOu } 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. OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` // (List) list of emails to notify when the run fails. @@ -20582,6 +20584,8 @@ type JobTaskEmailNotificationsInput interface { } 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. OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` // (List) list of emails to notify when the run fails. @@ -20669,6 +20673,11 @@ func (o JobTaskEmailNotificationsOutput) ToJobTaskEmailNotificationsPtrOutputWit }).(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. func (o JobTaskEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { return o.ApplyT(func(v JobTaskEmailNotifications) []string { return v.OnDurationWarningThresholdExceededs }).(pulumi.StringArrayOutput) @@ -20713,6 +20722,16 @@ func (o JobTaskEmailNotificationsPtrOutput) Elem() JobTaskEmailNotificationsOutp }).(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. func (o JobTaskEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { return o.ApplyT(func(v *JobTaskEmailNotifications) []string { @@ -20943,7 +20962,7 @@ type JobTaskForEachTaskTask struct { Health *JobTaskForEachTaskTaskHealth `pulumi:"health"` // Identifier that can be referenced in `task` block, so that cluster is shared between tasks JobClusterKey *string `pulumi:"jobClusterKey"` - // (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + // (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"` @@ -21000,7 +21019,7 @@ type JobTaskForEachTaskTaskArgs struct { Health JobTaskForEachTaskTaskHealthPtrInput `pulumi:"health"` // Identifier that can be referenced in `task` block, so that cluster is shared between tasks JobClusterKey pulumi.StringPtrInput `pulumi:"jobClusterKey"` - // (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + // (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"` @@ -21149,7 +21168,7 @@ func (o JobTaskForEachTaskTaskOutput) JobClusterKey() pulumi.StringPtrOutput { return o.ApplyT(func(v JobTaskForEachTaskTask) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) } -// (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. +// (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) } @@ -21346,7 +21365,7 @@ func (o JobTaskForEachTaskTaskPtrOutput) JobClusterKey() pulumi.StringPtrOutput }).(pulumi.StringPtrOutput) } -// (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. +// (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 { @@ -21521,13 +21540,13 @@ func (o JobTaskForEachTaskTaskPtrOutput) WebhookNotifications() JobTaskForEachTa 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"` + 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"` + 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"` + Right string `pulumi:"right"` } // JobTaskForEachTaskTaskConditionTaskInput is an input type that accepts JobTaskForEachTaskTaskConditionTaskArgs and JobTaskForEachTaskTaskConditionTaskOutput values. @@ -21543,13 +21562,13 @@ type JobTaskForEachTaskTaskConditionTaskInput interface { type JobTaskForEachTaskTaskConditionTaskArgs struct { // The left operand of the condition task. It could be a string value, job state, or a parameter reference. - Left pulumi.StringPtrInput `pulumi:"left"` + 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.StringPtrInput `pulumi:"op"` + 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.StringPtrInput `pulumi:"right"` + Right pulumi.StringInput `pulumi:"right"` } func (JobTaskForEachTaskTaskConditionTaskArgs) ElementType() reflect.Type { @@ -21630,20 +21649,20 @@ func (o JobTaskForEachTaskTaskConditionTaskOutput) ToJobTaskForEachTaskTaskCondi } // The left operand of the condition task. It could be a string value, job state, or a parameter reference. -func (o JobTaskForEachTaskTaskConditionTaskOutput) Left() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskConditionTask) *string { return v.Left }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskConditionTaskOutput) Left() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskConditionTask) 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 JobTaskForEachTaskTaskConditionTaskOutput) Op() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskConditionTask) *string { return v.Op }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskConditionTaskOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskConditionTask) string { return v.Op }).(pulumi.StringOutput) } // The right operand of the condition task. It could be a string value, job state, or parameter reference. -func (o JobTaskForEachTaskTaskConditionTaskOutput) Right() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskConditionTask) *string { return v.Right }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskConditionTaskOutput) Right() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskConditionTask) string { return v.Right }).(pulumi.StringOutput) } type JobTaskForEachTaskTaskConditionTaskPtrOutput struct{ *pulumi.OutputState } @@ -21676,7 +21695,7 @@ func (o JobTaskForEachTaskTaskConditionTaskPtrOutput) Left() pulumi.StringPtrOut if v == nil { return nil } - return v.Left + return &v.Left }).(pulumi.StringPtrOutput) } @@ -21688,7 +21707,7 @@ func (o JobTaskForEachTaskTaskConditionTaskPtrOutput) Op() pulumi.StringPtrOutpu if v == nil { return nil } - return v.Op + return &v.Op }).(pulumi.StringPtrOutput) } @@ -21698,7 +21717,7 @@ func (o JobTaskForEachTaskTaskConditionTaskPtrOutput) Right() pulumi.StringPtrOu if v == nil { return nil } - return v.Right + return &v.Right }).(pulumi.StringPtrOutput) } @@ -22076,6 +22095,8 @@ func (o JobTaskForEachTaskTaskDependsOnArrayOutput) Index(i pulumi.IntInput) Job } 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. OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` // (List) list of emails to notify when the run fails. @@ -22098,6 +22119,8 @@ type JobTaskForEachTaskTaskEmailNotificationsInput interface { } 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. OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` // (List) list of emails to notify when the run fails. @@ -22185,6 +22208,11 @@ func (o JobTaskForEachTaskTaskEmailNotificationsOutput) ToJobTaskForEachTaskTask }).(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. func (o JobTaskForEachTaskTaskEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { return o.ApplyT(func(v JobTaskForEachTaskTaskEmailNotifications) []string { @@ -22231,6 +22259,16 @@ func (o JobTaskForEachTaskTaskEmailNotificationsPtrOutput) Elem() JobTaskForEach }).(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. func (o JobTaskForEachTaskTaskEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { return o.ApplyT(func(v *JobTaskForEachTaskTaskEmailNotifications) []string { @@ -29880,7 +29918,7 @@ type JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceede // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs and JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput values. @@ -29898,7 +29936,7 @@ type JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceede // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { @@ -29955,10 +29993,10 @@ func (o JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExce // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block -func (o JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded) *string { +func (o JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded) string { return v.Id - }).(pulumi.StringPtrOutput) + }).(pulumi.StringOutput) } type JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } @@ -29985,7 +30023,7 @@ type JobTaskForEachTaskTaskWebhookNotificationsOnFailure struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // JobTaskForEachTaskTaskWebhookNotificationsOnFailureInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs and JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput values. @@ -30003,7 +30041,7 @@ type JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { @@ -30060,8 +30098,8 @@ func (o JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) ToJobTaskForE // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block -func (o JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotificationsOnFailure) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) } type JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } @@ -30088,7 +30126,7 @@ type JobTaskForEachTaskTaskWebhookNotificationsOnStart struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // JobTaskForEachTaskTaskWebhookNotificationsOnStartInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs and JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput values. @@ -30106,7 +30144,7 @@ type JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs) ElementType() reflect.Type { @@ -30163,8 +30201,8 @@ func (o JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput) ToJobTaskForEac // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block -func (o JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotificationsOnStart) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) } type JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } @@ -30191,7 +30229,7 @@ type JobTaskForEachTaskTaskWebhookNotificationsOnSuccess struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // JobTaskForEachTaskTaskWebhookNotificationsOnSuccessInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs and JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput values. @@ -30209,7 +30247,7 @@ type JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { @@ -30266,8 +30304,8 @@ func (o JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) ToJobTaskForE // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block -func (o JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotificationsOnSuccess) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) } type JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } @@ -37848,7 +37886,7 @@ type JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // JobTaskWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs and JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput values. @@ -37866,7 +37904,7 @@ type JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { @@ -37923,8 +37961,8 @@ func (o JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToJ // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block -func (o JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded) string { return v.Id }).(pulumi.StringOutput) } type JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } @@ -37951,7 +37989,7 @@ type JobTaskWebhookNotificationsOnFailure struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // JobTaskWebhookNotificationsOnFailureInput is an input type that accepts JobTaskWebhookNotificationsOnFailureArgs and JobTaskWebhookNotificationsOnFailureOutput values. @@ -37969,7 +38007,7 @@ type JobTaskWebhookNotificationsOnFailureArgs struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (JobTaskWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { @@ -38026,8 +38064,8 @@ func (o JobTaskWebhookNotificationsOnFailureOutput) ToJobTaskWebhookNotification // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block -func (o JobTaskWebhookNotificationsOnFailureOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskWebhookNotificationsOnFailure) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o JobTaskWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) } type JobTaskWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } @@ -38054,7 +38092,7 @@ type JobTaskWebhookNotificationsOnStart struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // JobTaskWebhookNotificationsOnStartInput is an input type that accepts JobTaskWebhookNotificationsOnStartArgs and JobTaskWebhookNotificationsOnStartOutput values. @@ -38072,7 +38110,7 @@ type JobTaskWebhookNotificationsOnStartArgs struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (JobTaskWebhookNotificationsOnStartArgs) ElementType() reflect.Type { @@ -38129,8 +38167,8 @@ func (o JobTaskWebhookNotificationsOnStartOutput) ToJobTaskWebhookNotificationsO // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block -func (o JobTaskWebhookNotificationsOnStartOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskWebhookNotificationsOnStart) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o JobTaskWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) } type JobTaskWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } @@ -38157,7 +38195,7 @@ type JobTaskWebhookNotificationsOnSuccess struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // JobTaskWebhookNotificationsOnSuccessInput is an input type that accepts JobTaskWebhookNotificationsOnSuccessArgs and JobTaskWebhookNotificationsOnSuccessOutput values. @@ -38175,7 +38213,7 @@ type JobTaskWebhookNotificationsOnSuccessArgs struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (JobTaskWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { @@ -38232,8 +38270,8 @@ func (o JobTaskWebhookNotificationsOnSuccessOutput) ToJobTaskWebhookNotification // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block -func (o JobTaskWebhookNotificationsOnSuccessOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskWebhookNotificationsOnSuccess) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o JobTaskWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) } type JobTaskWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } @@ -38258,9 +38296,11 @@ func (o JobTaskWebhookNotificationsOnSuccessArrayOutput) Index(i pulumi.IntInput 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"` + 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 Table Update events consisting of following attributes: + TableUpdate *JobTriggerTableUpdate `pulumi:"tableUpdate"` } // JobTriggerInput is an input type that accepts JobTriggerArgs and JobTriggerOutput values. @@ -38276,9 +38316,11 @@ type JobTriggerInput interface { 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 JobTriggerFileArrivalInput `pulumi:"fileArrival"` + 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 Table Update events consisting of following attributes: + TableUpdate JobTriggerTableUpdatePtrInput `pulumi:"tableUpdate"` } func (JobTriggerArgs) ElementType() reflect.Type { @@ -38359,8 +38401,8 @@ func (o JobTriggerOutput) ToJobTriggerPtrOutputWithContext(ctx context.Context) } // 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() JobTriggerFileArrivalOutput { - return o.ApplyT(func(v JobTrigger) JobTriggerFileArrival { return v.FileArrival }).(JobTriggerFileArrivalOutput) +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`. @@ -38368,6 +38410,11 @@ 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 Table Update events consisting of following attributes: +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 { @@ -38398,7 +38445,7 @@ func (o JobTriggerPtrOutput) FileArrival() JobTriggerFileArrivalPtrOutput { if v == nil { return nil } - return &v.FileArrival + return v.FileArrival }).(JobTriggerFileArrivalPtrOutput) } @@ -38412,6 +38459,16 @@ func (o JobTriggerPtrOutput) PauseStatus() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } +// configuration block to define a trigger for Table Update events consisting of following attributes: +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"` @@ -38587,6 +38644,200 @@ func (o JobTriggerFileArrivalPtrOutput) WaitAfterLastChangeSeconds() pulumi.IntP }).(pulumi.IntPtrOutput) } +type JobTriggerTableUpdate struct { + // The table(s) condition based on which to trigger a job run. Valid values are `ANY_UPDATED` or `ALL_UPDATED`. + 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"` + // A list of Delta tables to monitor for changes. The table name must be in the format `catalog_name.schema_name.table_name`. + 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: +// +// JobTriggerTableUpdateArgs{...} +type JobTriggerTableUpdateInput interface { + pulumi.Input + + ToJobTriggerTableUpdateOutput() JobTriggerTableUpdateOutput + ToJobTriggerTableUpdateOutputWithContext(context.Context) JobTriggerTableUpdateOutput +} + +type JobTriggerTableUpdateArgs struct { + // The table(s) condition based on which to trigger a job run. Valid values are `ANY_UPDATED` or `ALL_UPDATED`. + 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"` + // A list of Delta tables to monitor for changes. The table name must be in the format `catalog_name.schema_name.table_name`. + 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 (JobTriggerTableUpdateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTriggerTableUpdate)(nil)).Elem() +} + +func (i JobTriggerTableUpdateArgs) ToJobTriggerTableUpdateOutput() JobTriggerTableUpdateOutput { + return i.ToJobTriggerTableUpdateOutputWithContext(context.Background()) +} + +func (i JobTriggerTableUpdateArgs) ToJobTriggerTableUpdateOutputWithContext(ctx context.Context) JobTriggerTableUpdateOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTriggerTableUpdateOutput) +} + +func (i JobTriggerTableUpdateArgs) ToJobTriggerTableUpdatePtrOutput() JobTriggerTableUpdatePtrOutput { + return i.ToJobTriggerTableUpdatePtrOutputWithContext(context.Background()) +} + +func (i JobTriggerTableUpdateArgs) ToJobTriggerTableUpdatePtrOutputWithContext(ctx context.Context) JobTriggerTableUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTriggerTableUpdateOutput).ToJobTriggerTableUpdatePtrOutputWithContext(ctx) +} + +// JobTriggerTableUpdatePtrInput is an input type that accepts JobTriggerTableUpdateArgs, JobTriggerTableUpdatePtr and JobTriggerTableUpdatePtrOutput values. +// You can construct a concrete instance of `JobTriggerTableUpdatePtrInput` via: +// +// JobTriggerTableUpdateArgs{...} +// +// or: +// +// nil +type JobTriggerTableUpdatePtrInput interface { + pulumi.Input + + ToJobTriggerTableUpdatePtrOutput() JobTriggerTableUpdatePtrOutput + ToJobTriggerTableUpdatePtrOutputWithContext(context.Context) JobTriggerTableUpdatePtrOutput +} + +type jobTriggerTableUpdatePtrType JobTriggerTableUpdateArgs + +func JobTriggerTableUpdatePtr(v *JobTriggerTableUpdateArgs) JobTriggerTableUpdatePtrInput { + return (*jobTriggerTableUpdatePtrType)(v) +} + +func (*jobTriggerTableUpdatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTriggerTableUpdate)(nil)).Elem() +} + +func (i *jobTriggerTableUpdatePtrType) ToJobTriggerTableUpdatePtrOutput() JobTriggerTableUpdatePtrOutput { + return i.ToJobTriggerTableUpdatePtrOutputWithContext(context.Background()) +} + +func (i *jobTriggerTableUpdatePtrType) ToJobTriggerTableUpdatePtrOutputWithContext(ctx context.Context) JobTriggerTableUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTriggerTableUpdatePtrOutput) +} + +type JobTriggerTableUpdateOutput struct{ *pulumi.OutputState } + +func (JobTriggerTableUpdateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTriggerTableUpdate)(nil)).Elem() +} + +func (o JobTriggerTableUpdateOutput) ToJobTriggerTableUpdateOutput() JobTriggerTableUpdateOutput { + return o +} + +func (o JobTriggerTableUpdateOutput) ToJobTriggerTableUpdateOutputWithContext(ctx context.Context) JobTriggerTableUpdateOutput { + return o +} + +func (o JobTriggerTableUpdateOutput) ToJobTriggerTableUpdatePtrOutput() JobTriggerTableUpdatePtrOutput { + return o.ToJobTriggerTableUpdatePtrOutputWithContext(context.Background()) +} + +func (o JobTriggerTableUpdateOutput) ToJobTriggerTableUpdatePtrOutputWithContext(ctx context.Context) JobTriggerTableUpdatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTriggerTableUpdate) *JobTriggerTableUpdate { + return &v + }).(JobTriggerTableUpdatePtrOutput) +} + +// The table(s) condition based on which to trigger a job run. Valid values are `ANY_UPDATED` or `ALL_UPDATED`. +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) +} + +// A list of Delta tables to monitor for changes. The table name must be in the format `catalog_name.schema_name.table_name`. +func (o JobTriggerTableUpdateOutput) TableNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTriggerTableUpdate) []string { return v.TableNames }).(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 JobTriggerTableUpdateOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTriggerTableUpdate) *int { return v.WaitAfterLastChangeSeconds }).(pulumi.IntPtrOutput) +} + +type JobTriggerTableUpdatePtrOutput struct{ *pulumi.OutputState } + +func (JobTriggerTableUpdatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTriggerTableUpdate)(nil)).Elem() +} + +func (o JobTriggerTableUpdatePtrOutput) ToJobTriggerTableUpdatePtrOutput() JobTriggerTableUpdatePtrOutput { + return o +} + +func (o JobTriggerTableUpdatePtrOutput) ToJobTriggerTableUpdatePtrOutputWithContext(ctx context.Context) JobTriggerTableUpdatePtrOutput { + return o +} + +func (o JobTriggerTableUpdatePtrOutput) Elem() JobTriggerTableUpdateOutput { + return o.ApplyT(func(v *JobTriggerTableUpdate) JobTriggerTableUpdate { + if v != nil { + return *v + } + var ret JobTriggerTableUpdate + return ret + }).(JobTriggerTableUpdateOutput) +} + +// The table(s) condition based on which to trigger a job run. Valid values are `ANY_UPDATED` or `ALL_UPDATED`. +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) +} + +// A list of Delta tables to monitor for changes. The table name must be in the format `catalog_name.schema_name.table_name`. +func (o JobTriggerTableUpdatePtrOutput) TableNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTriggerTableUpdate) []string { + if v == nil { + return nil + } + return v.TableNames + }).(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 JobTriggerTableUpdatePtrOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTriggerTableUpdate) *int { + if v == nil { + return nil + } + return v.WaitAfterLastChangeSeconds + }).(pulumi.IntPtrOutput) +} + 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. // @@ -38873,7 +39124,7 @@ type JobWebhookNotificationsOnDurationWarningThresholdExceeded struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // JobWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts JobWebhookNotificationsOnDurationWarningThresholdExceededArgs and JobWebhookNotificationsOnDurationWarningThresholdExceededOutput values. @@ -38891,7 +39142,7 @@ type JobWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (JobWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { @@ -38948,8 +39199,8 @@ func (o JobWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToJobWe // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block -func (o JobWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobWebhookNotificationsOnDurationWarningThresholdExceeded) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o JobWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobWebhookNotificationsOnDurationWarningThresholdExceeded) string { return v.Id }).(pulumi.StringOutput) } type JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } @@ -38976,7 +39227,7 @@ type JobWebhookNotificationsOnFailure struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // JobWebhookNotificationsOnFailureInput is an input type that accepts JobWebhookNotificationsOnFailureArgs and JobWebhookNotificationsOnFailureOutput values. @@ -38994,7 +39245,7 @@ type JobWebhookNotificationsOnFailureArgs struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (JobWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { @@ -39051,8 +39302,8 @@ func (o JobWebhookNotificationsOnFailureOutput) ToJobWebhookNotificationsOnFailu // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block -func (o JobWebhookNotificationsOnFailureOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobWebhookNotificationsOnFailure) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o JobWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) } type JobWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } @@ -39079,7 +39330,7 @@ type JobWebhookNotificationsOnStart struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // JobWebhookNotificationsOnStartInput is an input type that accepts JobWebhookNotificationsOnStartArgs and JobWebhookNotificationsOnStartOutput values. @@ -39097,7 +39348,7 @@ type JobWebhookNotificationsOnStartArgs struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (JobWebhookNotificationsOnStartArgs) ElementType() reflect.Type { @@ -39154,8 +39405,8 @@ func (o JobWebhookNotificationsOnStartOutput) ToJobWebhookNotificationsOnStartOu // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block -func (o JobWebhookNotificationsOnStartOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobWebhookNotificationsOnStart) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o JobWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) } type JobWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } @@ -39182,7 +39433,7 @@ type JobWebhookNotificationsOnSuccess struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // JobWebhookNotificationsOnSuccessInput is an input type that accepts JobWebhookNotificationsOnSuccessArgs and JobWebhookNotificationsOnSuccessOutput values. @@ -39200,7 +39451,7 @@ type JobWebhookNotificationsOnSuccessArgs struct { // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (JobWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { @@ -39257,8 +39508,8 @@ func (o JobWebhookNotificationsOnSuccessOutput) ToJobWebhookNotificationsOnSucce // ID of the system notification that is notified when an event defined in `webhookNotifications` is triggered. // // > **Note** The following configuration blocks can be standalone or nested inside a `task` block -func (o JobWebhookNotificationsOnSuccessOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobWebhookNotificationsOnSuccess) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o JobWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) } type JobWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } @@ -39281,27046 +39532,27425 @@ func (o JobWebhookNotificationsOnSuccessArrayOutput) Index(i pulumi.IntInput) Jo }).(JobWebhookNotificationsOnSuccessOutput) } -type LibraryCran struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +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"` } -// LibraryCranInput is an input type that accepts LibraryCranArgs and LibraryCranOutput values. -// You can construct a concrete instance of `LibraryCranInput` via: +// LakehouseMonitorCustomMetricInput is an input type that accepts LakehouseMonitorCustomMetricArgs and LakehouseMonitorCustomMetricOutput values. +// You can construct a concrete instance of `LakehouseMonitorCustomMetricInput` via: // -// LibraryCranArgs{...} -type LibraryCranInput interface { +// LakehouseMonitorCustomMetricArgs{...} +type LakehouseMonitorCustomMetricInput interface { pulumi.Input - ToLibraryCranOutput() LibraryCranOutput - ToLibraryCranOutputWithContext(context.Context) LibraryCranOutput + ToLakehouseMonitorCustomMetricOutput() LakehouseMonitorCustomMetricOutput + ToLakehouseMonitorCustomMetricOutputWithContext(context.Context) LakehouseMonitorCustomMetricOutput } -type LibraryCranArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type LakehouseMonitorCustomMetricArgs struct { + // [create metric definition]: https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition + Definition pulumi.StringPtrInput `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.StringPtrInput `pulumi:"name"` + // The output type of the custom metric. + OutputDataType pulumi.StringPtrInput `pulumi:"outputDataType"` + // The type of the custom metric. + Type pulumi.StringPtrInput `pulumi:"type"` } -func (LibraryCranArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LibraryCran)(nil)).Elem() +func (LakehouseMonitorCustomMetricArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorCustomMetric)(nil)).Elem() } -func (i LibraryCranArgs) ToLibraryCranOutput() LibraryCranOutput { - return i.ToLibraryCranOutputWithContext(context.Background()) +func (i LakehouseMonitorCustomMetricArgs) ToLakehouseMonitorCustomMetricOutput() LakehouseMonitorCustomMetricOutput { + return i.ToLakehouseMonitorCustomMetricOutputWithContext(context.Background()) } -func (i LibraryCranArgs) ToLibraryCranOutputWithContext(ctx context.Context) LibraryCranOutput { - return pulumi.ToOutputWithContext(ctx, i).(LibraryCranOutput) +func (i LakehouseMonitorCustomMetricArgs) ToLakehouseMonitorCustomMetricOutputWithContext(ctx context.Context) LakehouseMonitorCustomMetricOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorCustomMetricOutput) } -func (i LibraryCranArgs) ToLibraryCranPtrOutput() LibraryCranPtrOutput { - return i.ToLibraryCranPtrOutputWithContext(context.Background()) +// 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 (i LibraryCranArgs) ToLibraryCranPtrOutputWithContext(ctx context.Context) LibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LibraryCranOutput).ToLibraryCranPtrOutputWithContext(ctx) +type LakehouseMonitorCustomMetricArray []LakehouseMonitorCustomMetricInput + +func (LakehouseMonitorCustomMetricArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]LakehouseMonitorCustomMetric)(nil)).Elem() +} + +func (i LakehouseMonitorCustomMetricArray) ToLakehouseMonitorCustomMetricArrayOutput() LakehouseMonitorCustomMetricArrayOutput { + return i.ToLakehouseMonitorCustomMetricArrayOutputWithContext(context.Background()) +} + +func (i LakehouseMonitorCustomMetricArray) ToLakehouseMonitorCustomMetricArrayOutputWithContext(ctx context.Context) LakehouseMonitorCustomMetricArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorCustomMetricArrayOutput) +} + +type LakehouseMonitorCustomMetricOutput struct{ *pulumi.OutputState } + +func (LakehouseMonitorCustomMetricOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorCustomMetric)(nil)).Elem() +} + +func (o LakehouseMonitorCustomMetricOutput) ToLakehouseMonitorCustomMetricOutput() LakehouseMonitorCustomMetricOutput { + return o +} + +func (o LakehouseMonitorCustomMetricOutput) ToLakehouseMonitorCustomMetricOutputWithContext(ctx context.Context) LakehouseMonitorCustomMetricOutput { + return o } -// LibraryCranPtrInput is an input type that accepts LibraryCranArgs, LibraryCranPtr and LibraryCranPtrOutput values. -// You can construct a concrete instance of `LibraryCranPtrInput` via: // -// LibraryCranArgs{...} +// [create metric definition]: https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition +func (o LakehouseMonitorCustomMetricOutput) Definition() pulumi.StringPtrOutput { + return o.ApplyT(func(v LakehouseMonitorCustomMetric) *string { return v.Definition }).(pulumi.StringPtrOutput) +} + +// 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) +} + +// Name of the custom metric. +func (o LakehouseMonitorCustomMetricOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LakehouseMonitorCustomMetric) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// The output type of the custom metric. +func (o LakehouseMonitorCustomMetricOutput) OutputDataType() pulumi.StringPtrOutput { + return o.ApplyT(func(v LakehouseMonitorCustomMetric) *string { return v.OutputDataType }).(pulumi.StringPtrOutput) +} + +// The type of the custom metric. +func (o LakehouseMonitorCustomMetricOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v LakehouseMonitorCustomMetric) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +type LakehouseMonitorCustomMetricArrayOutput struct{ *pulumi.OutputState } + +func (LakehouseMonitorCustomMetricArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]LakehouseMonitorCustomMetric)(nil)).Elem() +} + +func (o LakehouseMonitorCustomMetricArrayOutput) ToLakehouseMonitorCustomMetricArrayOutput() LakehouseMonitorCustomMetricArrayOutput { + return o +} + +func (o LakehouseMonitorCustomMetricArrayOutput) ToLakehouseMonitorCustomMetricArrayOutputWithContext(ctx context.Context) LakehouseMonitorCustomMetricArrayOutput { + return o +} + +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 LakehouseMonitorDataClassificationConfig struct { + Enabled *bool `pulumi:"enabled"` +} + +// LakehouseMonitorDataClassificationConfigInput is an input type that accepts LakehouseMonitorDataClassificationConfigArgs and LakehouseMonitorDataClassificationConfigOutput values. +// You can construct a concrete instance of `LakehouseMonitorDataClassificationConfigInput` via: +// +// LakehouseMonitorDataClassificationConfigArgs{...} +type LakehouseMonitorDataClassificationConfigInput interface { + pulumi.Input + + ToLakehouseMonitorDataClassificationConfigOutput() LakehouseMonitorDataClassificationConfigOutput + ToLakehouseMonitorDataClassificationConfigOutputWithContext(context.Context) LakehouseMonitorDataClassificationConfigOutput +} + +type LakehouseMonitorDataClassificationConfigArgs struct { + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +} + +func (LakehouseMonitorDataClassificationConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorDataClassificationConfig)(nil)).Elem() +} + +func (i LakehouseMonitorDataClassificationConfigArgs) ToLakehouseMonitorDataClassificationConfigOutput() LakehouseMonitorDataClassificationConfigOutput { + return i.ToLakehouseMonitorDataClassificationConfigOutputWithContext(context.Background()) +} + +func (i LakehouseMonitorDataClassificationConfigArgs) ToLakehouseMonitorDataClassificationConfigOutputWithContext(ctx context.Context) LakehouseMonitorDataClassificationConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorDataClassificationConfigOutput) +} + +func (i LakehouseMonitorDataClassificationConfigArgs) ToLakehouseMonitorDataClassificationConfigPtrOutput() LakehouseMonitorDataClassificationConfigPtrOutput { + return i.ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(context.Background()) +} + +func (i LakehouseMonitorDataClassificationConfigArgs) ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) LakehouseMonitorDataClassificationConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorDataClassificationConfigOutput).ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(ctx) +} + +// LakehouseMonitorDataClassificationConfigPtrInput is an input type that accepts LakehouseMonitorDataClassificationConfigArgs, LakehouseMonitorDataClassificationConfigPtr and LakehouseMonitorDataClassificationConfigPtrOutput values. +// You can construct a concrete instance of `LakehouseMonitorDataClassificationConfigPtrInput` via: +// +// LakehouseMonitorDataClassificationConfigArgs{...} // // or: // // nil -type LibraryCranPtrInput interface { +type LakehouseMonitorDataClassificationConfigPtrInput interface { pulumi.Input - ToLibraryCranPtrOutput() LibraryCranPtrOutput - ToLibraryCranPtrOutputWithContext(context.Context) LibraryCranPtrOutput + ToLakehouseMonitorDataClassificationConfigPtrOutput() LakehouseMonitorDataClassificationConfigPtrOutput + ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(context.Context) LakehouseMonitorDataClassificationConfigPtrOutput } -type libraryCranPtrType LibraryCranArgs +type lakehouseMonitorDataClassificationConfigPtrType LakehouseMonitorDataClassificationConfigArgs -func LibraryCranPtr(v *LibraryCranArgs) LibraryCranPtrInput { - return (*libraryCranPtrType)(v) +func LakehouseMonitorDataClassificationConfigPtr(v *LakehouseMonitorDataClassificationConfigArgs) LakehouseMonitorDataClassificationConfigPtrInput { + return (*lakehouseMonitorDataClassificationConfigPtrType)(v) } -func (*libraryCranPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LibraryCran)(nil)).Elem() +func (*lakehouseMonitorDataClassificationConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorDataClassificationConfig)(nil)).Elem() } -func (i *libraryCranPtrType) ToLibraryCranPtrOutput() LibraryCranPtrOutput { - return i.ToLibraryCranPtrOutputWithContext(context.Background()) +func (i *lakehouseMonitorDataClassificationConfigPtrType) ToLakehouseMonitorDataClassificationConfigPtrOutput() LakehouseMonitorDataClassificationConfigPtrOutput { + return i.ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(context.Background()) } -func (i *libraryCranPtrType) ToLibraryCranPtrOutputWithContext(ctx context.Context) LibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LibraryCranPtrOutput) +func (i *lakehouseMonitorDataClassificationConfigPtrType) ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) LakehouseMonitorDataClassificationConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorDataClassificationConfigPtrOutput) } -type LibraryCranOutput struct{ *pulumi.OutputState } +type LakehouseMonitorDataClassificationConfigOutput struct{ *pulumi.OutputState } -func (LibraryCranOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LibraryCran)(nil)).Elem() +func (LakehouseMonitorDataClassificationConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorDataClassificationConfig)(nil)).Elem() } -func (o LibraryCranOutput) ToLibraryCranOutput() LibraryCranOutput { +func (o LakehouseMonitorDataClassificationConfigOutput) ToLakehouseMonitorDataClassificationConfigOutput() LakehouseMonitorDataClassificationConfigOutput { return o } -func (o LibraryCranOutput) ToLibraryCranOutputWithContext(ctx context.Context) LibraryCranOutput { +func (o LakehouseMonitorDataClassificationConfigOutput) ToLakehouseMonitorDataClassificationConfigOutputWithContext(ctx context.Context) LakehouseMonitorDataClassificationConfigOutput { return o } -func (o LibraryCranOutput) ToLibraryCranPtrOutput() LibraryCranPtrOutput { - return o.ToLibraryCranPtrOutputWithContext(context.Background()) +func (o LakehouseMonitorDataClassificationConfigOutput) ToLakehouseMonitorDataClassificationConfigPtrOutput() LakehouseMonitorDataClassificationConfigPtrOutput { + return o.ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(context.Background()) } -func (o LibraryCranOutput) ToLibraryCranPtrOutputWithContext(ctx context.Context) LibraryCranPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LibraryCran) *LibraryCran { +func (o LakehouseMonitorDataClassificationConfigOutput) ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) LakehouseMonitorDataClassificationConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorDataClassificationConfig) *LakehouseMonitorDataClassificationConfig { return &v - }).(LibraryCranPtrOutput) -} - -func (o LibraryCranOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v LibraryCran) string { return v.Package }).(pulumi.StringOutput) + }).(LakehouseMonitorDataClassificationConfigPtrOutput) } -func (o LibraryCranOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v LibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o LakehouseMonitorDataClassificationConfigOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LakehouseMonitorDataClassificationConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -type LibraryCranPtrOutput struct{ *pulumi.OutputState } +type LakehouseMonitorDataClassificationConfigPtrOutput struct{ *pulumi.OutputState } -func (LibraryCranPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LibraryCran)(nil)).Elem() +func (LakehouseMonitorDataClassificationConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorDataClassificationConfig)(nil)).Elem() } -func (o LibraryCranPtrOutput) ToLibraryCranPtrOutput() LibraryCranPtrOutput { +func (o LakehouseMonitorDataClassificationConfigPtrOutput) ToLakehouseMonitorDataClassificationConfigPtrOutput() LakehouseMonitorDataClassificationConfigPtrOutput { return o } -func (o LibraryCranPtrOutput) ToLibraryCranPtrOutputWithContext(ctx context.Context) LibraryCranPtrOutput { +func (o LakehouseMonitorDataClassificationConfigPtrOutput) ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) LakehouseMonitorDataClassificationConfigPtrOutput { return o } -func (o LibraryCranPtrOutput) Elem() LibraryCranOutput { - return o.ApplyT(func(v *LibraryCran) LibraryCran { +func (o LakehouseMonitorDataClassificationConfigPtrOutput) Elem() LakehouseMonitorDataClassificationConfigOutput { + return o.ApplyT(func(v *LakehouseMonitorDataClassificationConfig) LakehouseMonitorDataClassificationConfig { if v != nil { return *v } - var ret LibraryCran + var ret LakehouseMonitorDataClassificationConfig 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) + }).(LakehouseMonitorDataClassificationConfigOutput) } -func (o LibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LibraryCran) *string { +func (o LakehouseMonitorDataClassificationConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LakehouseMonitorDataClassificationConfig) *bool { if v == nil { return nil } - return v.Repo - }).(pulumi.StringPtrOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -type LibraryMaven struct { - Coordinates string `pulumi:"coordinates"` - Exclusions []string `pulumi:"exclusions"` - Repo *string `pulumi:"repo"` +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"` } -// LibraryMavenInput is an input type that accepts LibraryMavenArgs and LibraryMavenOutput values. -// You can construct a concrete instance of `LibraryMavenInput` via: +// LakehouseMonitorInferenceLogInput is an input type that accepts LakehouseMonitorInferenceLogArgs and LakehouseMonitorInferenceLogOutput values. +// You can construct a concrete instance of `LakehouseMonitorInferenceLogInput` via: // -// LibraryMavenArgs{...} -type LibraryMavenInput interface { +// LakehouseMonitorInferenceLogArgs{...} +type LakehouseMonitorInferenceLogInput interface { pulumi.Input - ToLibraryMavenOutput() LibraryMavenOutput - ToLibraryMavenOutputWithContext(context.Context) LibraryMavenOutput + ToLakehouseMonitorInferenceLogOutput() LakehouseMonitorInferenceLogOutput + ToLakehouseMonitorInferenceLogOutputWithContext(context.Context) LakehouseMonitorInferenceLogOutput } -type LibraryMavenArgs struct { - Coordinates pulumi.StringInput `pulumi:"coordinates"` - Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +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.StringPtrInput `pulumi:"modelIdCol"` + // Column of the model prediction + PredictionCol pulumi.StringPtrInput `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.StringPtrInput `pulumi:"problemType"` + // Column of the timestamp of predictions + TimestampCol pulumi.StringPtrInput `pulumi:"timestampCol"` } -func (LibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LibraryMaven)(nil)).Elem() +func (LakehouseMonitorInferenceLogArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorInferenceLog)(nil)).Elem() } -func (i LibraryMavenArgs) ToLibraryMavenOutput() LibraryMavenOutput { - return i.ToLibraryMavenOutputWithContext(context.Background()) +func (i LakehouseMonitorInferenceLogArgs) ToLakehouseMonitorInferenceLogOutput() LakehouseMonitorInferenceLogOutput { + return i.ToLakehouseMonitorInferenceLogOutputWithContext(context.Background()) } -func (i LibraryMavenArgs) ToLibraryMavenOutputWithContext(ctx context.Context) LibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(LibraryMavenOutput) +func (i LakehouseMonitorInferenceLogArgs) ToLakehouseMonitorInferenceLogOutputWithContext(ctx context.Context) LakehouseMonitorInferenceLogOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorInferenceLogOutput) } -func (i LibraryMavenArgs) ToLibraryMavenPtrOutput() LibraryMavenPtrOutput { - return i.ToLibraryMavenPtrOutputWithContext(context.Background()) +func (i LakehouseMonitorInferenceLogArgs) ToLakehouseMonitorInferenceLogPtrOutput() LakehouseMonitorInferenceLogPtrOutput { + return i.ToLakehouseMonitorInferenceLogPtrOutputWithContext(context.Background()) } -func (i LibraryMavenArgs) ToLibraryMavenPtrOutputWithContext(ctx context.Context) LibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LibraryMavenOutput).ToLibraryMavenPtrOutputWithContext(ctx) +func (i LakehouseMonitorInferenceLogArgs) ToLakehouseMonitorInferenceLogPtrOutputWithContext(ctx context.Context) LakehouseMonitorInferenceLogPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorInferenceLogOutput).ToLakehouseMonitorInferenceLogPtrOutputWithContext(ctx) } -// LibraryMavenPtrInput is an input type that accepts LibraryMavenArgs, LibraryMavenPtr and LibraryMavenPtrOutput values. -// You can construct a concrete instance of `LibraryMavenPtrInput` via: +// LakehouseMonitorInferenceLogPtrInput is an input type that accepts LakehouseMonitorInferenceLogArgs, LakehouseMonitorInferenceLogPtr and LakehouseMonitorInferenceLogPtrOutput values. +// You can construct a concrete instance of `LakehouseMonitorInferenceLogPtrInput` via: // -// LibraryMavenArgs{...} +// LakehouseMonitorInferenceLogArgs{...} // // or: // // nil -type LibraryMavenPtrInput interface { +type LakehouseMonitorInferenceLogPtrInput interface { pulumi.Input - ToLibraryMavenPtrOutput() LibraryMavenPtrOutput - ToLibraryMavenPtrOutputWithContext(context.Context) LibraryMavenPtrOutput + ToLakehouseMonitorInferenceLogPtrOutput() LakehouseMonitorInferenceLogPtrOutput + ToLakehouseMonitorInferenceLogPtrOutputWithContext(context.Context) LakehouseMonitorInferenceLogPtrOutput } -type libraryMavenPtrType LibraryMavenArgs +type lakehouseMonitorInferenceLogPtrType LakehouseMonitorInferenceLogArgs -func LibraryMavenPtr(v *LibraryMavenArgs) LibraryMavenPtrInput { - return (*libraryMavenPtrType)(v) +func LakehouseMonitorInferenceLogPtr(v *LakehouseMonitorInferenceLogArgs) LakehouseMonitorInferenceLogPtrInput { + return (*lakehouseMonitorInferenceLogPtrType)(v) } -func (*libraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LibraryMaven)(nil)).Elem() +func (*lakehouseMonitorInferenceLogPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorInferenceLog)(nil)).Elem() } -func (i *libraryMavenPtrType) ToLibraryMavenPtrOutput() LibraryMavenPtrOutput { - return i.ToLibraryMavenPtrOutputWithContext(context.Background()) +func (i *lakehouseMonitorInferenceLogPtrType) ToLakehouseMonitorInferenceLogPtrOutput() LakehouseMonitorInferenceLogPtrOutput { + return i.ToLakehouseMonitorInferenceLogPtrOutputWithContext(context.Background()) } -func (i *libraryMavenPtrType) ToLibraryMavenPtrOutputWithContext(ctx context.Context) LibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LibraryMavenPtrOutput) +func (i *lakehouseMonitorInferenceLogPtrType) ToLakehouseMonitorInferenceLogPtrOutputWithContext(ctx context.Context) LakehouseMonitorInferenceLogPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorInferenceLogPtrOutput) } -type LibraryMavenOutput struct{ *pulumi.OutputState } +type LakehouseMonitorInferenceLogOutput struct{ *pulumi.OutputState } -func (LibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LibraryMaven)(nil)).Elem() +func (LakehouseMonitorInferenceLogOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorInferenceLog)(nil)).Elem() } -func (o LibraryMavenOutput) ToLibraryMavenOutput() LibraryMavenOutput { +func (o LakehouseMonitorInferenceLogOutput) ToLakehouseMonitorInferenceLogOutput() LakehouseMonitorInferenceLogOutput { return o } -func (o LibraryMavenOutput) ToLibraryMavenOutputWithContext(ctx context.Context) LibraryMavenOutput { +func (o LakehouseMonitorInferenceLogOutput) ToLakehouseMonitorInferenceLogOutputWithContext(ctx context.Context) LakehouseMonitorInferenceLogOutput { return o } -func (o LibraryMavenOutput) ToLibraryMavenPtrOutput() LibraryMavenPtrOutput { - return o.ToLibraryMavenPtrOutputWithContext(context.Background()) +func (o LakehouseMonitorInferenceLogOutput) ToLakehouseMonitorInferenceLogPtrOutput() LakehouseMonitorInferenceLogPtrOutput { + return o.ToLakehouseMonitorInferenceLogPtrOutputWithContext(context.Background()) } -func (o LibraryMavenOutput) ToLibraryMavenPtrOutputWithContext(ctx context.Context) LibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LibraryMaven) *LibraryMaven { +func (o LakehouseMonitorInferenceLogOutput) ToLakehouseMonitorInferenceLogPtrOutputWithContext(ctx context.Context) LakehouseMonitorInferenceLogPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorInferenceLog) *LakehouseMonitorInferenceLog { return &v - }).(LibraryMavenPtrOutput) + }).(LakehouseMonitorInferenceLogPtrOutput) } -func (o LibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v LibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) +// 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) } -func (o LibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v LibraryMaven) []string { return v.Exclusions }).(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) } -func (o LibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v LibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +// Column of the model id or version +func (o LakehouseMonitorInferenceLogOutput) ModelIdCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v LakehouseMonitorInferenceLog) *string { return v.ModelIdCol }).(pulumi.StringPtrOutput) } -type LibraryMavenPtrOutput struct{ *pulumi.OutputState } +// Column of the model prediction +func (o LakehouseMonitorInferenceLogOutput) PredictionCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v LakehouseMonitorInferenceLog) *string { return v.PredictionCol }).(pulumi.StringPtrOutput) +} -func (LibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LibraryMaven)(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 (o LibraryMavenPtrOutput) ToLibraryMavenPtrOutput() LibraryMavenPtrOutput { +// Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` +func (o LakehouseMonitorInferenceLogOutput) ProblemType() pulumi.StringPtrOutput { + return o.ApplyT(func(v LakehouseMonitorInferenceLog) *string { return v.ProblemType }).(pulumi.StringPtrOutput) +} + +// Column of the timestamp of predictions +func (o LakehouseMonitorInferenceLogOutput) TimestampCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v LakehouseMonitorInferenceLog) *string { return v.TimestampCol }).(pulumi.StringPtrOutput) +} + +type LakehouseMonitorInferenceLogPtrOutput struct{ *pulumi.OutputState } + +func (LakehouseMonitorInferenceLogPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorInferenceLog)(nil)).Elem() +} + +func (o LakehouseMonitorInferenceLogPtrOutput) ToLakehouseMonitorInferenceLogPtrOutput() LakehouseMonitorInferenceLogPtrOutput { return o } -func (o LibraryMavenPtrOutput) ToLibraryMavenPtrOutputWithContext(ctx context.Context) LibraryMavenPtrOutput { +func (o LakehouseMonitorInferenceLogPtrOutput) ToLakehouseMonitorInferenceLogPtrOutputWithContext(ctx context.Context) LakehouseMonitorInferenceLogPtrOutput { return o } -func (o LibraryMavenPtrOutput) Elem() LibraryMavenOutput { - return o.ApplyT(func(v *LibraryMaven) LibraryMaven { +func (o LakehouseMonitorInferenceLogPtrOutput) Elem() LakehouseMonitorInferenceLogOutput { + return o.ApplyT(func(v *LakehouseMonitorInferenceLog) LakehouseMonitorInferenceLog { if v != nil { return *v } - var ret LibraryMaven + var ret LakehouseMonitorInferenceLog return ret - }).(LibraryMavenOutput) + }).(LakehouseMonitorInferenceLogOutput) } -func (o LibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LibraryMaven) *string { +// 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.Coordinates + 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) } -func (o LibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LibraryMaven) []string { +// 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.Exclusions - }).(pulumi.StringArrayOutput) + return v.ModelIdCol + }).(pulumi.StringPtrOutput) } -func (o LibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LibraryMaven) *string { +// 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.Repo + return v.PredictionCol }).(pulumi.StringPtrOutput) } -type LibraryPypi struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +// 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) } -// LibraryPypiInput is an input type that accepts LibraryPypiArgs and LibraryPypiOutput values. -// You can construct a concrete instance of `LibraryPypiInput` via: +// 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) +} + +// 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 LakehouseMonitorNotifications struct { + OnFailure *LakehouseMonitorNotificationsOnFailure `pulumi:"onFailure"` +} + +// LakehouseMonitorNotificationsInput is an input type that accepts LakehouseMonitorNotificationsArgs and LakehouseMonitorNotificationsOutput values. +// You can construct a concrete instance of `LakehouseMonitorNotificationsInput` via: // -// LibraryPypiArgs{...} -type LibraryPypiInput interface { +// LakehouseMonitorNotificationsArgs{...} +type LakehouseMonitorNotificationsInput interface { pulumi.Input - ToLibraryPypiOutput() LibraryPypiOutput - ToLibraryPypiOutputWithContext(context.Context) LibraryPypiOutput + ToLakehouseMonitorNotificationsOutput() LakehouseMonitorNotificationsOutput + ToLakehouseMonitorNotificationsOutputWithContext(context.Context) LakehouseMonitorNotificationsOutput } -type LibraryPypiArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type LakehouseMonitorNotificationsArgs struct { + OnFailure LakehouseMonitorNotificationsOnFailurePtrInput `pulumi:"onFailure"` } -func (LibraryPypiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LibraryPypi)(nil)).Elem() +func (LakehouseMonitorNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorNotifications)(nil)).Elem() } -func (i LibraryPypiArgs) ToLibraryPypiOutput() LibraryPypiOutput { - return i.ToLibraryPypiOutputWithContext(context.Background()) +func (i LakehouseMonitorNotificationsArgs) ToLakehouseMonitorNotificationsOutput() LakehouseMonitorNotificationsOutput { + return i.ToLakehouseMonitorNotificationsOutputWithContext(context.Background()) } -func (i LibraryPypiArgs) ToLibraryPypiOutputWithContext(ctx context.Context) LibraryPypiOutput { - return pulumi.ToOutputWithContext(ctx, i).(LibraryPypiOutput) +func (i LakehouseMonitorNotificationsArgs) ToLakehouseMonitorNotificationsOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsOutput) } -func (i LibraryPypiArgs) ToLibraryPypiPtrOutput() LibraryPypiPtrOutput { - return i.ToLibraryPypiPtrOutputWithContext(context.Background()) +func (i LakehouseMonitorNotificationsArgs) ToLakehouseMonitorNotificationsPtrOutput() LakehouseMonitorNotificationsPtrOutput { + return i.ToLakehouseMonitorNotificationsPtrOutputWithContext(context.Background()) } -func (i LibraryPypiArgs) ToLibraryPypiPtrOutputWithContext(ctx context.Context) LibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LibraryPypiOutput).ToLibraryPypiPtrOutputWithContext(ctx) +func (i LakehouseMonitorNotificationsArgs) ToLakehouseMonitorNotificationsPtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsOutput).ToLakehouseMonitorNotificationsPtrOutputWithContext(ctx) } -// LibraryPypiPtrInput is an input type that accepts LibraryPypiArgs, LibraryPypiPtr and LibraryPypiPtrOutput values. -// You can construct a concrete instance of `LibraryPypiPtrInput` via: +// LakehouseMonitorNotificationsPtrInput is an input type that accepts LakehouseMonitorNotificationsArgs, LakehouseMonitorNotificationsPtr and LakehouseMonitorNotificationsPtrOutput values. +// You can construct a concrete instance of `LakehouseMonitorNotificationsPtrInput` via: // -// LibraryPypiArgs{...} +// LakehouseMonitorNotificationsArgs{...} // // or: // // nil -type LibraryPypiPtrInput interface { +type LakehouseMonitorNotificationsPtrInput interface { pulumi.Input - ToLibraryPypiPtrOutput() LibraryPypiPtrOutput - ToLibraryPypiPtrOutputWithContext(context.Context) LibraryPypiPtrOutput + ToLakehouseMonitorNotificationsPtrOutput() LakehouseMonitorNotificationsPtrOutput + ToLakehouseMonitorNotificationsPtrOutputWithContext(context.Context) LakehouseMonitorNotificationsPtrOutput } -type libraryPypiPtrType LibraryPypiArgs +type lakehouseMonitorNotificationsPtrType LakehouseMonitorNotificationsArgs -func LibraryPypiPtr(v *LibraryPypiArgs) LibraryPypiPtrInput { - return (*libraryPypiPtrType)(v) +func LakehouseMonitorNotificationsPtr(v *LakehouseMonitorNotificationsArgs) LakehouseMonitorNotificationsPtrInput { + return (*lakehouseMonitorNotificationsPtrType)(v) } -func (*libraryPypiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LibraryPypi)(nil)).Elem() +func (*lakehouseMonitorNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorNotifications)(nil)).Elem() } -func (i *libraryPypiPtrType) ToLibraryPypiPtrOutput() LibraryPypiPtrOutput { - return i.ToLibraryPypiPtrOutputWithContext(context.Background()) +func (i *lakehouseMonitorNotificationsPtrType) ToLakehouseMonitorNotificationsPtrOutput() LakehouseMonitorNotificationsPtrOutput { + return i.ToLakehouseMonitorNotificationsPtrOutputWithContext(context.Background()) } -func (i *libraryPypiPtrType) ToLibraryPypiPtrOutputWithContext(ctx context.Context) LibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LibraryPypiPtrOutput) +func (i *lakehouseMonitorNotificationsPtrType) ToLakehouseMonitorNotificationsPtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsPtrOutput) } -type LibraryPypiOutput struct{ *pulumi.OutputState } +type LakehouseMonitorNotificationsOutput struct{ *pulumi.OutputState } -func (LibraryPypiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LibraryPypi)(nil)).Elem() +func (LakehouseMonitorNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorNotifications)(nil)).Elem() } -func (o LibraryPypiOutput) ToLibraryPypiOutput() LibraryPypiOutput { +func (o LakehouseMonitorNotificationsOutput) ToLakehouseMonitorNotificationsOutput() LakehouseMonitorNotificationsOutput { return o } -func (o LibraryPypiOutput) ToLibraryPypiOutputWithContext(ctx context.Context) LibraryPypiOutput { +func (o LakehouseMonitorNotificationsOutput) ToLakehouseMonitorNotificationsOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOutput { return o } -func (o LibraryPypiOutput) ToLibraryPypiPtrOutput() LibraryPypiPtrOutput { - return o.ToLibraryPypiPtrOutputWithContext(context.Background()) +func (o LakehouseMonitorNotificationsOutput) ToLakehouseMonitorNotificationsPtrOutput() LakehouseMonitorNotificationsPtrOutput { + return o.ToLakehouseMonitorNotificationsPtrOutputWithContext(context.Background()) } -func (o LibraryPypiOutput) ToLibraryPypiPtrOutputWithContext(ctx context.Context) LibraryPypiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LibraryPypi) *LibraryPypi { +func (o LakehouseMonitorNotificationsOutput) ToLakehouseMonitorNotificationsPtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorNotifications) *LakehouseMonitorNotifications { return &v - }).(LibraryPypiPtrOutput) -} - -func (o LibraryPypiOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v LibraryPypi) string { return v.Package }).(pulumi.StringOutput) + }).(LakehouseMonitorNotificationsPtrOutput) } -func (o LibraryPypiOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v LibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o LakehouseMonitorNotificationsOutput) OnFailure() LakehouseMonitorNotificationsOnFailurePtrOutput { + return o.ApplyT(func(v LakehouseMonitorNotifications) *LakehouseMonitorNotificationsOnFailure { return v.OnFailure }).(LakehouseMonitorNotificationsOnFailurePtrOutput) } -type LibraryPypiPtrOutput struct{ *pulumi.OutputState } +type LakehouseMonitorNotificationsPtrOutput struct{ *pulumi.OutputState } -func (LibraryPypiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LibraryPypi)(nil)).Elem() +func (LakehouseMonitorNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorNotifications)(nil)).Elem() } -func (o LibraryPypiPtrOutput) ToLibraryPypiPtrOutput() LibraryPypiPtrOutput { +func (o LakehouseMonitorNotificationsPtrOutput) ToLakehouseMonitorNotificationsPtrOutput() LakehouseMonitorNotificationsPtrOutput { return o } -func (o LibraryPypiPtrOutput) ToLibraryPypiPtrOutputWithContext(ctx context.Context) LibraryPypiPtrOutput { +func (o LakehouseMonitorNotificationsPtrOutput) ToLakehouseMonitorNotificationsPtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsPtrOutput { return o } -func (o LibraryPypiPtrOutput) Elem() LibraryPypiOutput { - return o.ApplyT(func(v *LibraryPypi) LibraryPypi { +func (o LakehouseMonitorNotificationsPtrOutput) Elem() LakehouseMonitorNotificationsOutput { + return o.ApplyT(func(v *LakehouseMonitorNotifications) LakehouseMonitorNotifications { if v != nil { return *v } - var ret LibraryPypi + var ret LakehouseMonitorNotifications return ret - }).(LibraryPypiOutput) + }).(LakehouseMonitorNotificationsOutput) } -func (o LibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LibraryPypi) *string { +func (o LakehouseMonitorNotificationsPtrOutput) OnFailure() LakehouseMonitorNotificationsOnFailurePtrOutput { + return o.ApplyT(func(v *LakehouseMonitorNotifications) *LakehouseMonitorNotificationsOnFailure { if v == nil { return nil } - return &v.Package - }).(pulumi.StringPtrOutput) + return v.OnFailure + }).(LakehouseMonitorNotificationsOnFailurePtrOutput) } -func (o LibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LibraryPypi) *string { - if v == nil { - return nil - } - return v.Repo - }).(pulumi.StringPtrOutput) +type LakehouseMonitorNotificationsOnFailure struct { + EmailAddresses []string `pulumi:"emailAddresses"` } -type MetastoreDataAccessAwsIamRole struct { - ExternalId *string `pulumi:"externalId"` - RoleArn string `pulumi:"roleArn"` - UnityCatalogIamArn *string `pulumi:"unityCatalogIamArn"` +// LakehouseMonitorNotificationsOnFailureInput is an input type that accepts LakehouseMonitorNotificationsOnFailureArgs and LakehouseMonitorNotificationsOnFailureOutput values. +// You can construct a concrete instance of `LakehouseMonitorNotificationsOnFailureInput` via: +// +// LakehouseMonitorNotificationsOnFailureArgs{...} +type LakehouseMonitorNotificationsOnFailureInput interface { + pulumi.Input + + ToLakehouseMonitorNotificationsOnFailureOutput() LakehouseMonitorNotificationsOnFailureOutput + ToLakehouseMonitorNotificationsOnFailureOutputWithContext(context.Context) LakehouseMonitorNotificationsOnFailureOutput } -// MetastoreDataAccessAwsIamRoleInput is an input type that accepts MetastoreDataAccessAwsIamRoleArgs and MetastoreDataAccessAwsIamRoleOutput values. -// You can construct a concrete instance of `MetastoreDataAccessAwsIamRoleInput` via: -// -// MetastoreDataAccessAwsIamRoleArgs{...} -type MetastoreDataAccessAwsIamRoleInput interface { - pulumi.Input - - ToMetastoreDataAccessAwsIamRoleOutput() MetastoreDataAccessAwsIamRoleOutput - ToMetastoreDataAccessAwsIamRoleOutputWithContext(context.Context) MetastoreDataAccessAwsIamRoleOutput +type LakehouseMonitorNotificationsOnFailureArgs struct { + EmailAddresses pulumi.StringArrayInput `pulumi:"emailAddresses"` } -type MetastoreDataAccessAwsIamRoleArgs struct { - ExternalId pulumi.StringPtrInput `pulumi:"externalId"` - RoleArn pulumi.StringInput `pulumi:"roleArn"` - UnityCatalogIamArn pulumi.StringPtrInput `pulumi:"unityCatalogIamArn"` -} - -func (MetastoreDataAccessAwsIamRoleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessAwsIamRole)(nil)).Elem() +func (LakehouseMonitorNotificationsOnFailureArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorNotificationsOnFailure)(nil)).Elem() } -func (i MetastoreDataAccessAwsIamRoleArgs) ToMetastoreDataAccessAwsIamRoleOutput() MetastoreDataAccessAwsIamRoleOutput { - return i.ToMetastoreDataAccessAwsIamRoleOutputWithContext(context.Background()) +func (i LakehouseMonitorNotificationsOnFailureArgs) ToLakehouseMonitorNotificationsOnFailureOutput() LakehouseMonitorNotificationsOnFailureOutput { + return i.ToLakehouseMonitorNotificationsOnFailureOutputWithContext(context.Background()) } -func (i MetastoreDataAccessAwsIamRoleArgs) ToMetastoreDataAccessAwsIamRoleOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRoleOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAwsIamRoleOutput) +func (i LakehouseMonitorNotificationsOnFailureArgs) ToLakehouseMonitorNotificationsOnFailureOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnFailureOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsOnFailureOutput) } -func (i MetastoreDataAccessAwsIamRoleArgs) ToMetastoreDataAccessAwsIamRolePtrOutput() MetastoreDataAccessAwsIamRolePtrOutput { - return i.ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(context.Background()) +func (i LakehouseMonitorNotificationsOnFailureArgs) ToLakehouseMonitorNotificationsOnFailurePtrOutput() LakehouseMonitorNotificationsOnFailurePtrOutput { + return i.ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(context.Background()) } -func (i MetastoreDataAccessAwsIamRoleArgs) ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRolePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAwsIamRoleOutput).ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(ctx) +func (i LakehouseMonitorNotificationsOnFailureArgs) ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnFailurePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsOnFailureOutput).ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(ctx) } -// MetastoreDataAccessAwsIamRolePtrInput is an input type that accepts MetastoreDataAccessAwsIamRoleArgs, MetastoreDataAccessAwsIamRolePtr and MetastoreDataAccessAwsIamRolePtrOutput values. -// You can construct a concrete instance of `MetastoreDataAccessAwsIamRolePtrInput` via: +// LakehouseMonitorNotificationsOnFailurePtrInput is an input type that accepts LakehouseMonitorNotificationsOnFailureArgs, LakehouseMonitorNotificationsOnFailurePtr and LakehouseMonitorNotificationsOnFailurePtrOutput values. +// You can construct a concrete instance of `LakehouseMonitorNotificationsOnFailurePtrInput` via: // -// MetastoreDataAccessAwsIamRoleArgs{...} +// LakehouseMonitorNotificationsOnFailureArgs{...} // // or: // // nil -type MetastoreDataAccessAwsIamRolePtrInput interface { +type LakehouseMonitorNotificationsOnFailurePtrInput interface { pulumi.Input - ToMetastoreDataAccessAwsIamRolePtrOutput() MetastoreDataAccessAwsIamRolePtrOutput - ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(context.Context) MetastoreDataAccessAwsIamRolePtrOutput + ToLakehouseMonitorNotificationsOnFailurePtrOutput() LakehouseMonitorNotificationsOnFailurePtrOutput + ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(context.Context) LakehouseMonitorNotificationsOnFailurePtrOutput } -type metastoreDataAccessAwsIamRolePtrType MetastoreDataAccessAwsIamRoleArgs +type lakehouseMonitorNotificationsOnFailurePtrType LakehouseMonitorNotificationsOnFailureArgs -func MetastoreDataAccessAwsIamRolePtr(v *MetastoreDataAccessAwsIamRoleArgs) MetastoreDataAccessAwsIamRolePtrInput { - return (*metastoreDataAccessAwsIamRolePtrType)(v) +func LakehouseMonitorNotificationsOnFailurePtr(v *LakehouseMonitorNotificationsOnFailureArgs) LakehouseMonitorNotificationsOnFailurePtrInput { + return (*lakehouseMonitorNotificationsOnFailurePtrType)(v) } -func (*metastoreDataAccessAwsIamRolePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessAwsIamRole)(nil)).Elem() +func (*lakehouseMonitorNotificationsOnFailurePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorNotificationsOnFailure)(nil)).Elem() } -func (i *metastoreDataAccessAwsIamRolePtrType) ToMetastoreDataAccessAwsIamRolePtrOutput() MetastoreDataAccessAwsIamRolePtrOutput { - return i.ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(context.Background()) +func (i *lakehouseMonitorNotificationsOnFailurePtrType) ToLakehouseMonitorNotificationsOnFailurePtrOutput() LakehouseMonitorNotificationsOnFailurePtrOutput { + return i.ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(context.Background()) } -func (i *metastoreDataAccessAwsIamRolePtrType) ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRolePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAwsIamRolePtrOutput) +func (i *lakehouseMonitorNotificationsOnFailurePtrType) ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnFailurePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsOnFailurePtrOutput) } -type MetastoreDataAccessAwsIamRoleOutput struct{ *pulumi.OutputState } +type LakehouseMonitorNotificationsOnFailureOutput struct{ *pulumi.OutputState } -func (MetastoreDataAccessAwsIamRoleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessAwsIamRole)(nil)).Elem() +func (LakehouseMonitorNotificationsOnFailureOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorNotificationsOnFailure)(nil)).Elem() } -func (o MetastoreDataAccessAwsIamRoleOutput) ToMetastoreDataAccessAwsIamRoleOutput() MetastoreDataAccessAwsIamRoleOutput { +func (o LakehouseMonitorNotificationsOnFailureOutput) ToLakehouseMonitorNotificationsOnFailureOutput() LakehouseMonitorNotificationsOnFailureOutput { return o } -func (o MetastoreDataAccessAwsIamRoleOutput) ToMetastoreDataAccessAwsIamRoleOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRoleOutput { +func (o LakehouseMonitorNotificationsOnFailureOutput) ToLakehouseMonitorNotificationsOnFailureOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnFailureOutput { return o } -func (o MetastoreDataAccessAwsIamRoleOutput) ToMetastoreDataAccessAwsIamRolePtrOutput() MetastoreDataAccessAwsIamRolePtrOutput { - return o.ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(context.Background()) +func (o LakehouseMonitorNotificationsOnFailureOutput) ToLakehouseMonitorNotificationsOnFailurePtrOutput() LakehouseMonitorNotificationsOnFailurePtrOutput { + return o.ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(context.Background()) } -func (o MetastoreDataAccessAwsIamRoleOutput) ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRolePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessAwsIamRole) *MetastoreDataAccessAwsIamRole { +func (o LakehouseMonitorNotificationsOnFailureOutput) ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnFailurePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorNotificationsOnFailure) *LakehouseMonitorNotificationsOnFailure { return &v - }).(MetastoreDataAccessAwsIamRolePtrOutput) -} - -func (o MetastoreDataAccessAwsIamRoleOutput) ExternalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MetastoreDataAccessAwsIamRole) *string { return v.ExternalId }).(pulumi.StringPtrOutput) -} - -func (o MetastoreDataAccessAwsIamRoleOutput) RoleArn() pulumi.StringOutput { - return o.ApplyT(func(v MetastoreDataAccessAwsIamRole) string { return v.RoleArn }).(pulumi.StringOutput) + }).(LakehouseMonitorNotificationsOnFailurePtrOutput) } -func (o MetastoreDataAccessAwsIamRoleOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v MetastoreDataAccessAwsIamRole) *string { return v.UnityCatalogIamArn }).(pulumi.StringPtrOutput) +func (o LakehouseMonitorNotificationsOnFailureOutput) EmailAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v LakehouseMonitorNotificationsOnFailure) []string { return v.EmailAddresses }).(pulumi.StringArrayOutput) } -type MetastoreDataAccessAwsIamRolePtrOutput struct{ *pulumi.OutputState } +type LakehouseMonitorNotificationsOnFailurePtrOutput struct{ *pulumi.OutputState } -func (MetastoreDataAccessAwsIamRolePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessAwsIamRole)(nil)).Elem() +func (LakehouseMonitorNotificationsOnFailurePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorNotificationsOnFailure)(nil)).Elem() } -func (o MetastoreDataAccessAwsIamRolePtrOutput) ToMetastoreDataAccessAwsIamRolePtrOutput() MetastoreDataAccessAwsIamRolePtrOutput { +func (o LakehouseMonitorNotificationsOnFailurePtrOutput) ToLakehouseMonitorNotificationsOnFailurePtrOutput() LakehouseMonitorNotificationsOnFailurePtrOutput { return o } -func (o MetastoreDataAccessAwsIamRolePtrOutput) ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRolePtrOutput { +func (o LakehouseMonitorNotificationsOnFailurePtrOutput) ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnFailurePtrOutput { return o } -func (o MetastoreDataAccessAwsIamRolePtrOutput) Elem() MetastoreDataAccessAwsIamRoleOutput { - return o.ApplyT(func(v *MetastoreDataAccessAwsIamRole) MetastoreDataAccessAwsIamRole { +func (o LakehouseMonitorNotificationsOnFailurePtrOutput) Elem() LakehouseMonitorNotificationsOnFailureOutput { + return o.ApplyT(func(v *LakehouseMonitorNotificationsOnFailure) LakehouseMonitorNotificationsOnFailure { if v != nil { return *v } - var ret MetastoreDataAccessAwsIamRole + var ret LakehouseMonitorNotificationsOnFailure return ret - }).(MetastoreDataAccessAwsIamRoleOutput) -} - -func (o MetastoreDataAccessAwsIamRolePtrOutput) ExternalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessAwsIamRole) *string { - if v == nil { - return nil - } - return v.ExternalId - }).(pulumi.StringPtrOutput) -} - -func (o MetastoreDataAccessAwsIamRolePtrOutput) RoleArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessAwsIamRole) *string { - if v == nil { - return nil - } - return &v.RoleArn - }).(pulumi.StringPtrOutput) + }).(LakehouseMonitorNotificationsOnFailureOutput) } -func (o MetastoreDataAccessAwsIamRolePtrOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessAwsIamRole) *string { +func (o LakehouseMonitorNotificationsOnFailurePtrOutput) EmailAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LakehouseMonitorNotificationsOnFailure) []string { if v == nil { return nil } - return v.UnityCatalogIamArn - }).(pulumi.StringPtrOutput) + return v.EmailAddresses + }).(pulumi.StringArrayOutput) } -type MetastoreDataAccessAzureManagedIdentity struct { - AccessConnectorId string `pulumi:"accessConnectorId"` - CredentialId *string `pulumi:"credentialId"` - ManagedIdentityId *string `pulumi:"managedIdentityId"` +type LakehouseMonitorSchedule struct { + PauseStatus *string `pulumi:"pauseStatus"` + QuartzCronExpression *string `pulumi:"quartzCronExpression"` + TimezoneId *string `pulumi:"timezoneId"` } -// MetastoreDataAccessAzureManagedIdentityInput is an input type that accepts MetastoreDataAccessAzureManagedIdentityArgs and MetastoreDataAccessAzureManagedIdentityOutput values. -// You can construct a concrete instance of `MetastoreDataAccessAzureManagedIdentityInput` via: +// LakehouseMonitorScheduleInput is an input type that accepts LakehouseMonitorScheduleArgs and LakehouseMonitorScheduleOutput values. +// You can construct a concrete instance of `LakehouseMonitorScheduleInput` via: // -// MetastoreDataAccessAzureManagedIdentityArgs{...} -type MetastoreDataAccessAzureManagedIdentityInput interface { +// LakehouseMonitorScheduleArgs{...} +type LakehouseMonitorScheduleInput interface { pulumi.Input - ToMetastoreDataAccessAzureManagedIdentityOutput() MetastoreDataAccessAzureManagedIdentityOutput - ToMetastoreDataAccessAzureManagedIdentityOutputWithContext(context.Context) MetastoreDataAccessAzureManagedIdentityOutput + ToLakehouseMonitorScheduleOutput() LakehouseMonitorScheduleOutput + ToLakehouseMonitorScheduleOutputWithContext(context.Context) LakehouseMonitorScheduleOutput } -type MetastoreDataAccessAzureManagedIdentityArgs struct { - AccessConnectorId pulumi.StringInput `pulumi:"accessConnectorId"` - CredentialId pulumi.StringPtrInput `pulumi:"credentialId"` - ManagedIdentityId pulumi.StringPtrInput `pulumi:"managedIdentityId"` +type LakehouseMonitorScheduleArgs struct { + PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` + QuartzCronExpression pulumi.StringPtrInput `pulumi:"quartzCronExpression"` + TimezoneId pulumi.StringPtrInput `pulumi:"timezoneId"` } -func (MetastoreDataAccessAzureManagedIdentityArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessAzureManagedIdentity)(nil)).Elem() +func (LakehouseMonitorScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorSchedule)(nil)).Elem() } -func (i MetastoreDataAccessAzureManagedIdentityArgs) ToMetastoreDataAccessAzureManagedIdentityOutput() MetastoreDataAccessAzureManagedIdentityOutput { - return i.ToMetastoreDataAccessAzureManagedIdentityOutputWithContext(context.Background()) +func (i LakehouseMonitorScheduleArgs) ToLakehouseMonitorScheduleOutput() LakehouseMonitorScheduleOutput { + return i.ToLakehouseMonitorScheduleOutputWithContext(context.Background()) } -func (i MetastoreDataAccessAzureManagedIdentityArgs) ToMetastoreDataAccessAzureManagedIdentityOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureManagedIdentityOutput) +func (i LakehouseMonitorScheduleArgs) ToLakehouseMonitorScheduleOutputWithContext(ctx context.Context) LakehouseMonitorScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorScheduleOutput) } -func (i MetastoreDataAccessAzureManagedIdentityArgs) ToMetastoreDataAccessAzureManagedIdentityPtrOutput() MetastoreDataAccessAzureManagedIdentityPtrOutput { - return i.ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(context.Background()) +func (i LakehouseMonitorScheduleArgs) ToLakehouseMonitorSchedulePtrOutput() LakehouseMonitorSchedulePtrOutput { + return i.ToLakehouseMonitorSchedulePtrOutputWithContext(context.Background()) } -func (i MetastoreDataAccessAzureManagedIdentityArgs) ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureManagedIdentityOutput).ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(ctx) +func (i LakehouseMonitorScheduleArgs) ToLakehouseMonitorSchedulePtrOutputWithContext(ctx context.Context) LakehouseMonitorSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorScheduleOutput).ToLakehouseMonitorSchedulePtrOutputWithContext(ctx) } -// MetastoreDataAccessAzureManagedIdentityPtrInput is an input type that accepts MetastoreDataAccessAzureManagedIdentityArgs, MetastoreDataAccessAzureManagedIdentityPtr and MetastoreDataAccessAzureManagedIdentityPtrOutput values. -// You can construct a concrete instance of `MetastoreDataAccessAzureManagedIdentityPtrInput` via: +// LakehouseMonitorSchedulePtrInput is an input type that accepts LakehouseMonitorScheduleArgs, LakehouseMonitorSchedulePtr and LakehouseMonitorSchedulePtrOutput values. +// You can construct a concrete instance of `LakehouseMonitorSchedulePtrInput` via: // -// MetastoreDataAccessAzureManagedIdentityArgs{...} +// LakehouseMonitorScheduleArgs{...} // // or: // // nil -type MetastoreDataAccessAzureManagedIdentityPtrInput interface { +type LakehouseMonitorSchedulePtrInput interface { pulumi.Input - ToMetastoreDataAccessAzureManagedIdentityPtrOutput() MetastoreDataAccessAzureManagedIdentityPtrOutput - ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(context.Context) MetastoreDataAccessAzureManagedIdentityPtrOutput + ToLakehouseMonitorSchedulePtrOutput() LakehouseMonitorSchedulePtrOutput + ToLakehouseMonitorSchedulePtrOutputWithContext(context.Context) LakehouseMonitorSchedulePtrOutput } -type metastoreDataAccessAzureManagedIdentityPtrType MetastoreDataAccessAzureManagedIdentityArgs +type lakehouseMonitorSchedulePtrType LakehouseMonitorScheduleArgs -func MetastoreDataAccessAzureManagedIdentityPtr(v *MetastoreDataAccessAzureManagedIdentityArgs) MetastoreDataAccessAzureManagedIdentityPtrInput { - return (*metastoreDataAccessAzureManagedIdentityPtrType)(v) +func LakehouseMonitorSchedulePtr(v *LakehouseMonitorScheduleArgs) LakehouseMonitorSchedulePtrInput { + return (*lakehouseMonitorSchedulePtrType)(v) } -func (*metastoreDataAccessAzureManagedIdentityPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessAzureManagedIdentity)(nil)).Elem() +func (*lakehouseMonitorSchedulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorSchedule)(nil)).Elem() } -func (i *metastoreDataAccessAzureManagedIdentityPtrType) ToMetastoreDataAccessAzureManagedIdentityPtrOutput() MetastoreDataAccessAzureManagedIdentityPtrOutput { - return i.ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(context.Background()) +func (i *lakehouseMonitorSchedulePtrType) ToLakehouseMonitorSchedulePtrOutput() LakehouseMonitorSchedulePtrOutput { + return i.ToLakehouseMonitorSchedulePtrOutputWithContext(context.Background()) } -func (i *metastoreDataAccessAzureManagedIdentityPtrType) ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureManagedIdentityPtrOutput) +func (i *lakehouseMonitorSchedulePtrType) ToLakehouseMonitorSchedulePtrOutputWithContext(ctx context.Context) LakehouseMonitorSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorSchedulePtrOutput) } -type MetastoreDataAccessAzureManagedIdentityOutput struct{ *pulumi.OutputState } +type LakehouseMonitorScheduleOutput struct{ *pulumi.OutputState } -func (MetastoreDataAccessAzureManagedIdentityOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessAzureManagedIdentity)(nil)).Elem() +func (LakehouseMonitorScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorSchedule)(nil)).Elem() } -func (o MetastoreDataAccessAzureManagedIdentityOutput) ToMetastoreDataAccessAzureManagedIdentityOutput() MetastoreDataAccessAzureManagedIdentityOutput { +func (o LakehouseMonitorScheduleOutput) ToLakehouseMonitorScheduleOutput() LakehouseMonitorScheduleOutput { return o } -func (o MetastoreDataAccessAzureManagedIdentityOutput) ToMetastoreDataAccessAzureManagedIdentityOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityOutput { +func (o LakehouseMonitorScheduleOutput) ToLakehouseMonitorScheduleOutputWithContext(ctx context.Context) LakehouseMonitorScheduleOutput { return o } -func (o MetastoreDataAccessAzureManagedIdentityOutput) ToMetastoreDataAccessAzureManagedIdentityPtrOutput() MetastoreDataAccessAzureManagedIdentityPtrOutput { - return o.ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(context.Background()) +func (o LakehouseMonitorScheduleOutput) ToLakehouseMonitorSchedulePtrOutput() LakehouseMonitorSchedulePtrOutput { + return o.ToLakehouseMonitorSchedulePtrOutputWithContext(context.Background()) } -func (o MetastoreDataAccessAzureManagedIdentityOutput) ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessAzureManagedIdentity) *MetastoreDataAccessAzureManagedIdentity { +func (o LakehouseMonitorScheduleOutput) ToLakehouseMonitorSchedulePtrOutputWithContext(ctx context.Context) LakehouseMonitorSchedulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorSchedule) *LakehouseMonitorSchedule { return &v - }).(MetastoreDataAccessAzureManagedIdentityPtrOutput) + }).(LakehouseMonitorSchedulePtrOutput) } -func (o MetastoreDataAccessAzureManagedIdentityOutput) AccessConnectorId() pulumi.StringOutput { - return o.ApplyT(func(v MetastoreDataAccessAzureManagedIdentity) string { return v.AccessConnectorId }).(pulumi.StringOutput) +func (o LakehouseMonitorScheduleOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v LakehouseMonitorSchedule) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) } -func (o MetastoreDataAccessAzureManagedIdentityOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MetastoreDataAccessAzureManagedIdentity) *string { return v.CredentialId }).(pulumi.StringPtrOutput) +func (o LakehouseMonitorScheduleOutput) QuartzCronExpression() pulumi.StringPtrOutput { + return o.ApplyT(func(v LakehouseMonitorSchedule) *string { return v.QuartzCronExpression }).(pulumi.StringPtrOutput) } -func (o MetastoreDataAccessAzureManagedIdentityOutput) ManagedIdentityId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MetastoreDataAccessAzureManagedIdentity) *string { return v.ManagedIdentityId }).(pulumi.StringPtrOutput) +func (o LakehouseMonitorScheduleOutput) TimezoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v LakehouseMonitorSchedule) *string { return v.TimezoneId }).(pulumi.StringPtrOutput) } -type MetastoreDataAccessAzureManagedIdentityPtrOutput struct{ *pulumi.OutputState } +type LakehouseMonitorSchedulePtrOutput struct{ *pulumi.OutputState } -func (MetastoreDataAccessAzureManagedIdentityPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessAzureManagedIdentity)(nil)).Elem() +func (LakehouseMonitorSchedulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorSchedule)(nil)).Elem() } -func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) ToMetastoreDataAccessAzureManagedIdentityPtrOutput() MetastoreDataAccessAzureManagedIdentityPtrOutput { +func (o LakehouseMonitorSchedulePtrOutput) ToLakehouseMonitorSchedulePtrOutput() LakehouseMonitorSchedulePtrOutput { return o } -func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityPtrOutput { +func (o LakehouseMonitorSchedulePtrOutput) ToLakehouseMonitorSchedulePtrOutputWithContext(ctx context.Context) LakehouseMonitorSchedulePtrOutput { return o } -func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) Elem() MetastoreDataAccessAzureManagedIdentityOutput { - return o.ApplyT(func(v *MetastoreDataAccessAzureManagedIdentity) MetastoreDataAccessAzureManagedIdentity { +func (o LakehouseMonitorSchedulePtrOutput) Elem() LakehouseMonitorScheduleOutput { + return o.ApplyT(func(v *LakehouseMonitorSchedule) LakehouseMonitorSchedule { if v != nil { return *v } - var ret MetastoreDataAccessAzureManagedIdentity + var ret LakehouseMonitorSchedule return ret - }).(MetastoreDataAccessAzureManagedIdentityOutput) + }).(LakehouseMonitorScheduleOutput) } -func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) AccessConnectorId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessAzureManagedIdentity) *string { +func (o LakehouseMonitorSchedulePtrOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LakehouseMonitorSchedule) *string { if v == nil { return nil } - return &v.AccessConnectorId + return v.PauseStatus }).(pulumi.StringPtrOutput) } -func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessAzureManagedIdentity) *string { +func (o LakehouseMonitorSchedulePtrOutput) QuartzCronExpression() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LakehouseMonitorSchedule) *string { if v == nil { return nil } - return v.CredentialId + return v.QuartzCronExpression }).(pulumi.StringPtrOutput) } -func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) ManagedIdentityId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessAzureManagedIdentity) *string { +func (o LakehouseMonitorSchedulePtrOutput) TimezoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LakehouseMonitorSchedule) *string { if v == nil { return nil } - return v.ManagedIdentityId + return v.TimezoneId }).(pulumi.StringPtrOutput) } -type MetastoreDataAccessAzureServicePrincipal struct { - ApplicationId string `pulumi:"applicationId"` - ClientSecret string `pulumi:"clientSecret"` - DirectoryId string `pulumi:"directoryId"` +type LakehouseMonitorSnapshot struct { } -// MetastoreDataAccessAzureServicePrincipalInput is an input type that accepts MetastoreDataAccessAzureServicePrincipalArgs and MetastoreDataAccessAzureServicePrincipalOutput values. -// You can construct a concrete instance of `MetastoreDataAccessAzureServicePrincipalInput` via: +// LakehouseMonitorSnapshotInput is an input type that accepts LakehouseMonitorSnapshotArgs and LakehouseMonitorSnapshotOutput values. +// You can construct a concrete instance of `LakehouseMonitorSnapshotInput` via: // -// MetastoreDataAccessAzureServicePrincipalArgs{...} -type MetastoreDataAccessAzureServicePrincipalInput interface { +// LakehouseMonitorSnapshotArgs{...} +type LakehouseMonitorSnapshotInput interface { pulumi.Input - ToMetastoreDataAccessAzureServicePrincipalOutput() MetastoreDataAccessAzureServicePrincipalOutput - ToMetastoreDataAccessAzureServicePrincipalOutputWithContext(context.Context) MetastoreDataAccessAzureServicePrincipalOutput + ToLakehouseMonitorSnapshotOutput() LakehouseMonitorSnapshotOutput + ToLakehouseMonitorSnapshotOutputWithContext(context.Context) LakehouseMonitorSnapshotOutput } -type MetastoreDataAccessAzureServicePrincipalArgs struct { - ApplicationId pulumi.StringInput `pulumi:"applicationId"` - ClientSecret pulumi.StringInput `pulumi:"clientSecret"` - DirectoryId pulumi.StringInput `pulumi:"directoryId"` +type LakehouseMonitorSnapshotArgs struct { } -func (MetastoreDataAccessAzureServicePrincipalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessAzureServicePrincipal)(nil)).Elem() +func (LakehouseMonitorSnapshotArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorSnapshot)(nil)).Elem() } -func (i MetastoreDataAccessAzureServicePrincipalArgs) ToMetastoreDataAccessAzureServicePrincipalOutput() MetastoreDataAccessAzureServicePrincipalOutput { - return i.ToMetastoreDataAccessAzureServicePrincipalOutputWithContext(context.Background()) +func (i LakehouseMonitorSnapshotArgs) ToLakehouseMonitorSnapshotOutput() LakehouseMonitorSnapshotOutput { + return i.ToLakehouseMonitorSnapshotOutputWithContext(context.Background()) } -func (i MetastoreDataAccessAzureServicePrincipalArgs) ToMetastoreDataAccessAzureServicePrincipalOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureServicePrincipalOutput) +func (i LakehouseMonitorSnapshotArgs) ToLakehouseMonitorSnapshotOutputWithContext(ctx context.Context) LakehouseMonitorSnapshotOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorSnapshotOutput) } -func (i MetastoreDataAccessAzureServicePrincipalArgs) ToMetastoreDataAccessAzureServicePrincipalPtrOutput() MetastoreDataAccessAzureServicePrincipalPtrOutput { - return i.ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(context.Background()) +func (i LakehouseMonitorSnapshotArgs) ToLakehouseMonitorSnapshotPtrOutput() LakehouseMonitorSnapshotPtrOutput { + return i.ToLakehouseMonitorSnapshotPtrOutputWithContext(context.Background()) } -func (i MetastoreDataAccessAzureServicePrincipalArgs) ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureServicePrincipalOutput).ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(ctx) +func (i LakehouseMonitorSnapshotArgs) ToLakehouseMonitorSnapshotPtrOutputWithContext(ctx context.Context) LakehouseMonitorSnapshotPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorSnapshotOutput).ToLakehouseMonitorSnapshotPtrOutputWithContext(ctx) } -// MetastoreDataAccessAzureServicePrincipalPtrInput is an input type that accepts MetastoreDataAccessAzureServicePrincipalArgs, MetastoreDataAccessAzureServicePrincipalPtr and MetastoreDataAccessAzureServicePrincipalPtrOutput values. -// You can construct a concrete instance of `MetastoreDataAccessAzureServicePrincipalPtrInput` via: +// LakehouseMonitorSnapshotPtrInput is an input type that accepts LakehouseMonitorSnapshotArgs, LakehouseMonitorSnapshotPtr and LakehouseMonitorSnapshotPtrOutput values. +// You can construct a concrete instance of `LakehouseMonitorSnapshotPtrInput` via: // -// MetastoreDataAccessAzureServicePrincipalArgs{...} +// LakehouseMonitorSnapshotArgs{...} // // or: // // nil -type MetastoreDataAccessAzureServicePrincipalPtrInput interface { +type LakehouseMonitorSnapshotPtrInput interface { pulumi.Input - ToMetastoreDataAccessAzureServicePrincipalPtrOutput() MetastoreDataAccessAzureServicePrincipalPtrOutput - ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(context.Context) MetastoreDataAccessAzureServicePrincipalPtrOutput + ToLakehouseMonitorSnapshotPtrOutput() LakehouseMonitorSnapshotPtrOutput + ToLakehouseMonitorSnapshotPtrOutputWithContext(context.Context) LakehouseMonitorSnapshotPtrOutput } -type metastoreDataAccessAzureServicePrincipalPtrType MetastoreDataAccessAzureServicePrincipalArgs +type lakehouseMonitorSnapshotPtrType LakehouseMonitorSnapshotArgs -func MetastoreDataAccessAzureServicePrincipalPtr(v *MetastoreDataAccessAzureServicePrincipalArgs) MetastoreDataAccessAzureServicePrincipalPtrInput { - return (*metastoreDataAccessAzureServicePrincipalPtrType)(v) +func LakehouseMonitorSnapshotPtr(v *LakehouseMonitorSnapshotArgs) LakehouseMonitorSnapshotPtrInput { + return (*lakehouseMonitorSnapshotPtrType)(v) } -func (*metastoreDataAccessAzureServicePrincipalPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessAzureServicePrincipal)(nil)).Elem() +func (*lakehouseMonitorSnapshotPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorSnapshot)(nil)).Elem() } -func (i *metastoreDataAccessAzureServicePrincipalPtrType) ToMetastoreDataAccessAzureServicePrincipalPtrOutput() MetastoreDataAccessAzureServicePrincipalPtrOutput { - return i.ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(context.Background()) +func (i *lakehouseMonitorSnapshotPtrType) ToLakehouseMonitorSnapshotPtrOutput() LakehouseMonitorSnapshotPtrOutput { + return i.ToLakehouseMonitorSnapshotPtrOutputWithContext(context.Background()) } -func (i *metastoreDataAccessAzureServicePrincipalPtrType) ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureServicePrincipalPtrOutput) +func (i *lakehouseMonitorSnapshotPtrType) ToLakehouseMonitorSnapshotPtrOutputWithContext(ctx context.Context) LakehouseMonitorSnapshotPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorSnapshotPtrOutput) } -type MetastoreDataAccessAzureServicePrincipalOutput struct{ *pulumi.OutputState } +type LakehouseMonitorSnapshotOutput struct{ *pulumi.OutputState } -func (MetastoreDataAccessAzureServicePrincipalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessAzureServicePrincipal)(nil)).Elem() +func (LakehouseMonitorSnapshotOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorSnapshot)(nil)).Elem() } -func (o MetastoreDataAccessAzureServicePrincipalOutput) ToMetastoreDataAccessAzureServicePrincipalOutput() MetastoreDataAccessAzureServicePrincipalOutput { +func (o LakehouseMonitorSnapshotOutput) ToLakehouseMonitorSnapshotOutput() LakehouseMonitorSnapshotOutput { return o } -func (o MetastoreDataAccessAzureServicePrincipalOutput) ToMetastoreDataAccessAzureServicePrincipalOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalOutput { +func (o LakehouseMonitorSnapshotOutput) ToLakehouseMonitorSnapshotOutputWithContext(ctx context.Context) LakehouseMonitorSnapshotOutput { return o } -func (o MetastoreDataAccessAzureServicePrincipalOutput) ToMetastoreDataAccessAzureServicePrincipalPtrOutput() MetastoreDataAccessAzureServicePrincipalPtrOutput { - return o.ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(context.Background()) +func (o LakehouseMonitorSnapshotOutput) ToLakehouseMonitorSnapshotPtrOutput() LakehouseMonitorSnapshotPtrOutput { + return o.ToLakehouseMonitorSnapshotPtrOutputWithContext(context.Background()) } -func (o MetastoreDataAccessAzureServicePrincipalOutput) ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessAzureServicePrincipal) *MetastoreDataAccessAzureServicePrincipal { +func (o LakehouseMonitorSnapshotOutput) ToLakehouseMonitorSnapshotPtrOutputWithContext(ctx context.Context) LakehouseMonitorSnapshotPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorSnapshot) *LakehouseMonitorSnapshot { return &v - }).(MetastoreDataAccessAzureServicePrincipalPtrOutput) -} - -func (o MetastoreDataAccessAzureServicePrincipalOutput) ApplicationId() pulumi.StringOutput { - return o.ApplyT(func(v MetastoreDataAccessAzureServicePrincipal) string { return v.ApplicationId }).(pulumi.StringOutput) -} - -func (o MetastoreDataAccessAzureServicePrincipalOutput) ClientSecret() pulumi.StringOutput { - return o.ApplyT(func(v MetastoreDataAccessAzureServicePrincipal) string { return v.ClientSecret }).(pulumi.StringOutput) + }).(LakehouseMonitorSnapshotPtrOutput) } -func (o MetastoreDataAccessAzureServicePrincipalOutput) DirectoryId() pulumi.StringOutput { - return o.ApplyT(func(v MetastoreDataAccessAzureServicePrincipal) string { return v.DirectoryId }).(pulumi.StringOutput) -} - -type MetastoreDataAccessAzureServicePrincipalPtrOutput struct{ *pulumi.OutputState } +type LakehouseMonitorSnapshotPtrOutput struct{ *pulumi.OutputState } -func (MetastoreDataAccessAzureServicePrincipalPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessAzureServicePrincipal)(nil)).Elem() +func (LakehouseMonitorSnapshotPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorSnapshot)(nil)).Elem() } -func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) ToMetastoreDataAccessAzureServicePrincipalPtrOutput() MetastoreDataAccessAzureServicePrincipalPtrOutput { +func (o LakehouseMonitorSnapshotPtrOutput) ToLakehouseMonitorSnapshotPtrOutput() LakehouseMonitorSnapshotPtrOutput { return o } -func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalPtrOutput { +func (o LakehouseMonitorSnapshotPtrOutput) ToLakehouseMonitorSnapshotPtrOutputWithContext(ctx context.Context) LakehouseMonitorSnapshotPtrOutput { return o } -func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) Elem() MetastoreDataAccessAzureServicePrincipalOutput { - return o.ApplyT(func(v *MetastoreDataAccessAzureServicePrincipal) MetastoreDataAccessAzureServicePrincipal { +func (o LakehouseMonitorSnapshotPtrOutput) Elem() LakehouseMonitorSnapshotOutput { + return o.ApplyT(func(v *LakehouseMonitorSnapshot) LakehouseMonitorSnapshot { if v != nil { return *v } - var ret MetastoreDataAccessAzureServicePrincipal + var ret LakehouseMonitorSnapshot return ret - }).(MetastoreDataAccessAzureServicePrincipalOutput) -} - -func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) ApplicationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessAzureServicePrincipal) *string { - if v == nil { - return nil - } - return &v.ApplicationId - }).(pulumi.StringPtrOutput) -} - -func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) ClientSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessAzureServicePrincipal) *string { - if v == nil { - return nil - } - return &v.ClientSecret - }).(pulumi.StringPtrOutput) -} - -func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) DirectoryId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessAzureServicePrincipal) *string { - if v == nil { - return nil - } - return &v.DirectoryId - }).(pulumi.StringPtrOutput) + }).(LakehouseMonitorSnapshotOutput) } -type MetastoreDataAccessDatabricksGcpServiceAccount struct { - CredentialId *string `pulumi:"credentialId"` - Email *string `pulumi:"email"` +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"` } -// MetastoreDataAccessDatabricksGcpServiceAccountInput is an input type that accepts MetastoreDataAccessDatabricksGcpServiceAccountArgs and MetastoreDataAccessDatabricksGcpServiceAccountOutput values. -// You can construct a concrete instance of `MetastoreDataAccessDatabricksGcpServiceAccountInput` via: +// LakehouseMonitorTimeSeriesInput is an input type that accepts LakehouseMonitorTimeSeriesArgs and LakehouseMonitorTimeSeriesOutput values. +// You can construct a concrete instance of `LakehouseMonitorTimeSeriesInput` via: // -// MetastoreDataAccessDatabricksGcpServiceAccountArgs{...} -type MetastoreDataAccessDatabricksGcpServiceAccountInput interface { +// LakehouseMonitorTimeSeriesArgs{...} +type LakehouseMonitorTimeSeriesInput interface { pulumi.Input - ToMetastoreDataAccessDatabricksGcpServiceAccountOutput() MetastoreDataAccessDatabricksGcpServiceAccountOutput - ToMetastoreDataAccessDatabricksGcpServiceAccountOutputWithContext(context.Context) MetastoreDataAccessDatabricksGcpServiceAccountOutput + ToLakehouseMonitorTimeSeriesOutput() LakehouseMonitorTimeSeriesOutput + ToLakehouseMonitorTimeSeriesOutputWithContext(context.Context) LakehouseMonitorTimeSeriesOutput } -type MetastoreDataAccessDatabricksGcpServiceAccountArgs struct { - CredentialId pulumi.StringPtrInput `pulumi:"credentialId"` - Email pulumi.StringPtrInput `pulumi:"email"` +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.StringPtrInput `pulumi:"timestampCol"` } -func (MetastoreDataAccessDatabricksGcpServiceAccountArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessDatabricksGcpServiceAccount)(nil)).Elem() +func (LakehouseMonitorTimeSeriesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorTimeSeries)(nil)).Elem() } -func (i MetastoreDataAccessDatabricksGcpServiceAccountArgs) ToMetastoreDataAccessDatabricksGcpServiceAccountOutput() MetastoreDataAccessDatabricksGcpServiceAccountOutput { - return i.ToMetastoreDataAccessDatabricksGcpServiceAccountOutputWithContext(context.Background()) +func (i LakehouseMonitorTimeSeriesArgs) ToLakehouseMonitorTimeSeriesOutput() LakehouseMonitorTimeSeriesOutput { + return i.ToLakehouseMonitorTimeSeriesOutputWithContext(context.Background()) } -func (i MetastoreDataAccessDatabricksGcpServiceAccountArgs) ToMetastoreDataAccessDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessDatabricksGcpServiceAccountOutput) +func (i LakehouseMonitorTimeSeriesArgs) ToLakehouseMonitorTimeSeriesOutputWithContext(ctx context.Context) LakehouseMonitorTimeSeriesOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorTimeSeriesOutput) } -func (i MetastoreDataAccessDatabricksGcpServiceAccountArgs) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutput() MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { - return i.ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) +func (i LakehouseMonitorTimeSeriesArgs) ToLakehouseMonitorTimeSeriesPtrOutput() LakehouseMonitorTimeSeriesPtrOutput { + return i.ToLakehouseMonitorTimeSeriesPtrOutputWithContext(context.Background()) } -func (i MetastoreDataAccessDatabricksGcpServiceAccountArgs) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessDatabricksGcpServiceAccountOutput).ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(ctx) +func (i LakehouseMonitorTimeSeriesArgs) ToLakehouseMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) LakehouseMonitorTimeSeriesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorTimeSeriesOutput).ToLakehouseMonitorTimeSeriesPtrOutputWithContext(ctx) } -// MetastoreDataAccessDatabricksGcpServiceAccountPtrInput is an input type that accepts MetastoreDataAccessDatabricksGcpServiceAccountArgs, MetastoreDataAccessDatabricksGcpServiceAccountPtr and MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput values. -// You can construct a concrete instance of `MetastoreDataAccessDatabricksGcpServiceAccountPtrInput` via: +// LakehouseMonitorTimeSeriesPtrInput is an input type that accepts LakehouseMonitorTimeSeriesArgs, LakehouseMonitorTimeSeriesPtr and LakehouseMonitorTimeSeriesPtrOutput values. +// You can construct a concrete instance of `LakehouseMonitorTimeSeriesPtrInput` via: // -// MetastoreDataAccessDatabricksGcpServiceAccountArgs{...} +// LakehouseMonitorTimeSeriesArgs{...} // // or: // // nil -type MetastoreDataAccessDatabricksGcpServiceAccountPtrInput interface { +type LakehouseMonitorTimeSeriesPtrInput interface { pulumi.Input - ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutput() MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput - ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(context.Context) MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput + ToLakehouseMonitorTimeSeriesPtrOutput() LakehouseMonitorTimeSeriesPtrOutput + ToLakehouseMonitorTimeSeriesPtrOutputWithContext(context.Context) LakehouseMonitorTimeSeriesPtrOutput } -type metastoreDataAccessDatabricksGcpServiceAccountPtrType MetastoreDataAccessDatabricksGcpServiceAccountArgs +type lakehouseMonitorTimeSeriesPtrType LakehouseMonitorTimeSeriesArgs -func MetastoreDataAccessDatabricksGcpServiceAccountPtr(v *MetastoreDataAccessDatabricksGcpServiceAccountArgs) MetastoreDataAccessDatabricksGcpServiceAccountPtrInput { - return (*metastoreDataAccessDatabricksGcpServiceAccountPtrType)(v) +func LakehouseMonitorTimeSeriesPtr(v *LakehouseMonitorTimeSeriesArgs) LakehouseMonitorTimeSeriesPtrInput { + return (*lakehouseMonitorTimeSeriesPtrType)(v) } -func (*metastoreDataAccessDatabricksGcpServiceAccountPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessDatabricksGcpServiceAccount)(nil)).Elem() +func (*lakehouseMonitorTimeSeriesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorTimeSeries)(nil)).Elem() } -func (i *metastoreDataAccessDatabricksGcpServiceAccountPtrType) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutput() MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { - return i.ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) +func (i *lakehouseMonitorTimeSeriesPtrType) ToLakehouseMonitorTimeSeriesPtrOutput() LakehouseMonitorTimeSeriesPtrOutput { + return i.ToLakehouseMonitorTimeSeriesPtrOutputWithContext(context.Background()) } -func (i *metastoreDataAccessDatabricksGcpServiceAccountPtrType) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) +func (i *lakehouseMonitorTimeSeriesPtrType) ToLakehouseMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) LakehouseMonitorTimeSeriesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorTimeSeriesPtrOutput) } -type MetastoreDataAccessDatabricksGcpServiceAccountOutput struct{ *pulumi.OutputState } +type LakehouseMonitorTimeSeriesOutput struct{ *pulumi.OutputState } -func (MetastoreDataAccessDatabricksGcpServiceAccountOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessDatabricksGcpServiceAccount)(nil)).Elem() +func (LakehouseMonitorTimeSeriesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorTimeSeries)(nil)).Elem() } -func (o MetastoreDataAccessDatabricksGcpServiceAccountOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountOutput() MetastoreDataAccessDatabricksGcpServiceAccountOutput { +func (o LakehouseMonitorTimeSeriesOutput) ToLakehouseMonitorTimeSeriesOutput() LakehouseMonitorTimeSeriesOutput { return o } -func (o MetastoreDataAccessDatabricksGcpServiceAccountOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountOutput { +func (o LakehouseMonitorTimeSeriesOutput) ToLakehouseMonitorTimeSeriesOutputWithContext(ctx context.Context) LakehouseMonitorTimeSeriesOutput { return o } -func (o MetastoreDataAccessDatabricksGcpServiceAccountOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutput() MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { - return o.ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) +func (o LakehouseMonitorTimeSeriesOutput) ToLakehouseMonitorTimeSeriesPtrOutput() LakehouseMonitorTimeSeriesPtrOutput { + return o.ToLakehouseMonitorTimeSeriesPtrOutputWithContext(context.Background()) } -func (o MetastoreDataAccessDatabricksGcpServiceAccountOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessDatabricksGcpServiceAccount) *MetastoreDataAccessDatabricksGcpServiceAccount { +func (o LakehouseMonitorTimeSeriesOutput) ToLakehouseMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) LakehouseMonitorTimeSeriesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorTimeSeries) *LakehouseMonitorTimeSeries { return &v - }).(MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) + }).(LakehouseMonitorTimeSeriesPtrOutput) } -func (o MetastoreDataAccessDatabricksGcpServiceAccountOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MetastoreDataAccessDatabricksGcpServiceAccount) *string { return v.CredentialId }).(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) } -func (o MetastoreDataAccessDatabricksGcpServiceAccountOutput) Email() pulumi.StringPtrOutput { - return o.ApplyT(func(v MetastoreDataAccessDatabricksGcpServiceAccount) *string { return v.Email }).(pulumi.StringPtrOutput) +// Column of the timestamp of predictions +func (o LakehouseMonitorTimeSeriesOutput) TimestampCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v LakehouseMonitorTimeSeries) *string { return v.TimestampCol }).(pulumi.StringPtrOutput) } -type MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput struct{ *pulumi.OutputState } +type LakehouseMonitorTimeSeriesPtrOutput struct{ *pulumi.OutputState } -func (MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessDatabricksGcpServiceAccount)(nil)).Elem() +func (LakehouseMonitorTimeSeriesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorTimeSeries)(nil)).Elem() } -func (o MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutput() MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { +func (o LakehouseMonitorTimeSeriesPtrOutput) ToLakehouseMonitorTimeSeriesPtrOutput() LakehouseMonitorTimeSeriesPtrOutput { return o } -func (o MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { +func (o LakehouseMonitorTimeSeriesPtrOutput) ToLakehouseMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) LakehouseMonitorTimeSeriesPtrOutput { return o } -func (o MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) Elem() MetastoreDataAccessDatabricksGcpServiceAccountOutput { - return o.ApplyT(func(v *MetastoreDataAccessDatabricksGcpServiceAccount) MetastoreDataAccessDatabricksGcpServiceAccount { +func (o LakehouseMonitorTimeSeriesPtrOutput) Elem() LakehouseMonitorTimeSeriesOutput { + return o.ApplyT(func(v *LakehouseMonitorTimeSeries) LakehouseMonitorTimeSeries { if v != nil { return *v } - var ret MetastoreDataAccessDatabricksGcpServiceAccount + var ret LakehouseMonitorTimeSeries return ret - }).(MetastoreDataAccessDatabricksGcpServiceAccountOutput) + }).(LakehouseMonitorTimeSeriesOutput) } -func (o MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessDatabricksGcpServiceAccount) *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.CredentialId - }).(pulumi.StringPtrOutput) + return v.Granularities + }).(pulumi.StringArrayOutput) } -func (o MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) Email() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessDatabricksGcpServiceAccount) *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.Email + return v.TimestampCol }).(pulumi.StringPtrOutput) } -type MetastoreDataAccessGcpServiceAccountKey struct { - Email string `pulumi:"email"` - PrivateKey string `pulumi:"privateKey"` - PrivateKeyId string `pulumi:"privateKeyId"` +type LibraryCran struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -// MetastoreDataAccessGcpServiceAccountKeyInput is an input type that accepts MetastoreDataAccessGcpServiceAccountKeyArgs and MetastoreDataAccessGcpServiceAccountKeyOutput values. -// You can construct a concrete instance of `MetastoreDataAccessGcpServiceAccountKeyInput` via: +// LibraryCranInput is an input type that accepts LibraryCranArgs and LibraryCranOutput values. +// You can construct a concrete instance of `LibraryCranInput` via: // -// MetastoreDataAccessGcpServiceAccountKeyArgs{...} -type MetastoreDataAccessGcpServiceAccountKeyInput interface { +// LibraryCranArgs{...} +type LibraryCranInput interface { pulumi.Input - ToMetastoreDataAccessGcpServiceAccountKeyOutput() MetastoreDataAccessGcpServiceAccountKeyOutput - ToMetastoreDataAccessGcpServiceAccountKeyOutputWithContext(context.Context) MetastoreDataAccessGcpServiceAccountKeyOutput + ToLibraryCranOutput() LibraryCranOutput + ToLibraryCranOutputWithContext(context.Context) LibraryCranOutput } -type MetastoreDataAccessGcpServiceAccountKeyArgs struct { - Email pulumi.StringInput `pulumi:"email"` - PrivateKey pulumi.StringInput `pulumi:"privateKey"` - PrivateKeyId pulumi.StringInput `pulumi:"privateKeyId"` +type LibraryCranArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (MetastoreDataAccessGcpServiceAccountKeyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessGcpServiceAccountKey)(nil)).Elem() +func (LibraryCranArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LibraryCran)(nil)).Elem() } -func (i MetastoreDataAccessGcpServiceAccountKeyArgs) ToMetastoreDataAccessGcpServiceAccountKeyOutput() MetastoreDataAccessGcpServiceAccountKeyOutput { - return i.ToMetastoreDataAccessGcpServiceAccountKeyOutputWithContext(context.Background()) +func (i LibraryCranArgs) ToLibraryCranOutput() LibraryCranOutput { + return i.ToLibraryCranOutputWithContext(context.Background()) } -func (i MetastoreDataAccessGcpServiceAccountKeyArgs) ToMetastoreDataAccessGcpServiceAccountKeyOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessGcpServiceAccountKeyOutput) +func (i LibraryCranArgs) ToLibraryCranOutputWithContext(ctx context.Context) LibraryCranOutput { + return pulumi.ToOutputWithContext(ctx, i).(LibraryCranOutput) } -func (i MetastoreDataAccessGcpServiceAccountKeyArgs) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutput() MetastoreDataAccessGcpServiceAccountKeyPtrOutput { - return i.ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(context.Background()) +func (i LibraryCranArgs) ToLibraryCranPtrOutput() LibraryCranPtrOutput { + return i.ToLibraryCranPtrOutputWithContext(context.Background()) } -func (i MetastoreDataAccessGcpServiceAccountKeyArgs) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessGcpServiceAccountKeyOutput).ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(ctx) +func (i LibraryCranArgs) ToLibraryCranPtrOutputWithContext(ctx context.Context) LibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LibraryCranOutput).ToLibraryCranPtrOutputWithContext(ctx) } -// MetastoreDataAccessGcpServiceAccountKeyPtrInput is an input type that accepts MetastoreDataAccessGcpServiceAccountKeyArgs, MetastoreDataAccessGcpServiceAccountKeyPtr and MetastoreDataAccessGcpServiceAccountKeyPtrOutput values. -// You can construct a concrete instance of `MetastoreDataAccessGcpServiceAccountKeyPtrInput` via: +// LibraryCranPtrInput is an input type that accepts LibraryCranArgs, LibraryCranPtr and LibraryCranPtrOutput values. +// You can construct a concrete instance of `LibraryCranPtrInput` via: // -// MetastoreDataAccessGcpServiceAccountKeyArgs{...} +// LibraryCranArgs{...} // // or: // // nil -type MetastoreDataAccessGcpServiceAccountKeyPtrInput interface { +type LibraryCranPtrInput interface { pulumi.Input - ToMetastoreDataAccessGcpServiceAccountKeyPtrOutput() MetastoreDataAccessGcpServiceAccountKeyPtrOutput - ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(context.Context) MetastoreDataAccessGcpServiceAccountKeyPtrOutput + ToLibraryCranPtrOutput() LibraryCranPtrOutput + ToLibraryCranPtrOutputWithContext(context.Context) LibraryCranPtrOutput } -type metastoreDataAccessGcpServiceAccountKeyPtrType MetastoreDataAccessGcpServiceAccountKeyArgs +type libraryCranPtrType LibraryCranArgs -func MetastoreDataAccessGcpServiceAccountKeyPtr(v *MetastoreDataAccessGcpServiceAccountKeyArgs) MetastoreDataAccessGcpServiceAccountKeyPtrInput { - return (*metastoreDataAccessGcpServiceAccountKeyPtrType)(v) +func LibraryCranPtr(v *LibraryCranArgs) LibraryCranPtrInput { + return (*libraryCranPtrType)(v) } -func (*metastoreDataAccessGcpServiceAccountKeyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessGcpServiceAccountKey)(nil)).Elem() +func (*libraryCranPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LibraryCran)(nil)).Elem() } -func (i *metastoreDataAccessGcpServiceAccountKeyPtrType) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutput() MetastoreDataAccessGcpServiceAccountKeyPtrOutput { - return i.ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(context.Background()) +func (i *libraryCranPtrType) ToLibraryCranPtrOutput() LibraryCranPtrOutput { + return i.ToLibraryCranPtrOutputWithContext(context.Background()) } -func (i *metastoreDataAccessGcpServiceAccountKeyPtrType) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessGcpServiceAccountKeyPtrOutput) +func (i *libraryCranPtrType) ToLibraryCranPtrOutputWithContext(ctx context.Context) LibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LibraryCranPtrOutput) } -type MetastoreDataAccessGcpServiceAccountKeyOutput struct{ *pulumi.OutputState } +type LibraryCranOutput struct{ *pulumi.OutputState } -func (MetastoreDataAccessGcpServiceAccountKeyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessGcpServiceAccountKey)(nil)).Elem() +func (LibraryCranOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LibraryCran)(nil)).Elem() } -func (o MetastoreDataAccessGcpServiceAccountKeyOutput) ToMetastoreDataAccessGcpServiceAccountKeyOutput() MetastoreDataAccessGcpServiceAccountKeyOutput { +func (o LibraryCranOutput) ToLibraryCranOutput() LibraryCranOutput { return o } -func (o MetastoreDataAccessGcpServiceAccountKeyOutput) ToMetastoreDataAccessGcpServiceAccountKeyOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyOutput { +func (o LibraryCranOutput) ToLibraryCranOutputWithContext(ctx context.Context) LibraryCranOutput { return o } -func (o MetastoreDataAccessGcpServiceAccountKeyOutput) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutput() MetastoreDataAccessGcpServiceAccountKeyPtrOutput { - return o.ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(context.Background()) +func (o LibraryCranOutput) ToLibraryCranPtrOutput() LibraryCranPtrOutput { + return o.ToLibraryCranPtrOutputWithContext(context.Background()) } -func (o MetastoreDataAccessGcpServiceAccountKeyOutput) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessGcpServiceAccountKey) *MetastoreDataAccessGcpServiceAccountKey { +func (o LibraryCranOutput) ToLibraryCranPtrOutputWithContext(ctx context.Context) LibraryCranPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LibraryCran) *LibraryCran { return &v - }).(MetastoreDataAccessGcpServiceAccountKeyPtrOutput) -} - -func (o MetastoreDataAccessGcpServiceAccountKeyOutput) Email() pulumi.StringOutput { - return o.ApplyT(func(v MetastoreDataAccessGcpServiceAccountKey) string { return v.Email }).(pulumi.StringOutput) + }).(LibraryCranPtrOutput) } -func (o MetastoreDataAccessGcpServiceAccountKeyOutput) PrivateKey() pulumi.StringOutput { - return o.ApplyT(func(v MetastoreDataAccessGcpServiceAccountKey) string { return v.PrivateKey }).(pulumi.StringOutput) +func (o LibraryCranOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v LibraryCran) string { return v.Package }).(pulumi.StringOutput) } -func (o MetastoreDataAccessGcpServiceAccountKeyOutput) PrivateKeyId() pulumi.StringOutput { - return o.ApplyT(func(v MetastoreDataAccessGcpServiceAccountKey) string { return v.PrivateKeyId }).(pulumi.StringOutput) +func (o LibraryCranOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v LibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type MetastoreDataAccessGcpServiceAccountKeyPtrOutput struct{ *pulumi.OutputState } +type LibraryCranPtrOutput struct{ *pulumi.OutputState } -func (MetastoreDataAccessGcpServiceAccountKeyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessGcpServiceAccountKey)(nil)).Elem() +func (LibraryCranPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LibraryCran)(nil)).Elem() } -func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutput() MetastoreDataAccessGcpServiceAccountKeyPtrOutput { +func (o LibraryCranPtrOutput) ToLibraryCranPtrOutput() LibraryCranPtrOutput { return o } -func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyPtrOutput { +func (o LibraryCranPtrOutput) ToLibraryCranPtrOutputWithContext(ctx context.Context) LibraryCranPtrOutput { return o } -func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) Elem() MetastoreDataAccessGcpServiceAccountKeyOutput { - return o.ApplyT(func(v *MetastoreDataAccessGcpServiceAccountKey) MetastoreDataAccessGcpServiceAccountKey { +func (o LibraryCranPtrOutput) Elem() LibraryCranOutput { + return o.ApplyT(func(v *LibraryCran) LibraryCran { if v != nil { return *v } - var ret MetastoreDataAccessGcpServiceAccountKey + var ret LibraryCran return ret - }).(MetastoreDataAccessGcpServiceAccountKeyOutput) -} - -func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) Email() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessGcpServiceAccountKey) *string { - if v == nil { - return nil - } - return &v.Email - }).(pulumi.StringPtrOutput) + }).(LibraryCranOutput) } -func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) PrivateKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessGcpServiceAccountKey) *string { +func (o LibraryCranPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LibraryCran) *string { if v == nil { return nil } - return &v.PrivateKey + return &v.Package }).(pulumi.StringPtrOutput) } -func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) PrivateKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessGcpServiceAccountKey) *string { +func (o LibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LibraryCran) *string { if v == nil { return nil } - return &v.PrivateKeyId + return v.Repo }).(pulumi.StringPtrOutput) } -type MlflowModelTag struct { - Key *string `pulumi:"key"` - Value *string `pulumi:"value"` +type LibraryMaven struct { + Coordinates string `pulumi:"coordinates"` + Exclusions []string `pulumi:"exclusions"` + Repo *string `pulumi:"repo"` } -// MlflowModelTagInput is an input type that accepts MlflowModelTagArgs and MlflowModelTagOutput values. -// You can construct a concrete instance of `MlflowModelTagInput` via: +// LibraryMavenInput is an input type that accepts LibraryMavenArgs and LibraryMavenOutput values. +// You can construct a concrete instance of `LibraryMavenInput` via: // -// MlflowModelTagArgs{...} -type MlflowModelTagInput interface { +// LibraryMavenArgs{...} +type LibraryMavenInput interface { pulumi.Input - ToMlflowModelTagOutput() MlflowModelTagOutput - ToMlflowModelTagOutputWithContext(context.Context) MlflowModelTagOutput + ToLibraryMavenOutput() LibraryMavenOutput + ToLibraryMavenOutputWithContext(context.Context) LibraryMavenOutput } -type MlflowModelTagArgs struct { - Key pulumi.StringPtrInput `pulumi:"key"` - Value pulumi.StringPtrInput `pulumi:"value"` +type LibraryMavenArgs struct { + Coordinates pulumi.StringInput `pulumi:"coordinates"` + Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (MlflowModelTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MlflowModelTag)(nil)).Elem() +func (LibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LibraryMaven)(nil)).Elem() } -func (i MlflowModelTagArgs) ToMlflowModelTagOutput() MlflowModelTagOutput { - return i.ToMlflowModelTagOutputWithContext(context.Background()) -} +func (i LibraryMavenArgs) ToLibraryMavenOutput() LibraryMavenOutput { + return i.ToLibraryMavenOutputWithContext(context.Background()) +} -func (i MlflowModelTagArgs) ToMlflowModelTagOutputWithContext(ctx context.Context) MlflowModelTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(MlflowModelTagOutput) +func (i LibraryMavenArgs) ToLibraryMavenOutputWithContext(ctx context.Context) LibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(LibraryMavenOutput) } -// MlflowModelTagArrayInput is an input type that accepts MlflowModelTagArray and MlflowModelTagArrayOutput values. -// You can construct a concrete instance of `MlflowModelTagArrayInput` via: +func (i LibraryMavenArgs) ToLibraryMavenPtrOutput() LibraryMavenPtrOutput { + return i.ToLibraryMavenPtrOutputWithContext(context.Background()) +} + +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: // -// MlflowModelTagArray{ MlflowModelTagArgs{...} } -type MlflowModelTagArrayInput interface { +// LibraryMavenArgs{...} +// +// or: +// +// nil +type LibraryMavenPtrInput interface { pulumi.Input - ToMlflowModelTagArrayOutput() MlflowModelTagArrayOutput - ToMlflowModelTagArrayOutputWithContext(context.Context) MlflowModelTagArrayOutput + ToLibraryMavenPtrOutput() LibraryMavenPtrOutput + ToLibraryMavenPtrOutputWithContext(context.Context) LibraryMavenPtrOutput } -type MlflowModelTagArray []MlflowModelTagInput +type libraryMavenPtrType LibraryMavenArgs -func (MlflowModelTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]MlflowModelTag)(nil)).Elem() +func LibraryMavenPtr(v *LibraryMavenArgs) LibraryMavenPtrInput { + return (*libraryMavenPtrType)(v) } -func (i MlflowModelTagArray) ToMlflowModelTagArrayOutput() MlflowModelTagArrayOutput { - return i.ToMlflowModelTagArrayOutputWithContext(context.Background()) +func (*libraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LibraryMaven)(nil)).Elem() } -func (i MlflowModelTagArray) ToMlflowModelTagArrayOutputWithContext(ctx context.Context) MlflowModelTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(MlflowModelTagArrayOutput) +func (i *libraryMavenPtrType) ToLibraryMavenPtrOutput() LibraryMavenPtrOutput { + return i.ToLibraryMavenPtrOutputWithContext(context.Background()) } -type MlflowModelTagOutput struct{ *pulumi.OutputState } +func (i *libraryMavenPtrType) ToLibraryMavenPtrOutputWithContext(ctx context.Context) LibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LibraryMavenPtrOutput) +} -func (MlflowModelTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MlflowModelTag)(nil)).Elem() +type LibraryMavenOutput struct{ *pulumi.OutputState } + +func (LibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LibraryMaven)(nil)).Elem() } -func (o MlflowModelTagOutput) ToMlflowModelTagOutput() MlflowModelTagOutput { +func (o LibraryMavenOutput) ToLibraryMavenOutput() LibraryMavenOutput { return o } -func (o MlflowModelTagOutput) ToMlflowModelTagOutputWithContext(ctx context.Context) MlflowModelTagOutput { +func (o LibraryMavenOutput) ToLibraryMavenOutputWithContext(ctx context.Context) LibraryMavenOutput { return o } -func (o MlflowModelTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v MlflowModelTag) *string { return v.Key }).(pulumi.StringPtrOutput) +func (o LibraryMavenOutput) ToLibraryMavenPtrOutput() LibraryMavenPtrOutput { + return o.ToLibraryMavenPtrOutputWithContext(context.Background()) } -func (o MlflowModelTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v MlflowModelTag) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o LibraryMavenOutput) ToLibraryMavenPtrOutputWithContext(ctx context.Context) LibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LibraryMaven) *LibraryMaven { + return &v + }).(LibraryMavenPtrOutput) } -type MlflowModelTagArrayOutput struct{ *pulumi.OutputState } +func (o LibraryMavenOutput) Coordinates() pulumi.StringOutput { + return o.ApplyT(func(v LibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) +} -func (MlflowModelTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]MlflowModelTag)(nil)).Elem() +func (o LibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v LibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) } -func (o MlflowModelTagArrayOutput) ToMlflowModelTagArrayOutput() MlflowModelTagArrayOutput { +func (o LibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v LibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +} + +type LibraryMavenPtrOutput struct{ *pulumi.OutputState } + +func (LibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LibraryMaven)(nil)).Elem() +} + +func (o LibraryMavenPtrOutput) ToLibraryMavenPtrOutput() LibraryMavenPtrOutput { return o } -func (o MlflowModelTagArrayOutput) ToMlflowModelTagArrayOutputWithContext(ctx context.Context) MlflowModelTagArrayOutput { +func (o LibraryMavenPtrOutput) ToLibraryMavenPtrOutputWithContext(ctx context.Context) LibraryMavenPtrOutput { 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) +func (o LibraryMavenPtrOutput) Elem() LibraryMavenOutput { + return o.ApplyT(func(v *LibraryMaven) LibraryMaven { + if v != nil { + return *v + } + var ret LibraryMaven + return ret + }).(LibraryMavenOutput) } -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"` +func (o LibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LibraryMaven) *string { + if v == nil { + return nil + } + return &v.Coordinates + }).(pulumi.StringPtrOutput) } -// MlflowWebhookHttpUrlSpecInput is an input type that accepts MlflowWebhookHttpUrlSpecArgs and MlflowWebhookHttpUrlSpecOutput values. -// You can construct a concrete instance of `MlflowWebhookHttpUrlSpecInput` via: +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 { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) +} + +type LibraryPypi struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` +} + +// LibraryPypiInput is an input type that accepts LibraryPypiArgs and LibraryPypiOutput values. +// You can construct a concrete instance of `LibraryPypiInput` via: // -// MlflowWebhookHttpUrlSpecArgs{...} -type MlflowWebhookHttpUrlSpecInput interface { +// LibraryPypiArgs{...} +type LibraryPypiInput interface { pulumi.Input - ToMlflowWebhookHttpUrlSpecOutput() MlflowWebhookHttpUrlSpecOutput - ToMlflowWebhookHttpUrlSpecOutputWithContext(context.Context) MlflowWebhookHttpUrlSpecOutput + ToLibraryPypiOutput() LibraryPypiOutput + ToLibraryPypiOutputWithContext(context.Context) LibraryPypiOutput } -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 LibraryPypiArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (MlflowWebhookHttpUrlSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MlflowWebhookHttpUrlSpec)(nil)).Elem() +func (LibraryPypiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LibraryPypi)(nil)).Elem() } -func (i MlflowWebhookHttpUrlSpecArgs) ToMlflowWebhookHttpUrlSpecOutput() MlflowWebhookHttpUrlSpecOutput { - return i.ToMlflowWebhookHttpUrlSpecOutputWithContext(context.Background()) +func (i LibraryPypiArgs) ToLibraryPypiOutput() LibraryPypiOutput { + return i.ToLibraryPypiOutputWithContext(context.Background()) } -func (i MlflowWebhookHttpUrlSpecArgs) ToMlflowWebhookHttpUrlSpecOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookHttpUrlSpecOutput) +func (i LibraryPypiArgs) ToLibraryPypiOutputWithContext(ctx context.Context) LibraryPypiOutput { + return pulumi.ToOutputWithContext(ctx, i).(LibraryPypiOutput) } -func (i MlflowWebhookHttpUrlSpecArgs) ToMlflowWebhookHttpUrlSpecPtrOutput() MlflowWebhookHttpUrlSpecPtrOutput { - return i.ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(context.Background()) +func (i LibraryPypiArgs) ToLibraryPypiPtrOutput() LibraryPypiPtrOutput { + return i.ToLibraryPypiPtrOutputWithContext(context.Background()) } -func (i MlflowWebhookHttpUrlSpecArgs) ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookHttpUrlSpecOutput).ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(ctx) +func (i LibraryPypiArgs) ToLibraryPypiPtrOutputWithContext(ctx context.Context) LibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LibraryPypiOutput).ToLibraryPypiPtrOutputWithContext(ctx) } -// MlflowWebhookHttpUrlSpecPtrInput is an input type that accepts MlflowWebhookHttpUrlSpecArgs, MlflowWebhookHttpUrlSpecPtr and MlflowWebhookHttpUrlSpecPtrOutput values. -// You can construct a concrete instance of `MlflowWebhookHttpUrlSpecPtrInput` via: +// LibraryPypiPtrInput is an input type that accepts LibraryPypiArgs, LibraryPypiPtr and LibraryPypiPtrOutput values. +// You can construct a concrete instance of `LibraryPypiPtrInput` via: // -// MlflowWebhookHttpUrlSpecArgs{...} +// LibraryPypiArgs{...} // // or: // // nil -type MlflowWebhookHttpUrlSpecPtrInput interface { +type LibraryPypiPtrInput interface { pulumi.Input - ToMlflowWebhookHttpUrlSpecPtrOutput() MlflowWebhookHttpUrlSpecPtrOutput - ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(context.Context) MlflowWebhookHttpUrlSpecPtrOutput + ToLibraryPypiPtrOutput() LibraryPypiPtrOutput + ToLibraryPypiPtrOutputWithContext(context.Context) LibraryPypiPtrOutput } -type mlflowWebhookHttpUrlSpecPtrType MlflowWebhookHttpUrlSpecArgs +type libraryPypiPtrType LibraryPypiArgs -func MlflowWebhookHttpUrlSpecPtr(v *MlflowWebhookHttpUrlSpecArgs) MlflowWebhookHttpUrlSpecPtrInput { - return (*mlflowWebhookHttpUrlSpecPtrType)(v) +func LibraryPypiPtr(v *LibraryPypiArgs) LibraryPypiPtrInput { + return (*libraryPypiPtrType)(v) } -func (*mlflowWebhookHttpUrlSpecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MlflowWebhookHttpUrlSpec)(nil)).Elem() +func (*libraryPypiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LibraryPypi)(nil)).Elem() } -func (i *mlflowWebhookHttpUrlSpecPtrType) ToMlflowWebhookHttpUrlSpecPtrOutput() MlflowWebhookHttpUrlSpecPtrOutput { - return i.ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(context.Background()) +func (i *libraryPypiPtrType) ToLibraryPypiPtrOutput() LibraryPypiPtrOutput { + return i.ToLibraryPypiPtrOutputWithContext(context.Background()) } -func (i *mlflowWebhookHttpUrlSpecPtrType) ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookHttpUrlSpecPtrOutput) +func (i *libraryPypiPtrType) ToLibraryPypiPtrOutputWithContext(ctx context.Context) LibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LibraryPypiPtrOutput) } -type MlflowWebhookHttpUrlSpecOutput struct{ *pulumi.OutputState } +type LibraryPypiOutput struct{ *pulumi.OutputState } -func (MlflowWebhookHttpUrlSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MlflowWebhookHttpUrlSpec)(nil)).Elem() +func (LibraryPypiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LibraryPypi)(nil)).Elem() } -func (o MlflowWebhookHttpUrlSpecOutput) ToMlflowWebhookHttpUrlSpecOutput() MlflowWebhookHttpUrlSpecOutput { +func (o LibraryPypiOutput) ToLibraryPypiOutput() LibraryPypiOutput { return o } -func (o MlflowWebhookHttpUrlSpecOutput) ToMlflowWebhookHttpUrlSpecOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecOutput { +func (o LibraryPypiOutput) ToLibraryPypiOutputWithContext(ctx context.Context) LibraryPypiOutput { return o } -func (o MlflowWebhookHttpUrlSpecOutput) ToMlflowWebhookHttpUrlSpecPtrOutput() MlflowWebhookHttpUrlSpecPtrOutput { - return o.ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(context.Background()) +func (o LibraryPypiOutput) ToLibraryPypiPtrOutput() LibraryPypiPtrOutput { + return o.ToLibraryPypiPtrOutputWithContext(context.Background()) } -func (o MlflowWebhookHttpUrlSpecOutput) ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MlflowWebhookHttpUrlSpec) *MlflowWebhookHttpUrlSpec { +func (o LibraryPypiOutput) ToLibraryPypiPtrOutputWithContext(ctx context.Context) LibraryPypiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LibraryPypi) *LibraryPypi { 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) + }).(LibraryPypiPtrOutput) } -// 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 LibraryPypiOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v LibraryPypi) string { return v.Package }).(pulumi.StringOutput) } -// 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) +func (o LibraryPypiOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v LibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type MlflowWebhookHttpUrlSpecPtrOutput struct{ *pulumi.OutputState } +type LibraryPypiPtrOutput struct{ *pulumi.OutputState } -func (MlflowWebhookHttpUrlSpecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MlflowWebhookHttpUrlSpec)(nil)).Elem() +func (LibraryPypiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LibraryPypi)(nil)).Elem() } -func (o MlflowWebhookHttpUrlSpecPtrOutput) ToMlflowWebhookHttpUrlSpecPtrOutput() MlflowWebhookHttpUrlSpecPtrOutput { +func (o LibraryPypiPtrOutput) ToLibraryPypiPtrOutput() LibraryPypiPtrOutput { return o } -func (o MlflowWebhookHttpUrlSpecPtrOutput) ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecPtrOutput { +func (o LibraryPypiPtrOutput) ToLibraryPypiPtrOutputWithContext(ctx context.Context) LibraryPypiPtrOutput { return o } -func (o MlflowWebhookHttpUrlSpecPtrOutput) Elem() MlflowWebhookHttpUrlSpecOutput { - return o.ApplyT(func(v *MlflowWebhookHttpUrlSpec) MlflowWebhookHttpUrlSpec { +func (o LibraryPypiPtrOutput) Elem() LibraryPypiOutput { + return o.ApplyT(func(v *LibraryPypi) LibraryPypi { if v != nil { return *v } - var ret MlflowWebhookHttpUrlSpec + var ret LibraryPypi 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) + }).(LibraryPypiOutput) } -// 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 { +func (o LibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LibraryPypi) *string { if v == nil { return nil } - return v.Secret + return &v.Package }).(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 { +func (o LibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LibraryPypi) *string { if v == nil { return nil } - return &v.Url + return v.Repo }).(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 MetastoreDataAccessAwsIamRole struct { + ExternalId *string `pulumi:"externalId"` + RoleArn string `pulumi:"roleArn"` + UnityCatalogIamArn *string `pulumi:"unityCatalogIamArn"` } -// MlflowWebhookJobSpecInput is an input type that accepts MlflowWebhookJobSpecArgs and MlflowWebhookJobSpecOutput values. -// You can construct a concrete instance of `MlflowWebhookJobSpecInput` via: +// MetastoreDataAccessAwsIamRoleInput is an input type that accepts MetastoreDataAccessAwsIamRoleArgs and MetastoreDataAccessAwsIamRoleOutput values. +// You can construct a concrete instance of `MetastoreDataAccessAwsIamRoleInput` via: // -// MlflowWebhookJobSpecArgs{...} -type MlflowWebhookJobSpecInput interface { +// MetastoreDataAccessAwsIamRoleArgs{...} +type MetastoreDataAccessAwsIamRoleInput interface { pulumi.Input - ToMlflowWebhookJobSpecOutput() MlflowWebhookJobSpecOutput - ToMlflowWebhookJobSpecOutputWithContext(context.Context) MlflowWebhookJobSpecOutput + ToMetastoreDataAccessAwsIamRoleOutput() MetastoreDataAccessAwsIamRoleOutput + ToMetastoreDataAccessAwsIamRoleOutputWithContext(context.Context) MetastoreDataAccessAwsIamRoleOutput } -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 MetastoreDataAccessAwsIamRoleArgs struct { + ExternalId pulumi.StringPtrInput `pulumi:"externalId"` + RoleArn pulumi.StringInput `pulumi:"roleArn"` + UnityCatalogIamArn pulumi.StringPtrInput `pulumi:"unityCatalogIamArn"` } -func (MlflowWebhookJobSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MlflowWebhookJobSpec)(nil)).Elem() +func (MetastoreDataAccessAwsIamRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessAwsIamRole)(nil)).Elem() } -func (i MlflowWebhookJobSpecArgs) ToMlflowWebhookJobSpecOutput() MlflowWebhookJobSpecOutput { - return i.ToMlflowWebhookJobSpecOutputWithContext(context.Background()) +func (i MetastoreDataAccessAwsIamRoleArgs) ToMetastoreDataAccessAwsIamRoleOutput() MetastoreDataAccessAwsIamRoleOutput { + return i.ToMetastoreDataAccessAwsIamRoleOutputWithContext(context.Background()) } -func (i MlflowWebhookJobSpecArgs) ToMlflowWebhookJobSpecOutputWithContext(ctx context.Context) MlflowWebhookJobSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookJobSpecOutput) +func (i MetastoreDataAccessAwsIamRoleArgs) ToMetastoreDataAccessAwsIamRoleOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAwsIamRoleOutput) } -func (i MlflowWebhookJobSpecArgs) ToMlflowWebhookJobSpecPtrOutput() MlflowWebhookJobSpecPtrOutput { - return i.ToMlflowWebhookJobSpecPtrOutputWithContext(context.Background()) +func (i MetastoreDataAccessAwsIamRoleArgs) ToMetastoreDataAccessAwsIamRolePtrOutput() MetastoreDataAccessAwsIamRolePtrOutput { + return i.ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(context.Background()) } -func (i MlflowWebhookJobSpecArgs) ToMlflowWebhookJobSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookJobSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookJobSpecOutput).ToMlflowWebhookJobSpecPtrOutputWithContext(ctx) +func (i MetastoreDataAccessAwsIamRoleArgs) ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRolePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAwsIamRoleOutput).ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(ctx) } -// MlflowWebhookJobSpecPtrInput is an input type that accepts MlflowWebhookJobSpecArgs, MlflowWebhookJobSpecPtr and MlflowWebhookJobSpecPtrOutput values. -// You can construct a concrete instance of `MlflowWebhookJobSpecPtrInput` via: +// MetastoreDataAccessAwsIamRolePtrInput is an input type that accepts MetastoreDataAccessAwsIamRoleArgs, MetastoreDataAccessAwsIamRolePtr and MetastoreDataAccessAwsIamRolePtrOutput values. +// You can construct a concrete instance of `MetastoreDataAccessAwsIamRolePtrInput` via: // -// MlflowWebhookJobSpecArgs{...} +// MetastoreDataAccessAwsIamRoleArgs{...} // // or: // // nil -type MlflowWebhookJobSpecPtrInput interface { +type MetastoreDataAccessAwsIamRolePtrInput interface { pulumi.Input - ToMlflowWebhookJobSpecPtrOutput() MlflowWebhookJobSpecPtrOutput - ToMlflowWebhookJobSpecPtrOutputWithContext(context.Context) MlflowWebhookJobSpecPtrOutput + ToMetastoreDataAccessAwsIamRolePtrOutput() MetastoreDataAccessAwsIamRolePtrOutput + ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(context.Context) MetastoreDataAccessAwsIamRolePtrOutput } -type mlflowWebhookJobSpecPtrType MlflowWebhookJobSpecArgs +type metastoreDataAccessAwsIamRolePtrType MetastoreDataAccessAwsIamRoleArgs -func MlflowWebhookJobSpecPtr(v *MlflowWebhookJobSpecArgs) MlflowWebhookJobSpecPtrInput { - return (*mlflowWebhookJobSpecPtrType)(v) +func MetastoreDataAccessAwsIamRolePtr(v *MetastoreDataAccessAwsIamRoleArgs) MetastoreDataAccessAwsIamRolePtrInput { + return (*metastoreDataAccessAwsIamRolePtrType)(v) } -func (*mlflowWebhookJobSpecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MlflowWebhookJobSpec)(nil)).Elem() +func (*metastoreDataAccessAwsIamRolePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessAwsIamRole)(nil)).Elem() } -func (i *mlflowWebhookJobSpecPtrType) ToMlflowWebhookJobSpecPtrOutput() MlflowWebhookJobSpecPtrOutput { - return i.ToMlflowWebhookJobSpecPtrOutputWithContext(context.Background()) +func (i *metastoreDataAccessAwsIamRolePtrType) ToMetastoreDataAccessAwsIamRolePtrOutput() MetastoreDataAccessAwsIamRolePtrOutput { + return i.ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(context.Background()) } -func (i *mlflowWebhookJobSpecPtrType) ToMlflowWebhookJobSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookJobSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookJobSpecPtrOutput) +func (i *metastoreDataAccessAwsIamRolePtrType) ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRolePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAwsIamRolePtrOutput) } -type MlflowWebhookJobSpecOutput struct{ *pulumi.OutputState } +type MetastoreDataAccessAwsIamRoleOutput struct{ *pulumi.OutputState } -func (MlflowWebhookJobSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MlflowWebhookJobSpec)(nil)).Elem() +func (MetastoreDataAccessAwsIamRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessAwsIamRole)(nil)).Elem() } -func (o MlflowWebhookJobSpecOutput) ToMlflowWebhookJobSpecOutput() MlflowWebhookJobSpecOutput { +func (o MetastoreDataAccessAwsIamRoleOutput) ToMetastoreDataAccessAwsIamRoleOutput() MetastoreDataAccessAwsIamRoleOutput { return o } -func (o MlflowWebhookJobSpecOutput) ToMlflowWebhookJobSpecOutputWithContext(ctx context.Context) MlflowWebhookJobSpecOutput { +func (o MetastoreDataAccessAwsIamRoleOutput) ToMetastoreDataAccessAwsIamRoleOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRoleOutput { return o } -func (o MlflowWebhookJobSpecOutput) ToMlflowWebhookJobSpecPtrOutput() MlflowWebhookJobSpecPtrOutput { - return o.ToMlflowWebhookJobSpecPtrOutputWithContext(context.Background()) +func (o MetastoreDataAccessAwsIamRoleOutput) ToMetastoreDataAccessAwsIamRolePtrOutput() MetastoreDataAccessAwsIamRolePtrOutput { + return o.ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(context.Background()) } -func (o MlflowWebhookJobSpecOutput) ToMlflowWebhookJobSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookJobSpecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MlflowWebhookJobSpec) *MlflowWebhookJobSpec { +func (o MetastoreDataAccessAwsIamRoleOutput) ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRolePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessAwsIamRole) *MetastoreDataAccessAwsIamRole { return &v - }).(MlflowWebhookJobSpecPtrOutput) + }).(MetastoreDataAccessAwsIamRolePtrOutput) } -// 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 MetastoreDataAccessAwsIamRoleOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MetastoreDataAccessAwsIamRole) *string { return v.ExternalId }).(pulumi.StringPtrOutput) } -// 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 MetastoreDataAccessAwsIamRoleOutput) RoleArn() pulumi.StringOutput { + return o.ApplyT(func(v MetastoreDataAccessAwsIamRole) string { return v.RoleArn }).(pulumi.StringOutput) } -// 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) +func (o MetastoreDataAccessAwsIamRoleOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v MetastoreDataAccessAwsIamRole) *string { return v.UnityCatalogIamArn }).(pulumi.StringPtrOutput) } -type MlflowWebhookJobSpecPtrOutput struct{ *pulumi.OutputState } +type MetastoreDataAccessAwsIamRolePtrOutput struct{ *pulumi.OutputState } -func (MlflowWebhookJobSpecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MlflowWebhookJobSpec)(nil)).Elem() +func (MetastoreDataAccessAwsIamRolePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessAwsIamRole)(nil)).Elem() } -func (o MlflowWebhookJobSpecPtrOutput) ToMlflowWebhookJobSpecPtrOutput() MlflowWebhookJobSpecPtrOutput { +func (o MetastoreDataAccessAwsIamRolePtrOutput) ToMetastoreDataAccessAwsIamRolePtrOutput() MetastoreDataAccessAwsIamRolePtrOutput { return o } -func (o MlflowWebhookJobSpecPtrOutput) ToMlflowWebhookJobSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookJobSpecPtrOutput { +func (o MetastoreDataAccessAwsIamRolePtrOutput) ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRolePtrOutput { return o } -func (o MlflowWebhookJobSpecPtrOutput) Elem() MlflowWebhookJobSpecOutput { - return o.ApplyT(func(v *MlflowWebhookJobSpec) MlflowWebhookJobSpec { +func (o MetastoreDataAccessAwsIamRolePtrOutput) Elem() MetastoreDataAccessAwsIamRoleOutput { + return o.ApplyT(func(v *MetastoreDataAccessAwsIamRole) MetastoreDataAccessAwsIamRole { if v != nil { return *v } - var ret MlflowWebhookJobSpec + var ret MetastoreDataAccessAwsIamRole return ret - }).(MlflowWebhookJobSpecOutput) + }).(MetastoreDataAccessAwsIamRoleOutput) } -// 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 MetastoreDataAccessAwsIamRolePtrOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessAwsIamRole) *string { if v == nil { return nil } - return &v.AccessToken + return v.ExternalId }).(pulumi.StringPtrOutput) } -// ID of the Databricks job that the webhook runs. -func (o MlflowWebhookJobSpecPtrOutput) JobId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MlflowWebhookJobSpec) *string { +func (o MetastoreDataAccessAwsIamRolePtrOutput) RoleArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessAwsIamRole) *string { if v == nil { return nil } - return &v.JobId + return &v.RoleArn }).(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 { +func (o MetastoreDataAccessAwsIamRolePtrOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessAwsIamRole) *string { if v == nil { return nil } - return v.WorkspaceUrl + return v.UnityCatalogIamArn }).(pulumi.StringPtrOutput) } -type ModelServingConfig struct { - AutoCaptureConfig *ModelServingConfigAutoCaptureConfig `pulumi:"autoCaptureConfig"` - // Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. - ServedModels []ModelServingConfigServedModel `pulumi:"servedModels"` - // A single block represents the traffic split configuration amongst the served models. - TrafficConfig *ModelServingConfigTrafficConfig `pulumi:"trafficConfig"` +type MetastoreDataAccessAzureManagedIdentity struct { + AccessConnectorId string `pulumi:"accessConnectorId"` + CredentialId *string `pulumi:"credentialId"` + ManagedIdentityId *string `pulumi:"managedIdentityId"` } -// ModelServingConfigInput is an input type that accepts ModelServingConfigArgs and ModelServingConfigOutput values. -// You can construct a concrete instance of `ModelServingConfigInput` via: +// MetastoreDataAccessAzureManagedIdentityInput is an input type that accepts MetastoreDataAccessAzureManagedIdentityArgs and MetastoreDataAccessAzureManagedIdentityOutput values. +// You can construct a concrete instance of `MetastoreDataAccessAzureManagedIdentityInput` via: // -// ModelServingConfigArgs{...} -type ModelServingConfigInput interface { +// MetastoreDataAccessAzureManagedIdentityArgs{...} +type MetastoreDataAccessAzureManagedIdentityInput interface { pulumi.Input - ToModelServingConfigOutput() ModelServingConfigOutput - ToModelServingConfigOutputWithContext(context.Context) ModelServingConfigOutput + ToMetastoreDataAccessAzureManagedIdentityOutput() MetastoreDataAccessAzureManagedIdentityOutput + ToMetastoreDataAccessAzureManagedIdentityOutputWithContext(context.Context) MetastoreDataAccessAzureManagedIdentityOutput } -type ModelServingConfigArgs struct { - AutoCaptureConfig ModelServingConfigAutoCaptureConfigPtrInput `pulumi:"autoCaptureConfig"` - // Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. - ServedModels ModelServingConfigServedModelArrayInput `pulumi:"servedModels"` - // A single block represents the traffic split configuration amongst the served models. - TrafficConfig ModelServingConfigTrafficConfigPtrInput `pulumi:"trafficConfig"` +type MetastoreDataAccessAzureManagedIdentityArgs struct { + AccessConnectorId pulumi.StringInput `pulumi:"accessConnectorId"` + CredentialId pulumi.StringPtrInput `pulumi:"credentialId"` + ManagedIdentityId pulumi.StringPtrInput `pulumi:"managedIdentityId"` } -func (ModelServingConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfig)(nil)).Elem() +func (MetastoreDataAccessAzureManagedIdentityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessAzureManagedIdentity)(nil)).Elem() } -func (i ModelServingConfigArgs) ToModelServingConfigOutput() ModelServingConfigOutput { - return i.ToModelServingConfigOutputWithContext(context.Background()) +func (i MetastoreDataAccessAzureManagedIdentityArgs) ToMetastoreDataAccessAzureManagedIdentityOutput() MetastoreDataAccessAzureManagedIdentityOutput { + return i.ToMetastoreDataAccessAzureManagedIdentityOutputWithContext(context.Background()) } -func (i ModelServingConfigArgs) ToModelServingConfigOutputWithContext(ctx context.Context) ModelServingConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigOutput) +func (i MetastoreDataAccessAzureManagedIdentityArgs) ToMetastoreDataAccessAzureManagedIdentityOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureManagedIdentityOutput) } -func (i ModelServingConfigArgs) ToModelServingConfigPtrOutput() ModelServingConfigPtrOutput { - return i.ToModelServingConfigPtrOutputWithContext(context.Background()) +func (i MetastoreDataAccessAzureManagedIdentityArgs) ToMetastoreDataAccessAzureManagedIdentityPtrOutput() MetastoreDataAccessAzureManagedIdentityPtrOutput { + return i.ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(context.Background()) } -func (i ModelServingConfigArgs) ToModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigOutput).ToModelServingConfigPtrOutputWithContext(ctx) +func (i MetastoreDataAccessAzureManagedIdentityArgs) ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureManagedIdentityOutput).ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(ctx) } -// ModelServingConfigPtrInput is an input type that accepts ModelServingConfigArgs, ModelServingConfigPtr and ModelServingConfigPtrOutput values. -// You can construct a concrete instance of `ModelServingConfigPtrInput` via: +// MetastoreDataAccessAzureManagedIdentityPtrInput is an input type that accepts MetastoreDataAccessAzureManagedIdentityArgs, MetastoreDataAccessAzureManagedIdentityPtr and MetastoreDataAccessAzureManagedIdentityPtrOutput values. +// You can construct a concrete instance of `MetastoreDataAccessAzureManagedIdentityPtrInput` via: // -// ModelServingConfigArgs{...} +// MetastoreDataAccessAzureManagedIdentityArgs{...} // // or: // // nil -type ModelServingConfigPtrInput interface { +type MetastoreDataAccessAzureManagedIdentityPtrInput interface { pulumi.Input - ToModelServingConfigPtrOutput() ModelServingConfigPtrOutput - ToModelServingConfigPtrOutputWithContext(context.Context) ModelServingConfigPtrOutput + ToMetastoreDataAccessAzureManagedIdentityPtrOutput() MetastoreDataAccessAzureManagedIdentityPtrOutput + ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(context.Context) MetastoreDataAccessAzureManagedIdentityPtrOutput } -type modelServingConfigPtrType ModelServingConfigArgs +type metastoreDataAccessAzureManagedIdentityPtrType MetastoreDataAccessAzureManagedIdentityArgs -func ModelServingConfigPtr(v *ModelServingConfigArgs) ModelServingConfigPtrInput { - return (*modelServingConfigPtrType)(v) +func MetastoreDataAccessAzureManagedIdentityPtr(v *MetastoreDataAccessAzureManagedIdentityArgs) MetastoreDataAccessAzureManagedIdentityPtrInput { + return (*metastoreDataAccessAzureManagedIdentityPtrType)(v) } -func (*modelServingConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfig)(nil)).Elem() +func (*metastoreDataAccessAzureManagedIdentityPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessAzureManagedIdentity)(nil)).Elem() } -func (i *modelServingConfigPtrType) ToModelServingConfigPtrOutput() ModelServingConfigPtrOutput { - return i.ToModelServingConfigPtrOutputWithContext(context.Background()) +func (i *metastoreDataAccessAzureManagedIdentityPtrType) ToMetastoreDataAccessAzureManagedIdentityPtrOutput() MetastoreDataAccessAzureManagedIdentityPtrOutput { + return i.ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(context.Background()) } -func (i *modelServingConfigPtrType) ToModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigPtrOutput) +func (i *metastoreDataAccessAzureManagedIdentityPtrType) ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureManagedIdentityPtrOutput) } -type ModelServingConfigOutput struct{ *pulumi.OutputState } +type MetastoreDataAccessAzureManagedIdentityOutput struct{ *pulumi.OutputState } -func (ModelServingConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfig)(nil)).Elem() +func (MetastoreDataAccessAzureManagedIdentityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessAzureManagedIdentity)(nil)).Elem() } -func (o ModelServingConfigOutput) ToModelServingConfigOutput() ModelServingConfigOutput { +func (o MetastoreDataAccessAzureManagedIdentityOutput) ToMetastoreDataAccessAzureManagedIdentityOutput() MetastoreDataAccessAzureManagedIdentityOutput { return o } -func (o ModelServingConfigOutput) ToModelServingConfigOutputWithContext(ctx context.Context) ModelServingConfigOutput { +func (o MetastoreDataAccessAzureManagedIdentityOutput) ToMetastoreDataAccessAzureManagedIdentityOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityOutput { return o } -func (o ModelServingConfigOutput) ToModelServingConfigPtrOutput() ModelServingConfigPtrOutput { - return o.ToModelServingConfigPtrOutputWithContext(context.Background()) +func (o MetastoreDataAccessAzureManagedIdentityOutput) ToMetastoreDataAccessAzureManagedIdentityPtrOutput() MetastoreDataAccessAzureManagedIdentityPtrOutput { + return o.ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(context.Background()) } -func (o ModelServingConfigOutput) ToModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfig) *ModelServingConfig { +func (o MetastoreDataAccessAzureManagedIdentityOutput) ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessAzureManagedIdentity) *MetastoreDataAccessAzureManagedIdentity { return &v - }).(ModelServingConfigPtrOutput) + }).(MetastoreDataAccessAzureManagedIdentityPtrOutput) } -func (o ModelServingConfigOutput) AutoCaptureConfig() ModelServingConfigAutoCaptureConfigPtrOutput { - return o.ApplyT(func(v ModelServingConfig) *ModelServingConfigAutoCaptureConfig { return v.AutoCaptureConfig }).(ModelServingConfigAutoCaptureConfigPtrOutput) +func (o MetastoreDataAccessAzureManagedIdentityOutput) AccessConnectorId() pulumi.StringOutput { + return o.ApplyT(func(v MetastoreDataAccessAzureManagedIdentity) string { return v.AccessConnectorId }).(pulumi.StringOutput) } -// Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. -func (o ModelServingConfigOutput) ServedModels() ModelServingConfigServedModelArrayOutput { - return o.ApplyT(func(v ModelServingConfig) []ModelServingConfigServedModel { return v.ServedModels }).(ModelServingConfigServedModelArrayOutput) +func (o MetastoreDataAccessAzureManagedIdentityOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MetastoreDataAccessAzureManagedIdentity) *string { return v.CredentialId }).(pulumi.StringPtrOutput) } -// 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 MetastoreDataAccessAzureManagedIdentityOutput) ManagedIdentityId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MetastoreDataAccessAzureManagedIdentity) *string { return v.ManagedIdentityId }).(pulumi.StringPtrOutput) } -type ModelServingConfigPtrOutput struct{ *pulumi.OutputState } +type MetastoreDataAccessAzureManagedIdentityPtrOutput struct{ *pulumi.OutputState } -func (ModelServingConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfig)(nil)).Elem() +func (MetastoreDataAccessAzureManagedIdentityPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessAzureManagedIdentity)(nil)).Elem() } -func (o ModelServingConfigPtrOutput) ToModelServingConfigPtrOutput() ModelServingConfigPtrOutput { +func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) ToMetastoreDataAccessAzureManagedIdentityPtrOutput() MetastoreDataAccessAzureManagedIdentityPtrOutput { return o } -func (o ModelServingConfigPtrOutput) ToModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigPtrOutput { +func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityPtrOutput { return o } -func (o ModelServingConfigPtrOutput) Elem() ModelServingConfigOutput { - return o.ApplyT(func(v *ModelServingConfig) ModelServingConfig { +func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) Elem() MetastoreDataAccessAzureManagedIdentityOutput { + return o.ApplyT(func(v *MetastoreDataAccessAzureManagedIdentity) MetastoreDataAccessAzureManagedIdentity { if v != nil { return *v } - var ret ModelServingConfig + var ret MetastoreDataAccessAzureManagedIdentity return ret - }).(ModelServingConfigOutput) + }).(MetastoreDataAccessAzureManagedIdentityOutput) } -func (o ModelServingConfigPtrOutput) AutoCaptureConfig() ModelServingConfigAutoCaptureConfigPtrOutput { - return o.ApplyT(func(v *ModelServingConfig) *ModelServingConfigAutoCaptureConfig { +func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) AccessConnectorId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessAzureManagedIdentity) *string { if v == nil { return nil } - return v.AutoCaptureConfig - }).(ModelServingConfigAutoCaptureConfigPtrOutput) + return &v.AccessConnectorId + }).(pulumi.StringPtrOutput) } -// Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. -func (o ModelServingConfigPtrOutput) ServedModels() ModelServingConfigServedModelArrayOutput { - return o.ApplyT(func(v *ModelServingConfig) []ModelServingConfigServedModel { +func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessAzureManagedIdentity) *string { if v == nil { return nil } - return v.ServedModels - }).(ModelServingConfigServedModelArrayOutput) + return v.CredentialId + }).(pulumi.StringPtrOutput) } -// 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 MetastoreDataAccessAzureManagedIdentityPtrOutput) ManagedIdentityId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessAzureManagedIdentity) *string { if v == nil { return nil } - return v.TrafficConfig - }).(ModelServingConfigTrafficConfigPtrOutput) + return v.ManagedIdentityId + }).(pulumi.StringPtrOutput) } -type ModelServingConfigAutoCaptureConfig struct { - CatalogName *string `pulumi:"catalogName"` - Enabled *bool `pulumi:"enabled"` - SchemaName *string `pulumi:"schemaName"` - TableNamePrefix *string `pulumi:"tableNamePrefix"` +type MetastoreDataAccessAzureServicePrincipal struct { + ApplicationId string `pulumi:"applicationId"` + ClientSecret string `pulumi:"clientSecret"` + DirectoryId string `pulumi:"directoryId"` } -// ModelServingConfigAutoCaptureConfigInput is an input type that accepts ModelServingConfigAutoCaptureConfigArgs and ModelServingConfigAutoCaptureConfigOutput values. -// You can construct a concrete instance of `ModelServingConfigAutoCaptureConfigInput` via: +// MetastoreDataAccessAzureServicePrincipalInput is an input type that accepts MetastoreDataAccessAzureServicePrincipalArgs and MetastoreDataAccessAzureServicePrincipalOutput values. +// You can construct a concrete instance of `MetastoreDataAccessAzureServicePrincipalInput` via: // -// ModelServingConfigAutoCaptureConfigArgs{...} -type ModelServingConfigAutoCaptureConfigInput interface { +// MetastoreDataAccessAzureServicePrincipalArgs{...} +type MetastoreDataAccessAzureServicePrincipalInput interface { pulumi.Input - ToModelServingConfigAutoCaptureConfigOutput() ModelServingConfigAutoCaptureConfigOutput - ToModelServingConfigAutoCaptureConfigOutputWithContext(context.Context) ModelServingConfigAutoCaptureConfigOutput + ToMetastoreDataAccessAzureServicePrincipalOutput() MetastoreDataAccessAzureServicePrincipalOutput + ToMetastoreDataAccessAzureServicePrincipalOutputWithContext(context.Context) MetastoreDataAccessAzureServicePrincipalOutput } -type ModelServingConfigAutoCaptureConfigArgs struct { - CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - SchemaName pulumi.StringPtrInput `pulumi:"schemaName"` - TableNamePrefix pulumi.StringPtrInput `pulumi:"tableNamePrefix"` +type MetastoreDataAccessAzureServicePrincipalArgs struct { + ApplicationId pulumi.StringInput `pulumi:"applicationId"` + ClientSecret pulumi.StringInput `pulumi:"clientSecret"` + DirectoryId pulumi.StringInput `pulumi:"directoryId"` } -func (ModelServingConfigAutoCaptureConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigAutoCaptureConfig)(nil)).Elem() +func (MetastoreDataAccessAzureServicePrincipalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessAzureServicePrincipal)(nil)).Elem() } -func (i ModelServingConfigAutoCaptureConfigArgs) ToModelServingConfigAutoCaptureConfigOutput() ModelServingConfigAutoCaptureConfigOutput { - return i.ToModelServingConfigAutoCaptureConfigOutputWithContext(context.Background()) +func (i MetastoreDataAccessAzureServicePrincipalArgs) ToMetastoreDataAccessAzureServicePrincipalOutput() MetastoreDataAccessAzureServicePrincipalOutput { + return i.ToMetastoreDataAccessAzureServicePrincipalOutputWithContext(context.Background()) } -func (i ModelServingConfigAutoCaptureConfigArgs) ToModelServingConfigAutoCaptureConfigOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigAutoCaptureConfigOutput) +func (i MetastoreDataAccessAzureServicePrincipalArgs) ToMetastoreDataAccessAzureServicePrincipalOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureServicePrincipalOutput) } -func (i ModelServingConfigAutoCaptureConfigArgs) ToModelServingConfigAutoCaptureConfigPtrOutput() ModelServingConfigAutoCaptureConfigPtrOutput { - return i.ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(context.Background()) +func (i MetastoreDataAccessAzureServicePrincipalArgs) ToMetastoreDataAccessAzureServicePrincipalPtrOutput() MetastoreDataAccessAzureServicePrincipalPtrOutput { + return i.ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(context.Background()) } -func (i ModelServingConfigAutoCaptureConfigArgs) ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigAutoCaptureConfigOutput).ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(ctx) +func (i MetastoreDataAccessAzureServicePrincipalArgs) ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureServicePrincipalOutput).ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(ctx) } -// ModelServingConfigAutoCaptureConfigPtrInput is an input type that accepts ModelServingConfigAutoCaptureConfigArgs, ModelServingConfigAutoCaptureConfigPtr and ModelServingConfigAutoCaptureConfigPtrOutput values. -// You can construct a concrete instance of `ModelServingConfigAutoCaptureConfigPtrInput` via: +// MetastoreDataAccessAzureServicePrincipalPtrInput is an input type that accepts MetastoreDataAccessAzureServicePrincipalArgs, MetastoreDataAccessAzureServicePrincipalPtr and MetastoreDataAccessAzureServicePrincipalPtrOutput values. +// You can construct a concrete instance of `MetastoreDataAccessAzureServicePrincipalPtrInput` via: // -// ModelServingConfigAutoCaptureConfigArgs{...} +// MetastoreDataAccessAzureServicePrincipalArgs{...} // // or: // // nil -type ModelServingConfigAutoCaptureConfigPtrInput interface { +type MetastoreDataAccessAzureServicePrincipalPtrInput interface { pulumi.Input - ToModelServingConfigAutoCaptureConfigPtrOutput() ModelServingConfigAutoCaptureConfigPtrOutput - ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(context.Context) ModelServingConfigAutoCaptureConfigPtrOutput + ToMetastoreDataAccessAzureServicePrincipalPtrOutput() MetastoreDataAccessAzureServicePrincipalPtrOutput + ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(context.Context) MetastoreDataAccessAzureServicePrincipalPtrOutput } -type modelServingConfigAutoCaptureConfigPtrType ModelServingConfigAutoCaptureConfigArgs +type metastoreDataAccessAzureServicePrincipalPtrType MetastoreDataAccessAzureServicePrincipalArgs -func ModelServingConfigAutoCaptureConfigPtr(v *ModelServingConfigAutoCaptureConfigArgs) ModelServingConfigAutoCaptureConfigPtrInput { - return (*modelServingConfigAutoCaptureConfigPtrType)(v) +func MetastoreDataAccessAzureServicePrincipalPtr(v *MetastoreDataAccessAzureServicePrincipalArgs) MetastoreDataAccessAzureServicePrincipalPtrInput { + return (*metastoreDataAccessAzureServicePrincipalPtrType)(v) } -func (*modelServingConfigAutoCaptureConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigAutoCaptureConfig)(nil)).Elem() +func (*metastoreDataAccessAzureServicePrincipalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessAzureServicePrincipal)(nil)).Elem() } -func (i *modelServingConfigAutoCaptureConfigPtrType) ToModelServingConfigAutoCaptureConfigPtrOutput() ModelServingConfigAutoCaptureConfigPtrOutput { - return i.ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(context.Background()) +func (i *metastoreDataAccessAzureServicePrincipalPtrType) ToMetastoreDataAccessAzureServicePrincipalPtrOutput() MetastoreDataAccessAzureServicePrincipalPtrOutput { + return i.ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(context.Background()) } -func (i *modelServingConfigAutoCaptureConfigPtrType) ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigAutoCaptureConfigPtrOutput) +func (i *metastoreDataAccessAzureServicePrincipalPtrType) ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureServicePrincipalPtrOutput) } -type ModelServingConfigAutoCaptureConfigOutput struct{ *pulumi.OutputState } +type MetastoreDataAccessAzureServicePrincipalOutput struct{ *pulumi.OutputState } -func (ModelServingConfigAutoCaptureConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigAutoCaptureConfig)(nil)).Elem() +func (MetastoreDataAccessAzureServicePrincipalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessAzureServicePrincipal)(nil)).Elem() } -func (o ModelServingConfigAutoCaptureConfigOutput) ToModelServingConfigAutoCaptureConfigOutput() ModelServingConfigAutoCaptureConfigOutput { +func (o MetastoreDataAccessAzureServicePrincipalOutput) ToMetastoreDataAccessAzureServicePrincipalOutput() MetastoreDataAccessAzureServicePrincipalOutput { return o } -func (o ModelServingConfigAutoCaptureConfigOutput) ToModelServingConfigAutoCaptureConfigOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigOutput { +func (o MetastoreDataAccessAzureServicePrincipalOutput) ToMetastoreDataAccessAzureServicePrincipalOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalOutput { return o } -func (o ModelServingConfigAutoCaptureConfigOutput) ToModelServingConfigAutoCaptureConfigPtrOutput() ModelServingConfigAutoCaptureConfigPtrOutput { - return o.ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(context.Background()) +func (o MetastoreDataAccessAzureServicePrincipalOutput) ToMetastoreDataAccessAzureServicePrincipalPtrOutput() MetastoreDataAccessAzureServicePrincipalPtrOutput { + return o.ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(context.Background()) } -func (o ModelServingConfigAutoCaptureConfigOutput) ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigAutoCaptureConfig) *ModelServingConfigAutoCaptureConfig { +func (o MetastoreDataAccessAzureServicePrincipalOutput) ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessAzureServicePrincipal) *MetastoreDataAccessAzureServicePrincipal { return &v - }).(ModelServingConfigAutoCaptureConfigPtrOutput) -} - -func (o ModelServingConfigAutoCaptureConfigOutput) CatalogName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigAutoCaptureConfig) *string { return v.CatalogName }).(pulumi.StringPtrOutput) + }).(MetastoreDataAccessAzureServicePrincipalPtrOutput) } -func (o ModelServingConfigAutoCaptureConfigOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ModelServingConfigAutoCaptureConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +func (o MetastoreDataAccessAzureServicePrincipalOutput) ApplicationId() pulumi.StringOutput { + return o.ApplyT(func(v MetastoreDataAccessAzureServicePrincipal) string { return v.ApplicationId }).(pulumi.StringOutput) } -func (o ModelServingConfigAutoCaptureConfigOutput) SchemaName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigAutoCaptureConfig) *string { return v.SchemaName }).(pulumi.StringPtrOutput) +func (o MetastoreDataAccessAzureServicePrincipalOutput) ClientSecret() pulumi.StringOutput { + return o.ApplyT(func(v MetastoreDataAccessAzureServicePrincipal) string { return v.ClientSecret }).(pulumi.StringOutput) } -func (o ModelServingConfigAutoCaptureConfigOutput) TableNamePrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigAutoCaptureConfig) *string { return v.TableNamePrefix }).(pulumi.StringPtrOutput) +func (o MetastoreDataAccessAzureServicePrincipalOutput) DirectoryId() pulumi.StringOutput { + return o.ApplyT(func(v MetastoreDataAccessAzureServicePrincipal) string { return v.DirectoryId }).(pulumi.StringOutput) } -type ModelServingConfigAutoCaptureConfigPtrOutput struct{ *pulumi.OutputState } +type MetastoreDataAccessAzureServicePrincipalPtrOutput struct{ *pulumi.OutputState } -func (ModelServingConfigAutoCaptureConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigAutoCaptureConfig)(nil)).Elem() +func (MetastoreDataAccessAzureServicePrincipalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessAzureServicePrincipal)(nil)).Elem() } -func (o ModelServingConfigAutoCaptureConfigPtrOutput) ToModelServingConfigAutoCaptureConfigPtrOutput() ModelServingConfigAutoCaptureConfigPtrOutput { +func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) ToMetastoreDataAccessAzureServicePrincipalPtrOutput() MetastoreDataAccessAzureServicePrincipalPtrOutput { return o } -func (o ModelServingConfigAutoCaptureConfigPtrOutput) ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigPtrOutput { +func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalPtrOutput { return o } -func (o ModelServingConfigAutoCaptureConfigPtrOutput) Elem() ModelServingConfigAutoCaptureConfigOutput { - return o.ApplyT(func(v *ModelServingConfigAutoCaptureConfig) ModelServingConfigAutoCaptureConfig { +func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) Elem() MetastoreDataAccessAzureServicePrincipalOutput { + return o.ApplyT(func(v *MetastoreDataAccessAzureServicePrincipal) MetastoreDataAccessAzureServicePrincipal { if v != nil { return *v } - var ret ModelServingConfigAutoCaptureConfig + var ret MetastoreDataAccessAzureServicePrincipal return ret - }).(ModelServingConfigAutoCaptureConfigOutput) + }).(MetastoreDataAccessAzureServicePrincipalOutput) } -func (o ModelServingConfigAutoCaptureConfigPtrOutput) CatalogName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigAutoCaptureConfig) *string { +func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) ApplicationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessAzureServicePrincipal) *string { if v == nil { return nil } - return v.CatalogName + return &v.ApplicationId }).(pulumi.StringPtrOutput) } -func (o ModelServingConfigAutoCaptureConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ModelServingConfigAutoCaptureConfig) *bool { - if v == nil { - return nil - } - return v.Enabled - }).(pulumi.BoolPtrOutput) -} - -func (o ModelServingConfigAutoCaptureConfigPtrOutput) SchemaName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigAutoCaptureConfig) *string { +func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) ClientSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessAzureServicePrincipal) *string { if v == nil { return nil } - return v.SchemaName + return &v.ClientSecret }).(pulumi.StringPtrOutput) } -func (o ModelServingConfigAutoCaptureConfigPtrOutput) TableNamePrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigAutoCaptureConfig) *string { +func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) DirectoryId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessAzureServicePrincipal) *string { if v == nil { return nil } - return v.TableNamePrefix + return &v.DirectoryId }).(pulumi.StringPtrOutput) } -type ModelServingConfigServedModel struct { - // a map of environment variable name/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]interface{} `pulumi:"environmentVars"` - // ARN of the instance profile that the served model will use to access AWS resources. - InstanceProfileArn *string `pulumi:"instanceProfileArn"` - // 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 documentation for all options. The default value is `CPU`. - WorkloadType *string `pulumi:"workloadType"` +type MetastoreDataAccessDatabricksGcpServiceAccount struct { + CredentialId *string `pulumi:"credentialId"` + Email *string `pulumi:"email"` } -// ModelServingConfigServedModelInput is an input type that accepts ModelServingConfigServedModelArgs and ModelServingConfigServedModelOutput values. -// You can construct a concrete instance of `ModelServingConfigServedModelInput` via: +// MetastoreDataAccessDatabricksGcpServiceAccountInput is an input type that accepts MetastoreDataAccessDatabricksGcpServiceAccountArgs and MetastoreDataAccessDatabricksGcpServiceAccountOutput values. +// You can construct a concrete instance of `MetastoreDataAccessDatabricksGcpServiceAccountInput` via: // -// ModelServingConfigServedModelArgs{...} -type ModelServingConfigServedModelInput interface { +// MetastoreDataAccessDatabricksGcpServiceAccountArgs{...} +type MetastoreDataAccessDatabricksGcpServiceAccountInput interface { pulumi.Input - ToModelServingConfigServedModelOutput() ModelServingConfigServedModelOutput - ToModelServingConfigServedModelOutputWithContext(context.Context) ModelServingConfigServedModelOutput + ToMetastoreDataAccessDatabricksGcpServiceAccountOutput() MetastoreDataAccessDatabricksGcpServiceAccountOutput + ToMetastoreDataAccessDatabricksGcpServiceAccountOutputWithContext(context.Context) MetastoreDataAccessDatabricksGcpServiceAccountOutput } -type ModelServingConfigServedModelArgs struct { - // a map of environment variable name/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.MapInput `pulumi:"environmentVars"` - // ARN of the instance profile that the served model will use to access AWS resources. - InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` - // 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.StringInput `pulumi:"workloadSize"` - // The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. - WorkloadType pulumi.StringPtrInput `pulumi:"workloadType"` +type MetastoreDataAccessDatabricksGcpServiceAccountArgs struct { + CredentialId pulumi.StringPtrInput `pulumi:"credentialId"` + Email pulumi.StringPtrInput `pulumi:"email"` } -func (ModelServingConfigServedModelArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedModel)(nil)).Elem() +func (MetastoreDataAccessDatabricksGcpServiceAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessDatabricksGcpServiceAccount)(nil)).Elem() } -func (i ModelServingConfigServedModelArgs) ToModelServingConfigServedModelOutput() ModelServingConfigServedModelOutput { - return i.ToModelServingConfigServedModelOutputWithContext(context.Background()) +func (i MetastoreDataAccessDatabricksGcpServiceAccountArgs) ToMetastoreDataAccessDatabricksGcpServiceAccountOutput() MetastoreDataAccessDatabricksGcpServiceAccountOutput { + return i.ToMetastoreDataAccessDatabricksGcpServiceAccountOutputWithContext(context.Background()) } -func (i ModelServingConfigServedModelArgs) ToModelServingConfigServedModelOutputWithContext(ctx context.Context) ModelServingConfigServedModelOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedModelOutput) +func (i MetastoreDataAccessDatabricksGcpServiceAccountArgs) ToMetastoreDataAccessDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessDatabricksGcpServiceAccountOutput) } -// ModelServingConfigServedModelArrayInput is an input type that accepts ModelServingConfigServedModelArray and ModelServingConfigServedModelArrayOutput values. -// You can construct a concrete instance of `ModelServingConfigServedModelArrayInput` via: +func (i MetastoreDataAccessDatabricksGcpServiceAccountArgs) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutput() MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { + return i.ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) +} + +func (i MetastoreDataAccessDatabricksGcpServiceAccountArgs) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessDatabricksGcpServiceAccountOutput).ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(ctx) +} + +// MetastoreDataAccessDatabricksGcpServiceAccountPtrInput is an input type that accepts MetastoreDataAccessDatabricksGcpServiceAccountArgs, MetastoreDataAccessDatabricksGcpServiceAccountPtr and MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput values. +// You can construct a concrete instance of `MetastoreDataAccessDatabricksGcpServiceAccountPtrInput` via: // -// ModelServingConfigServedModelArray{ ModelServingConfigServedModelArgs{...} } -type ModelServingConfigServedModelArrayInput interface { +// MetastoreDataAccessDatabricksGcpServiceAccountArgs{...} +// +// or: +// +// nil +type MetastoreDataAccessDatabricksGcpServiceAccountPtrInput interface { pulumi.Input - ToModelServingConfigServedModelArrayOutput() ModelServingConfigServedModelArrayOutput - ToModelServingConfigServedModelArrayOutputWithContext(context.Context) ModelServingConfigServedModelArrayOutput + ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutput() MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput + ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(context.Context) MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput } -type ModelServingConfigServedModelArray []ModelServingConfigServedModelInput +type metastoreDataAccessDatabricksGcpServiceAccountPtrType MetastoreDataAccessDatabricksGcpServiceAccountArgs -func (ModelServingConfigServedModelArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ModelServingConfigServedModel)(nil)).Elem() +func MetastoreDataAccessDatabricksGcpServiceAccountPtr(v *MetastoreDataAccessDatabricksGcpServiceAccountArgs) MetastoreDataAccessDatabricksGcpServiceAccountPtrInput { + return (*metastoreDataAccessDatabricksGcpServiceAccountPtrType)(v) } -func (i ModelServingConfigServedModelArray) ToModelServingConfigServedModelArrayOutput() ModelServingConfigServedModelArrayOutput { - return i.ToModelServingConfigServedModelArrayOutputWithContext(context.Background()) +func (*metastoreDataAccessDatabricksGcpServiceAccountPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessDatabricksGcpServiceAccount)(nil)).Elem() } -func (i ModelServingConfigServedModelArray) ToModelServingConfigServedModelArrayOutputWithContext(ctx context.Context) ModelServingConfigServedModelArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedModelArrayOutput) +func (i *metastoreDataAccessDatabricksGcpServiceAccountPtrType) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutput() MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { + return i.ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) } -type ModelServingConfigServedModelOutput struct{ *pulumi.OutputState } - -func (ModelServingConfigServedModelOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedModel)(nil)).Elem() +func (i *metastoreDataAccessDatabricksGcpServiceAccountPtrType) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) } -func (o ModelServingConfigServedModelOutput) ToModelServingConfigServedModelOutput() ModelServingConfigServedModelOutput { - return o +type MetastoreDataAccessDatabricksGcpServiceAccountOutput struct{ *pulumi.OutputState } + +func (MetastoreDataAccessDatabricksGcpServiceAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessDatabricksGcpServiceAccount)(nil)).Elem() } -func (o ModelServingConfigServedModelOutput) ToModelServingConfigServedModelOutputWithContext(ctx context.Context) ModelServingConfigServedModelOutput { +func (o MetastoreDataAccessDatabricksGcpServiceAccountOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountOutput() MetastoreDataAccessDatabricksGcpServiceAccountOutput { return o } -// a map of environment variable name/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.MapOutput { - return o.ApplyT(func(v ModelServingConfigServedModel) map[string]interface{} { return v.EnvironmentVars }).(pulumi.MapOutput) +func (o MetastoreDataAccessDatabricksGcpServiceAccountOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountOutput { + return o } -// 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 (o MetastoreDataAccessDatabricksGcpServiceAccountOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutput() MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { + return o.ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) } -// 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 MetastoreDataAccessDatabricksGcpServiceAccountOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessDatabricksGcpServiceAccount) *MetastoreDataAccessDatabricksGcpServiceAccount { + return &v + }).(MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) } -// 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 MetastoreDataAccessDatabricksGcpServiceAccountOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MetastoreDataAccessDatabricksGcpServiceAccount) *string { return v.CredentialId }).(pulumi.StringPtrOutput) } -// 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 MetastoreDataAccessDatabricksGcpServiceAccountOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v MetastoreDataAccessDatabricksGcpServiceAccount) *string { return v.Email }).(pulumi.StringPtrOutput) } -// 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) -} +type MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput struct{ *pulumi.OutputState } -// 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.StringOutput { - return o.ApplyT(func(v ModelServingConfigServedModel) string { return v.WorkloadSize }).(pulumi.StringOutput) +func (MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessDatabricksGcpServiceAccount)(nil)).Elem() } -// The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. -func (o ModelServingConfigServedModelOutput) WorkloadType() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedModel) *string { return v.WorkloadType }).(pulumi.StringPtrOutput) +func (o MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutput() MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { + return o } -type ModelServingConfigServedModelArrayOutput struct{ *pulumi.OutputState } - -func (ModelServingConfigServedModelArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ModelServingConfigServedModel)(nil)).Elem() +func (o MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { + return o } -func (o ModelServingConfigServedModelArrayOutput) ToModelServingConfigServedModelArrayOutput() ModelServingConfigServedModelArrayOutput { - return o +func (o MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) Elem() MetastoreDataAccessDatabricksGcpServiceAccountOutput { + return o.ApplyT(func(v *MetastoreDataAccessDatabricksGcpServiceAccount) MetastoreDataAccessDatabricksGcpServiceAccount { + if v != nil { + return *v + } + var ret MetastoreDataAccessDatabricksGcpServiceAccount + return ret + }).(MetastoreDataAccessDatabricksGcpServiceAccountOutput) } -func (o ModelServingConfigServedModelArrayOutput) ToModelServingConfigServedModelArrayOutputWithContext(ctx context.Context) ModelServingConfigServedModelArrayOutput { - return o +func (o MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessDatabricksGcpServiceAccount) *string { + if v == nil { + return nil + } + return v.CredentialId + }).(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) +func (o MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessDatabricksGcpServiceAccount) *string { + if v == nil { + return nil + } + return v.Email + }).(pulumi.StringPtrOutput) } -type ModelServingConfigTrafficConfig struct { - // Each block represents a route that defines traffic to each served model. Each `servedModels` block needs to have a corresponding `routes` block - Routes []ModelServingConfigTrafficConfigRoute `pulumi:"routes"` +type MetastoreDataAccessGcpServiceAccountKey struct { + Email string `pulumi:"email"` + PrivateKey string `pulumi:"privateKey"` + PrivateKeyId string `pulumi:"privateKeyId"` } -// ModelServingConfigTrafficConfigInput is an input type that accepts ModelServingConfigTrafficConfigArgs and ModelServingConfigTrafficConfigOutput values. -// You can construct a concrete instance of `ModelServingConfigTrafficConfigInput` via: +// MetastoreDataAccessGcpServiceAccountKeyInput is an input type that accepts MetastoreDataAccessGcpServiceAccountKeyArgs and MetastoreDataAccessGcpServiceAccountKeyOutput values. +// You can construct a concrete instance of `MetastoreDataAccessGcpServiceAccountKeyInput` via: // -// ModelServingConfigTrafficConfigArgs{...} -type ModelServingConfigTrafficConfigInput interface { +// MetastoreDataAccessGcpServiceAccountKeyArgs{...} +type MetastoreDataAccessGcpServiceAccountKeyInput interface { pulumi.Input - ToModelServingConfigTrafficConfigOutput() ModelServingConfigTrafficConfigOutput - ToModelServingConfigTrafficConfigOutputWithContext(context.Context) ModelServingConfigTrafficConfigOutput + ToMetastoreDataAccessGcpServiceAccountKeyOutput() MetastoreDataAccessGcpServiceAccountKeyOutput + ToMetastoreDataAccessGcpServiceAccountKeyOutputWithContext(context.Context) MetastoreDataAccessGcpServiceAccountKeyOutput } -type ModelServingConfigTrafficConfigArgs struct { - // Each block represents a route that defines traffic to each served model. Each `servedModels` block needs to have a corresponding `routes` block - Routes ModelServingConfigTrafficConfigRouteArrayInput `pulumi:"routes"` +type MetastoreDataAccessGcpServiceAccountKeyArgs struct { + Email pulumi.StringInput `pulumi:"email"` + PrivateKey pulumi.StringInput `pulumi:"privateKey"` + PrivateKeyId pulumi.StringInput `pulumi:"privateKeyId"` } -func (ModelServingConfigTrafficConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigTrafficConfig)(nil)).Elem() +func (MetastoreDataAccessGcpServiceAccountKeyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessGcpServiceAccountKey)(nil)).Elem() } -func (i ModelServingConfigTrafficConfigArgs) ToModelServingConfigTrafficConfigOutput() ModelServingConfigTrafficConfigOutput { - return i.ToModelServingConfigTrafficConfigOutputWithContext(context.Background()) +func (i MetastoreDataAccessGcpServiceAccountKeyArgs) ToMetastoreDataAccessGcpServiceAccountKeyOutput() MetastoreDataAccessGcpServiceAccountKeyOutput { + return i.ToMetastoreDataAccessGcpServiceAccountKeyOutputWithContext(context.Background()) } -func (i ModelServingConfigTrafficConfigArgs) ToModelServingConfigTrafficConfigOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigTrafficConfigOutput) +func (i MetastoreDataAccessGcpServiceAccountKeyArgs) ToMetastoreDataAccessGcpServiceAccountKeyOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessGcpServiceAccountKeyOutput) } -func (i ModelServingConfigTrafficConfigArgs) ToModelServingConfigTrafficConfigPtrOutput() ModelServingConfigTrafficConfigPtrOutput { - return i.ToModelServingConfigTrafficConfigPtrOutputWithContext(context.Background()) +func (i MetastoreDataAccessGcpServiceAccountKeyArgs) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutput() MetastoreDataAccessGcpServiceAccountKeyPtrOutput { + return i.ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(context.Background()) } -func (i ModelServingConfigTrafficConfigArgs) ToModelServingConfigTrafficConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigTrafficConfigOutput).ToModelServingConfigTrafficConfigPtrOutputWithContext(ctx) +func (i MetastoreDataAccessGcpServiceAccountKeyArgs) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessGcpServiceAccountKeyOutput).ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(ctx) } -// ModelServingConfigTrafficConfigPtrInput is an input type that accepts ModelServingConfigTrafficConfigArgs, ModelServingConfigTrafficConfigPtr and ModelServingConfigTrafficConfigPtrOutput values. -// You can construct a concrete instance of `ModelServingConfigTrafficConfigPtrInput` via: +// MetastoreDataAccessGcpServiceAccountKeyPtrInput is an input type that accepts MetastoreDataAccessGcpServiceAccountKeyArgs, MetastoreDataAccessGcpServiceAccountKeyPtr and MetastoreDataAccessGcpServiceAccountKeyPtrOutput values. +// You can construct a concrete instance of `MetastoreDataAccessGcpServiceAccountKeyPtrInput` via: // -// ModelServingConfigTrafficConfigArgs{...} +// MetastoreDataAccessGcpServiceAccountKeyArgs{...} // // or: // // nil -type ModelServingConfigTrafficConfigPtrInput interface { +type MetastoreDataAccessGcpServiceAccountKeyPtrInput interface { pulumi.Input - ToModelServingConfigTrafficConfigPtrOutput() ModelServingConfigTrafficConfigPtrOutput - ToModelServingConfigTrafficConfigPtrOutputWithContext(context.Context) ModelServingConfigTrafficConfigPtrOutput -} + ToMetastoreDataAccessGcpServiceAccountKeyPtrOutput() MetastoreDataAccessGcpServiceAccountKeyPtrOutput + ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(context.Context) MetastoreDataAccessGcpServiceAccountKeyPtrOutput +} -type modelServingConfigTrafficConfigPtrType ModelServingConfigTrafficConfigArgs +type metastoreDataAccessGcpServiceAccountKeyPtrType MetastoreDataAccessGcpServiceAccountKeyArgs -func ModelServingConfigTrafficConfigPtr(v *ModelServingConfigTrafficConfigArgs) ModelServingConfigTrafficConfigPtrInput { - return (*modelServingConfigTrafficConfigPtrType)(v) +func MetastoreDataAccessGcpServiceAccountKeyPtr(v *MetastoreDataAccessGcpServiceAccountKeyArgs) MetastoreDataAccessGcpServiceAccountKeyPtrInput { + return (*metastoreDataAccessGcpServiceAccountKeyPtrType)(v) } -func (*modelServingConfigTrafficConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigTrafficConfig)(nil)).Elem() +func (*metastoreDataAccessGcpServiceAccountKeyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessGcpServiceAccountKey)(nil)).Elem() } -func (i *modelServingConfigTrafficConfigPtrType) ToModelServingConfigTrafficConfigPtrOutput() ModelServingConfigTrafficConfigPtrOutput { - return i.ToModelServingConfigTrafficConfigPtrOutputWithContext(context.Background()) +func (i *metastoreDataAccessGcpServiceAccountKeyPtrType) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutput() MetastoreDataAccessGcpServiceAccountKeyPtrOutput { + return i.ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(context.Background()) } -func (i *modelServingConfigTrafficConfigPtrType) ToModelServingConfigTrafficConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigTrafficConfigPtrOutput) +func (i *metastoreDataAccessGcpServiceAccountKeyPtrType) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessGcpServiceAccountKeyPtrOutput) } -type ModelServingConfigTrafficConfigOutput struct{ *pulumi.OutputState } +type MetastoreDataAccessGcpServiceAccountKeyOutput struct{ *pulumi.OutputState } -func (ModelServingConfigTrafficConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigTrafficConfig)(nil)).Elem() +func (MetastoreDataAccessGcpServiceAccountKeyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessGcpServiceAccountKey)(nil)).Elem() } -func (o ModelServingConfigTrafficConfigOutput) ToModelServingConfigTrafficConfigOutput() ModelServingConfigTrafficConfigOutput { +func (o MetastoreDataAccessGcpServiceAccountKeyOutput) ToMetastoreDataAccessGcpServiceAccountKeyOutput() MetastoreDataAccessGcpServiceAccountKeyOutput { return o } -func (o ModelServingConfigTrafficConfigOutput) ToModelServingConfigTrafficConfigOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigOutput { +func (o MetastoreDataAccessGcpServiceAccountKeyOutput) ToMetastoreDataAccessGcpServiceAccountKeyOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyOutput { return o } -func (o ModelServingConfigTrafficConfigOutput) ToModelServingConfigTrafficConfigPtrOutput() ModelServingConfigTrafficConfigPtrOutput { - return o.ToModelServingConfigTrafficConfigPtrOutputWithContext(context.Background()) +func (o MetastoreDataAccessGcpServiceAccountKeyOutput) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutput() MetastoreDataAccessGcpServiceAccountKeyPtrOutput { + return o.ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(context.Background()) } -func (o ModelServingConfigTrafficConfigOutput) ToModelServingConfigTrafficConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigTrafficConfig) *ModelServingConfigTrafficConfig { +func (o MetastoreDataAccessGcpServiceAccountKeyOutput) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessGcpServiceAccountKey) *MetastoreDataAccessGcpServiceAccountKey { return &v - }).(ModelServingConfigTrafficConfigPtrOutput) + }).(MetastoreDataAccessGcpServiceAccountKeyPtrOutput) } -// Each block represents a route that defines traffic to each served model. Each `servedModels` block needs to have a corresponding `routes` block -func (o ModelServingConfigTrafficConfigOutput) Routes() ModelServingConfigTrafficConfigRouteArrayOutput { - return o.ApplyT(func(v ModelServingConfigTrafficConfig) []ModelServingConfigTrafficConfigRoute { return v.Routes }).(ModelServingConfigTrafficConfigRouteArrayOutput) +func (o MetastoreDataAccessGcpServiceAccountKeyOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v MetastoreDataAccessGcpServiceAccountKey) string { return v.Email }).(pulumi.StringOutput) } -type ModelServingConfigTrafficConfigPtrOutput struct{ *pulumi.OutputState } +func (o MetastoreDataAccessGcpServiceAccountKeyOutput) PrivateKey() pulumi.StringOutput { + return o.ApplyT(func(v MetastoreDataAccessGcpServiceAccountKey) string { return v.PrivateKey }).(pulumi.StringOutput) +} -func (ModelServingConfigTrafficConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigTrafficConfig)(nil)).Elem() +func (o MetastoreDataAccessGcpServiceAccountKeyOutput) PrivateKeyId() pulumi.StringOutput { + return o.ApplyT(func(v MetastoreDataAccessGcpServiceAccountKey) string { return v.PrivateKeyId }).(pulumi.StringOutput) } -func (o ModelServingConfigTrafficConfigPtrOutput) ToModelServingConfigTrafficConfigPtrOutput() ModelServingConfigTrafficConfigPtrOutput { +type MetastoreDataAccessGcpServiceAccountKeyPtrOutput struct{ *pulumi.OutputState } + +func (MetastoreDataAccessGcpServiceAccountKeyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessGcpServiceAccountKey)(nil)).Elem() +} + +func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutput() MetastoreDataAccessGcpServiceAccountKeyPtrOutput { return o } -func (o ModelServingConfigTrafficConfigPtrOutput) ToModelServingConfigTrafficConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigPtrOutput { +func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyPtrOutput { return o } -func (o ModelServingConfigTrafficConfigPtrOutput) Elem() ModelServingConfigTrafficConfigOutput { - return o.ApplyT(func(v *ModelServingConfigTrafficConfig) ModelServingConfigTrafficConfig { +func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) Elem() MetastoreDataAccessGcpServiceAccountKeyOutput { + return o.ApplyT(func(v *MetastoreDataAccessGcpServiceAccountKey) MetastoreDataAccessGcpServiceAccountKey { if v != nil { return *v } - var ret ModelServingConfigTrafficConfig + var ret MetastoreDataAccessGcpServiceAccountKey return ret - }).(ModelServingConfigTrafficConfigOutput) + }).(MetastoreDataAccessGcpServiceAccountKeyOutput) } -// Each block represents a route that defines traffic to each served model. Each `servedModels` block needs to have a corresponding `routes` block -func (o ModelServingConfigTrafficConfigPtrOutput) Routes() ModelServingConfigTrafficConfigRouteArrayOutput { - return o.ApplyT(func(v *ModelServingConfigTrafficConfig) []ModelServingConfigTrafficConfigRoute { +func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessGcpServiceAccountKey) *string { if v == nil { return nil } - return v.Routes - }).(ModelServingConfigTrafficConfigRouteArrayOutput) + return &v.Email + }).(pulumi.StringPtrOutput) } -type ModelServingConfigTrafficConfigRoute struct { - // The name of the served model this route configures traffic for. This needs to match the name of a `servedModels` block - 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 MetastoreDataAccessGcpServiceAccountKeyPtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessGcpServiceAccountKey) *string { + if v == nil { + return nil + } + return &v.PrivateKey + }).(pulumi.StringPtrOutput) } -// ModelServingConfigTrafficConfigRouteInput is an input type that accepts ModelServingConfigTrafficConfigRouteArgs and ModelServingConfigTrafficConfigRouteOutput values. -// You can construct a concrete instance of `ModelServingConfigTrafficConfigRouteInput` via: +func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) PrivateKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessGcpServiceAccountKey) *string { + 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: // -// ModelServingConfigTrafficConfigRouteArgs{...} -type ModelServingConfigTrafficConfigRouteInput interface { +// MlflowModelTagArgs{...} +type MlflowModelTagInput interface { pulumi.Input - ToModelServingConfigTrafficConfigRouteOutput() ModelServingConfigTrafficConfigRouteOutput - ToModelServingConfigTrafficConfigRouteOutputWithContext(context.Context) ModelServingConfigTrafficConfigRouteOutput + ToMlflowModelTagOutput() MlflowModelTagOutput + ToMlflowModelTagOutputWithContext(context.Context) MlflowModelTagOutput } -type ModelServingConfigTrafficConfigRouteArgs struct { - // The name of the served model this route configures traffic for. This needs to match the name of a `servedModels` block - 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 MlflowModelTagArgs struct { + Key pulumi.StringPtrInput `pulumi:"key"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (ModelServingConfigTrafficConfigRouteArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigTrafficConfigRoute)(nil)).Elem() +func (MlflowModelTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MlflowModelTag)(nil)).Elem() } -func (i ModelServingConfigTrafficConfigRouteArgs) ToModelServingConfigTrafficConfigRouteOutput() ModelServingConfigTrafficConfigRouteOutput { - return i.ToModelServingConfigTrafficConfigRouteOutputWithContext(context.Background()) +func (i MlflowModelTagArgs) ToMlflowModelTagOutput() MlflowModelTagOutput { + return i.ToMlflowModelTagOutputWithContext(context.Background()) } -func (i ModelServingConfigTrafficConfigRouteArgs) ToModelServingConfigTrafficConfigRouteOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigRouteOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigTrafficConfigRouteOutput) +func (i MlflowModelTagArgs) ToMlflowModelTagOutputWithContext(ctx context.Context) MlflowModelTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(MlflowModelTagOutput) } -// ModelServingConfigTrafficConfigRouteArrayInput is an input type that accepts ModelServingConfigTrafficConfigRouteArray and ModelServingConfigTrafficConfigRouteArrayOutput values. -// You can construct a concrete instance of `ModelServingConfigTrafficConfigRouteArrayInput` via: +// MlflowModelTagArrayInput is an input type that accepts MlflowModelTagArray and MlflowModelTagArrayOutput values. +// You can construct a concrete instance of `MlflowModelTagArrayInput` via: // -// ModelServingConfigTrafficConfigRouteArray{ ModelServingConfigTrafficConfigRouteArgs{...} } -type ModelServingConfigTrafficConfigRouteArrayInput interface { +// MlflowModelTagArray{ MlflowModelTagArgs{...} } +type MlflowModelTagArrayInput interface { pulumi.Input - ToModelServingConfigTrafficConfigRouteArrayOutput() ModelServingConfigTrafficConfigRouteArrayOutput - ToModelServingConfigTrafficConfigRouteArrayOutputWithContext(context.Context) ModelServingConfigTrafficConfigRouteArrayOutput + ToMlflowModelTagArrayOutput() MlflowModelTagArrayOutput + ToMlflowModelTagArrayOutputWithContext(context.Context) MlflowModelTagArrayOutput } -type ModelServingConfigTrafficConfigRouteArray []ModelServingConfigTrafficConfigRouteInput +type MlflowModelTagArray []MlflowModelTagInput -func (ModelServingConfigTrafficConfigRouteArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ModelServingConfigTrafficConfigRoute)(nil)).Elem() +func (MlflowModelTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MlflowModelTag)(nil)).Elem() } -func (i ModelServingConfigTrafficConfigRouteArray) ToModelServingConfigTrafficConfigRouteArrayOutput() ModelServingConfigTrafficConfigRouteArrayOutput { - return i.ToModelServingConfigTrafficConfigRouteArrayOutputWithContext(context.Background()) +func (i MlflowModelTagArray) ToMlflowModelTagArrayOutput() MlflowModelTagArrayOutput { + return i.ToMlflowModelTagArrayOutputWithContext(context.Background()) } -func (i ModelServingConfigTrafficConfigRouteArray) ToModelServingConfigTrafficConfigRouteArrayOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigRouteArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigTrafficConfigRouteArrayOutput) +func (i MlflowModelTagArray) ToMlflowModelTagArrayOutputWithContext(ctx context.Context) MlflowModelTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MlflowModelTagArrayOutput) } -type ModelServingConfigTrafficConfigRouteOutput struct{ *pulumi.OutputState } +type MlflowModelTagOutput struct{ *pulumi.OutputState } -func (ModelServingConfigTrafficConfigRouteOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigTrafficConfigRoute)(nil)).Elem() +func (MlflowModelTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MlflowModelTag)(nil)).Elem() } -func (o ModelServingConfigTrafficConfigRouteOutput) ToModelServingConfigTrafficConfigRouteOutput() ModelServingConfigTrafficConfigRouteOutput { +func (o MlflowModelTagOutput) ToMlflowModelTagOutput() MlflowModelTagOutput { return o } -func (o ModelServingConfigTrafficConfigRouteOutput) ToModelServingConfigTrafficConfigRouteOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigRouteOutput { +func (o MlflowModelTagOutput) ToMlflowModelTagOutputWithContext(ctx context.Context) MlflowModelTagOutput { return o } -// The name of the served model this route configures traffic for. This needs to match the name of a `servedModels` block -func (o ModelServingConfigTrafficConfigRouteOutput) ServedModelName() pulumi.StringOutput { - return o.ApplyT(func(v ModelServingConfigTrafficConfigRoute) string { return v.ServedModelName }).(pulumi.StringOutput) +func (o MlflowModelTagOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v MlflowModelTag) *string { return v.Key }).(pulumi.StringPtrOutput) } -// 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 MlflowModelTagOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v MlflowModelTag) *string { return v.Value }).(pulumi.StringPtrOutput) } -type ModelServingConfigTrafficConfigRouteArrayOutput struct{ *pulumi.OutputState } +type MlflowModelTagArrayOutput struct{ *pulumi.OutputState } -func (ModelServingConfigTrafficConfigRouteArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ModelServingConfigTrafficConfigRoute)(nil)).Elem() +func (MlflowModelTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MlflowModelTag)(nil)).Elem() } -func (o ModelServingConfigTrafficConfigRouteArrayOutput) ToModelServingConfigTrafficConfigRouteArrayOutput() ModelServingConfigTrafficConfigRouteArrayOutput { +func (o MlflowModelTagArrayOutput) ToMlflowModelTagArrayOutput() MlflowModelTagArrayOutput { return o } -func (o ModelServingConfigTrafficConfigRouteArrayOutput) ToModelServingConfigTrafficConfigRouteArrayOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigRouteArrayOutput { +func (o MlflowModelTagArrayOutput) ToMlflowModelTagArrayOutputWithContext(ctx context.Context) MlflowModelTagArrayOutput { 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 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 ModelServingRateLimit struct { - Calls int `pulumi:"calls"` - Key *string `pulumi:"key"` - RenewalPeriod string `pulumi:"renewalPeriod"` +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"` } -// ModelServingRateLimitInput is an input type that accepts ModelServingRateLimitArgs and ModelServingRateLimitOutput values. -// You can construct a concrete instance of `ModelServingRateLimitInput` via: +// MlflowWebhookHttpUrlSpecInput is an input type that accepts MlflowWebhookHttpUrlSpecArgs and MlflowWebhookHttpUrlSpecOutput values. +// You can construct a concrete instance of `MlflowWebhookHttpUrlSpecInput` via: // -// ModelServingRateLimitArgs{...} -type ModelServingRateLimitInput interface { +// MlflowWebhookHttpUrlSpecArgs{...} +type MlflowWebhookHttpUrlSpecInput interface { pulumi.Input - ToModelServingRateLimitOutput() ModelServingRateLimitOutput - ToModelServingRateLimitOutputWithContext(context.Context) ModelServingRateLimitOutput + ToMlflowWebhookHttpUrlSpecOutput() MlflowWebhookHttpUrlSpecOutput + ToMlflowWebhookHttpUrlSpecOutputWithContext(context.Context) MlflowWebhookHttpUrlSpecOutput } -type ModelServingRateLimitArgs struct { - Calls pulumi.IntInput `pulumi:"calls"` - Key pulumi.StringPtrInput `pulumi:"key"` - RenewalPeriod pulumi.StringInput `pulumi:"renewalPeriod"` +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 (ModelServingRateLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingRateLimit)(nil)).Elem() +func (MlflowWebhookHttpUrlSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MlflowWebhookHttpUrlSpec)(nil)).Elem() } -func (i ModelServingRateLimitArgs) ToModelServingRateLimitOutput() ModelServingRateLimitOutput { - return i.ToModelServingRateLimitOutputWithContext(context.Background()) +func (i MlflowWebhookHttpUrlSpecArgs) ToMlflowWebhookHttpUrlSpecOutput() MlflowWebhookHttpUrlSpecOutput { + return i.ToMlflowWebhookHttpUrlSpecOutputWithContext(context.Background()) } -func (i ModelServingRateLimitArgs) ToModelServingRateLimitOutputWithContext(ctx context.Context) ModelServingRateLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingRateLimitOutput) +func (i MlflowWebhookHttpUrlSpecArgs) ToMlflowWebhookHttpUrlSpecOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookHttpUrlSpecOutput) } -// ModelServingRateLimitArrayInput is an input type that accepts ModelServingRateLimitArray and ModelServingRateLimitArrayOutput values. -// You can construct a concrete instance of `ModelServingRateLimitArrayInput` via: +func (i MlflowWebhookHttpUrlSpecArgs) ToMlflowWebhookHttpUrlSpecPtrOutput() MlflowWebhookHttpUrlSpecPtrOutput { + return i.ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(context.Background()) +} + +func (i MlflowWebhookHttpUrlSpecArgs) ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookHttpUrlSpecOutput).ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(ctx) +} + +// MlflowWebhookHttpUrlSpecPtrInput is an input type that accepts MlflowWebhookHttpUrlSpecArgs, MlflowWebhookHttpUrlSpecPtr and MlflowWebhookHttpUrlSpecPtrOutput values. +// You can construct a concrete instance of `MlflowWebhookHttpUrlSpecPtrInput` via: // -// ModelServingRateLimitArray{ ModelServingRateLimitArgs{...} } -type ModelServingRateLimitArrayInput interface { +// MlflowWebhookHttpUrlSpecArgs{...} +// +// or: +// +// nil +type MlflowWebhookHttpUrlSpecPtrInput interface { pulumi.Input - ToModelServingRateLimitArrayOutput() ModelServingRateLimitArrayOutput - ToModelServingRateLimitArrayOutputWithContext(context.Context) ModelServingRateLimitArrayOutput + ToMlflowWebhookHttpUrlSpecPtrOutput() MlflowWebhookHttpUrlSpecPtrOutput + ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(context.Context) MlflowWebhookHttpUrlSpecPtrOutput } -type ModelServingRateLimitArray []ModelServingRateLimitInput +type mlflowWebhookHttpUrlSpecPtrType MlflowWebhookHttpUrlSpecArgs -func (ModelServingRateLimitArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ModelServingRateLimit)(nil)).Elem() +func MlflowWebhookHttpUrlSpecPtr(v *MlflowWebhookHttpUrlSpecArgs) MlflowWebhookHttpUrlSpecPtrInput { + return (*mlflowWebhookHttpUrlSpecPtrType)(v) } -func (i ModelServingRateLimitArray) ToModelServingRateLimitArrayOutput() ModelServingRateLimitArrayOutput { - return i.ToModelServingRateLimitArrayOutputWithContext(context.Background()) +func (*mlflowWebhookHttpUrlSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MlflowWebhookHttpUrlSpec)(nil)).Elem() } -func (i ModelServingRateLimitArray) ToModelServingRateLimitArrayOutputWithContext(ctx context.Context) ModelServingRateLimitArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingRateLimitArrayOutput) +func (i *mlflowWebhookHttpUrlSpecPtrType) ToMlflowWebhookHttpUrlSpecPtrOutput() MlflowWebhookHttpUrlSpecPtrOutput { + return i.ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(context.Background()) } -type ModelServingRateLimitOutput struct{ *pulumi.OutputState } +func (i *mlflowWebhookHttpUrlSpecPtrType) ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookHttpUrlSpecPtrOutput) +} -func (ModelServingRateLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingRateLimit)(nil)).Elem() +type MlflowWebhookHttpUrlSpecOutput struct{ *pulumi.OutputState } + +func (MlflowWebhookHttpUrlSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MlflowWebhookHttpUrlSpec)(nil)).Elem() } -func (o ModelServingRateLimitOutput) ToModelServingRateLimitOutput() ModelServingRateLimitOutput { +func (o MlflowWebhookHttpUrlSpecOutput) ToMlflowWebhookHttpUrlSpecOutput() MlflowWebhookHttpUrlSpecOutput { return o } -func (o ModelServingRateLimitOutput) ToModelServingRateLimitOutputWithContext(ctx context.Context) ModelServingRateLimitOutput { +func (o MlflowWebhookHttpUrlSpecOutput) ToMlflowWebhookHttpUrlSpecOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecOutput { return o } -func (o ModelServingRateLimitOutput) Calls() pulumi.IntOutput { - return o.ApplyT(func(v ModelServingRateLimit) int { return v.Calls }).(pulumi.IntOutput) +func (o MlflowWebhookHttpUrlSpecOutput) ToMlflowWebhookHttpUrlSpecPtrOutput() MlflowWebhookHttpUrlSpecPtrOutput { + return o.ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(context.Background()) } -func (o ModelServingRateLimitOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingRateLimit) *string { return v.Key }).(pulumi.StringPtrOutput) +func (o MlflowWebhookHttpUrlSpecOutput) ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MlflowWebhookHttpUrlSpec) *MlflowWebhookHttpUrlSpec { + return &v + }).(MlflowWebhookHttpUrlSpecPtrOutput) } -func (o ModelServingRateLimitOutput) RenewalPeriod() pulumi.StringOutput { - return o.ApplyT(func(v ModelServingRateLimit) string { return v.RenewalPeriod }).(pulumi.StringOutput) +// 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 ModelServingRateLimitArrayOutput 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 (ModelServingRateLimitArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ModelServingRateLimit)(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 ModelServingRateLimitArrayOutput) ToModelServingRateLimitArrayOutput() ModelServingRateLimitArrayOutput { - return o +// 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) } -func (o ModelServingRateLimitArrayOutput) ToModelServingRateLimitArrayOutputWithContext(ctx context.Context) ModelServingRateLimitArrayOutput { - return o +type MlflowWebhookHttpUrlSpecPtrOutput struct{ *pulumi.OutputState } + +func (MlflowWebhookHttpUrlSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MlflowWebhookHttpUrlSpec)(nil)).Elem() } -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) +func (o MlflowWebhookHttpUrlSpecPtrOutput) ToMlflowWebhookHttpUrlSpecPtrOutput() MlflowWebhookHttpUrlSpecPtrOutput { + return o } -type ModelServingTag struct { - Key string `pulumi:"key"` - Value *string `pulumi:"value"` +func (o MlflowWebhookHttpUrlSpecPtrOutput) ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecPtrOutput { + return o } -// 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 +func (o MlflowWebhookHttpUrlSpecPtrOutput) Elem() MlflowWebhookHttpUrlSpecOutput { + return o.ApplyT(func(v *MlflowWebhookHttpUrlSpec) MlflowWebhookHttpUrlSpec { + if v != nil { + return *v + } + var ret MlflowWebhookHttpUrlSpec + return ret + }).(MlflowWebhookHttpUrlSpecOutput) +} - ToModelServingTagOutput() ModelServingTagOutput - ToModelServingTagOutputWithContext(context.Context) ModelServingTagOutput +// 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) } -type ModelServingTagArgs struct { - Key pulumi.StringInput `pulumi:"key"` - Value pulumi.StringPtrInput `pulumi:"value"` +// 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) } -func (ModelServingTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingTag)(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 MlflowWebhookHttpUrlSpecPtrOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MlflowWebhookHttpUrlSpec) *string { + if v == nil { + return nil + } + return v.Secret + }).(pulumi.StringPtrOutput) } -func (i ModelServingTagArgs) ToModelServingTagOutput() ModelServingTagOutput { - return i.ToModelServingTagOutputWithContext(context.Background()) +// 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) } -func (i ModelServingTagArgs) ToModelServingTagOutputWithContext(ctx context.Context) ModelServingTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingTagOutput) +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"` } -// ModelServingTagArrayInput is an input type that accepts ModelServingTagArray and ModelServingTagArrayOutput values. -// You can construct a concrete instance of `ModelServingTagArrayInput` via: +// MlflowWebhookJobSpecInput is an input type that accepts MlflowWebhookJobSpecArgs and MlflowWebhookJobSpecOutput values. +// You can construct a concrete instance of `MlflowWebhookJobSpecInput` via: // -// ModelServingTagArray{ ModelServingTagArgs{...} } -type ModelServingTagArrayInput interface { +// MlflowWebhookJobSpecArgs{...} +type MlflowWebhookJobSpecInput interface { pulumi.Input - ToModelServingTagArrayOutput() ModelServingTagArrayOutput - ToModelServingTagArrayOutputWithContext(context.Context) ModelServingTagArrayOutput + ToMlflowWebhookJobSpecOutput() MlflowWebhookJobSpecOutput + ToMlflowWebhookJobSpecOutputWithContext(context.Context) MlflowWebhookJobSpecOutput } -type ModelServingTagArray []ModelServingTagInput +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 (ModelServingTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ModelServingTag)(nil)).Elem() +func (MlflowWebhookJobSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MlflowWebhookJobSpec)(nil)).Elem() } -func (i ModelServingTagArray) ToModelServingTagArrayOutput() ModelServingTagArrayOutput { - return i.ToModelServingTagArrayOutputWithContext(context.Background()) +func (i MlflowWebhookJobSpecArgs) ToMlflowWebhookJobSpecOutput() MlflowWebhookJobSpecOutput { + return i.ToMlflowWebhookJobSpecOutputWithContext(context.Background()) } -func (i ModelServingTagArray) ToModelServingTagArrayOutputWithContext(ctx context.Context) ModelServingTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingTagArrayOutput) +func (i MlflowWebhookJobSpecArgs) ToMlflowWebhookJobSpecOutputWithContext(ctx context.Context) MlflowWebhookJobSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookJobSpecOutput) } -type ModelServingTagOutput struct{ *pulumi.OutputState } +func (i MlflowWebhookJobSpecArgs) ToMlflowWebhookJobSpecPtrOutput() MlflowWebhookJobSpecPtrOutput { + return i.ToMlflowWebhookJobSpecPtrOutputWithContext(context.Background()) +} -func (ModelServingTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingTag)(nil)).Elem() +func (i MlflowWebhookJobSpecArgs) ToMlflowWebhookJobSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookJobSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookJobSpecOutput).ToMlflowWebhookJobSpecPtrOutputWithContext(ctx) } -func (o ModelServingTagOutput) ToModelServingTagOutput() ModelServingTagOutput { - return o +// MlflowWebhookJobSpecPtrInput is an input type that accepts MlflowWebhookJobSpecArgs, MlflowWebhookJobSpecPtr and MlflowWebhookJobSpecPtrOutput values. +// You can construct a concrete instance of `MlflowWebhookJobSpecPtrInput` via: +// +// MlflowWebhookJobSpecArgs{...} +// +// or: +// +// nil +type MlflowWebhookJobSpecPtrInput interface { + pulumi.Input + + ToMlflowWebhookJobSpecPtrOutput() MlflowWebhookJobSpecPtrOutput + ToMlflowWebhookJobSpecPtrOutputWithContext(context.Context) MlflowWebhookJobSpecPtrOutput } -func (o ModelServingTagOutput) ToModelServingTagOutputWithContext(ctx context.Context) ModelServingTagOutput { - return o +type mlflowWebhookJobSpecPtrType MlflowWebhookJobSpecArgs + +func MlflowWebhookJobSpecPtr(v *MlflowWebhookJobSpecArgs) MlflowWebhookJobSpecPtrInput { + return (*mlflowWebhookJobSpecPtrType)(v) } -func (o ModelServingTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v ModelServingTag) string { return v.Key }).(pulumi.StringOutput) +func (*mlflowWebhookJobSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MlflowWebhookJobSpec)(nil)).Elem() } -func (o ModelServingTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingTag) *string { return v.Value }).(pulumi.StringPtrOutput) +func (i *mlflowWebhookJobSpecPtrType) ToMlflowWebhookJobSpecPtrOutput() MlflowWebhookJobSpecPtrOutput { + return i.ToMlflowWebhookJobSpecPtrOutputWithContext(context.Background()) } -type ModelServingTagArrayOutput struct{ *pulumi.OutputState } +func (i *mlflowWebhookJobSpecPtrType) ToMlflowWebhookJobSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookJobSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookJobSpecPtrOutput) +} -func (ModelServingTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ModelServingTag)(nil)).Elem() +type MlflowWebhookJobSpecOutput struct{ *pulumi.OutputState } + +func (MlflowWebhookJobSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MlflowWebhookJobSpec)(nil)).Elem() } -func (o ModelServingTagArrayOutput) ToModelServingTagArrayOutput() ModelServingTagArrayOutput { +func (o MlflowWebhookJobSpecOutput) ToMlflowWebhookJobSpecOutput() MlflowWebhookJobSpecOutput { return o } -func (o ModelServingTagArrayOutput) ToModelServingTagArrayOutputWithContext(ctx context.Context) ModelServingTagArrayOutput { +func (o MlflowWebhookJobSpecOutput) ToMlflowWebhookJobSpecOutputWithContext(ctx context.Context) MlflowWebhookJobSpecOutput { 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 MlflowWebhookJobSpecOutput) ToMlflowWebhookJobSpecPtrOutput() MlflowWebhookJobSpecPtrOutput { + return o.ToMlflowWebhookJobSpecPtrOutputWithContext(context.Background()) } -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"` +func (o MlflowWebhookJobSpecOutput) ToMlflowWebhookJobSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookJobSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MlflowWebhookJobSpec) *MlflowWebhookJobSpec { + return &v + }).(MlflowWebhookJobSpecPtrOutput) } -// MountAbfsInput is an input type that accepts MountAbfsArgs and MountAbfsOutput values. -// You can construct a concrete instance of `MountAbfsInput` via: -// -// MountAbfsArgs{...} -type MountAbfsInput interface { - pulumi.Input +// 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) +} - ToMountAbfsOutput() MountAbfsOutput - ToMountAbfsOutputWithContext(context.Context) MountAbfsOutput +// 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) } -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"` +// 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) } -func (MountAbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MountAbfs)(nil)).Elem() +type MlflowWebhookJobSpecPtrOutput struct{ *pulumi.OutputState } + +func (MlflowWebhookJobSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MlflowWebhookJobSpec)(nil)).Elem() } -func (i MountAbfsArgs) ToMountAbfsOutput() MountAbfsOutput { - return i.ToMountAbfsOutputWithContext(context.Background()) +func (o MlflowWebhookJobSpecPtrOutput) ToMlflowWebhookJobSpecPtrOutput() MlflowWebhookJobSpecPtrOutput { + return o } -func (i MountAbfsArgs) ToMountAbfsOutputWithContext(ctx context.Context) MountAbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountAbfsOutput) +func (o MlflowWebhookJobSpecPtrOutput) ToMlflowWebhookJobSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookJobSpecPtrOutput { + return o } -func (i MountAbfsArgs) ToMountAbfsPtrOutput() MountAbfsPtrOutput { - return i.ToMountAbfsPtrOutputWithContext(context.Background()) +func (o MlflowWebhookJobSpecPtrOutput) Elem() MlflowWebhookJobSpecOutput { + return o.ApplyT(func(v *MlflowWebhookJobSpec) MlflowWebhookJobSpec { + if v != nil { + return *v + } + var ret MlflowWebhookJobSpec + return ret + }).(MlflowWebhookJobSpecOutput) } -func (i MountAbfsArgs) ToMountAbfsPtrOutputWithContext(ctx context.Context) MountAbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountAbfsOutput).ToMountAbfsPtrOutputWithContext(ctx) +// 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) } -// MountAbfsPtrInput is an input type that accepts MountAbfsArgs, MountAbfsPtr and MountAbfsPtrOutput values. -// You can construct a concrete instance of `MountAbfsPtrInput` via: -// -// MountAbfsArgs{...} -// -// or: +// 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 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"` +} + +// ModelServingConfigInput is an input type that accepts ModelServingConfigArgs and ModelServingConfigOutput values. +// You can construct a concrete instance of `ModelServingConfigInput` via: // -// nil -type MountAbfsPtrInput interface { +// ModelServingConfigArgs{...} +type ModelServingConfigInput interface { pulumi.Input - ToMountAbfsPtrOutput() MountAbfsPtrOutput - ToMountAbfsPtrOutputWithContext(context.Context) MountAbfsPtrOutput + ToModelServingConfigOutput() ModelServingConfigOutput + ToModelServingConfigOutputWithContext(context.Context) ModelServingConfigOutput } -type mountAbfsPtrType MountAbfsArgs +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 MountAbfsPtr(v *MountAbfsArgs) MountAbfsPtrInput { - return (*mountAbfsPtrType)(v) +func (ModelServingConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfig)(nil)).Elem() } -func (*mountAbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MountAbfs)(nil)).Elem() +func (i ModelServingConfigArgs) ToModelServingConfigOutput() ModelServingConfigOutput { + return i.ToModelServingConfigOutputWithContext(context.Background()) } -func (i *mountAbfsPtrType) ToMountAbfsPtrOutput() MountAbfsPtrOutput { - return i.ToMountAbfsPtrOutputWithContext(context.Background()) +func (i ModelServingConfigArgs) ToModelServingConfigOutputWithContext(ctx context.Context) ModelServingConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigOutput) } -func (i *mountAbfsPtrType) ToMountAbfsPtrOutputWithContext(ctx context.Context) MountAbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountAbfsPtrOutput) +func (i ModelServingConfigArgs) ToModelServingConfigPtrOutput() ModelServingConfigPtrOutput { + return i.ToModelServingConfigPtrOutputWithContext(context.Background()) } -type MountAbfsOutput struct{ *pulumi.OutputState } +func (i ModelServingConfigArgs) ToModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigOutput).ToModelServingConfigPtrOutputWithContext(ctx) +} -func (MountAbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MountAbfs)(nil)).Elem() +// ModelServingConfigPtrInput is an input type that accepts ModelServingConfigArgs, ModelServingConfigPtr and ModelServingConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigPtrInput` via: +// +// ModelServingConfigArgs{...} +// +// or: +// +// nil +type ModelServingConfigPtrInput interface { + pulumi.Input + + ToModelServingConfigPtrOutput() ModelServingConfigPtrOutput + ToModelServingConfigPtrOutputWithContext(context.Context) ModelServingConfigPtrOutput } -func (o MountAbfsOutput) ToMountAbfsOutput() MountAbfsOutput { - return o +type modelServingConfigPtrType ModelServingConfigArgs + +func ModelServingConfigPtr(v *ModelServingConfigArgs) ModelServingConfigPtrInput { + return (*modelServingConfigPtrType)(v) } -func (o MountAbfsOutput) ToMountAbfsOutputWithContext(ctx context.Context) MountAbfsOutput { - return o +func (*modelServingConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfig)(nil)).Elem() } -func (o MountAbfsOutput) ToMountAbfsPtrOutput() MountAbfsPtrOutput { - return o.ToMountAbfsPtrOutputWithContext(context.Background()) +func (i *modelServingConfigPtrType) ToModelServingConfigPtrOutput() ModelServingConfigPtrOutput { + return i.ToModelServingConfigPtrOutputWithContext(context.Background()) } -func (o MountAbfsOutput) ToMountAbfsPtrOutputWithContext(ctx context.Context) MountAbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MountAbfs) *MountAbfs { - return &v - }).(MountAbfsPtrOutput) +func (i *modelServingConfigPtrType) ToModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigPtrOutput) } -func (o MountAbfsOutput) ClientId() pulumi.StringOutput { - return o.ApplyT(func(v MountAbfs) string { return v.ClientId }).(pulumi.StringOutput) +type ModelServingConfigOutput struct{ *pulumi.OutputState } + +func (ModelServingConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfig)(nil)).Elem() } -func (o MountAbfsOutput) ClientSecretKey() pulumi.StringOutput { - return o.ApplyT(func(v MountAbfs) string { return v.ClientSecretKey }).(pulumi.StringOutput) +func (o ModelServingConfigOutput) ToModelServingConfigOutput() ModelServingConfigOutput { + return o } -func (o MountAbfsOutput) ClientSecretScope() pulumi.StringOutput { - return o.ApplyT(func(v MountAbfs) string { return v.ClientSecretScope }).(pulumi.StringOutput) +func (o ModelServingConfigOutput) ToModelServingConfigOutputWithContext(ctx context.Context) ModelServingConfigOutput { + return o } -func (o MountAbfsOutput) ContainerName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountAbfs) *string { return v.ContainerName }).(pulumi.StringPtrOutput) +func (o ModelServingConfigOutput) ToModelServingConfigPtrOutput() ModelServingConfigPtrOutput { + return o.ToModelServingConfigPtrOutputWithContext(context.Background()) } -func (o MountAbfsOutput) Directory() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountAbfs) *string { return v.Directory }).(pulumi.StringPtrOutput) +func (o ModelServingConfigOutput) ToModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfig) *ModelServingConfig { + return &v + }).(ModelServingConfigPtrOutput) } -func (o MountAbfsOutput) InitializeFileSystem() pulumi.BoolOutput { - return o.ApplyT(func(v MountAbfs) bool { return v.InitializeFileSystem }).(pulumi.BoolOutput) +// 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) } -func (o MountAbfsOutput) StorageAccountName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountAbfs) *string { return v.StorageAccountName }).(pulumi.StringPtrOutput) +// 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 (o MountAbfsOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountAbfs) *string { return v.TenantId }).(pulumi.StringPtrOutput) +// 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) } -type MountAbfsPtrOutput struct{ *pulumi.OutputState } +// 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 (MountAbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MountAbfs)(nil)).Elem() +type ModelServingConfigPtrOutput struct{ *pulumi.OutputState } + +func (ModelServingConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfig)(nil)).Elem() } -func (o MountAbfsPtrOutput) ToMountAbfsPtrOutput() MountAbfsPtrOutput { +func (o ModelServingConfigPtrOutput) ToModelServingConfigPtrOutput() ModelServingConfigPtrOutput { return o } -func (o MountAbfsPtrOutput) ToMountAbfsPtrOutputWithContext(ctx context.Context) MountAbfsPtrOutput { +func (o ModelServingConfigPtrOutput) ToModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigPtrOutput { return o } -func (o MountAbfsPtrOutput) Elem() MountAbfsOutput { - return o.ApplyT(func(v *MountAbfs) MountAbfs { +func (o ModelServingConfigPtrOutput) Elem() ModelServingConfigOutput { + return o.ApplyT(func(v *ModelServingConfig) ModelServingConfig { if v != nil { return *v } - var ret MountAbfs + var ret ModelServingConfig 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) + }).(ModelServingConfigOutput) } -func (o MountAbfsPtrOutput) Directory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAbfs) *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.Directory - }).(pulumi.StringPtrOutput) + return v.AutoCaptureConfig + }).(ModelServingConfigAutoCaptureConfigPtrOutput) } -func (o MountAbfsPtrOutput) InitializeFileSystem() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MountAbfs) *bool { +// 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.InitializeFileSystem - }).(pulumi.BoolPtrOutput) + return v.ServedEntities + }).(ModelServingConfigServedEntityArrayOutput) } -func (o MountAbfsPtrOutput) StorageAccountName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAbfs) *string { +// 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 } - return v.StorageAccountName - }).(pulumi.StringPtrOutput) + return v.ServedModels + }).(ModelServingConfigServedModelArrayOutput) } -func (o MountAbfsPtrOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAbfs) *string { +// 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.TenantId - }).(pulumi.StringPtrOutput) + return v.TrafficConfig + }).(ModelServingConfigTrafficConfigPtrOutput) } -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 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 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"` } -// MountAdlInput is an input type that accepts MountAdlArgs and MountAdlOutput values. -// You can construct a concrete instance of `MountAdlInput` via: +// ModelServingConfigAutoCaptureConfigInput is an input type that accepts ModelServingConfigAutoCaptureConfigArgs and ModelServingConfigAutoCaptureConfigOutput values. +// You can construct a concrete instance of `ModelServingConfigAutoCaptureConfigInput` via: // -// MountAdlArgs{...} -type MountAdlInput interface { +// ModelServingConfigAutoCaptureConfigArgs{...} +type ModelServingConfigAutoCaptureConfigInput interface { pulumi.Input - ToMountAdlOutput() MountAdlOutput - ToMountAdlOutputWithContext(context.Context) MountAdlOutput + ToModelServingConfigAutoCaptureConfigOutput() ModelServingConfigAutoCaptureConfigOutput + ToModelServingConfigAutoCaptureConfigOutputWithContext(context.Context) ModelServingConfigAutoCaptureConfigOutput } -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 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 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 (MountAdlArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MountAdl)(nil)).Elem() +func (ModelServingConfigAutoCaptureConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigAutoCaptureConfig)(nil)).Elem() } -func (i MountAdlArgs) ToMountAdlOutput() MountAdlOutput { - return i.ToMountAdlOutputWithContext(context.Background()) +func (i ModelServingConfigAutoCaptureConfigArgs) ToModelServingConfigAutoCaptureConfigOutput() ModelServingConfigAutoCaptureConfigOutput { + return i.ToModelServingConfigAutoCaptureConfigOutputWithContext(context.Background()) } -func (i MountAdlArgs) ToMountAdlOutputWithContext(ctx context.Context) MountAdlOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountAdlOutput) +func (i ModelServingConfigAutoCaptureConfigArgs) ToModelServingConfigAutoCaptureConfigOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigAutoCaptureConfigOutput) } -func (i MountAdlArgs) ToMountAdlPtrOutput() MountAdlPtrOutput { - return i.ToMountAdlPtrOutputWithContext(context.Background()) +func (i ModelServingConfigAutoCaptureConfigArgs) ToModelServingConfigAutoCaptureConfigPtrOutput() ModelServingConfigAutoCaptureConfigPtrOutput { + return i.ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(context.Background()) } -func (i MountAdlArgs) ToMountAdlPtrOutputWithContext(ctx context.Context) MountAdlPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountAdlOutput).ToMountAdlPtrOutputWithContext(ctx) +func (i ModelServingConfigAutoCaptureConfigArgs) ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigAutoCaptureConfigOutput).ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(ctx) } -// MountAdlPtrInput is an input type that accepts MountAdlArgs, MountAdlPtr and MountAdlPtrOutput values. -// You can construct a concrete instance of `MountAdlPtrInput` via: +// ModelServingConfigAutoCaptureConfigPtrInput is an input type that accepts ModelServingConfigAutoCaptureConfigArgs, ModelServingConfigAutoCaptureConfigPtr and ModelServingConfigAutoCaptureConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigAutoCaptureConfigPtrInput` via: // -// MountAdlArgs{...} +// ModelServingConfigAutoCaptureConfigArgs{...} // // or: // // nil -type MountAdlPtrInput interface { +type ModelServingConfigAutoCaptureConfigPtrInput interface { pulumi.Input - ToMountAdlPtrOutput() MountAdlPtrOutput - ToMountAdlPtrOutputWithContext(context.Context) MountAdlPtrOutput + ToModelServingConfigAutoCaptureConfigPtrOutput() ModelServingConfigAutoCaptureConfigPtrOutput + ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(context.Context) ModelServingConfigAutoCaptureConfigPtrOutput } -type mountAdlPtrType MountAdlArgs +type modelServingConfigAutoCaptureConfigPtrType ModelServingConfigAutoCaptureConfigArgs -func MountAdlPtr(v *MountAdlArgs) MountAdlPtrInput { - return (*mountAdlPtrType)(v) +func ModelServingConfigAutoCaptureConfigPtr(v *ModelServingConfigAutoCaptureConfigArgs) ModelServingConfigAutoCaptureConfigPtrInput { + return (*modelServingConfigAutoCaptureConfigPtrType)(v) } -func (*mountAdlPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MountAdl)(nil)).Elem() +func (*modelServingConfigAutoCaptureConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigAutoCaptureConfig)(nil)).Elem() } -func (i *mountAdlPtrType) ToMountAdlPtrOutput() MountAdlPtrOutput { - return i.ToMountAdlPtrOutputWithContext(context.Background()) +func (i *modelServingConfigAutoCaptureConfigPtrType) ToModelServingConfigAutoCaptureConfigPtrOutput() ModelServingConfigAutoCaptureConfigPtrOutput { + return i.ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(context.Background()) } -func (i *mountAdlPtrType) ToMountAdlPtrOutputWithContext(ctx context.Context) MountAdlPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountAdlPtrOutput) +func (i *modelServingConfigAutoCaptureConfigPtrType) ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigAutoCaptureConfigPtrOutput) } -type MountAdlOutput struct{ *pulumi.OutputState } +type ModelServingConfigAutoCaptureConfigOutput struct{ *pulumi.OutputState } -func (MountAdlOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MountAdl)(nil)).Elem() +func (ModelServingConfigAutoCaptureConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigAutoCaptureConfig)(nil)).Elem() } -func (o MountAdlOutput) ToMountAdlOutput() MountAdlOutput { +func (o ModelServingConfigAutoCaptureConfigOutput) ToModelServingConfigAutoCaptureConfigOutput() ModelServingConfigAutoCaptureConfigOutput { return o } -func (o MountAdlOutput) ToMountAdlOutputWithContext(ctx context.Context) MountAdlOutput { +func (o ModelServingConfigAutoCaptureConfigOutput) ToModelServingConfigAutoCaptureConfigOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigOutput { return o } -func (o MountAdlOutput) ToMountAdlPtrOutput() MountAdlPtrOutput { - return o.ToMountAdlPtrOutputWithContext(context.Background()) +func (o ModelServingConfigAutoCaptureConfigOutput) ToModelServingConfigAutoCaptureConfigPtrOutput() ModelServingConfigAutoCaptureConfigPtrOutput { + return o.ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(context.Background()) } -func (o MountAdlOutput) ToMountAdlPtrOutputWithContext(ctx context.Context) MountAdlPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MountAdl) *MountAdl { +func (o ModelServingConfigAutoCaptureConfigOutput) ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigAutoCaptureConfig) *ModelServingConfigAutoCaptureConfig { 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) + }).(ModelServingConfigAutoCaptureConfigPtrOutput) } -func (o MountAdlOutput) Directory() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountAdl) *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 ModelServingConfigAutoCaptureConfigOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigAutoCaptureConfig) *string { return v.CatalogName }).(pulumi.StringPtrOutput) } -func (o MountAdlOutput) SparkConfPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountAdl) *string { return v.SparkConfPrefix }).(pulumi.StringPtrOutput) +// If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable again. +func (o ModelServingConfigAutoCaptureConfigOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ModelServingConfigAutoCaptureConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -func (o MountAdlOutput) StorageResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountAdl) *string { return v.StorageResourceName }).(pulumi.StringPtrOutput) +// 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 (o MountAdlOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountAdl) *string { return v.TenantId }).(pulumi.StringPtrOutput) +// 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) } -type MountAdlPtrOutput struct{ *pulumi.OutputState } +type ModelServingConfigAutoCaptureConfigPtrOutput struct{ *pulumi.OutputState } -func (MountAdlPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MountAdl)(nil)).Elem() +func (ModelServingConfigAutoCaptureConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigAutoCaptureConfig)(nil)).Elem() } -func (o MountAdlPtrOutput) ToMountAdlPtrOutput() MountAdlPtrOutput { +func (o ModelServingConfigAutoCaptureConfigPtrOutput) ToModelServingConfigAutoCaptureConfigPtrOutput() ModelServingConfigAutoCaptureConfigPtrOutput { return o } -func (o MountAdlPtrOutput) ToMountAdlPtrOutputWithContext(ctx context.Context) MountAdlPtrOutput { +func (o ModelServingConfigAutoCaptureConfigPtrOutput) ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigPtrOutput { return o } -func (o MountAdlPtrOutput) Elem() MountAdlOutput { - return o.ApplyT(func(v *MountAdl) MountAdl { +func (o ModelServingConfigAutoCaptureConfigPtrOutput) Elem() ModelServingConfigAutoCaptureConfigOutput { + return o.ApplyT(func(v *ModelServingConfigAutoCaptureConfig) ModelServingConfigAutoCaptureConfig { if v != nil { return *v } - var ret MountAdl + var ret ModelServingConfigAutoCaptureConfig return ret - }).(MountAdlOutput) + }).(ModelServingConfigAutoCaptureConfigOutput) } -func (o MountAdlPtrOutput) ClientId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAdl) *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 ModelServingConfigAutoCaptureConfigPtrOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigAutoCaptureConfig) *string { if v == nil { return nil } - return &v.ClientId + return v.CatalogName }).(pulumi.StringPtrOutput) } -func (o MountAdlPtrOutput) ClientSecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAdl) *string { +// If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable again. +func (o ModelServingConfigAutoCaptureConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ModelServingConfigAutoCaptureConfig) *bool { if v == nil { return nil } - return &v.ClientSecretKey - }).(pulumi.StringPtrOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -func (o MountAdlPtrOutput) ClientSecretScope() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAdl) *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 ModelServingConfigAutoCaptureConfigPtrOutput) SchemaName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigAutoCaptureConfig) *string { if v == nil { return nil } - return &v.ClientSecretScope + return v.SchemaName }).(pulumi.StringPtrOutput) } -func (o MountAdlPtrOutput) Directory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAdl) *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 ModelServingConfigAutoCaptureConfigPtrOutput) TableNamePrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigAutoCaptureConfig) *string { if v == nil { return nil } - return v.Directory + return v.TableNamePrefix }).(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) +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 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]interface{} `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. For an existing endpoint with `externalModel`, it 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 the external model. + 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"` } -func (o MountAdlPtrOutput) StorageResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAdl) *string { - if v == nil { - return nil - } - return v.StorageResourceName - }).(pulumi.StringPtrOutput) +// 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 (o MountAdlPtrOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAdl) *string { - if v == nil { - return nil - } - return v.TenantId - }).(pulumi.StringPtrOutput) +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 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.MapInput `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. For an existing endpoint with `externalModel`, it 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 the external model. + 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"` } -type MountGs struct { - BucketName string `pulumi:"bucketName"` - ServiceAccount *string `pulumi:"serviceAccount"` +func (ModelServingConfigServedEntityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntity)(nil)).Elem() } -// MountGsInput is an input type that accepts MountGsArgs and MountGsOutput values. -// You can construct a concrete instance of `MountGsInput` via: +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: // -// MountGsArgs{...} -type MountGsInput interface { +// ModelServingConfigServedEntityArray{ ModelServingConfigServedEntityArgs{...} } +type ModelServingConfigServedEntityArrayInput interface { pulumi.Input - ToMountGsOutput() MountGsOutput - ToMountGsOutputWithContext(context.Context) MountGsOutput + ToModelServingConfigServedEntityArrayOutput() ModelServingConfigServedEntityArrayOutput + ToModelServingConfigServedEntityArrayOutputWithContext(context.Context) ModelServingConfigServedEntityArrayOutput } -type MountGsArgs struct { - BucketName pulumi.StringInput `pulumi:"bucketName"` - ServiceAccount pulumi.StringPtrInput `pulumi:"serviceAccount"` +type ModelServingConfigServedEntityArray []ModelServingConfigServedEntityInput + +func (ModelServingConfigServedEntityArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingConfigServedEntity)(nil)).Elem() } -func (MountGsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MountGs)(nil)).Elem() +func (i ModelServingConfigServedEntityArray) ToModelServingConfigServedEntityArrayOutput() ModelServingConfigServedEntityArrayOutput { + return i.ToModelServingConfigServedEntityArrayOutputWithContext(context.Background()) } -func (i MountGsArgs) ToMountGsOutput() MountGsOutput { - return i.ToMountGsOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityArray) ToModelServingConfigServedEntityArrayOutputWithContext(ctx context.Context) ModelServingConfigServedEntityArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityArrayOutput) } -func (i MountGsArgs) ToMountGsOutputWithContext(ctx context.Context) MountGsOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountGsOutput) +type ModelServingConfigServedEntityOutput struct{ *pulumi.OutputState } + +func (ModelServingConfigServedEntityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntity)(nil)).Elem() } -func (i MountGsArgs) ToMountGsPtrOutput() MountGsPtrOutput { - return i.ToMountGsPtrOutputWithContext(context.Background()) +func (o ModelServingConfigServedEntityOutput) ToModelServingConfigServedEntityOutput() ModelServingConfigServedEntityOutput { + return o } -func (i MountGsArgs) ToMountGsPtrOutputWithContext(ctx context.Context) MountGsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountGsOutput).ToMountGsPtrOutputWithContext(ctx) +func (o ModelServingConfigServedEntityOutput) ToModelServingConfigServedEntityOutputWithContext(ctx context.Context) ModelServingConfigServedEntityOutput { + return o } -// MountGsPtrInput is an input type that accepts MountGsArgs, MountGsPtr and MountGsPtrOutput values. -// You can construct a concrete instance of `MountGsPtrInput` via: +// 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) +} + +// 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) +} + +// 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 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.MapOutput { + return o.ApplyT(func(v ModelServingConfigServedEntity) map[string]interface{} { return v.EnvironmentVars }).(pulumi.MapOutput) +} + +// 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. For an existing endpoint with `externalModel`, it 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) +} + +// 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) +} + +// 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) +} + +// 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) +} + +// The name of the external model. +func (o ModelServingConfigServedEntityOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntity) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// 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) +} + +// 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) +} + +// 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 ModelServingConfigServedEntityArrayOutput struct{ *pulumi.OutputState } + +func (ModelServingConfigServedEntityArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingConfigServedEntity)(nil)).Elem() +} + +func (o ModelServingConfigServedEntityArrayOutput) ToModelServingConfigServedEntityArrayOutput() ModelServingConfigServedEntityArrayOutput { + return o +} + +func (o ModelServingConfigServedEntityArrayOutput) ToModelServingConfigServedEntityArrayOutputWithContext(ctx context.Context) ModelServingConfigServedEntityArrayOutput { + return o +} + +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 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"` + // The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. + 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`, `openai`, and `palm`. + Provider string `pulumi:"provider"` + // The task type of the external model. + Task string `pulumi:"task"` +} + +// ModelServingConfigServedEntityExternalModelInput is an input type that accepts ModelServingConfigServedEntityExternalModelArgs and ModelServingConfigServedEntityExternalModelOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelInput` via: +// +// ModelServingConfigServedEntityExternalModelArgs{...} +type ModelServingConfigServedEntityExternalModelInput interface { + pulumi.Input + + ToModelServingConfigServedEntityExternalModelOutput() ModelServingConfigServedEntityExternalModelOutput + ToModelServingConfigServedEntityExternalModelOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelOutput +} + +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"` + // The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. + 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`, `openai`, and `palm`. + Provider pulumi.StringInput `pulumi:"provider"` + // The task type of the external model. + Task pulumi.StringInput `pulumi:"task"` +} + +func (ModelServingConfigServedEntityExternalModelArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModel)(nil)).Elem() +} + +func (i ModelServingConfigServedEntityExternalModelArgs) ToModelServingConfigServedEntityExternalModelOutput() ModelServingConfigServedEntityExternalModelOutput { + return i.ToModelServingConfigServedEntityExternalModelOutputWithContext(context.Background()) +} + +func (i ModelServingConfigServedEntityExternalModelArgs) ToModelServingConfigServedEntityExternalModelOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelOutput) +} + +func (i ModelServingConfigServedEntityExternalModelArgs) ToModelServingConfigServedEntityExternalModelPtrOutput() ModelServingConfigServedEntityExternalModelPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(context.Background()) +} + +func (i ModelServingConfigServedEntityExternalModelArgs) ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelOutput).ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(ctx) +} + +// ModelServingConfigServedEntityExternalModelPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelArgs, ModelServingConfigServedEntityExternalModelPtr and ModelServingConfigServedEntityExternalModelPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelPtrInput` via: // -// MountGsArgs{...} +// ModelServingConfigServedEntityExternalModelArgs{...} // // or: // // nil -type MountGsPtrInput interface { +type ModelServingConfigServedEntityExternalModelPtrInput interface { pulumi.Input - ToMountGsPtrOutput() MountGsPtrOutput - ToMountGsPtrOutputWithContext(context.Context) MountGsPtrOutput + ToModelServingConfigServedEntityExternalModelPtrOutput() ModelServingConfigServedEntityExternalModelPtrOutput + ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelPtrOutput } -type mountGsPtrType MountGsArgs +type modelServingConfigServedEntityExternalModelPtrType ModelServingConfigServedEntityExternalModelArgs -func MountGsPtr(v *MountGsArgs) MountGsPtrInput { - return (*mountGsPtrType)(v) +func ModelServingConfigServedEntityExternalModelPtr(v *ModelServingConfigServedEntityExternalModelArgs) ModelServingConfigServedEntityExternalModelPtrInput { + return (*modelServingConfigServedEntityExternalModelPtrType)(v) } -func (*mountGsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MountGs)(nil)).Elem() +func (*modelServingConfigServedEntityExternalModelPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModel)(nil)).Elem() } -func (i *mountGsPtrType) ToMountGsPtrOutput() MountGsPtrOutput { - return i.ToMountGsPtrOutputWithContext(context.Background()) +func (i *modelServingConfigServedEntityExternalModelPtrType) ToModelServingConfigServedEntityExternalModelPtrOutput() ModelServingConfigServedEntityExternalModelPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(context.Background()) } -func (i *mountGsPtrType) ToMountGsPtrOutputWithContext(ctx context.Context) MountGsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountGsPtrOutput) +func (i *modelServingConfigServedEntityExternalModelPtrType) ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelPtrOutput) } -type MountGsOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelOutput struct{ *pulumi.OutputState } -func (MountGsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MountGs)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModel)(nil)).Elem() } -func (o MountGsOutput) ToMountGsOutput() MountGsOutput { +func (o ModelServingConfigServedEntityExternalModelOutput) ToModelServingConfigServedEntityExternalModelOutput() ModelServingConfigServedEntityExternalModelOutput { return o } -func (o MountGsOutput) ToMountGsOutputWithContext(ctx context.Context) MountGsOutput { +func (o ModelServingConfigServedEntityExternalModelOutput) ToModelServingConfigServedEntityExternalModelOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOutput { return o } -func (o MountGsOutput) ToMountGsPtrOutput() MountGsPtrOutput { - return o.ToMountGsPtrOutputWithContext(context.Background()) +func (o ModelServingConfigServedEntityExternalModelOutput) ToModelServingConfigServedEntityExternalModelPtrOutput() ModelServingConfigServedEntityExternalModelPtrOutput { + return o.ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(context.Background()) } -func (o MountGsOutput) ToMountGsPtrOutputWithContext(ctx context.Context) MountGsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MountGs) *MountGs { +func (o ModelServingConfigServedEntityExternalModelOutput) ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModel { return &v - }).(MountGsPtrOutput) + }).(ModelServingConfigServedEntityExternalModelPtrOutput) } -func (o MountGsOutput) BucketName() pulumi.StringOutput { - return o.ApplyT(func(v MountGs) string { return v.BucketName }).(pulumi.StringOutput) +// AI21Labs Config +func (o ModelServingConfigServedEntityExternalModelOutput) Ai21labsConfig() ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelAi21labsConfig { + return v.Ai21labsConfig + }).(ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) } -func (o MountGsOutput) ServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountGs) *string { return v.ServiceAccount }).(pulumi.StringPtrOutput) +// Amazon Bedrock Config +func (o ModelServingConfigServedEntityExternalModelOutput) AmazonBedrockConfig() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig { + return v.AmazonBedrockConfig + }).(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) } -type MountGsPtrOutput struct{ *pulumi.OutputState } +// Anthropic Config +func (o ModelServingConfigServedEntityExternalModelOutput) AnthropicConfig() ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelAnthropicConfig { + return v.AnthropicConfig + }).(ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) +} -func (MountGsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MountGs)(nil)).Elem() +// Cohere Config +func (o ModelServingConfigServedEntityExternalModelOutput) CohereConfig() ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelCohereConfig { + return v.CohereConfig + }).(ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) } -func (o MountGsPtrOutput) ToMountGsPtrOutput() MountGsPtrOutput { +// Databricks Model Serving Config +func (o ModelServingConfigServedEntityExternalModelOutput) DatabricksModelServingConfig() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig { + return v.DatabricksModelServingConfig + }).(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) +} + +// The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. +func (o ModelServingConfigServedEntityExternalModelOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) string { return v.Name }).(pulumi.StringOutput) +} + +// OpenAI Config +func (o ModelServingConfigServedEntityExternalModelOutput) OpenaiConfig() ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelOpenaiConfig { + return v.OpenaiConfig + }).(ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) +} + +// PaLM Config +func (o ModelServingConfigServedEntityExternalModelOutput) PalmConfig() ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelPalmConfig { + return v.PalmConfig + }).(ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) +} + +// The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `openai`, and `palm`. +func (o ModelServingConfigServedEntityExternalModelOutput) Provider() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) string { return v.Provider }).(pulumi.StringOutput) +} + +// 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 ModelServingConfigServedEntityExternalModelPtrOutput struct{ *pulumi.OutputState } + +func (ModelServingConfigServedEntityExternalModelPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModel)(nil)).Elem() +} + +func (o ModelServingConfigServedEntityExternalModelPtrOutput) ToModelServingConfigServedEntityExternalModelPtrOutput() ModelServingConfigServedEntityExternalModelPtrOutput { return o } -func (o MountGsPtrOutput) ToMountGsPtrOutputWithContext(ctx context.Context) MountGsPtrOutput { +func (o ModelServingConfigServedEntityExternalModelPtrOutput) ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPtrOutput { return o } -func (o MountGsPtrOutput) Elem() MountGsOutput { - return o.ApplyT(func(v *MountGs) MountGs { +func (o ModelServingConfigServedEntityExternalModelPtrOutput) Elem() ModelServingConfigServedEntityExternalModelOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) ModelServingConfigServedEntityExternalModel { if v != nil { return *v } - var ret MountGs + var ret ModelServingConfigServedEntityExternalModel return ret - }).(MountGsOutput) + }).(ModelServingConfigServedEntityExternalModelOutput) } -func (o MountGsPtrOutput) BucketName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountGs) *string { +// AI21Labs Config +func (o ModelServingConfigServedEntityExternalModelPtrOutput) Ai21labsConfig() ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelAi21labsConfig { if v == nil { return nil } - return &v.BucketName + return v.Ai21labsConfig + }).(ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) +} + +// Amazon Bedrock Config +func (o ModelServingConfigServedEntityExternalModelPtrOutput) AmazonBedrockConfig() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig { + if v == nil { + return nil + } + return v.AmazonBedrockConfig + }).(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) +} + +// Anthropic Config +func (o ModelServingConfigServedEntityExternalModelPtrOutput) AnthropicConfig() ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelAnthropicConfig { + if v == nil { + return nil + } + return v.AnthropicConfig + }).(ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) +} + +// Cohere Config +func (o ModelServingConfigServedEntityExternalModelPtrOutput) CohereConfig() ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelCohereConfig { + if v == nil { + return nil + } + return v.CohereConfig + }).(ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) +} + +// 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) +} + +// The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. +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 MountGsPtrOutput) ServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountGs) *string { +// OpenAI Config +func (o ModelServingConfigServedEntityExternalModelPtrOutput) OpenaiConfig() ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelOpenaiConfig { if v == nil { return nil } - return v.ServiceAccount + return v.OpenaiConfig + }).(ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) +} + +// PaLM Config +func (o ModelServingConfigServedEntityExternalModelPtrOutput) PalmConfig() ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelPalmConfig { + if v == nil { + return nil + } + return v.PalmConfig + }).(ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) +} + +// The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `openai`, and `palm`. +func (o ModelServingConfigServedEntityExternalModelPtrOutput) Provider() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *string { + if v == nil { + return nil + } + return &v.Provider }).(pulumi.StringPtrOutput) } -type MountS3 struct { - BucketName string `pulumi:"bucketName"` - InstanceProfile *string `pulumi:"instanceProfile"` +// 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.Task + }).(pulumi.StringPtrOutput) } -// MountS3Input is an input type that accepts MountS3Args and MountS3Output values. -// You can construct a concrete instance of `MountS3Input` via: +type ModelServingConfigServedEntityExternalModelAi21labsConfig struct { + // The Databricks secret key reference for an AI21Labs API key. + Ai21labsApiKey string `pulumi:"ai21labsApiKey"` +} + +// ModelServingConfigServedEntityExternalModelAi21labsConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelAi21labsConfigArgs and ModelServingConfigServedEntityExternalModelAi21labsConfigOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelAi21labsConfigInput` via: // -// MountS3Args{...} -type MountS3Input interface { +// ModelServingConfigServedEntityExternalModelAi21labsConfigArgs{...} +type ModelServingConfigServedEntityExternalModelAi21labsConfigInput interface { pulumi.Input - ToMountS3Output() MountS3Output - ToMountS3OutputWithContext(context.Context) MountS3Output + ToModelServingConfigServedEntityExternalModelAi21labsConfigOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigOutput + ToModelServingConfigServedEntityExternalModelAi21labsConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigOutput } -type MountS3Args struct { - BucketName pulumi.StringInput `pulumi:"bucketName"` - InstanceProfile pulumi.StringPtrInput `pulumi:"instanceProfile"` +type ModelServingConfigServedEntityExternalModelAi21labsConfigArgs struct { + // The Databricks secret key reference for an AI21Labs API key. + Ai21labsApiKey pulumi.StringInput `pulumi:"ai21labsApiKey"` } -func (MountS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*MountS3)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelAi21labsConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAi21labsConfig)(nil)).Elem() } -func (i MountS3Args) ToMountS3Output() MountS3Output { - return i.ToMountS3OutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelAi21labsConfigArgs) ToModelServingConfigServedEntityExternalModelAi21labsConfigOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigOutput { + return i.ToModelServingConfigServedEntityExternalModelAi21labsConfigOutputWithContext(context.Background()) } -func (i MountS3Args) ToMountS3OutputWithContext(ctx context.Context) MountS3Output { - return pulumi.ToOutputWithContext(ctx, i).(MountS3Output) +func (i ModelServingConfigServedEntityExternalModelAi21labsConfigArgs) ToModelServingConfigServedEntityExternalModelAi21labsConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) } -func (i MountS3Args) ToMountS3PtrOutput() MountS3PtrOutput { - return i.ToMountS3PtrOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelAi21labsConfigArgs) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(context.Background()) } -func (i MountS3Args) ToMountS3PtrOutputWithContext(ctx context.Context) MountS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountS3Output).ToMountS3PtrOutputWithContext(ctx) +func (i ModelServingConfigServedEntityExternalModelAi21labsConfigArgs) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAi21labsConfigOutput).ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(ctx) } -// MountS3PtrInput is an input type that accepts MountS3Args, MountS3Ptr and MountS3PtrOutput values. -// You can construct a concrete instance of `MountS3PtrInput` via: +// ModelServingConfigServedEntityExternalModelAi21labsConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelAi21labsConfigArgs, ModelServingConfigServedEntityExternalModelAi21labsConfigPtr and ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelAi21labsConfigPtrInput` via: // -// MountS3Args{...} +// ModelServingConfigServedEntityExternalModelAi21labsConfigArgs{...} // // or: // // nil -type MountS3PtrInput interface { +type ModelServingConfigServedEntityExternalModelAi21labsConfigPtrInput interface { pulumi.Input - ToMountS3PtrOutput() MountS3PtrOutput - ToMountS3PtrOutputWithContext(context.Context) MountS3PtrOutput + ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput + ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput } -type mountS3PtrType MountS3Args +type modelServingConfigServedEntityExternalModelAi21labsConfigPtrType ModelServingConfigServedEntityExternalModelAi21labsConfigArgs -func MountS3Ptr(v *MountS3Args) MountS3PtrInput { - return (*mountS3PtrType)(v) +func ModelServingConfigServedEntityExternalModelAi21labsConfigPtr(v *ModelServingConfigServedEntityExternalModelAi21labsConfigArgs) ModelServingConfigServedEntityExternalModelAi21labsConfigPtrInput { + return (*modelServingConfigServedEntityExternalModelAi21labsConfigPtrType)(v) } -func (*mountS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MountS3)(nil)).Elem() +func (*modelServingConfigServedEntityExternalModelAi21labsConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelAi21labsConfig)(nil)).Elem() } -func (i *mountS3PtrType) ToMountS3PtrOutput() MountS3PtrOutput { - return i.ToMountS3PtrOutputWithContext(context.Background()) +func (i *modelServingConfigServedEntityExternalModelAi21labsConfigPtrType) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(context.Background()) } -func (i *mountS3PtrType) ToMountS3PtrOutputWithContext(ctx context.Context) MountS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountS3PtrOutput) +func (i *modelServingConfigServedEntityExternalModelAi21labsConfigPtrType) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) } -type MountS3Output struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelAi21labsConfigOutput struct{ *pulumi.OutputState } -func (MountS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*MountS3)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAi21labsConfig)(nil)).Elem() } -func (o MountS3Output) ToMountS3Output() MountS3Output { +func (o ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) ToModelServingConfigServedEntityExternalModelAi21labsConfigOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigOutput { return o } -func (o MountS3Output) ToMountS3OutputWithContext(ctx context.Context) MountS3Output { +func (o ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) ToModelServingConfigServedEntityExternalModelAi21labsConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigOutput { return o } -func (o MountS3Output) ToMountS3PtrOutput() MountS3PtrOutput { - return o.ToMountS3PtrOutputWithContext(context.Background()) +func (o ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { + return o.ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(context.Background()) } -func (o MountS3Output) ToMountS3PtrOutputWithContext(ctx context.Context) MountS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MountS3) *MountS3 { +func (o ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelAi21labsConfig) *ModelServingConfigServedEntityExternalModelAi21labsConfig { return &v - }).(MountS3PtrOutput) -} - -func (o MountS3Output) BucketName() pulumi.StringOutput { - return o.ApplyT(func(v MountS3) string { return v.BucketName }).(pulumi.StringOutput) + }).(ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) } -func (o MountS3Output) InstanceProfile() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountS3) *string { return v.InstanceProfile }).(pulumi.StringPtrOutput) +// The Databricks secret key reference for an AI21Labs API key. +func (o ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) Ai21labsApiKey() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAi21labsConfig) string { return v.Ai21labsApiKey }).(pulumi.StringOutput) } -type MountS3PtrOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput struct{ *pulumi.OutputState } -func (MountS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MountS3)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelAi21labsConfig)(nil)).Elem() } -func (o MountS3PtrOutput) ToMountS3PtrOutput() MountS3PtrOutput { +func (o ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { return o } -func (o MountS3PtrOutput) ToMountS3PtrOutputWithContext(ctx context.Context) MountS3PtrOutput { +func (o ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { return o } -func (o MountS3PtrOutput) Elem() MountS3Output { - return o.ApplyT(func(v *MountS3) MountS3 { +func (o ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelAi21labsConfigOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAi21labsConfig) ModelServingConfigServedEntityExternalModelAi21labsConfig { if v != nil { return *v } - var ret MountS3 + var ret ModelServingConfigServedEntityExternalModelAi21labsConfig 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) + }).(ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) } -func (o MountS3PtrOutput) InstanceProfile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountS3) *string { +// 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.InstanceProfile + return &v.Ai21labsApiKey }).(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 ModelServingConfigServedEntityExternalModelAmazonBedrockConfig struct { + // The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. + AwsAccessKeyId string `pulumi:"awsAccessKeyId"` + // 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"` + // The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. + BedrockProvider string `pulumi:"bedrockProvider"` } -// MountWasbInput is an input type that accepts MountWasbArgs and MountWasbOutput values. -// You can construct a concrete instance of `MountWasbInput` via: +// ModelServingConfigServedEntityExternalModelAmazonBedrockConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs and ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelAmazonBedrockConfigInput` via: // -// MountWasbArgs{...} -type MountWasbInput interface { +// ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs{...} +type ModelServingConfigServedEntityExternalModelAmazonBedrockConfigInput interface { pulumi.Input - ToMountWasbOutput() MountWasbOutput - ToMountWasbOutputWithContext(context.Context) MountWasbOutput + ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput + ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput } -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 ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs struct { + // The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. + AwsAccessKeyId pulumi.StringInput `pulumi:"awsAccessKeyId"` + // 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.StringInput `pulumi:"awsSecretAccessKey"` + // The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. + BedrockProvider pulumi.StringInput `pulumi:"bedrockProvider"` } -func (MountWasbArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MountWasb)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAmazonBedrockConfig)(nil)).Elem() } -func (i MountWasbArgs) ToMountWasbOutput() MountWasbOutput { - return i.ToMountWasbOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput { + return i.ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutputWithContext(context.Background()) } -func (i MountWasbArgs) ToMountWasbOutputWithContext(ctx context.Context) MountWasbOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountWasbOutput) +func (i ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) } -func (i MountWasbArgs) ToMountWasbPtrOutput() MountWasbPtrOutput { - return i.ToMountWasbPtrOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(context.Background()) } -func (i MountWasbArgs) ToMountWasbPtrOutputWithContext(ctx context.Context) MountWasbPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountWasbOutput).ToMountWasbPtrOutputWithContext(ctx) +func (i ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput).ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(ctx) } -// MountWasbPtrInput is an input type that accepts MountWasbArgs, MountWasbPtr and MountWasbPtrOutput values. -// You can construct a concrete instance of `MountWasbPtrInput` via: +// ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs, ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtr and ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrInput` via: // -// MountWasbArgs{...} +// ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs{...} // // or: // // nil -type MountWasbPtrInput interface { +type ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrInput interface { pulumi.Input - ToMountWasbPtrOutput() MountWasbPtrOutput - ToMountWasbPtrOutputWithContext(context.Context) MountWasbPtrOutput + ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput + ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput } -type mountWasbPtrType MountWasbArgs +type modelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrType ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs -func MountWasbPtr(v *MountWasbArgs) MountWasbPtrInput { - return (*mountWasbPtrType)(v) +func ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtr(v *ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrInput { + return (*modelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrType)(v) } -func (*mountWasbPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MountWasb)(nil)).Elem() +func (*modelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelAmazonBedrockConfig)(nil)).Elem() } -func (i *mountWasbPtrType) ToMountWasbPtrOutput() MountWasbPtrOutput { - return i.ToMountWasbPtrOutputWithContext(context.Background()) +func (i *modelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrType) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(context.Background()) } -func (i *mountWasbPtrType) ToMountWasbPtrOutputWithContext(ctx context.Context) MountWasbPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountWasbPtrOutput) +func (i *modelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrType) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) } -type MountWasbOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput struct{ *pulumi.OutputState } -func (MountWasbOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MountWasb)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAmazonBedrockConfig)(nil)).Elem() } -func (o MountWasbOutput) ToMountWasbOutput() MountWasbOutput { +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput { return o } -func (o MountWasbOutput) ToMountWasbOutputWithContext(ctx context.Context) MountWasbOutput { +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput { return o } -func (o MountWasbOutput) ToMountWasbPtrOutput() MountWasbPtrOutput { - return o.ToMountWasbPtrOutputWithContext(context.Background()) +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { + return o.ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(context.Background()) } -func (o MountWasbOutput) ToMountWasbPtrOutputWithContext(ctx context.Context) MountWasbPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MountWasb) *MountWasb { +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig { 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) + }).(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) } -func (o MountWasbOutput) Directory() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountWasb) *string { return v.Directory }).(pulumi.StringPtrOutput) +// The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) AwsAccessKeyId() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) string { return v.AwsAccessKeyId }).(pulumi.StringOutput) } -func (o MountWasbOutput) StorageAccountName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountWasb) *string { return v.StorageAccountName }).(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) } -func (o MountWasbOutput) TokenSecretKey() pulumi.StringOutput { - return o.ApplyT(func(v MountWasb) string { return v.TokenSecretKey }).(pulumi.StringOutput) +// 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.StringOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) string { + return v.AwsSecretAccessKey + }).(pulumi.StringOutput) } -func (o MountWasbOutput) TokenSecretScope() pulumi.StringOutput { - return o.ApplyT(func(v MountWasb) string { return v.TokenSecretScope }).(pulumi.StringOutput) +// 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) } -type MountWasbPtrOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput struct{ *pulumi.OutputState } -func (MountWasbPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MountWasb)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelAmazonBedrockConfig)(nil)).Elem() } -func (o MountWasbPtrOutput) ToMountWasbPtrOutput() MountWasbPtrOutput { +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { return o } -func (o MountWasbPtrOutput) ToMountWasbPtrOutputWithContext(ctx context.Context) MountWasbPtrOutput { +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { return o } -func (o MountWasbPtrOutput) Elem() MountWasbOutput { - return o.ApplyT(func(v *MountWasb) MountWasb { +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) ModelServingConfigServedEntityExternalModelAmazonBedrockConfig { if v != nil { return *v } - var ret MountWasb + var ret ModelServingConfigServedEntityExternalModelAmazonBedrockConfig return ret - }).(MountWasbOutput) -} - -func (o MountWasbPtrOutput) AuthType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountWasb) *string { - if v == nil { - return nil - } - return &v.AuthType - }).(pulumi.StringPtrOutput) -} - -func (o MountWasbPtrOutput) ContainerName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountWasb) *string { - if v == nil { - return nil - } - return v.ContainerName - }).(pulumi.StringPtrOutput) + }).(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) } -func (o MountWasbPtrOutput) Directory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountWasb) *string { +// 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.Directory + return &v.AwsAccessKeyId }).(pulumi.StringPtrOutput) } -func (o MountWasbPtrOutput) StorageAccountName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountWasb) *string { +// 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.StorageAccountName + return &v.AwsRegion }).(pulumi.StringPtrOutput) } -func (o MountWasbPtrOutput) TokenSecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountWasb) *string { +// 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.TokenSecretKey + return &v.AwsSecretAccessKey }).(pulumi.StringPtrOutput) } -func (o MountWasbPtrOutput) TokenSecretScope() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountWasb) *string { +// 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.TokenSecretScope + return &v.BedrockProvider }).(pulumi.StringPtrOutput) } -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 ModelServingConfigServedEntityExternalModelAnthropicConfig struct { + // The Databricks secret key reference for an Anthropic API key. + // The Databricks secret key reference for an Anthropic API key. + AnthropicApiKey string `pulumi:"anthropicApiKey"` } -// MwsCustomerManagedKeysAwsKeyInfoInput is an input type that accepts MwsCustomerManagedKeysAwsKeyInfoArgs and MwsCustomerManagedKeysAwsKeyInfoOutput values. -// You can construct a concrete instance of `MwsCustomerManagedKeysAwsKeyInfoInput` via: +// ModelServingConfigServedEntityExternalModelAnthropicConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelAnthropicConfigArgs and ModelServingConfigServedEntityExternalModelAnthropicConfigOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelAnthropicConfigInput` via: // -// MwsCustomerManagedKeysAwsKeyInfoArgs{...} -type MwsCustomerManagedKeysAwsKeyInfoInput interface { +// ModelServingConfigServedEntityExternalModelAnthropicConfigArgs{...} +type ModelServingConfigServedEntityExternalModelAnthropicConfigInput interface { pulumi.Input - ToMwsCustomerManagedKeysAwsKeyInfoOutput() MwsCustomerManagedKeysAwsKeyInfoOutput - ToMwsCustomerManagedKeysAwsKeyInfoOutputWithContext(context.Context) MwsCustomerManagedKeysAwsKeyInfoOutput + ToModelServingConfigServedEntityExternalModelAnthropicConfigOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigOutput + ToModelServingConfigServedEntityExternalModelAnthropicConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigOutput } -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 ModelServingConfigServedEntityExternalModelAnthropicConfigArgs struct { + // The Databricks secret key reference for an Anthropic API key. + // The Databricks secret key reference for an Anthropic API key. + AnthropicApiKey pulumi.StringInput `pulumi:"anthropicApiKey"` } -func (MwsCustomerManagedKeysAwsKeyInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsCustomerManagedKeysAwsKeyInfo)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelAnthropicConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAnthropicConfig)(nil)).Elem() } -func (i MwsCustomerManagedKeysAwsKeyInfoArgs) ToMwsCustomerManagedKeysAwsKeyInfoOutput() MwsCustomerManagedKeysAwsKeyInfoOutput { - return i.ToMwsCustomerManagedKeysAwsKeyInfoOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelAnthropicConfigArgs) ToModelServingConfigServedEntityExternalModelAnthropicConfigOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigOutput { + return i.ToModelServingConfigServedEntityExternalModelAnthropicConfigOutputWithContext(context.Background()) } -func (i MwsCustomerManagedKeysAwsKeyInfoArgs) ToMwsCustomerManagedKeysAwsKeyInfoOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysAwsKeyInfoOutput) +func (i ModelServingConfigServedEntityExternalModelAnthropicConfigArgs) ToModelServingConfigServedEntityExternalModelAnthropicConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) } -func (i MwsCustomerManagedKeysAwsKeyInfoArgs) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutput() MwsCustomerManagedKeysAwsKeyInfoPtrOutput { - return i.ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelAnthropicConfigArgs) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(context.Background()) } -func (i MwsCustomerManagedKeysAwsKeyInfoArgs) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysAwsKeyInfoOutput).ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(ctx) +func (i ModelServingConfigServedEntityExternalModelAnthropicConfigArgs) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAnthropicConfigOutput).ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(ctx) } -// MwsCustomerManagedKeysAwsKeyInfoPtrInput is an input type that accepts MwsCustomerManagedKeysAwsKeyInfoArgs, MwsCustomerManagedKeysAwsKeyInfoPtr and MwsCustomerManagedKeysAwsKeyInfoPtrOutput values. -// You can construct a concrete instance of `MwsCustomerManagedKeysAwsKeyInfoPtrInput` via: +// ModelServingConfigServedEntityExternalModelAnthropicConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelAnthropicConfigArgs, ModelServingConfigServedEntityExternalModelAnthropicConfigPtr and ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelAnthropicConfigPtrInput` via: // -// MwsCustomerManagedKeysAwsKeyInfoArgs{...} +// ModelServingConfigServedEntityExternalModelAnthropicConfigArgs{...} // // or: // // nil -type MwsCustomerManagedKeysAwsKeyInfoPtrInput interface { +type ModelServingConfigServedEntityExternalModelAnthropicConfigPtrInput interface { pulumi.Input - ToMwsCustomerManagedKeysAwsKeyInfoPtrOutput() MwsCustomerManagedKeysAwsKeyInfoPtrOutput - ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(context.Context) MwsCustomerManagedKeysAwsKeyInfoPtrOutput + ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput + ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput } -type mwsCustomerManagedKeysAwsKeyInfoPtrType MwsCustomerManagedKeysAwsKeyInfoArgs +type modelServingConfigServedEntityExternalModelAnthropicConfigPtrType ModelServingConfigServedEntityExternalModelAnthropicConfigArgs -func MwsCustomerManagedKeysAwsKeyInfoPtr(v *MwsCustomerManagedKeysAwsKeyInfoArgs) MwsCustomerManagedKeysAwsKeyInfoPtrInput { - return (*mwsCustomerManagedKeysAwsKeyInfoPtrType)(v) +func ModelServingConfigServedEntityExternalModelAnthropicConfigPtr(v *ModelServingConfigServedEntityExternalModelAnthropicConfigArgs) ModelServingConfigServedEntityExternalModelAnthropicConfigPtrInput { + return (*modelServingConfigServedEntityExternalModelAnthropicConfigPtrType)(v) } -func (*mwsCustomerManagedKeysAwsKeyInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsCustomerManagedKeysAwsKeyInfo)(nil)).Elem() +func (*modelServingConfigServedEntityExternalModelAnthropicConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelAnthropicConfig)(nil)).Elem() } -func (i *mwsCustomerManagedKeysAwsKeyInfoPtrType) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutput() MwsCustomerManagedKeysAwsKeyInfoPtrOutput { - return i.ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(context.Background()) +func (i *modelServingConfigServedEntityExternalModelAnthropicConfigPtrType) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(context.Background()) } -func (i *mwsCustomerManagedKeysAwsKeyInfoPtrType) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysAwsKeyInfoPtrOutput) +func (i *modelServingConfigServedEntityExternalModelAnthropicConfigPtrType) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) } -type MwsCustomerManagedKeysAwsKeyInfoOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelAnthropicConfigOutput struct{ *pulumi.OutputState } -func (MwsCustomerManagedKeysAwsKeyInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsCustomerManagedKeysAwsKeyInfo)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAnthropicConfig)(nil)).Elem() } -func (o MwsCustomerManagedKeysAwsKeyInfoOutput) ToMwsCustomerManagedKeysAwsKeyInfoOutput() MwsCustomerManagedKeysAwsKeyInfoOutput { +func (o ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) ToModelServingConfigServedEntityExternalModelAnthropicConfigOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigOutput { return o } -func (o MwsCustomerManagedKeysAwsKeyInfoOutput) ToMwsCustomerManagedKeysAwsKeyInfoOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoOutput { +func (o ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) ToModelServingConfigServedEntityExternalModelAnthropicConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigOutput { return o } -func (o MwsCustomerManagedKeysAwsKeyInfoOutput) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutput() MwsCustomerManagedKeysAwsKeyInfoPtrOutput { - return o.ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(context.Background()) +func (o ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { + return o.ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(context.Background()) } -func (o MwsCustomerManagedKeysAwsKeyInfoOutput) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsCustomerManagedKeysAwsKeyInfo) *MwsCustomerManagedKeysAwsKeyInfo { +func (o ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelAnthropicConfig) *ModelServingConfigServedEntityExternalModelAnthropicConfig { return &v - }).(MwsCustomerManagedKeysAwsKeyInfoPtrOutput) -} - -// The AWS KMS key alias. -func (o MwsCustomerManagedKeysAwsKeyInfoOutput) KeyAlias() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsCustomerManagedKeysAwsKeyInfo) *string { return v.KeyAlias }).(pulumi.StringPtrOutput) -} - -// 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) + }).(ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) } -// (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) +// The Databricks secret key reference for an Anthropic API key. +// The Databricks secret key reference for an Anthropic API key. +func (o ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) AnthropicApiKey() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAnthropicConfig) string { return v.AnthropicApiKey }).(pulumi.StringOutput) } -type MwsCustomerManagedKeysAwsKeyInfoPtrOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput struct{ *pulumi.OutputState } -func (MwsCustomerManagedKeysAwsKeyInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsCustomerManagedKeysAwsKeyInfo)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelAnthropicConfig)(nil)).Elem() } -func (o MwsCustomerManagedKeysAwsKeyInfoPtrOutput) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutput() MwsCustomerManagedKeysAwsKeyInfoPtrOutput { +func (o ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { return o } -func (o MwsCustomerManagedKeysAwsKeyInfoPtrOutput) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoPtrOutput { +func (o ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { return o } -func (o MwsCustomerManagedKeysAwsKeyInfoPtrOutput) Elem() MwsCustomerManagedKeysAwsKeyInfoOutput { - return o.ApplyT(func(v *MwsCustomerManagedKeysAwsKeyInfo) MwsCustomerManagedKeysAwsKeyInfo { +func (o ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelAnthropicConfigOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAnthropicConfig) ModelServingConfigServedEntityExternalModelAnthropicConfig { if v != nil { return *v } - var ret MwsCustomerManagedKeysAwsKeyInfo + var ret ModelServingConfigServedEntityExternalModelAnthropicConfig return ret - }).(MwsCustomerManagedKeysAwsKeyInfoOutput) -} - -// 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) -} - -// 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) + }).(ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) } -// (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 { +// The Databricks secret key reference for an Anthropic API key. +// 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.KeyRegion + return &v.AnthropicApiKey }).(pulumi.StringPtrOutput) } -type MwsCustomerManagedKeysGcpKeyInfo struct { - // The GCP KMS key's resource name. - KmsKeyId string `pulumi:"kmsKeyId"` +type ModelServingConfigServedEntityExternalModelCohereConfig struct { + // The Databricks secret key reference for a Cohere API key. + CohereApiKey string `pulumi:"cohereApiKey"` } -// MwsCustomerManagedKeysGcpKeyInfoInput is an input type that accepts MwsCustomerManagedKeysGcpKeyInfoArgs and MwsCustomerManagedKeysGcpKeyInfoOutput values. -// You can construct a concrete instance of `MwsCustomerManagedKeysGcpKeyInfoInput` via: +// ModelServingConfigServedEntityExternalModelCohereConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelCohereConfigArgs and ModelServingConfigServedEntityExternalModelCohereConfigOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelCohereConfigInput` via: // -// MwsCustomerManagedKeysGcpKeyInfoArgs{...} -type MwsCustomerManagedKeysGcpKeyInfoInput interface { +// ModelServingConfigServedEntityExternalModelCohereConfigArgs{...} +type ModelServingConfigServedEntityExternalModelCohereConfigInput interface { pulumi.Input - ToMwsCustomerManagedKeysGcpKeyInfoOutput() MwsCustomerManagedKeysGcpKeyInfoOutput - ToMwsCustomerManagedKeysGcpKeyInfoOutputWithContext(context.Context) MwsCustomerManagedKeysGcpKeyInfoOutput + ToModelServingConfigServedEntityExternalModelCohereConfigOutput() ModelServingConfigServedEntityExternalModelCohereConfigOutput + ToModelServingConfigServedEntityExternalModelCohereConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelCohereConfigOutput } -type MwsCustomerManagedKeysGcpKeyInfoArgs struct { - // The GCP KMS key's resource name. - KmsKeyId pulumi.StringInput `pulumi:"kmsKeyId"` +type ModelServingConfigServedEntityExternalModelCohereConfigArgs struct { + // The Databricks secret key reference for a Cohere API key. + CohereApiKey pulumi.StringInput `pulumi:"cohereApiKey"` } -func (MwsCustomerManagedKeysGcpKeyInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsCustomerManagedKeysGcpKeyInfo)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelCohereConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelCohereConfig)(nil)).Elem() } -func (i MwsCustomerManagedKeysGcpKeyInfoArgs) ToMwsCustomerManagedKeysGcpKeyInfoOutput() MwsCustomerManagedKeysGcpKeyInfoOutput { - return i.ToMwsCustomerManagedKeysGcpKeyInfoOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelCohereConfigArgs) ToModelServingConfigServedEntityExternalModelCohereConfigOutput() ModelServingConfigServedEntityExternalModelCohereConfigOutput { + return i.ToModelServingConfigServedEntityExternalModelCohereConfigOutputWithContext(context.Background()) } -func (i MwsCustomerManagedKeysGcpKeyInfoArgs) ToMwsCustomerManagedKeysGcpKeyInfoOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysGcpKeyInfoOutput) +func (i ModelServingConfigServedEntityExternalModelCohereConfigArgs) ToModelServingConfigServedEntityExternalModelCohereConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelCohereConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelCohereConfigOutput) } -func (i MwsCustomerManagedKeysGcpKeyInfoArgs) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutput() MwsCustomerManagedKeysGcpKeyInfoPtrOutput { - return i.ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelCohereConfigArgs) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutput() ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(context.Background()) } -func (i MwsCustomerManagedKeysGcpKeyInfoArgs) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysGcpKeyInfoOutput).ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(ctx) +func (i ModelServingConfigServedEntityExternalModelCohereConfigArgs) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelCohereConfigOutput).ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(ctx) } -// MwsCustomerManagedKeysGcpKeyInfoPtrInput is an input type that accepts MwsCustomerManagedKeysGcpKeyInfoArgs, MwsCustomerManagedKeysGcpKeyInfoPtr and MwsCustomerManagedKeysGcpKeyInfoPtrOutput values. -// You can construct a concrete instance of `MwsCustomerManagedKeysGcpKeyInfoPtrInput` via: +// ModelServingConfigServedEntityExternalModelCohereConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelCohereConfigArgs, ModelServingConfigServedEntityExternalModelCohereConfigPtr and ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelCohereConfigPtrInput` via: // -// MwsCustomerManagedKeysGcpKeyInfoArgs{...} +// ModelServingConfigServedEntityExternalModelCohereConfigArgs{...} // // or: // // nil -type MwsCustomerManagedKeysGcpKeyInfoPtrInput interface { +type ModelServingConfigServedEntityExternalModelCohereConfigPtrInput interface { pulumi.Input - ToMwsCustomerManagedKeysGcpKeyInfoPtrOutput() MwsCustomerManagedKeysGcpKeyInfoPtrOutput - ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(context.Context) MwsCustomerManagedKeysGcpKeyInfoPtrOutput + ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutput() ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput + ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput } -type mwsCustomerManagedKeysGcpKeyInfoPtrType MwsCustomerManagedKeysGcpKeyInfoArgs +type modelServingConfigServedEntityExternalModelCohereConfigPtrType ModelServingConfigServedEntityExternalModelCohereConfigArgs -func MwsCustomerManagedKeysGcpKeyInfoPtr(v *MwsCustomerManagedKeysGcpKeyInfoArgs) MwsCustomerManagedKeysGcpKeyInfoPtrInput { - return (*mwsCustomerManagedKeysGcpKeyInfoPtrType)(v) +func ModelServingConfigServedEntityExternalModelCohereConfigPtr(v *ModelServingConfigServedEntityExternalModelCohereConfigArgs) ModelServingConfigServedEntityExternalModelCohereConfigPtrInput { + return (*modelServingConfigServedEntityExternalModelCohereConfigPtrType)(v) } -func (*mwsCustomerManagedKeysGcpKeyInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsCustomerManagedKeysGcpKeyInfo)(nil)).Elem() +func (*modelServingConfigServedEntityExternalModelCohereConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelCohereConfig)(nil)).Elem() } -func (i *mwsCustomerManagedKeysGcpKeyInfoPtrType) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutput() MwsCustomerManagedKeysGcpKeyInfoPtrOutput { - return i.ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(context.Background()) +func (i *modelServingConfigServedEntityExternalModelCohereConfigPtrType) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutput() ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(context.Background()) } -func (i *mwsCustomerManagedKeysGcpKeyInfoPtrType) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysGcpKeyInfoPtrOutput) +func (i *modelServingConfigServedEntityExternalModelCohereConfigPtrType) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) } -type MwsCustomerManagedKeysGcpKeyInfoOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelCohereConfigOutput struct{ *pulumi.OutputState } -func (MwsCustomerManagedKeysGcpKeyInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsCustomerManagedKeysGcpKeyInfo)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelCohereConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelCohereConfig)(nil)).Elem() } -func (o MwsCustomerManagedKeysGcpKeyInfoOutput) ToMwsCustomerManagedKeysGcpKeyInfoOutput() MwsCustomerManagedKeysGcpKeyInfoOutput { +func (o ModelServingConfigServedEntityExternalModelCohereConfigOutput) ToModelServingConfigServedEntityExternalModelCohereConfigOutput() ModelServingConfigServedEntityExternalModelCohereConfigOutput { return o } -func (o MwsCustomerManagedKeysGcpKeyInfoOutput) ToMwsCustomerManagedKeysGcpKeyInfoOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoOutput { +func (o ModelServingConfigServedEntityExternalModelCohereConfigOutput) ToModelServingConfigServedEntityExternalModelCohereConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelCohereConfigOutput { return o } -func (o MwsCustomerManagedKeysGcpKeyInfoOutput) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutput() MwsCustomerManagedKeysGcpKeyInfoPtrOutput { - return o.ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(context.Background()) +func (o ModelServingConfigServedEntityExternalModelCohereConfigOutput) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutput() ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { + return o.ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(context.Background()) } -func (o MwsCustomerManagedKeysGcpKeyInfoOutput) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsCustomerManagedKeysGcpKeyInfo) *MwsCustomerManagedKeysGcpKeyInfo { +func (o ModelServingConfigServedEntityExternalModelCohereConfigOutput) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelCohereConfig) *ModelServingConfigServedEntityExternalModelCohereConfig { return &v - }).(MwsCustomerManagedKeysGcpKeyInfoPtrOutput) + }).(ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) } -// 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) +// The Databricks secret key reference for a Cohere API key. +func (o ModelServingConfigServedEntityExternalModelCohereConfigOutput) CohereApiKey() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelCohereConfig) string { return v.CohereApiKey }).(pulumi.StringOutput) } -type MwsCustomerManagedKeysGcpKeyInfoPtrOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput struct{ *pulumi.OutputState } -func (MwsCustomerManagedKeysGcpKeyInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsCustomerManagedKeysGcpKeyInfo)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelCohereConfig)(nil)).Elem() } -func (o MwsCustomerManagedKeysGcpKeyInfoPtrOutput) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutput() MwsCustomerManagedKeysGcpKeyInfoPtrOutput { +func (o ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutput() ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { return o } -func (o MwsCustomerManagedKeysGcpKeyInfoPtrOutput) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoPtrOutput { +func (o ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { return o } -func (o MwsCustomerManagedKeysGcpKeyInfoPtrOutput) Elem() MwsCustomerManagedKeysGcpKeyInfoOutput { - return o.ApplyT(func(v *MwsCustomerManagedKeysGcpKeyInfo) MwsCustomerManagedKeysGcpKeyInfo { +func (o ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelCohereConfigOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelCohereConfig) ModelServingConfigServedEntityExternalModelCohereConfig { if v != nil { return *v } - var ret MwsCustomerManagedKeysGcpKeyInfo + var ret ModelServingConfigServedEntityExternalModelCohereConfig return ret - }).(MwsCustomerManagedKeysGcpKeyInfoOutput) + }).(ModelServingConfigServedEntityExternalModelCohereConfigOutput) } -// The GCP KMS key's resource name. -func (o MwsCustomerManagedKeysGcpKeyInfoPtrOutput) KmsKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsCustomerManagedKeysGcpKeyInfo) *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.KmsKeyId + return &v.CohereApiKey }).(pulumi.StringPtrOutput) } -type MwsNetworksErrorMessage struct { - ErrorMessage *string `pulumi:"errorMessage"` - ErrorType *string `pulumi:"errorType"` +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 URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. + DatabricksWorkspaceUrl string `pulumi:"databricksWorkspaceUrl"` } -// MwsNetworksErrorMessageInput is an input type that accepts MwsNetworksErrorMessageArgs and MwsNetworksErrorMessageOutput values. -// You can construct a concrete instance of `MwsNetworksErrorMessageInput` via: +// ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs and ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigInput` via: // -// MwsNetworksErrorMessageArgs{...} -type MwsNetworksErrorMessageInput interface { +// ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs{...} +type ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigInput interface { pulumi.Input - ToMwsNetworksErrorMessageOutput() MwsNetworksErrorMessageOutput - ToMwsNetworksErrorMessageOutputWithContext(context.Context) MwsNetworksErrorMessageOutput + ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput + ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput } -type MwsNetworksErrorMessageArgs struct { - ErrorMessage pulumi.StringPtrInput `pulumi:"errorMessage"` - ErrorType pulumi.StringPtrInput `pulumi:"errorType"` +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.StringInput `pulumi:"databricksApiToken"` + // The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. + DatabricksWorkspaceUrl pulumi.StringInput `pulumi:"databricksWorkspaceUrl"` } -func (MwsNetworksErrorMessageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworksErrorMessage)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig)(nil)).Elem() } -func (i MwsNetworksErrorMessageArgs) ToMwsNetworksErrorMessageOutput() MwsNetworksErrorMessageOutput { - return i.ToMwsNetworksErrorMessageOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput { + return i.ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutputWithContext(context.Background()) } -func (i MwsNetworksErrorMessageArgs) ToMwsNetworksErrorMessageOutputWithContext(ctx context.Context) MwsNetworksErrorMessageOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksErrorMessageOutput) +func (i ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) } -// MwsNetworksErrorMessageArrayInput is an input type that accepts MwsNetworksErrorMessageArray and MwsNetworksErrorMessageArrayOutput values. -// You can construct a concrete instance of `MwsNetworksErrorMessageArrayInput` via: +func (i ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(context.Background()) +} + +func (i ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput).ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(ctx) +} + +// ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs, ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtr and ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrInput` via: // -// MwsNetworksErrorMessageArray{ MwsNetworksErrorMessageArgs{...} } -type MwsNetworksErrorMessageArrayInput interface { +// ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs{...} +// +// or: +// +// nil +type ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrInput interface { pulumi.Input - ToMwsNetworksErrorMessageArrayOutput() MwsNetworksErrorMessageArrayOutput - ToMwsNetworksErrorMessageArrayOutputWithContext(context.Context) MwsNetworksErrorMessageArrayOutput + ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput + ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput } -type MwsNetworksErrorMessageArray []MwsNetworksErrorMessageInput +type modelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrType ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs -func (MwsNetworksErrorMessageArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]MwsNetworksErrorMessage)(nil)).Elem() +func ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtr(v *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrInput { + return (*modelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrType)(v) } -func (i MwsNetworksErrorMessageArray) ToMwsNetworksErrorMessageArrayOutput() MwsNetworksErrorMessageArrayOutput { - return i.ToMwsNetworksErrorMessageArrayOutputWithContext(context.Background()) +func (*modelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig)(nil)).Elem() } -func (i MwsNetworksErrorMessageArray) ToMwsNetworksErrorMessageArrayOutputWithContext(ctx context.Context) MwsNetworksErrorMessageArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksErrorMessageArrayOutput) +func (i *modelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrType) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(context.Background()) } -type MwsNetworksErrorMessageOutput struct{ *pulumi.OutputState } +func (i *modelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrType) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) +} -func (MwsNetworksErrorMessageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworksErrorMessage)(nil)).Elem() +type ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput struct{ *pulumi.OutputState } + +func (ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig)(nil)).Elem() } -func (o MwsNetworksErrorMessageOutput) ToMwsNetworksErrorMessageOutput() MwsNetworksErrorMessageOutput { +func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput { return o } -func (o MwsNetworksErrorMessageOutput) ToMwsNetworksErrorMessageOutputWithContext(ctx context.Context) MwsNetworksErrorMessageOutput { +func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput { return o } -func (o MwsNetworksErrorMessageOutput) ErrorMessage() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsNetworksErrorMessage) *string { return v.ErrorMessage }).(pulumi.StringPtrOutput) +func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { + return o.ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(context.Background()) } -func (o MwsNetworksErrorMessageOutput) ErrorType() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsNetworksErrorMessage) *string { return v.ErrorType }).(pulumi.StringPtrOutput) +func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig) *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig { + return &v + }).(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) } -type MwsNetworksErrorMessageArrayOutput struct{ *pulumi.OutputState } +// 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.StringOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig) string { + return v.DatabricksApiToken + }).(pulumi.StringOutput) +} -func (MwsNetworksErrorMessageArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]MwsNetworksErrorMessage)(nil)).Elem() +// 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 MwsNetworksErrorMessageArrayOutput) ToMwsNetworksErrorMessageArrayOutput() MwsNetworksErrorMessageArrayOutput { +type ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput struct{ *pulumi.OutputState } + +func (ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig)(nil)).Elem() +} + +func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { return o } -func (o MwsNetworksErrorMessageArrayOutput) ToMwsNetworksErrorMessageArrayOutputWithContext(ctx context.Context) MwsNetworksErrorMessageArrayOutput { +func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { return o } -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) +func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig { + if v != nil { + return *v + } + var ret ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig + return ret + }).(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) } -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"` +// 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.DatabricksApiToken + }).(pulumi.StringPtrOutput) } -// MwsNetworksGcpNetworkInfoInput is an input type that accepts MwsNetworksGcpNetworkInfoArgs and MwsNetworksGcpNetworkInfoOutput values. -// You can construct a concrete instance of `MwsNetworksGcpNetworkInfoInput` via: +// 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.DatabricksWorkspaceUrl + }).(pulumi.StringPtrOutput) +} + +type ModelServingConfigServedEntityExternalModelOpenaiConfig struct { + // 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"` + // This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and adjust this parameter to represent 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"` +} + +// ModelServingConfigServedEntityExternalModelOpenaiConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelOpenaiConfigArgs and ModelServingConfigServedEntityExternalModelOpenaiConfigOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelOpenaiConfigInput` via: // -// MwsNetworksGcpNetworkInfoArgs{...} -type MwsNetworksGcpNetworkInfoInput interface { +// ModelServingConfigServedEntityExternalModelOpenaiConfigArgs{...} +type ModelServingConfigServedEntityExternalModelOpenaiConfigInput interface { pulumi.Input - ToMwsNetworksGcpNetworkInfoOutput() MwsNetworksGcpNetworkInfoOutput - ToMwsNetworksGcpNetworkInfoOutputWithContext(context.Context) MwsNetworksGcpNetworkInfoOutput + ToModelServingConfigServedEntityExternalModelOpenaiConfigOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigOutput + ToModelServingConfigServedEntityExternalModelOpenaiConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigOutput } -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 ModelServingConfigServedEntityExternalModelOpenaiConfigArgs struct { + // 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.StringInput `pulumi:"openaiApiKey"` + // This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and adjust this parameter to represent 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 (MwsNetworksGcpNetworkInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworksGcpNetworkInfo)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelOpenaiConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelOpenaiConfig)(nil)).Elem() } -func (i MwsNetworksGcpNetworkInfoArgs) ToMwsNetworksGcpNetworkInfoOutput() MwsNetworksGcpNetworkInfoOutput { - return i.ToMwsNetworksGcpNetworkInfoOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelOpenaiConfigArgs) ToModelServingConfigServedEntityExternalModelOpenaiConfigOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigOutput { + return i.ToModelServingConfigServedEntityExternalModelOpenaiConfigOutputWithContext(context.Background()) } -func (i MwsNetworksGcpNetworkInfoArgs) ToMwsNetworksGcpNetworkInfoOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksGcpNetworkInfoOutput) +func (i ModelServingConfigServedEntityExternalModelOpenaiConfigArgs) ToModelServingConfigServedEntityExternalModelOpenaiConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) } -func (i MwsNetworksGcpNetworkInfoArgs) ToMwsNetworksGcpNetworkInfoPtrOutput() MwsNetworksGcpNetworkInfoPtrOutput { - return i.ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelOpenaiConfigArgs) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(context.Background()) } -func (i MwsNetworksGcpNetworkInfoArgs) ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksGcpNetworkInfoOutput).ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(ctx) +func (i ModelServingConfigServedEntityExternalModelOpenaiConfigArgs) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelOpenaiConfigOutput).ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(ctx) } -// MwsNetworksGcpNetworkInfoPtrInput is an input type that accepts MwsNetworksGcpNetworkInfoArgs, MwsNetworksGcpNetworkInfoPtr and MwsNetworksGcpNetworkInfoPtrOutput values. -// You can construct a concrete instance of `MwsNetworksGcpNetworkInfoPtrInput` via: +// ModelServingConfigServedEntityExternalModelOpenaiConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelOpenaiConfigArgs, ModelServingConfigServedEntityExternalModelOpenaiConfigPtr and ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelOpenaiConfigPtrInput` via: // -// MwsNetworksGcpNetworkInfoArgs{...} +// ModelServingConfigServedEntityExternalModelOpenaiConfigArgs{...} // // or: // // nil -type MwsNetworksGcpNetworkInfoPtrInput interface { +type ModelServingConfigServedEntityExternalModelOpenaiConfigPtrInput interface { pulumi.Input - ToMwsNetworksGcpNetworkInfoPtrOutput() MwsNetworksGcpNetworkInfoPtrOutput - ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(context.Context) MwsNetworksGcpNetworkInfoPtrOutput + ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput + ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput } -type mwsNetworksGcpNetworkInfoPtrType MwsNetworksGcpNetworkInfoArgs +type modelServingConfigServedEntityExternalModelOpenaiConfigPtrType ModelServingConfigServedEntityExternalModelOpenaiConfigArgs -func MwsNetworksGcpNetworkInfoPtr(v *MwsNetworksGcpNetworkInfoArgs) MwsNetworksGcpNetworkInfoPtrInput { - return (*mwsNetworksGcpNetworkInfoPtrType)(v) +func ModelServingConfigServedEntityExternalModelOpenaiConfigPtr(v *ModelServingConfigServedEntityExternalModelOpenaiConfigArgs) ModelServingConfigServedEntityExternalModelOpenaiConfigPtrInput { + return (*modelServingConfigServedEntityExternalModelOpenaiConfigPtrType)(v) } -func (*mwsNetworksGcpNetworkInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsNetworksGcpNetworkInfo)(nil)).Elem() +func (*modelServingConfigServedEntityExternalModelOpenaiConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelOpenaiConfig)(nil)).Elem() } -func (i *mwsNetworksGcpNetworkInfoPtrType) ToMwsNetworksGcpNetworkInfoPtrOutput() MwsNetworksGcpNetworkInfoPtrOutput { - return i.ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(context.Background()) +func (i *modelServingConfigServedEntityExternalModelOpenaiConfigPtrType) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(context.Background()) } -func (i *mwsNetworksGcpNetworkInfoPtrType) ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksGcpNetworkInfoPtrOutput) +func (i *modelServingConfigServedEntityExternalModelOpenaiConfigPtrType) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) } -type MwsNetworksGcpNetworkInfoOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelOpenaiConfigOutput struct{ *pulumi.OutputState } -func (MwsNetworksGcpNetworkInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworksGcpNetworkInfo)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelOpenaiConfig)(nil)).Elem() } -func (o MwsNetworksGcpNetworkInfoOutput) ToMwsNetworksGcpNetworkInfoOutput() MwsNetworksGcpNetworkInfoOutput { +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) ToModelServingConfigServedEntityExternalModelOpenaiConfigOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigOutput { return o } -func (o MwsNetworksGcpNetworkInfoOutput) ToMwsNetworksGcpNetworkInfoOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoOutput { +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) ToModelServingConfigServedEntityExternalModelOpenaiConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigOutput { return o } -func (o MwsNetworksGcpNetworkInfoOutput) ToMwsNetworksGcpNetworkInfoPtrOutput() MwsNetworksGcpNetworkInfoPtrOutput { - return o.ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(context.Background()) +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { + return o.ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(context.Background()) } -func (o MwsNetworksGcpNetworkInfoOutput) ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsNetworksGcpNetworkInfo) *MwsNetworksGcpNetworkInfo { +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelOpenaiConfig) *ModelServingConfigServedEntityExternalModelOpenaiConfig { return &v - }).(MwsNetworksGcpNetworkInfoPtrOutput) + }).(ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) } -// 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) +// 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) } -// 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 Databricks secret key reference for an OpenAI or Azure OpenAI API key. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiApiKey() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) string { return v.OpenaiApiKey }).(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) +// This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and adjust this parameter to represent 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) } -// 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) +// 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) } -// 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) +// 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) } -// 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) +// 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 MwsNetworksGcpNetworkInfoPtrOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput struct{ *pulumi.OutputState } -func (MwsNetworksGcpNetworkInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsNetworksGcpNetworkInfo)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelOpenaiConfig)(nil)).Elem() } -func (o MwsNetworksGcpNetworkInfoPtrOutput) ToMwsNetworksGcpNetworkInfoPtrOutput() MwsNetworksGcpNetworkInfoPtrOutput { +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { return o } -func (o MwsNetworksGcpNetworkInfoPtrOutput) ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoPtrOutput { +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { return o } -func (o MwsNetworksGcpNetworkInfoPtrOutput) Elem() MwsNetworksGcpNetworkInfoOutput { - return o.ApplyT(func(v *MwsNetworksGcpNetworkInfo) MwsNetworksGcpNetworkInfo { +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelOpenaiConfigOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) ModelServingConfigServedEntityExternalModelOpenaiConfig { if v != nil { return *v } - var ret MwsNetworksGcpNetworkInfo + var ret ModelServingConfigServedEntityExternalModelOpenaiConfig return ret - }).(MwsNetworksGcpNetworkInfoOutput) + }).(ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) } -// The Google Cloud project ID of the VPC network. -func (o MwsNetworksGcpNetworkInfoPtrOutput) NetworkProjectId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsNetworksGcpNetworkInfo) *string { +// 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.NetworkProjectId + return v.OpenaiApiBase }).(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 { +// 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.PodIpRangeName + return &v.OpenaiApiKey }).(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 { +// This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and adjust this parameter to represent 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.ServiceIpRangeName + return v.OpenaiApiType }).(pulumi.StringPtrOutput) } -// The ID of the subnet associated with this network. -func (o MwsNetworksGcpNetworkInfoPtrOutput) SubnetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsNetworksGcpNetworkInfo) *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.SubnetId + return v.OpenaiApiVersion }).(pulumi.StringPtrOutput) } -// 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 { +// 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.SubnetRegion + return v.OpenaiDeploymentName }).(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 { +// 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.VpcId + return v.OpenaiOrganization }).(pulumi.StringPtrOutput) } -type MwsNetworksVpcEndpoints struct { - DataplaneRelays []string `pulumi:"dataplaneRelays"` - RestApis []string `pulumi:"restApis"` +type ModelServingConfigServedEntityExternalModelPalmConfig struct { + // The Databricks secret key reference for a PaLM API key. + PalmApiKey string `pulumi:"palmApiKey"` } -// MwsNetworksVpcEndpointsInput is an input type that accepts MwsNetworksVpcEndpointsArgs and MwsNetworksVpcEndpointsOutput values. -// You can construct a concrete instance of `MwsNetworksVpcEndpointsInput` via: +// ModelServingConfigServedEntityExternalModelPalmConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelPalmConfigArgs and ModelServingConfigServedEntityExternalModelPalmConfigOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelPalmConfigInput` via: // -// MwsNetworksVpcEndpointsArgs{...} -type MwsNetworksVpcEndpointsInput interface { +// ModelServingConfigServedEntityExternalModelPalmConfigArgs{...} +type ModelServingConfigServedEntityExternalModelPalmConfigInput interface { pulumi.Input - ToMwsNetworksVpcEndpointsOutput() MwsNetworksVpcEndpointsOutput - ToMwsNetworksVpcEndpointsOutputWithContext(context.Context) MwsNetworksVpcEndpointsOutput + ToModelServingConfigServedEntityExternalModelPalmConfigOutput() ModelServingConfigServedEntityExternalModelPalmConfigOutput + ToModelServingConfigServedEntityExternalModelPalmConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelPalmConfigOutput } -type MwsNetworksVpcEndpointsArgs struct { - DataplaneRelays pulumi.StringArrayInput `pulumi:"dataplaneRelays"` - RestApis pulumi.StringArrayInput `pulumi:"restApis"` +type ModelServingConfigServedEntityExternalModelPalmConfigArgs struct { + // The Databricks secret key reference for a PaLM API key. + PalmApiKey pulumi.StringInput `pulumi:"palmApiKey"` } -func (MwsNetworksVpcEndpointsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworksVpcEndpoints)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelPalmConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelPalmConfig)(nil)).Elem() } -func (i MwsNetworksVpcEndpointsArgs) ToMwsNetworksVpcEndpointsOutput() MwsNetworksVpcEndpointsOutput { - return i.ToMwsNetworksVpcEndpointsOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelPalmConfigArgs) ToModelServingConfigServedEntityExternalModelPalmConfigOutput() ModelServingConfigServedEntityExternalModelPalmConfigOutput { + return i.ToModelServingConfigServedEntityExternalModelPalmConfigOutputWithContext(context.Background()) } -func (i MwsNetworksVpcEndpointsArgs) ToMwsNetworksVpcEndpointsOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksVpcEndpointsOutput) +func (i ModelServingConfigServedEntityExternalModelPalmConfigArgs) ToModelServingConfigServedEntityExternalModelPalmConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPalmConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelPalmConfigOutput) } -func (i MwsNetworksVpcEndpointsArgs) ToMwsNetworksVpcEndpointsPtrOutput() MwsNetworksVpcEndpointsPtrOutput { - return i.ToMwsNetworksVpcEndpointsPtrOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelPalmConfigArgs) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutput() ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(context.Background()) } -func (i MwsNetworksVpcEndpointsArgs) ToMwsNetworksVpcEndpointsPtrOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksVpcEndpointsOutput).ToMwsNetworksVpcEndpointsPtrOutputWithContext(ctx) +func (i ModelServingConfigServedEntityExternalModelPalmConfigArgs) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelPalmConfigOutput).ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(ctx) } -// MwsNetworksVpcEndpointsPtrInput is an input type that accepts MwsNetworksVpcEndpointsArgs, MwsNetworksVpcEndpointsPtr and MwsNetworksVpcEndpointsPtrOutput values. -// You can construct a concrete instance of `MwsNetworksVpcEndpointsPtrInput` via: +// ModelServingConfigServedEntityExternalModelPalmConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelPalmConfigArgs, ModelServingConfigServedEntityExternalModelPalmConfigPtr and ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelPalmConfigPtrInput` via: // -// MwsNetworksVpcEndpointsArgs{...} +// ModelServingConfigServedEntityExternalModelPalmConfigArgs{...} // // or: // // nil -type MwsNetworksVpcEndpointsPtrInput interface { +type ModelServingConfigServedEntityExternalModelPalmConfigPtrInput interface { pulumi.Input - ToMwsNetworksVpcEndpointsPtrOutput() MwsNetworksVpcEndpointsPtrOutput - ToMwsNetworksVpcEndpointsPtrOutputWithContext(context.Context) MwsNetworksVpcEndpointsPtrOutput + ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutput() ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput + ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput } -type mwsNetworksVpcEndpointsPtrType MwsNetworksVpcEndpointsArgs +type modelServingConfigServedEntityExternalModelPalmConfigPtrType ModelServingConfigServedEntityExternalModelPalmConfigArgs -func MwsNetworksVpcEndpointsPtr(v *MwsNetworksVpcEndpointsArgs) MwsNetworksVpcEndpointsPtrInput { - return (*mwsNetworksVpcEndpointsPtrType)(v) +func ModelServingConfigServedEntityExternalModelPalmConfigPtr(v *ModelServingConfigServedEntityExternalModelPalmConfigArgs) ModelServingConfigServedEntityExternalModelPalmConfigPtrInput { + return (*modelServingConfigServedEntityExternalModelPalmConfigPtrType)(v) } -func (*mwsNetworksVpcEndpointsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsNetworksVpcEndpoints)(nil)).Elem() +func (*modelServingConfigServedEntityExternalModelPalmConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelPalmConfig)(nil)).Elem() } -func (i *mwsNetworksVpcEndpointsPtrType) ToMwsNetworksVpcEndpointsPtrOutput() MwsNetworksVpcEndpointsPtrOutput { - return i.ToMwsNetworksVpcEndpointsPtrOutputWithContext(context.Background()) +func (i *modelServingConfigServedEntityExternalModelPalmConfigPtrType) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutput() ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(context.Background()) } -func (i *mwsNetworksVpcEndpointsPtrType) ToMwsNetworksVpcEndpointsPtrOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksVpcEndpointsPtrOutput) +func (i *modelServingConfigServedEntityExternalModelPalmConfigPtrType) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) } -type MwsNetworksVpcEndpointsOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelPalmConfigOutput struct{ *pulumi.OutputState } -func (MwsNetworksVpcEndpointsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworksVpcEndpoints)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelPalmConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelPalmConfig)(nil)).Elem() } -func (o MwsNetworksVpcEndpointsOutput) ToMwsNetworksVpcEndpointsOutput() MwsNetworksVpcEndpointsOutput { +func (o ModelServingConfigServedEntityExternalModelPalmConfigOutput) ToModelServingConfigServedEntityExternalModelPalmConfigOutput() ModelServingConfigServedEntityExternalModelPalmConfigOutput { return o } -func (o MwsNetworksVpcEndpointsOutput) ToMwsNetworksVpcEndpointsOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsOutput { +func (o ModelServingConfigServedEntityExternalModelPalmConfigOutput) ToModelServingConfigServedEntityExternalModelPalmConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPalmConfigOutput { return o } -func (o MwsNetworksVpcEndpointsOutput) ToMwsNetworksVpcEndpointsPtrOutput() MwsNetworksVpcEndpointsPtrOutput { - return o.ToMwsNetworksVpcEndpointsPtrOutputWithContext(context.Background()) +func (o ModelServingConfigServedEntityExternalModelPalmConfigOutput) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutput() ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { + return o.ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(context.Background()) } -func (o MwsNetworksVpcEndpointsOutput) ToMwsNetworksVpcEndpointsPtrOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsNetworksVpcEndpoints) *MwsNetworksVpcEndpoints { +func (o ModelServingConfigServedEntityExternalModelPalmConfigOutput) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelPalmConfig) *ModelServingConfigServedEntityExternalModelPalmConfig { return &v - }).(MwsNetworksVpcEndpointsPtrOutput) -} - -func (o MwsNetworksVpcEndpointsOutput) DataplaneRelays() pulumi.StringArrayOutput { - return o.ApplyT(func(v MwsNetworksVpcEndpoints) []string { return v.DataplaneRelays }).(pulumi.StringArrayOutput) + }).(ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) } -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 PaLM API key. +func (o ModelServingConfigServedEntityExternalModelPalmConfigOutput) PalmApiKey() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelPalmConfig) string { return v.PalmApiKey }).(pulumi.StringOutput) } -type MwsNetworksVpcEndpointsPtrOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput struct{ *pulumi.OutputState } -func (MwsNetworksVpcEndpointsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsNetworksVpcEndpoints)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelPalmConfig)(nil)).Elem() } -func (o MwsNetworksVpcEndpointsPtrOutput) ToMwsNetworksVpcEndpointsPtrOutput() MwsNetworksVpcEndpointsPtrOutput { +func (o ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutput() ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { return o } -func (o MwsNetworksVpcEndpointsPtrOutput) ToMwsNetworksVpcEndpointsPtrOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsPtrOutput { +func (o ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { return o } -func (o MwsNetworksVpcEndpointsPtrOutput) Elem() MwsNetworksVpcEndpointsOutput { - return o.ApplyT(func(v *MwsNetworksVpcEndpoints) MwsNetworksVpcEndpoints { +func (o ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelPalmConfigOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelPalmConfig) ModelServingConfigServedEntityExternalModelPalmConfig { if v != nil { return *v } - var ret MwsNetworksVpcEndpoints + var ret ModelServingConfigServedEntityExternalModelPalmConfig return ret - }).(MwsNetworksVpcEndpointsOutput) -} - -func (o MwsNetworksVpcEndpointsPtrOutput) DataplaneRelays() pulumi.StringArrayOutput { - return o.ApplyT(func(v *MwsNetworksVpcEndpoints) []string { - if v == nil { - return nil - } - return v.DataplaneRelays - }).(pulumi.StringArrayOutput) + }).(ModelServingConfigServedEntityExternalModelPalmConfigOutput) } -func (o MwsNetworksVpcEndpointsPtrOutput) RestApis() pulumi.StringArrayOutput { - return o.ApplyT(func(v *MwsNetworksVpcEndpoints) []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.RestApis - }).(pulumi.StringArrayOutput) + return &v.PalmApiKey + }).(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"` +type ModelServingConfigServedModel struct { + // a map of environment variable name/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]interface{} `pulumi:"environmentVars"` + // ARN of the instance profile that the served model will use to access AWS resources. + InstanceProfileArn *string `pulumi:"instanceProfileArn"` + // 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 documentation for all options. The default value is `CPU`. + WorkloadType *string `pulumi:"workloadType"` } -// MwsVpcEndpointGcpVpcEndpointInfoInput is an input type that accepts MwsVpcEndpointGcpVpcEndpointInfoArgs and MwsVpcEndpointGcpVpcEndpointInfoOutput values. -// You can construct a concrete instance of `MwsVpcEndpointGcpVpcEndpointInfoInput` via: +// ModelServingConfigServedModelInput is an input type that accepts ModelServingConfigServedModelArgs and ModelServingConfigServedModelOutput values. +// You can construct a concrete instance of `ModelServingConfigServedModelInput` via: // -// MwsVpcEndpointGcpVpcEndpointInfoArgs{...} -type MwsVpcEndpointGcpVpcEndpointInfoInput interface { +// ModelServingConfigServedModelArgs{...} +type ModelServingConfigServedModelInput interface { pulumi.Input - ToMwsVpcEndpointGcpVpcEndpointInfoOutput() MwsVpcEndpointGcpVpcEndpointInfoOutput - ToMwsVpcEndpointGcpVpcEndpointInfoOutputWithContext(context.Context) MwsVpcEndpointGcpVpcEndpointInfoOutput -} - -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"` -} - -func (MwsVpcEndpointGcpVpcEndpointInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsVpcEndpointGcpVpcEndpointInfo)(nil)).Elem() + ToModelServingConfigServedModelOutput() ModelServingConfigServedModelOutput + ToModelServingConfigServedModelOutputWithContext(context.Context) ModelServingConfigServedModelOutput } -func (i MwsVpcEndpointGcpVpcEndpointInfoArgs) ToMwsVpcEndpointGcpVpcEndpointInfoOutput() MwsVpcEndpointGcpVpcEndpointInfoOutput { - return i.ToMwsVpcEndpointGcpVpcEndpointInfoOutputWithContext(context.Background()) +type ModelServingConfigServedModelArgs struct { + // a map of environment variable name/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.MapInput `pulumi:"environmentVars"` + // ARN of the instance profile that the served model will use to access AWS resources. + InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` + // 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.StringInput `pulumi:"workloadSize"` + // The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. + WorkloadType pulumi.StringPtrInput `pulumi:"workloadType"` } -func (i MwsVpcEndpointGcpVpcEndpointInfoArgs) ToMwsVpcEndpointGcpVpcEndpointInfoOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsVpcEndpointGcpVpcEndpointInfoOutput) +func (ModelServingConfigServedModelArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedModel)(nil)).Elem() } -func (i MwsVpcEndpointGcpVpcEndpointInfoArgs) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutput() MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { - return i.ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(context.Background()) +func (i ModelServingConfigServedModelArgs) ToModelServingConfigServedModelOutput() ModelServingConfigServedModelOutput { + return i.ToModelServingConfigServedModelOutputWithContext(context.Background()) } -func (i MwsVpcEndpointGcpVpcEndpointInfoArgs) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsVpcEndpointGcpVpcEndpointInfoOutput).ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(ctx) +func (i ModelServingConfigServedModelArgs) ToModelServingConfigServedModelOutputWithContext(ctx context.Context) ModelServingConfigServedModelOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedModelOutput) } -// MwsVpcEndpointGcpVpcEndpointInfoPtrInput is an input type that accepts MwsVpcEndpointGcpVpcEndpointInfoArgs, MwsVpcEndpointGcpVpcEndpointInfoPtr and MwsVpcEndpointGcpVpcEndpointInfoPtrOutput values. -// You can construct a concrete instance of `MwsVpcEndpointGcpVpcEndpointInfoPtrInput` via: -// -// MwsVpcEndpointGcpVpcEndpointInfoArgs{...} -// -// or: +// ModelServingConfigServedModelArrayInput is an input type that accepts ModelServingConfigServedModelArray and ModelServingConfigServedModelArrayOutput values. +// You can construct a concrete instance of `ModelServingConfigServedModelArrayInput` via: // -// nil -type MwsVpcEndpointGcpVpcEndpointInfoPtrInput interface { +// ModelServingConfigServedModelArray{ ModelServingConfigServedModelArgs{...} } +type ModelServingConfigServedModelArrayInput interface { pulumi.Input - ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutput() MwsVpcEndpointGcpVpcEndpointInfoPtrOutput - ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(context.Context) MwsVpcEndpointGcpVpcEndpointInfoPtrOutput + ToModelServingConfigServedModelArrayOutput() ModelServingConfigServedModelArrayOutput + ToModelServingConfigServedModelArrayOutputWithContext(context.Context) ModelServingConfigServedModelArrayOutput } -type mwsVpcEndpointGcpVpcEndpointInfoPtrType MwsVpcEndpointGcpVpcEndpointInfoArgs - -func MwsVpcEndpointGcpVpcEndpointInfoPtr(v *MwsVpcEndpointGcpVpcEndpointInfoArgs) MwsVpcEndpointGcpVpcEndpointInfoPtrInput { - return (*mwsVpcEndpointGcpVpcEndpointInfoPtrType)(v) -} +type ModelServingConfigServedModelArray []ModelServingConfigServedModelInput -func (*mwsVpcEndpointGcpVpcEndpointInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsVpcEndpointGcpVpcEndpointInfo)(nil)).Elem() +func (ModelServingConfigServedModelArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingConfigServedModel)(nil)).Elem() } -func (i *mwsVpcEndpointGcpVpcEndpointInfoPtrType) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutput() MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { - return i.ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(context.Background()) +func (i ModelServingConfigServedModelArray) ToModelServingConfigServedModelArrayOutput() ModelServingConfigServedModelArrayOutput { + return i.ToModelServingConfigServedModelArrayOutputWithContext(context.Background()) } -func (i *mwsVpcEndpointGcpVpcEndpointInfoPtrType) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) +func (i ModelServingConfigServedModelArray) ToModelServingConfigServedModelArrayOutputWithContext(ctx context.Context) ModelServingConfigServedModelArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedModelArrayOutput) } -type MwsVpcEndpointGcpVpcEndpointInfoOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedModelOutput struct{ *pulumi.OutputState } -func (MwsVpcEndpointGcpVpcEndpointInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsVpcEndpointGcpVpcEndpointInfo)(nil)).Elem() +func (ModelServingConfigServedModelOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedModel)(nil)).Elem() } -func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) ToMwsVpcEndpointGcpVpcEndpointInfoOutput() MwsVpcEndpointGcpVpcEndpointInfoOutput { +func (o ModelServingConfigServedModelOutput) ToModelServingConfigServedModelOutput() ModelServingConfigServedModelOutput { return o } -func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) ToMwsVpcEndpointGcpVpcEndpointInfoOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoOutput { +func (o ModelServingConfigServedModelOutput) ToModelServingConfigServedModelOutputWithContext(ctx context.Context) ModelServingConfigServedModelOutput { return o } -func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutput() MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { - return o.ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(context.Background()) +// a map of environment variable name/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.MapOutput { + return o.ApplyT(func(v ModelServingConfigServedModel) map[string]interface{} { return v.EnvironmentVars }).(pulumi.MapOutput) } -func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsVpcEndpointGcpVpcEndpointInfo) *MwsVpcEndpointGcpVpcEndpointInfo { - return &v - }).(MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) +// 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) } -// Region of the PSC endpoint. -func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) EndpointRegion() pulumi.StringOutput { - return o.ApplyT(func(v MwsVpcEndpointGcpVpcEndpointInfo) string { return v.EndpointRegion }).(pulumi.StringOutput) +// 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) } -// 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) +// 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) } -// 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 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) } -// 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) +// 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) } -// 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 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.StringOutput { + return o.ApplyT(func(v ModelServingConfigServedModel) string { return v.WorkloadSize }).(pulumi.StringOutput) } -type MwsVpcEndpointGcpVpcEndpointInfoPtrOutput struct{ *pulumi.OutputState } +// The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. +func (o ModelServingConfigServedModelOutput) WorkloadType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedModel) *string { return v.WorkloadType }).(pulumi.StringPtrOutput) +} -func (MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsVpcEndpointGcpVpcEndpointInfo)(nil)).Elem() +type ModelServingConfigServedModelArrayOutput struct{ *pulumi.OutputState } + +func (ModelServingConfigServedModelArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingConfigServedModel)(nil)).Elem() } -func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutput() MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { +func (o ModelServingConfigServedModelArrayOutput) ToModelServingConfigServedModelArrayOutput() ModelServingConfigServedModelArrayOutput { return o } -func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { +func (o ModelServingConfigServedModelArrayOutput) ToModelServingConfigServedModelArrayOutputWithContext(ctx context.Context) ModelServingConfigServedModelArrayOutput { return o } -func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) Elem() MwsVpcEndpointGcpVpcEndpointInfoOutput { - return o.ApplyT(func(v *MwsVpcEndpointGcpVpcEndpointInfo) MwsVpcEndpointGcpVpcEndpointInfo { - if v != nil { - return *v - } - var ret MwsVpcEndpointGcpVpcEndpointInfo - return ret - }).(MwsVpcEndpointGcpVpcEndpointInfoOutput) +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) } -// 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) +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"` } -// 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) +// ModelServingConfigTrafficConfigInput is an input type that accepts ModelServingConfigTrafficConfigArgs and ModelServingConfigTrafficConfigOutput values. +// You can construct a concrete instance of `ModelServingConfigTrafficConfigInput` via: +// +// ModelServingConfigTrafficConfigArgs{...} +type ModelServingConfigTrafficConfigInput interface { + pulumi.Input + + ToModelServingConfigTrafficConfigOutput() ModelServingConfigTrafficConfigOutput + ToModelServingConfigTrafficConfigOutputWithContext(context.Context) ModelServingConfigTrafficConfigOutput } -// 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 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"` } -// 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) -} - -// 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) -} - -type MwsWorkspacesCloudResourceContainer struct { - // A block that consists of the following field: - Gcp MwsWorkspacesCloudResourceContainerGcp `pulumi:"gcp"` -} - -// 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 - - ToMwsWorkspacesCloudResourceContainerOutput() MwsWorkspacesCloudResourceContainerOutput - ToMwsWorkspacesCloudResourceContainerOutputWithContext(context.Context) MwsWorkspacesCloudResourceContainerOutput -} - -type MwsWorkspacesCloudResourceContainerArgs struct { - // A block that consists of the following field: - Gcp MwsWorkspacesCloudResourceContainerGcpInput `pulumi:"gcp"` -} - -func (MwsWorkspacesCloudResourceContainerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesCloudResourceContainer)(nil)).Elem() +func (ModelServingConfigTrafficConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigTrafficConfig)(nil)).Elem() } -func (i MwsWorkspacesCloudResourceContainerArgs) ToMwsWorkspacesCloudResourceContainerOutput() MwsWorkspacesCloudResourceContainerOutput { - return i.ToMwsWorkspacesCloudResourceContainerOutputWithContext(context.Background()) +func (i ModelServingConfigTrafficConfigArgs) ToModelServingConfigTrafficConfigOutput() ModelServingConfigTrafficConfigOutput { + return i.ToModelServingConfigTrafficConfigOutputWithContext(context.Background()) } -func (i MwsWorkspacesCloudResourceContainerArgs) ToMwsWorkspacesCloudResourceContainerOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerOutput) +func (i ModelServingConfigTrafficConfigArgs) ToModelServingConfigTrafficConfigOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigTrafficConfigOutput) } -func (i MwsWorkspacesCloudResourceContainerArgs) ToMwsWorkspacesCloudResourceContainerPtrOutput() MwsWorkspacesCloudResourceContainerPtrOutput { - return i.ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(context.Background()) +func (i ModelServingConfigTrafficConfigArgs) ToModelServingConfigTrafficConfigPtrOutput() ModelServingConfigTrafficConfigPtrOutput { + return i.ToModelServingConfigTrafficConfigPtrOutputWithContext(context.Background()) } -func (i MwsWorkspacesCloudResourceContainerArgs) ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerOutput).ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(ctx) +func (i ModelServingConfigTrafficConfigArgs) ToModelServingConfigTrafficConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigTrafficConfigOutput).ToModelServingConfigTrafficConfigPtrOutputWithContext(ctx) } -// MwsWorkspacesCloudResourceContainerPtrInput is an input type that accepts MwsWorkspacesCloudResourceContainerArgs, MwsWorkspacesCloudResourceContainerPtr and MwsWorkspacesCloudResourceContainerPtrOutput values. -// You can construct a concrete instance of `MwsWorkspacesCloudResourceContainerPtrInput` via: +// ModelServingConfigTrafficConfigPtrInput is an input type that accepts ModelServingConfigTrafficConfigArgs, ModelServingConfigTrafficConfigPtr and ModelServingConfigTrafficConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigTrafficConfigPtrInput` via: // -// MwsWorkspacesCloudResourceContainerArgs{...} +// ModelServingConfigTrafficConfigArgs{...} // // or: // // nil -type MwsWorkspacesCloudResourceContainerPtrInput interface { +type ModelServingConfigTrafficConfigPtrInput interface { pulumi.Input - ToMwsWorkspacesCloudResourceContainerPtrOutput() MwsWorkspacesCloudResourceContainerPtrOutput - ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(context.Context) MwsWorkspacesCloudResourceContainerPtrOutput + ToModelServingConfigTrafficConfigPtrOutput() ModelServingConfigTrafficConfigPtrOutput + ToModelServingConfigTrafficConfigPtrOutputWithContext(context.Context) ModelServingConfigTrafficConfigPtrOutput } -type mwsWorkspacesCloudResourceContainerPtrType MwsWorkspacesCloudResourceContainerArgs +type modelServingConfigTrafficConfigPtrType ModelServingConfigTrafficConfigArgs -func MwsWorkspacesCloudResourceContainerPtr(v *MwsWorkspacesCloudResourceContainerArgs) MwsWorkspacesCloudResourceContainerPtrInput { - return (*mwsWorkspacesCloudResourceContainerPtrType)(v) +func ModelServingConfigTrafficConfigPtr(v *ModelServingConfigTrafficConfigArgs) ModelServingConfigTrafficConfigPtrInput { + return (*modelServingConfigTrafficConfigPtrType)(v) } -func (*mwsWorkspacesCloudResourceContainerPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesCloudResourceContainer)(nil)).Elem() +func (*modelServingConfigTrafficConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigTrafficConfig)(nil)).Elem() } -func (i *mwsWorkspacesCloudResourceContainerPtrType) ToMwsWorkspacesCloudResourceContainerPtrOutput() MwsWorkspacesCloudResourceContainerPtrOutput { - return i.ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(context.Background()) +func (i *modelServingConfigTrafficConfigPtrType) ToModelServingConfigTrafficConfigPtrOutput() ModelServingConfigTrafficConfigPtrOutput { + return i.ToModelServingConfigTrafficConfigPtrOutputWithContext(context.Background()) } -func (i *mwsWorkspacesCloudResourceContainerPtrType) ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerPtrOutput) +func (i *modelServingConfigTrafficConfigPtrType) ToModelServingConfigTrafficConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigTrafficConfigPtrOutput) } -type MwsWorkspacesCloudResourceContainerOutput struct{ *pulumi.OutputState } +type ModelServingConfigTrafficConfigOutput struct{ *pulumi.OutputState } -func (MwsWorkspacesCloudResourceContainerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesCloudResourceContainer)(nil)).Elem() +func (ModelServingConfigTrafficConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigTrafficConfig)(nil)).Elem() } -func (o MwsWorkspacesCloudResourceContainerOutput) ToMwsWorkspacesCloudResourceContainerOutput() MwsWorkspacesCloudResourceContainerOutput { +func (o ModelServingConfigTrafficConfigOutput) ToModelServingConfigTrafficConfigOutput() ModelServingConfigTrafficConfigOutput { return o } -func (o MwsWorkspacesCloudResourceContainerOutput) ToMwsWorkspacesCloudResourceContainerOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerOutput { +func (o ModelServingConfigTrafficConfigOutput) ToModelServingConfigTrafficConfigOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigOutput { return o } -func (o MwsWorkspacesCloudResourceContainerOutput) ToMwsWorkspacesCloudResourceContainerPtrOutput() MwsWorkspacesCloudResourceContainerPtrOutput { - return o.ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(context.Background()) +func (o ModelServingConfigTrafficConfigOutput) ToModelServingConfigTrafficConfigPtrOutput() ModelServingConfigTrafficConfigPtrOutput { + return o.ToModelServingConfigTrafficConfigPtrOutputWithContext(context.Background()) } -func (o MwsWorkspacesCloudResourceContainerOutput) ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesCloudResourceContainer) *MwsWorkspacesCloudResourceContainer { +func (o ModelServingConfigTrafficConfigOutput) ToModelServingConfigTrafficConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigTrafficConfig) *ModelServingConfigTrafficConfig { return &v - }).(MwsWorkspacesCloudResourceContainerPtrOutput) + }).(ModelServingConfigTrafficConfigPtrOutput) } -// A block that consists of the following field: -func (o MwsWorkspacesCloudResourceContainerOutput) Gcp() MwsWorkspacesCloudResourceContainerGcpOutput { - return o.ApplyT(func(v MwsWorkspacesCloudResourceContainer) MwsWorkspacesCloudResourceContainerGcp { return v.Gcp }).(MwsWorkspacesCloudResourceContainerGcpOutput) +// 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 MwsWorkspacesCloudResourceContainerPtrOutput struct{ *pulumi.OutputState } +type ModelServingConfigTrafficConfigPtrOutput struct{ *pulumi.OutputState } -func (MwsWorkspacesCloudResourceContainerPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesCloudResourceContainer)(nil)).Elem() +func (ModelServingConfigTrafficConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigTrafficConfig)(nil)).Elem() } -func (o MwsWorkspacesCloudResourceContainerPtrOutput) ToMwsWorkspacesCloudResourceContainerPtrOutput() MwsWorkspacesCloudResourceContainerPtrOutput { +func (o ModelServingConfigTrafficConfigPtrOutput) ToModelServingConfigTrafficConfigPtrOutput() ModelServingConfigTrafficConfigPtrOutput { return o } -func (o MwsWorkspacesCloudResourceContainerPtrOutput) ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerPtrOutput { +func (o ModelServingConfigTrafficConfigPtrOutput) ToModelServingConfigTrafficConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigPtrOutput { return o } -func (o MwsWorkspacesCloudResourceContainerPtrOutput) Elem() MwsWorkspacesCloudResourceContainerOutput { - return o.ApplyT(func(v *MwsWorkspacesCloudResourceContainer) MwsWorkspacesCloudResourceContainer { +func (o ModelServingConfigTrafficConfigPtrOutput) Elem() ModelServingConfigTrafficConfigOutput { + return o.ApplyT(func(v *ModelServingConfigTrafficConfig) ModelServingConfigTrafficConfig { if v != nil { return *v } - var ret MwsWorkspacesCloudResourceContainer + var ret ModelServingConfigTrafficConfig return ret - }).(MwsWorkspacesCloudResourceContainerOutput) + }).(ModelServingConfigTrafficConfigOutput) } -// A block that consists of the following field: -func (o MwsWorkspacesCloudResourceContainerPtrOutput) Gcp() MwsWorkspacesCloudResourceContainerGcpPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesCloudResourceContainer) *MwsWorkspacesCloudResourceContainerGcp { +// 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.Gcp - }).(MwsWorkspacesCloudResourceContainerGcpPtrOutput) + return v.Routes + }).(ModelServingConfigTrafficConfigRouteArrayOutput) } -type MwsWorkspacesCloudResourceContainerGcp struct { - // The Google Cloud project ID, which the workspace uses to instantiate cloud resources for your workspace. - ProjectId string `pulumi:"projectId"` +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"` } -// MwsWorkspacesCloudResourceContainerGcpInput is an input type that accepts MwsWorkspacesCloudResourceContainerGcpArgs and MwsWorkspacesCloudResourceContainerGcpOutput values. -// You can construct a concrete instance of `MwsWorkspacesCloudResourceContainerGcpInput` via: +// ModelServingConfigTrafficConfigRouteInput is an input type that accepts ModelServingConfigTrafficConfigRouteArgs and ModelServingConfigTrafficConfigRouteOutput values. +// You can construct a concrete instance of `ModelServingConfigTrafficConfigRouteInput` via: // -// MwsWorkspacesCloudResourceContainerGcpArgs{...} -type MwsWorkspacesCloudResourceContainerGcpInput interface { +// ModelServingConfigTrafficConfigRouteArgs{...} +type ModelServingConfigTrafficConfigRouteInput 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() + ToModelServingConfigTrafficConfigRouteOutput() ModelServingConfigTrafficConfigRouteOutput + ToModelServingConfigTrafficConfigRouteOutputWithContext(context.Context) ModelServingConfigTrafficConfigRouteOutput } -func (i MwsWorkspacesCloudResourceContainerGcpArgs) ToMwsWorkspacesCloudResourceContainerGcpOutput() MwsWorkspacesCloudResourceContainerGcpOutput { - return i.ToMwsWorkspacesCloudResourceContainerGcpOutputWithContext(context.Background()) +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"` } -func (i MwsWorkspacesCloudResourceContainerGcpArgs) ToMwsWorkspacesCloudResourceContainerGcpOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerGcpOutput) +func (ModelServingConfigTrafficConfigRouteArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigTrafficConfigRoute)(nil)).Elem() } -func (i MwsWorkspacesCloudResourceContainerGcpArgs) ToMwsWorkspacesCloudResourceContainerGcpPtrOutput() MwsWorkspacesCloudResourceContainerGcpPtrOutput { - return i.ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(context.Background()) +func (i ModelServingConfigTrafficConfigRouteArgs) ToModelServingConfigTrafficConfigRouteOutput() ModelServingConfigTrafficConfigRouteOutput { + return i.ToModelServingConfigTrafficConfigRouteOutputWithContext(context.Background()) } -func (i MwsWorkspacesCloudResourceContainerGcpArgs) ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerGcpOutput).ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(ctx) +func (i ModelServingConfigTrafficConfigRouteArgs) ToModelServingConfigTrafficConfigRouteOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigRouteOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigTrafficConfigRouteOutput) } -// MwsWorkspacesCloudResourceContainerGcpPtrInput is an input type that accepts MwsWorkspacesCloudResourceContainerGcpArgs, MwsWorkspacesCloudResourceContainerGcpPtr and MwsWorkspacesCloudResourceContainerGcpPtrOutput values. -// You can construct a concrete instance of `MwsWorkspacesCloudResourceContainerGcpPtrInput` via: -// -// MwsWorkspacesCloudResourceContainerGcpArgs{...} -// -// or: +// ModelServingConfigTrafficConfigRouteArrayInput is an input type that accepts ModelServingConfigTrafficConfigRouteArray and ModelServingConfigTrafficConfigRouteArrayOutput values. +// You can construct a concrete instance of `ModelServingConfigTrafficConfigRouteArrayInput` via: // -// nil -type MwsWorkspacesCloudResourceContainerGcpPtrInput interface { +// ModelServingConfigTrafficConfigRouteArray{ ModelServingConfigTrafficConfigRouteArgs{...} } +type ModelServingConfigTrafficConfigRouteArrayInput interface { pulumi.Input - ToMwsWorkspacesCloudResourceContainerGcpPtrOutput() MwsWorkspacesCloudResourceContainerGcpPtrOutput - ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(context.Context) MwsWorkspacesCloudResourceContainerGcpPtrOutput + ToModelServingConfigTrafficConfigRouteArrayOutput() ModelServingConfigTrafficConfigRouteArrayOutput + ToModelServingConfigTrafficConfigRouteArrayOutputWithContext(context.Context) ModelServingConfigTrafficConfigRouteArrayOutput } -type mwsWorkspacesCloudResourceContainerGcpPtrType MwsWorkspacesCloudResourceContainerGcpArgs - -func MwsWorkspacesCloudResourceContainerGcpPtr(v *MwsWorkspacesCloudResourceContainerGcpArgs) MwsWorkspacesCloudResourceContainerGcpPtrInput { - return (*mwsWorkspacesCloudResourceContainerGcpPtrType)(v) -} +type ModelServingConfigTrafficConfigRouteArray []ModelServingConfigTrafficConfigRouteInput -func (*mwsWorkspacesCloudResourceContainerGcpPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesCloudResourceContainerGcp)(nil)).Elem() +func (ModelServingConfigTrafficConfigRouteArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingConfigTrafficConfigRoute)(nil)).Elem() } -func (i *mwsWorkspacesCloudResourceContainerGcpPtrType) ToMwsWorkspacesCloudResourceContainerGcpPtrOutput() MwsWorkspacesCloudResourceContainerGcpPtrOutput { - return i.ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(context.Background()) +func (i ModelServingConfigTrafficConfigRouteArray) ToModelServingConfigTrafficConfigRouteArrayOutput() ModelServingConfigTrafficConfigRouteArrayOutput { + return i.ToModelServingConfigTrafficConfigRouteArrayOutputWithContext(context.Background()) } -func (i *mwsWorkspacesCloudResourceContainerGcpPtrType) ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerGcpPtrOutput) +func (i ModelServingConfigTrafficConfigRouteArray) ToModelServingConfigTrafficConfigRouteArrayOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigRouteArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigTrafficConfigRouteArrayOutput) } -type MwsWorkspacesCloudResourceContainerGcpOutput struct{ *pulumi.OutputState } +type ModelServingConfigTrafficConfigRouteOutput struct{ *pulumi.OutputState } -func (MwsWorkspacesCloudResourceContainerGcpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesCloudResourceContainerGcp)(nil)).Elem() +func (ModelServingConfigTrafficConfigRouteOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigTrafficConfigRoute)(nil)).Elem() } -func (o MwsWorkspacesCloudResourceContainerGcpOutput) ToMwsWorkspacesCloudResourceContainerGcpOutput() MwsWorkspacesCloudResourceContainerGcpOutput { +func (o ModelServingConfigTrafficConfigRouteOutput) ToModelServingConfigTrafficConfigRouteOutput() ModelServingConfigTrafficConfigRouteOutput { return o } -func (o MwsWorkspacesCloudResourceContainerGcpOutput) ToMwsWorkspacesCloudResourceContainerGcpOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpOutput { +func (o ModelServingConfigTrafficConfigRouteOutput) ToModelServingConfigTrafficConfigRouteOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigRouteOutput { return o } -func (o MwsWorkspacesCloudResourceContainerGcpOutput) ToMwsWorkspacesCloudResourceContainerGcpPtrOutput() MwsWorkspacesCloudResourceContainerGcpPtrOutput { - return o.ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(context.Background()) -} - -func (o MwsWorkspacesCloudResourceContainerGcpOutput) ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesCloudResourceContainerGcp) *MwsWorkspacesCloudResourceContainerGcp { - return &v - }).(MwsWorkspacesCloudResourceContainerGcpPtrOutput) +func (o ModelServingConfigTrafficConfigRouteOutput) ServedModelName() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingConfigTrafficConfigRoute) string { return v.ServedModelName }).(pulumi.StringOutput) } -// 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) +// 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 MwsWorkspacesCloudResourceContainerGcpPtrOutput struct{ *pulumi.OutputState } +type ModelServingConfigTrafficConfigRouteArrayOutput struct{ *pulumi.OutputState } -func (MwsWorkspacesCloudResourceContainerGcpPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesCloudResourceContainerGcp)(nil)).Elem() +func (ModelServingConfigTrafficConfigRouteArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingConfigTrafficConfigRoute)(nil)).Elem() } -func (o MwsWorkspacesCloudResourceContainerGcpPtrOutput) ToMwsWorkspacesCloudResourceContainerGcpPtrOutput() MwsWorkspacesCloudResourceContainerGcpPtrOutput { +func (o ModelServingConfigTrafficConfigRouteArrayOutput) ToModelServingConfigTrafficConfigRouteArrayOutput() ModelServingConfigTrafficConfigRouteArrayOutput { return o } -func (o MwsWorkspacesCloudResourceContainerGcpPtrOutput) ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpPtrOutput { +func (o ModelServingConfigTrafficConfigRouteArrayOutput) ToModelServingConfigTrafficConfigRouteArrayOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigRouteArrayOutput { return o } -func (o MwsWorkspacesCloudResourceContainerGcpPtrOutput) Elem() MwsWorkspacesCloudResourceContainerGcpOutput { - return o.ApplyT(func(v *MwsWorkspacesCloudResourceContainerGcp) MwsWorkspacesCloudResourceContainerGcp { - if v != nil { - return *v - } - var ret MwsWorkspacesCloudResourceContainerGcp - return ret - }).(MwsWorkspacesCloudResourceContainerGcpOutput) -} - -// 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) +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) } -type MwsWorkspacesExternalCustomerInfo struct { - AuthoritativeUserEmail string `pulumi:"authoritativeUserEmail"` - AuthoritativeUserFullName string `pulumi:"authoritativeUserFullName"` - CustomerName string `pulumi:"customerName"` +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"` } -// MwsWorkspacesExternalCustomerInfoInput is an input type that accepts MwsWorkspacesExternalCustomerInfoArgs and MwsWorkspacesExternalCustomerInfoOutput values. -// You can construct a concrete instance of `MwsWorkspacesExternalCustomerInfoInput` via: +// ModelServingRateLimitInput is an input type that accepts ModelServingRateLimitArgs and ModelServingRateLimitOutput values. +// You can construct a concrete instance of `ModelServingRateLimitInput` via: // -// MwsWorkspacesExternalCustomerInfoArgs{...} -type MwsWorkspacesExternalCustomerInfoInput interface { +// ModelServingRateLimitArgs{...} +type ModelServingRateLimitInput interface { pulumi.Input - ToMwsWorkspacesExternalCustomerInfoOutput() MwsWorkspacesExternalCustomerInfoOutput - ToMwsWorkspacesExternalCustomerInfoOutputWithContext(context.Context) MwsWorkspacesExternalCustomerInfoOutput -} - -type MwsWorkspacesExternalCustomerInfoArgs struct { - AuthoritativeUserEmail pulumi.StringInput `pulumi:"authoritativeUserEmail"` - AuthoritativeUserFullName pulumi.StringInput `pulumi:"authoritativeUserFullName"` - CustomerName pulumi.StringInput `pulumi:"customerName"` -} - -func (MwsWorkspacesExternalCustomerInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesExternalCustomerInfo)(nil)).Elem() + ToModelServingRateLimitOutput() ModelServingRateLimitOutput + ToModelServingRateLimitOutputWithContext(context.Context) ModelServingRateLimitOutput } -func (i MwsWorkspacesExternalCustomerInfoArgs) ToMwsWorkspacesExternalCustomerInfoOutput() MwsWorkspacesExternalCustomerInfoOutput { - return i.ToMwsWorkspacesExternalCustomerInfoOutputWithContext(context.Background()) +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 MwsWorkspacesExternalCustomerInfoArgs) ToMwsWorkspacesExternalCustomerInfoOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesExternalCustomerInfoOutput) +func (ModelServingRateLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingRateLimit)(nil)).Elem() } -func (i MwsWorkspacesExternalCustomerInfoArgs) ToMwsWorkspacesExternalCustomerInfoPtrOutput() MwsWorkspacesExternalCustomerInfoPtrOutput { - return i.ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(context.Background()) +func (i ModelServingRateLimitArgs) ToModelServingRateLimitOutput() ModelServingRateLimitOutput { + return i.ToModelServingRateLimitOutputWithContext(context.Background()) } -func (i MwsWorkspacesExternalCustomerInfoArgs) ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesExternalCustomerInfoOutput).ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(ctx) +func (i ModelServingRateLimitArgs) ToModelServingRateLimitOutputWithContext(ctx context.Context) ModelServingRateLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingRateLimitOutput) } -// MwsWorkspacesExternalCustomerInfoPtrInput is an input type that accepts MwsWorkspacesExternalCustomerInfoArgs, MwsWorkspacesExternalCustomerInfoPtr and MwsWorkspacesExternalCustomerInfoPtrOutput values. -// You can construct a concrete instance of `MwsWorkspacesExternalCustomerInfoPtrInput` via: -// -// MwsWorkspacesExternalCustomerInfoArgs{...} -// -// or: +// ModelServingRateLimitArrayInput is an input type that accepts ModelServingRateLimitArray and ModelServingRateLimitArrayOutput values. +// You can construct a concrete instance of `ModelServingRateLimitArrayInput` via: // -// nil -type MwsWorkspacesExternalCustomerInfoPtrInput interface { +// ModelServingRateLimitArray{ ModelServingRateLimitArgs{...} } +type ModelServingRateLimitArrayInput interface { pulumi.Input - ToMwsWorkspacesExternalCustomerInfoPtrOutput() MwsWorkspacesExternalCustomerInfoPtrOutput - ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(context.Context) MwsWorkspacesExternalCustomerInfoPtrOutput + ToModelServingRateLimitArrayOutput() ModelServingRateLimitArrayOutput + ToModelServingRateLimitArrayOutputWithContext(context.Context) ModelServingRateLimitArrayOutput } -type mwsWorkspacesExternalCustomerInfoPtrType MwsWorkspacesExternalCustomerInfoArgs - -func MwsWorkspacesExternalCustomerInfoPtr(v *MwsWorkspacesExternalCustomerInfoArgs) MwsWorkspacesExternalCustomerInfoPtrInput { - return (*mwsWorkspacesExternalCustomerInfoPtrType)(v) -} +type ModelServingRateLimitArray []ModelServingRateLimitInput -func (*mwsWorkspacesExternalCustomerInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesExternalCustomerInfo)(nil)).Elem() +func (ModelServingRateLimitArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingRateLimit)(nil)).Elem() } -func (i *mwsWorkspacesExternalCustomerInfoPtrType) ToMwsWorkspacesExternalCustomerInfoPtrOutput() MwsWorkspacesExternalCustomerInfoPtrOutput { - return i.ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(context.Background()) +func (i ModelServingRateLimitArray) ToModelServingRateLimitArrayOutput() ModelServingRateLimitArrayOutput { + return i.ToModelServingRateLimitArrayOutputWithContext(context.Background()) } -func (i *mwsWorkspacesExternalCustomerInfoPtrType) ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesExternalCustomerInfoPtrOutput) +func (i ModelServingRateLimitArray) ToModelServingRateLimitArrayOutputWithContext(ctx context.Context) ModelServingRateLimitArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingRateLimitArrayOutput) } -type MwsWorkspacesExternalCustomerInfoOutput struct{ *pulumi.OutputState } +type ModelServingRateLimitOutput struct{ *pulumi.OutputState } -func (MwsWorkspacesExternalCustomerInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesExternalCustomerInfo)(nil)).Elem() +func (ModelServingRateLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingRateLimit)(nil)).Elem() } -func (o MwsWorkspacesExternalCustomerInfoOutput) ToMwsWorkspacesExternalCustomerInfoOutput() MwsWorkspacesExternalCustomerInfoOutput { +func (o ModelServingRateLimitOutput) ToModelServingRateLimitOutput() ModelServingRateLimitOutput { return o } -func (o MwsWorkspacesExternalCustomerInfoOutput) ToMwsWorkspacesExternalCustomerInfoOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoOutput { +func (o ModelServingRateLimitOutput) ToModelServingRateLimitOutputWithContext(ctx context.Context) ModelServingRateLimitOutput { return o } -func (o MwsWorkspacesExternalCustomerInfoOutput) ToMwsWorkspacesExternalCustomerInfoPtrOutput() MwsWorkspacesExternalCustomerInfoPtrOutput { - return o.ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(context.Background()) -} - -func (o MwsWorkspacesExternalCustomerInfoOutput) ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesExternalCustomerInfo) *MwsWorkspacesExternalCustomerInfo { - return &v - }).(MwsWorkspacesExternalCustomerInfoPtrOutput) -} - -func (o MwsWorkspacesExternalCustomerInfoOutput) AuthoritativeUserEmail() pulumi.StringOutput { - return o.ApplyT(func(v MwsWorkspacesExternalCustomerInfo) string { return v.AuthoritativeUserEmail }).(pulumi.StringOutput) +// 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) } -func (o MwsWorkspacesExternalCustomerInfoOutput) AuthoritativeUserFullName() pulumi.StringOutput { - return o.ApplyT(func(v MwsWorkspacesExternalCustomerInfo) string { return v.AuthoritativeUserFullName }).(pulumi.StringOutput) +// 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 MwsWorkspacesExternalCustomerInfoOutput) CustomerName() pulumi.StringOutput { - return o.ApplyT(func(v MwsWorkspacesExternalCustomerInfo) string { return v.CustomerName }).(pulumi.StringOutput) +// 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) } -type MwsWorkspacesExternalCustomerInfoPtrOutput struct{ *pulumi.OutputState } +type ModelServingRateLimitArrayOutput struct{ *pulumi.OutputState } -func (MwsWorkspacesExternalCustomerInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesExternalCustomerInfo)(nil)).Elem() +func (ModelServingRateLimitArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingRateLimit)(nil)).Elem() } -func (o MwsWorkspacesExternalCustomerInfoPtrOutput) ToMwsWorkspacesExternalCustomerInfoPtrOutput() MwsWorkspacesExternalCustomerInfoPtrOutput { +func (o ModelServingRateLimitArrayOutput) ToModelServingRateLimitArrayOutput() ModelServingRateLimitArrayOutput { return o } -func (o MwsWorkspacesExternalCustomerInfoPtrOutput) ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoPtrOutput { +func (o ModelServingRateLimitArrayOutput) ToModelServingRateLimitArrayOutputWithContext(ctx context.Context) ModelServingRateLimitArrayOutput { return o } -func (o MwsWorkspacesExternalCustomerInfoPtrOutput) Elem() MwsWorkspacesExternalCustomerInfoOutput { - return o.ApplyT(func(v *MwsWorkspacesExternalCustomerInfo) MwsWorkspacesExternalCustomerInfo { - if v != nil { - return *v - } - var ret MwsWorkspacesExternalCustomerInfo - return ret - }).(MwsWorkspacesExternalCustomerInfoOutput) -} - -func (o MwsWorkspacesExternalCustomerInfoPtrOutput) AuthoritativeUserEmail() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesExternalCustomerInfo) *string { - if v == nil { - return nil - } - return &v.AuthoritativeUserEmail - }).(pulumi.StringPtrOutput) -} - -func (o MwsWorkspacesExternalCustomerInfoPtrOutput) AuthoritativeUserFullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesExternalCustomerInfo) *string { - if v == nil { - return nil - } - return &v.AuthoritativeUserFullName - }).(pulumi.StringPtrOutput) -} - -func (o MwsWorkspacesExternalCustomerInfoPtrOutput) CustomerName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesExternalCustomerInfo) *string { - if v == nil { - return nil - } - return &v.CustomerName - }).(pulumi.StringPtrOutput) +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 MwsWorkspacesGcpManagedNetworkConfig struct { - GkeClusterPodIpRange string `pulumi:"gkeClusterPodIpRange"` - GkeClusterServiceIpRange string `pulumi:"gkeClusterServiceIpRange"` - SubnetCidr string `pulumi:"subnetCidr"` +type ModelServingTag struct { + // The key field for a tag. + Key string `pulumi:"key"` + // The value field for a tag. + Value *string `pulumi:"value"` } -// MwsWorkspacesGcpManagedNetworkConfigInput is an input type that accepts MwsWorkspacesGcpManagedNetworkConfigArgs and MwsWorkspacesGcpManagedNetworkConfigOutput values. -// You can construct a concrete instance of `MwsWorkspacesGcpManagedNetworkConfigInput` via: +// ModelServingTagInput is an input type that accepts ModelServingTagArgs and ModelServingTagOutput values. +// You can construct a concrete instance of `ModelServingTagInput` via: // -// MwsWorkspacesGcpManagedNetworkConfigArgs{...} -type MwsWorkspacesGcpManagedNetworkConfigInput interface { +// ModelServingTagArgs{...} +type ModelServingTagInput interface { pulumi.Input - ToMwsWorkspacesGcpManagedNetworkConfigOutput() MwsWorkspacesGcpManagedNetworkConfigOutput - ToMwsWorkspacesGcpManagedNetworkConfigOutputWithContext(context.Context) MwsWorkspacesGcpManagedNetworkConfigOutput -} - -type MwsWorkspacesGcpManagedNetworkConfigArgs struct { - GkeClusterPodIpRange pulumi.StringInput `pulumi:"gkeClusterPodIpRange"` - GkeClusterServiceIpRange pulumi.StringInput `pulumi:"gkeClusterServiceIpRange"` - SubnetCidr pulumi.StringInput `pulumi:"subnetCidr"` -} - -func (MwsWorkspacesGcpManagedNetworkConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesGcpManagedNetworkConfig)(nil)).Elem() + ToModelServingTagOutput() ModelServingTagOutput + ToModelServingTagOutputWithContext(context.Context) ModelServingTagOutput } -func (i MwsWorkspacesGcpManagedNetworkConfigArgs) ToMwsWorkspacesGcpManagedNetworkConfigOutput() MwsWorkspacesGcpManagedNetworkConfigOutput { - return i.ToMwsWorkspacesGcpManagedNetworkConfigOutputWithContext(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 MwsWorkspacesGcpManagedNetworkConfigArgs) ToMwsWorkspacesGcpManagedNetworkConfigOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGcpManagedNetworkConfigOutput) +func (ModelServingTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingTag)(nil)).Elem() } -func (i MwsWorkspacesGcpManagedNetworkConfigArgs) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutput() MwsWorkspacesGcpManagedNetworkConfigPtrOutput { - return i.ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(context.Background()) +func (i ModelServingTagArgs) ToModelServingTagOutput() ModelServingTagOutput { + return i.ToModelServingTagOutputWithContext(context.Background()) } -func (i MwsWorkspacesGcpManagedNetworkConfigArgs) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGcpManagedNetworkConfigOutput).ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(ctx) +func (i ModelServingTagArgs) ToModelServingTagOutputWithContext(ctx context.Context) ModelServingTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingTagOutput) } -// MwsWorkspacesGcpManagedNetworkConfigPtrInput is an input type that accepts MwsWorkspacesGcpManagedNetworkConfigArgs, MwsWorkspacesGcpManagedNetworkConfigPtr and MwsWorkspacesGcpManagedNetworkConfigPtrOutput values. -// You can construct a concrete instance of `MwsWorkspacesGcpManagedNetworkConfigPtrInput` via: -// -// MwsWorkspacesGcpManagedNetworkConfigArgs{...} -// -// or: +// ModelServingTagArrayInput is an input type that accepts ModelServingTagArray and ModelServingTagArrayOutput values. +// You can construct a concrete instance of `ModelServingTagArrayInput` via: // -// nil -type MwsWorkspacesGcpManagedNetworkConfigPtrInput interface { +// ModelServingTagArray{ ModelServingTagArgs{...} } +type ModelServingTagArrayInput interface { pulumi.Input - ToMwsWorkspacesGcpManagedNetworkConfigPtrOutput() MwsWorkspacesGcpManagedNetworkConfigPtrOutput - ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(context.Context) MwsWorkspacesGcpManagedNetworkConfigPtrOutput + ToModelServingTagArrayOutput() ModelServingTagArrayOutput + ToModelServingTagArrayOutputWithContext(context.Context) ModelServingTagArrayOutput } -type mwsWorkspacesGcpManagedNetworkConfigPtrType MwsWorkspacesGcpManagedNetworkConfigArgs +type ModelServingTagArray []ModelServingTagInput -func MwsWorkspacesGcpManagedNetworkConfigPtr(v *MwsWorkspacesGcpManagedNetworkConfigArgs) MwsWorkspacesGcpManagedNetworkConfigPtrInput { - return (*mwsWorkspacesGcpManagedNetworkConfigPtrType)(v) +func (ModelServingTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingTag)(nil)).Elem() } -func (*mwsWorkspacesGcpManagedNetworkConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesGcpManagedNetworkConfig)(nil)).Elem() +func (i ModelServingTagArray) ToModelServingTagArrayOutput() ModelServingTagArrayOutput { + return i.ToModelServingTagArrayOutputWithContext(context.Background()) } -func (i *mwsWorkspacesGcpManagedNetworkConfigPtrType) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutput() MwsWorkspacesGcpManagedNetworkConfigPtrOutput { - return i.ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(context.Background()) +func (i ModelServingTagArray) ToModelServingTagArrayOutputWithContext(ctx context.Context) ModelServingTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingTagArrayOutput) } -func (i *mwsWorkspacesGcpManagedNetworkConfigPtrType) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGcpManagedNetworkConfigPtrOutput) -} - -type MwsWorkspacesGcpManagedNetworkConfigOutput struct{ *pulumi.OutputState } +type ModelServingTagOutput struct{ *pulumi.OutputState } -func (MwsWorkspacesGcpManagedNetworkConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesGcpManagedNetworkConfig)(nil)).Elem() +func (ModelServingTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingTag)(nil)).Elem() } -func (o MwsWorkspacesGcpManagedNetworkConfigOutput) ToMwsWorkspacesGcpManagedNetworkConfigOutput() MwsWorkspacesGcpManagedNetworkConfigOutput { +func (o ModelServingTagOutput) ToModelServingTagOutput() ModelServingTagOutput { return o } -func (o MwsWorkspacesGcpManagedNetworkConfigOutput) ToMwsWorkspacesGcpManagedNetworkConfigOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigOutput { +func (o ModelServingTagOutput) ToModelServingTagOutputWithContext(ctx context.Context) ModelServingTagOutput { return o } -func (o MwsWorkspacesGcpManagedNetworkConfigOutput) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutput() MwsWorkspacesGcpManagedNetworkConfigPtrOutput { - return o.ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(context.Background()) -} - -func (o MwsWorkspacesGcpManagedNetworkConfigOutput) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesGcpManagedNetworkConfig) *MwsWorkspacesGcpManagedNetworkConfig { - return &v - }).(MwsWorkspacesGcpManagedNetworkConfigPtrOutput) -} - -func (o MwsWorkspacesGcpManagedNetworkConfigOutput) GkeClusterPodIpRange() pulumi.StringOutput { - return o.ApplyT(func(v MwsWorkspacesGcpManagedNetworkConfig) string { return v.GkeClusterPodIpRange }).(pulumi.StringOutput) -} - -func (o MwsWorkspacesGcpManagedNetworkConfigOutput) GkeClusterServiceIpRange() pulumi.StringOutput { - return o.ApplyT(func(v MwsWorkspacesGcpManagedNetworkConfig) string { return v.GkeClusterServiceIpRange }).(pulumi.StringOutput) +// 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 MwsWorkspacesGcpManagedNetworkConfigOutput) SubnetCidr() pulumi.StringOutput { - return o.ApplyT(func(v MwsWorkspacesGcpManagedNetworkConfig) string { return v.SubnetCidr }).(pulumi.StringOutput) +// 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 MwsWorkspacesGcpManagedNetworkConfigPtrOutput struct{ *pulumi.OutputState } +type ModelServingTagArrayOutput struct{ *pulumi.OutputState } -func (MwsWorkspacesGcpManagedNetworkConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesGcpManagedNetworkConfig)(nil)).Elem() +func (ModelServingTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingTag)(nil)).Elem() } -func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutput() MwsWorkspacesGcpManagedNetworkConfigPtrOutput { +func (o ModelServingTagArrayOutput) ToModelServingTagArrayOutput() ModelServingTagArrayOutput { return o } -func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigPtrOutput { +func (o ModelServingTagArrayOutput) ToModelServingTagArrayOutputWithContext(ctx context.Context) ModelServingTagArrayOutput { return o } -func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) Elem() MwsWorkspacesGcpManagedNetworkConfigOutput { - return o.ApplyT(func(v *MwsWorkspacesGcpManagedNetworkConfig) MwsWorkspacesGcpManagedNetworkConfig { - if v != nil { - return *v - } - var ret MwsWorkspacesGcpManagedNetworkConfig - 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) -} - -func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) GkeClusterServiceIpRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesGcpManagedNetworkConfig) *string { - if v == nil { - return nil - } - return &v.GkeClusterServiceIpRange - }).(pulumi.StringPtrOutput) -} - -func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) SubnetCidr() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesGcpManagedNetworkConfig) *string { - if v == nil { - return nil - } - return &v.SubnetCidr - }).(pulumi.StringPtrOutput) +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 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 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"` } -// MwsWorkspacesGkeConfigInput is an input type that accepts MwsWorkspacesGkeConfigArgs and MwsWorkspacesGkeConfigOutput values. -// You can construct a concrete instance of `MwsWorkspacesGkeConfigInput` via: +// MountAbfsInput is an input type that accepts MountAbfsArgs and MountAbfsOutput values. +// You can construct a concrete instance of `MountAbfsInput` via: // -// MwsWorkspacesGkeConfigArgs{...} -type MwsWorkspacesGkeConfigInput interface { +// MountAbfsArgs{...} +type MountAbfsInput interface { pulumi.Input - ToMwsWorkspacesGkeConfigOutput() MwsWorkspacesGkeConfigOutput - ToMwsWorkspacesGkeConfigOutputWithContext(context.Context) MwsWorkspacesGkeConfigOutput + ToMountAbfsOutput() MountAbfsOutput + ToMountAbfsOutputWithContext(context.Context) MountAbfsOutput } -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 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 (MwsWorkspacesGkeConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesGkeConfig)(nil)).Elem() +func (MountAbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MountAbfs)(nil)).Elem() } -func (i MwsWorkspacesGkeConfigArgs) ToMwsWorkspacesGkeConfigOutput() MwsWorkspacesGkeConfigOutput { - return i.ToMwsWorkspacesGkeConfigOutputWithContext(context.Background()) +func (i MountAbfsArgs) ToMountAbfsOutput() MountAbfsOutput { + return i.ToMountAbfsOutputWithContext(context.Background()) } -func (i MwsWorkspacesGkeConfigArgs) ToMwsWorkspacesGkeConfigOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGkeConfigOutput) +func (i MountAbfsArgs) ToMountAbfsOutputWithContext(ctx context.Context) MountAbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountAbfsOutput) } -func (i MwsWorkspacesGkeConfigArgs) ToMwsWorkspacesGkeConfigPtrOutput() MwsWorkspacesGkeConfigPtrOutput { - return i.ToMwsWorkspacesGkeConfigPtrOutputWithContext(context.Background()) +func (i MountAbfsArgs) ToMountAbfsPtrOutput() MountAbfsPtrOutput { + return i.ToMountAbfsPtrOutputWithContext(context.Background()) } -func (i MwsWorkspacesGkeConfigArgs) ToMwsWorkspacesGkeConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGkeConfigOutput).ToMwsWorkspacesGkeConfigPtrOutputWithContext(ctx) +func (i MountAbfsArgs) ToMountAbfsPtrOutputWithContext(ctx context.Context) MountAbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountAbfsOutput).ToMountAbfsPtrOutputWithContext(ctx) } -// MwsWorkspacesGkeConfigPtrInput is an input type that accepts MwsWorkspacesGkeConfigArgs, MwsWorkspacesGkeConfigPtr and MwsWorkspacesGkeConfigPtrOutput values. -// You can construct a concrete instance of `MwsWorkspacesGkeConfigPtrInput` via: +// MountAbfsPtrInput is an input type that accepts MountAbfsArgs, MountAbfsPtr and MountAbfsPtrOutput values. +// You can construct a concrete instance of `MountAbfsPtrInput` via: // -// MwsWorkspacesGkeConfigArgs{...} +// MountAbfsArgs{...} // // or: // // nil -type MwsWorkspacesGkeConfigPtrInput interface { +type MountAbfsPtrInput interface { pulumi.Input - ToMwsWorkspacesGkeConfigPtrOutput() MwsWorkspacesGkeConfigPtrOutput - ToMwsWorkspacesGkeConfigPtrOutputWithContext(context.Context) MwsWorkspacesGkeConfigPtrOutput + ToMountAbfsPtrOutput() MountAbfsPtrOutput + ToMountAbfsPtrOutputWithContext(context.Context) MountAbfsPtrOutput } -type mwsWorkspacesGkeConfigPtrType MwsWorkspacesGkeConfigArgs +type mountAbfsPtrType MountAbfsArgs -func MwsWorkspacesGkeConfigPtr(v *MwsWorkspacesGkeConfigArgs) MwsWorkspacesGkeConfigPtrInput { - return (*mwsWorkspacesGkeConfigPtrType)(v) +func MountAbfsPtr(v *MountAbfsArgs) MountAbfsPtrInput { + return (*mountAbfsPtrType)(v) } -func (*mwsWorkspacesGkeConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesGkeConfig)(nil)).Elem() +func (*mountAbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MountAbfs)(nil)).Elem() } -func (i *mwsWorkspacesGkeConfigPtrType) ToMwsWorkspacesGkeConfigPtrOutput() MwsWorkspacesGkeConfigPtrOutput { - return i.ToMwsWorkspacesGkeConfigPtrOutputWithContext(context.Background()) +func (i *mountAbfsPtrType) ToMountAbfsPtrOutput() MountAbfsPtrOutput { + return i.ToMountAbfsPtrOutputWithContext(context.Background()) } -func (i *mwsWorkspacesGkeConfigPtrType) ToMwsWorkspacesGkeConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGkeConfigPtrOutput) +func (i *mountAbfsPtrType) ToMountAbfsPtrOutputWithContext(ctx context.Context) MountAbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountAbfsPtrOutput) } -type MwsWorkspacesGkeConfigOutput struct{ *pulumi.OutputState } +type MountAbfsOutput struct{ *pulumi.OutputState } -func (MwsWorkspacesGkeConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesGkeConfig)(nil)).Elem() +func (MountAbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MountAbfs)(nil)).Elem() } -func (o MwsWorkspacesGkeConfigOutput) ToMwsWorkspacesGkeConfigOutput() MwsWorkspacesGkeConfigOutput { +func (o MountAbfsOutput) ToMountAbfsOutput() MountAbfsOutput { return o } -func (o MwsWorkspacesGkeConfigOutput) ToMwsWorkspacesGkeConfigOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigOutput { +func (o MountAbfsOutput) ToMountAbfsOutputWithContext(ctx context.Context) MountAbfsOutput { return o } -func (o MwsWorkspacesGkeConfigOutput) ToMwsWorkspacesGkeConfigPtrOutput() MwsWorkspacesGkeConfigPtrOutput { - return o.ToMwsWorkspacesGkeConfigPtrOutputWithContext(context.Background()) +func (o MountAbfsOutput) ToMountAbfsPtrOutput() MountAbfsPtrOutput { + return o.ToMountAbfsPtrOutputWithContext(context.Background()) } -func (o MwsWorkspacesGkeConfigOutput) ToMwsWorkspacesGkeConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesGkeConfig) *MwsWorkspacesGkeConfig { +func (o MountAbfsOutput) ToMountAbfsPtrOutputWithContext(ctx context.Context) MountAbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MountAbfs) *MountAbfs { return &v - }).(MwsWorkspacesGkeConfigPtrOutput) + }).(MountAbfsPtrOutput) } -// 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 MountAbfsOutput) ClientId() pulumi.StringOutput { + return o.ApplyT(func(v MountAbfs) string { return v.ClientId }).(pulumi.StringOutput) } -// 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) +func (o MountAbfsOutput) ClientSecretKey() pulumi.StringOutput { + return o.ApplyT(func(v MountAbfs) string { return v.ClientSecretKey }).(pulumi.StringOutput) } -type MwsWorkspacesGkeConfigPtrOutput struct{ *pulumi.OutputState } +func (o MountAbfsOutput) ClientSecretScope() pulumi.StringOutput { + return o.ApplyT(func(v MountAbfs) string { return v.ClientSecretScope }).(pulumi.StringOutput) +} -func (MwsWorkspacesGkeConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesGkeConfig)(nil)).Elem() +func (o MountAbfsOutput) ContainerName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountAbfs) *string { return v.ContainerName }).(pulumi.StringPtrOutput) } -func (o MwsWorkspacesGkeConfigPtrOutput) ToMwsWorkspacesGkeConfigPtrOutput() MwsWorkspacesGkeConfigPtrOutput { +func (o MountAbfsOutput) Directory() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountAbfs) *string { return v.Directory }).(pulumi.StringPtrOutput) +} + +func (o MountAbfsOutput) InitializeFileSystem() pulumi.BoolOutput { + return o.ApplyT(func(v MountAbfs) bool { return v.InitializeFileSystem }).(pulumi.BoolOutput) +} + +func (o MountAbfsOutput) StorageAccountName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountAbfs) *string { return v.StorageAccountName }).(pulumi.StringPtrOutput) +} + +func (o MountAbfsOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountAbfs) *string { return v.TenantId }).(pulumi.StringPtrOutput) +} + +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 MwsWorkspacesGkeConfigPtrOutput) ToMwsWorkspacesGkeConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigPtrOutput { +func (o MountAbfsPtrOutput) ToMountAbfsPtrOutputWithContext(ctx context.Context) MountAbfsPtrOutput { return o } -func (o MwsWorkspacesGkeConfigPtrOutput) Elem() MwsWorkspacesGkeConfigOutput { - return o.ApplyT(func(v *MwsWorkspacesGkeConfig) MwsWorkspacesGkeConfig { +func (o MountAbfsPtrOutput) Elem() MountAbfsOutput { + return o.ApplyT(func(v *MountAbfs) MountAbfs { if v != nil { return *v } - var ret MwsWorkspacesGkeConfig + var ret MountAbfs return ret - }).(MwsWorkspacesGkeConfigOutput) + }).(MountAbfsOutput) } -// 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 { +func (o MountAbfsPtrOutput) ClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAbfs) *string { if v == nil { return nil } - return &v.ConnectivityType + return &v.ClientId }).(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 { +func (o MountAbfsPtrOutput) ClientSecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAbfs) *string { if v == nil { return nil } - return &v.MasterIpRange + return &v.ClientSecretKey }).(pulumi.StringPtrOutput) } -type MwsWorkspacesToken struct { - 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"` +func (o MountAbfsPtrOutput) ClientSecretScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAbfs) *string { + if v == nil { + return nil + } + return &v.ClientSecretScope + }).(pulumi.StringPtrOutput) } -// MwsWorkspacesTokenInput is an input type that accepts MwsWorkspacesTokenArgs and MwsWorkspacesTokenOutput values. -// You can construct a concrete instance of `MwsWorkspacesTokenInput` via: +func (o MountAbfsPtrOutput) ContainerName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAbfs) *string { + if v == nil { + return nil + } + return v.ContainerName + }).(pulumi.StringPtrOutput) +} + +func (o MountAbfsPtrOutput) Directory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAbfs) *string { + if v == nil { + return nil + } + return v.Directory + }).(pulumi.StringPtrOutput) +} + +func (o MountAbfsPtrOutput) InitializeFileSystem() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MountAbfs) *bool { + if v == nil { + return nil + } + return &v.InitializeFileSystem + }).(pulumi.BoolPtrOutput) +} + +func (o MountAbfsPtrOutput) StorageAccountName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAbfs) *string { + if v == nil { + return nil + } + return v.StorageAccountName + }).(pulumi.StringPtrOutput) +} + +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: // -// MwsWorkspacesTokenArgs{...} -type MwsWorkspacesTokenInput interface { +// MountAdlArgs{...} +type MountAdlInput interface { pulumi.Input - ToMwsWorkspacesTokenOutput() MwsWorkspacesTokenOutput - ToMwsWorkspacesTokenOutputWithContext(context.Context) MwsWorkspacesTokenOutput + ToMountAdlOutput() MountAdlOutput + ToMountAdlOutputWithContext(context.Context) MountAdlOutput } -type MwsWorkspacesTokenArgs struct { - 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 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 (MwsWorkspacesTokenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesToken)(nil)).Elem() +func (MountAdlArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MountAdl)(nil)).Elem() } -func (i MwsWorkspacesTokenArgs) ToMwsWorkspacesTokenOutput() MwsWorkspacesTokenOutput { - return i.ToMwsWorkspacesTokenOutputWithContext(context.Background()) +func (i MountAdlArgs) ToMountAdlOutput() MountAdlOutput { + return i.ToMountAdlOutputWithContext(context.Background()) } -func (i MwsWorkspacesTokenArgs) ToMwsWorkspacesTokenOutputWithContext(ctx context.Context) MwsWorkspacesTokenOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesTokenOutput) +func (i MountAdlArgs) ToMountAdlOutputWithContext(ctx context.Context) MountAdlOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountAdlOutput) } -func (i MwsWorkspacesTokenArgs) ToMwsWorkspacesTokenPtrOutput() MwsWorkspacesTokenPtrOutput { - return i.ToMwsWorkspacesTokenPtrOutputWithContext(context.Background()) +func (i MountAdlArgs) ToMountAdlPtrOutput() MountAdlPtrOutput { + return i.ToMountAdlPtrOutputWithContext(context.Background()) } -func (i MwsWorkspacesTokenArgs) ToMwsWorkspacesTokenPtrOutputWithContext(ctx context.Context) MwsWorkspacesTokenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesTokenOutput).ToMwsWorkspacesTokenPtrOutputWithContext(ctx) +func (i MountAdlArgs) ToMountAdlPtrOutputWithContext(ctx context.Context) MountAdlPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountAdlOutput).ToMountAdlPtrOutputWithContext(ctx) } -// MwsWorkspacesTokenPtrInput is an input type that accepts MwsWorkspacesTokenArgs, MwsWorkspacesTokenPtr and MwsWorkspacesTokenPtrOutput values. -// You can construct a concrete instance of `MwsWorkspacesTokenPtrInput` via: +// MountAdlPtrInput is an input type that accepts MountAdlArgs, MountAdlPtr and MountAdlPtrOutput values. +// You can construct a concrete instance of `MountAdlPtrInput` via: // -// MwsWorkspacesTokenArgs{...} +// MountAdlArgs{...} // // or: // // nil -type MwsWorkspacesTokenPtrInput interface { +type MountAdlPtrInput interface { pulumi.Input - ToMwsWorkspacesTokenPtrOutput() MwsWorkspacesTokenPtrOutput - ToMwsWorkspacesTokenPtrOutputWithContext(context.Context) MwsWorkspacesTokenPtrOutput + ToMountAdlPtrOutput() MountAdlPtrOutput + ToMountAdlPtrOutputWithContext(context.Context) MountAdlPtrOutput } -type mwsWorkspacesTokenPtrType MwsWorkspacesTokenArgs +type mountAdlPtrType MountAdlArgs -func MwsWorkspacesTokenPtr(v *MwsWorkspacesTokenArgs) MwsWorkspacesTokenPtrInput { - return (*mwsWorkspacesTokenPtrType)(v) +func MountAdlPtr(v *MountAdlArgs) MountAdlPtrInput { + return (*mountAdlPtrType)(v) } -func (*mwsWorkspacesTokenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesToken)(nil)).Elem() +func (*mountAdlPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MountAdl)(nil)).Elem() } -func (i *mwsWorkspacesTokenPtrType) ToMwsWorkspacesTokenPtrOutput() MwsWorkspacesTokenPtrOutput { - return i.ToMwsWorkspacesTokenPtrOutputWithContext(context.Background()) +func (i *mountAdlPtrType) ToMountAdlPtrOutput() MountAdlPtrOutput { + return i.ToMountAdlPtrOutputWithContext(context.Background()) } -func (i *mwsWorkspacesTokenPtrType) ToMwsWorkspacesTokenPtrOutputWithContext(ctx context.Context) MwsWorkspacesTokenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesTokenPtrOutput) +func (i *mountAdlPtrType) ToMountAdlPtrOutputWithContext(ctx context.Context) MountAdlPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountAdlPtrOutput) } -type MwsWorkspacesTokenOutput struct{ *pulumi.OutputState } +type MountAdlOutput struct{ *pulumi.OutputState } -func (MwsWorkspacesTokenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesToken)(nil)).Elem() +func (MountAdlOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MountAdl)(nil)).Elem() } -func (o MwsWorkspacesTokenOutput) ToMwsWorkspacesTokenOutput() MwsWorkspacesTokenOutput { +func (o MountAdlOutput) ToMountAdlOutput() MountAdlOutput { return o } -func (o MwsWorkspacesTokenOutput) ToMwsWorkspacesTokenOutputWithContext(ctx context.Context) MwsWorkspacesTokenOutput { +func (o MountAdlOutput) ToMountAdlOutputWithContext(ctx context.Context) MountAdlOutput { return o } -func (o MwsWorkspacesTokenOutput) ToMwsWorkspacesTokenPtrOutput() MwsWorkspacesTokenPtrOutput { - return o.ToMwsWorkspacesTokenPtrOutputWithContext(context.Background()) +func (o MountAdlOutput) ToMountAdlPtrOutput() MountAdlPtrOutput { + return o.ToMountAdlPtrOutputWithContext(context.Background()) } -func (o MwsWorkspacesTokenOutput) ToMwsWorkspacesTokenPtrOutputWithContext(ctx context.Context) MwsWorkspacesTokenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesToken) *MwsWorkspacesToken { +func (o MountAdlOutput) ToMountAdlPtrOutputWithContext(ctx context.Context) MountAdlPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MountAdl) *MountAdl { return &v - }).(MwsWorkspacesTokenPtrOutput) + }).(MountAdlPtrOutput) } -func (o MwsWorkspacesTokenOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsWorkspacesToken) *string { return v.Comment }).(pulumi.StringPtrOutput) +func (o MountAdlOutput) ClientId() pulumi.StringOutput { + return o.ApplyT(func(v MountAdl) string { return v.ClientId }).(pulumi.StringOutput) } -// 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 MountAdlOutput) ClientSecretKey() pulumi.StringOutput { + return o.ApplyT(func(v MountAdl) string { return v.ClientSecretKey }).(pulumi.StringOutput) } -func (o MwsWorkspacesTokenOutput) TokenId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsWorkspacesToken) *string { return v.TokenId }).(pulumi.StringPtrOutput) +func (o MountAdlOutput) ClientSecretScope() pulumi.StringOutput { + return o.ApplyT(func(v MountAdl) string { return v.ClientSecretScope }).(pulumi.StringOutput) } -func (o MwsWorkspacesTokenOutput) TokenValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsWorkspacesToken) *string { return v.TokenValue }).(pulumi.StringPtrOutput) +func (o MountAdlOutput) Directory() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountAdl) *string { return v.Directory }).(pulumi.StringPtrOutput) } -type MwsWorkspacesTokenPtrOutput struct{ *pulumi.OutputState } +func (o MountAdlOutput) SparkConfPrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountAdl) *string { return v.SparkConfPrefix }).(pulumi.StringPtrOutput) +} -func (MwsWorkspacesTokenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesToken)(nil)).Elem() +func (o MountAdlOutput) StorageResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountAdl) *string { return v.StorageResourceName }).(pulumi.StringPtrOutput) } -func (o MwsWorkspacesTokenPtrOutput) ToMwsWorkspacesTokenPtrOutput() MwsWorkspacesTokenPtrOutput { +func (o MountAdlOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountAdl) *string { return v.TenantId }).(pulumi.StringPtrOutput) +} + +type MountAdlPtrOutput struct{ *pulumi.OutputState } + +func (MountAdlPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MountAdl)(nil)).Elem() +} + +func (o MountAdlPtrOutput) ToMountAdlPtrOutput() MountAdlPtrOutput { return o } -func (o MwsWorkspacesTokenPtrOutput) ToMwsWorkspacesTokenPtrOutputWithContext(ctx context.Context) MwsWorkspacesTokenPtrOutput { +func (o MountAdlPtrOutput) ToMountAdlPtrOutputWithContext(ctx context.Context) MountAdlPtrOutput { return o } -func (o MwsWorkspacesTokenPtrOutput) Elem() MwsWorkspacesTokenOutput { - return o.ApplyT(func(v *MwsWorkspacesToken) MwsWorkspacesToken { +func (o MountAdlPtrOutput) Elem() MountAdlOutput { + return o.ApplyT(func(v *MountAdl) MountAdl { if v != nil { return *v } - var ret MwsWorkspacesToken + var ret MountAdl return ret - }).(MwsWorkspacesTokenOutput) + }).(MountAdlOutput) } -func (o MwsWorkspacesTokenPtrOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesToken) *string { +func (o MountAdlPtrOutput) ClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAdl) *string { if v == nil { return nil } - return v.Comment + return &v.ClientId }).(pulumi.StringPtrOutput) } -// Token expiry lifetime. By default its 2592000 (30 days). -func (o MwsWorkspacesTokenPtrOutput) LifetimeSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesToken) *int { +func (o MountAdlPtrOutput) ClientSecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAdl) *string { if v == nil { return nil } - return v.LifetimeSeconds - }).(pulumi.IntPtrOutput) + return &v.ClientSecretKey + }).(pulumi.StringPtrOutput) } -func (o MwsWorkspacesTokenPtrOutput) TokenId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesToken) *string { +func (o MountAdlPtrOutput) ClientSecretScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAdl) *string { if v == nil { return nil } - return v.TokenId + return &v.ClientSecretScope }).(pulumi.StringPtrOutput) } -func (o MwsWorkspacesTokenPtrOutput) TokenValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesToken) *string { +func (o MountAdlPtrOutput) Directory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAdl) *string { if v == nil { return nil } - return v.TokenValue + return v.Directory }).(pulumi.StringPtrOutput) } -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"` -} - -// 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 -} - -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.StringInput `pulumi:"permissionLevel"` - // Application ID of the service_principal. - ServicePrincipalName pulumi.StringPtrInput `pulumi:"servicePrincipalName"` - // name of the user. - UserName pulumi.StringPtrInput `pulumi:"userName"` +func (o MountAdlPtrOutput) SparkConfPrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAdl) *string { + if v == nil { + return nil + } + return v.SparkConfPrefix + }).(pulumi.StringPtrOutput) } -func (PermissionsAccessControlArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PermissionsAccessControl)(nil)).Elem() +func (o MountAdlPtrOutput) StorageResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAdl) *string { + if v == nil { + return nil + } + return v.StorageResourceName + }).(pulumi.StringPtrOutput) } -func (i PermissionsAccessControlArgs) ToPermissionsAccessControlOutput() PermissionsAccessControlOutput { - return i.ToPermissionsAccessControlOutputWithContext(context.Background()) +func (o MountAdlPtrOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAdl) *string { + if v == nil { + return nil + } + return v.TenantId + }).(pulumi.StringPtrOutput) } -func (i PermissionsAccessControlArgs) ToPermissionsAccessControlOutputWithContext(ctx context.Context) PermissionsAccessControlOutput { - return pulumi.ToOutputWithContext(ctx, i).(PermissionsAccessControlOutput) +type MountGs struct { + BucketName string `pulumi:"bucketName"` + ServiceAccount *string `pulumi:"serviceAccount"` } -// PermissionsAccessControlArrayInput is an input type that accepts PermissionsAccessControlArray and PermissionsAccessControlArrayOutput values. -// You can construct a concrete instance of `PermissionsAccessControlArrayInput` via: +// MountGsInput is an input type that accepts MountGsArgs and MountGsOutput values. +// You can construct a concrete instance of `MountGsInput` via: // -// PermissionsAccessControlArray{ PermissionsAccessControlArgs{...} } -type PermissionsAccessControlArrayInput interface { +// MountGsArgs{...} +type MountGsInput interface { pulumi.Input - ToPermissionsAccessControlArrayOutput() PermissionsAccessControlArrayOutput - ToPermissionsAccessControlArrayOutputWithContext(context.Context) PermissionsAccessControlArrayOutput + ToMountGsOutput() MountGsOutput + ToMountGsOutputWithContext(context.Context) MountGsOutput } -type PermissionsAccessControlArray []PermissionsAccessControlInput - -func (PermissionsAccessControlArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PermissionsAccessControl)(nil)).Elem() +type MountGsArgs struct { + BucketName pulumi.StringInput `pulumi:"bucketName"` + ServiceAccount pulumi.StringPtrInput `pulumi:"serviceAccount"` } -func (i PermissionsAccessControlArray) ToPermissionsAccessControlArrayOutput() PermissionsAccessControlArrayOutput { - return i.ToPermissionsAccessControlArrayOutputWithContext(context.Background()) +func (MountGsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MountGs)(nil)).Elem() } -func (i PermissionsAccessControlArray) ToPermissionsAccessControlArrayOutputWithContext(ctx context.Context) PermissionsAccessControlArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PermissionsAccessControlArrayOutput) +func (i MountGsArgs) ToMountGsOutput() MountGsOutput { + return i.ToMountGsOutputWithContext(context.Background()) } -type PermissionsAccessControlOutput struct{ *pulumi.OutputState } +func (i MountGsArgs) ToMountGsOutputWithContext(ctx context.Context) MountGsOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountGsOutput) +} -func (PermissionsAccessControlOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PermissionsAccessControl)(nil)).Elem() +func (i MountGsArgs) ToMountGsPtrOutput() MountGsPtrOutput { + return i.ToMountGsPtrOutputWithContext(context.Background()) } -func (o PermissionsAccessControlOutput) ToPermissionsAccessControlOutput() PermissionsAccessControlOutput { - return o +func (i MountGsArgs) ToMountGsPtrOutputWithContext(ctx context.Context) MountGsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountGsOutput).ToMountGsPtrOutputWithContext(ctx) } -func (o PermissionsAccessControlOutput) ToPermissionsAccessControlOutputWithContext(ctx context.Context) PermissionsAccessControlOutput { - return o +// MountGsPtrInput is an input type that accepts MountGsArgs, MountGsPtr and MountGsPtrOutput values. +// You can construct a concrete instance of `MountGsPtrInput` via: +// +// MountGsArgs{...} +// +// or: +// +// nil +type MountGsPtrInput interface { + pulumi.Input + + ToMountGsPtrOutput() MountGsPtrOutput + ToMountGsPtrOutputWithContext(context.Context) MountGsPtrOutput } -// 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) +type mountGsPtrType MountGsArgs + +func MountGsPtr(v *MountGsArgs) MountGsPtrInput { + return (*mountGsPtrType)(v) } -// 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.StringOutput { - return o.ApplyT(func(v PermissionsAccessControl) string { return v.PermissionLevel }).(pulumi.StringOutput) +func (*mountGsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MountGs)(nil)).Elem() } -// 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 (i *mountGsPtrType) ToMountGsPtrOutput() MountGsPtrOutput { + return i.ToMountGsPtrOutputWithContext(context.Background()) } -// name of the user. -func (o PermissionsAccessControlOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PermissionsAccessControl) *string { return v.UserName }).(pulumi.StringPtrOutput) +func (i *mountGsPtrType) ToMountGsPtrOutputWithContext(ctx context.Context) MountGsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountGsPtrOutput) } -type PermissionsAccessControlArrayOutput struct{ *pulumi.OutputState } +type MountGsOutput struct{ *pulumi.OutputState } -func (PermissionsAccessControlArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PermissionsAccessControl)(nil)).Elem() +func (MountGsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MountGs)(nil)).Elem() } -func (o PermissionsAccessControlArrayOutput) ToPermissionsAccessControlArrayOutput() PermissionsAccessControlArrayOutput { +func (o MountGsOutput) ToMountGsOutput() MountGsOutput { return o } -func (o PermissionsAccessControlArrayOutput) ToPermissionsAccessControlArrayOutputWithContext(ctx context.Context) PermissionsAccessControlArrayOutput { +func (o MountGsOutput) ToMountGsOutputWithContext(ctx context.Context) MountGsOutput { return o } -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) +func (o MountGsOutput) ToMountGsPtrOutput() MountGsPtrOutput { + return o.ToMountGsPtrOutputWithContext(context.Background()) } -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]interface{} `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]interface{} `pulumi:"sparkConf"` - SparkEnvVars map[string]interface{} `pulumi:"sparkEnvVars"` - SshPublicKeys []string `pulumi:"sshPublicKeys"` +func (o MountGsOutput) ToMountGsPtrOutputWithContext(ctx context.Context) MountGsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MountGs) *MountGs { + return &v + }).(MountGsPtrOutput) } -// 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 MountGsOutput) BucketName() pulumi.StringOutput { + return o.ApplyT(func(v MountGs) string { return v.BucketName }).(pulumi.StringOutput) } -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.MapInput `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.MapInput `pulumi:"sparkConf"` - SparkEnvVars pulumi.MapInput `pulumi:"sparkEnvVars"` - SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` +func (o MountGsOutput) ServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountGs) *string { return v.ServiceAccount }).(pulumi.StringPtrOutput) } -func (PipelineClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineCluster)(nil)).Elem() -} +type MountGsPtrOutput struct{ *pulumi.OutputState } -func (i PipelineClusterArgs) ToPipelineClusterOutput() PipelineClusterOutput { - return i.ToPipelineClusterOutputWithContext(context.Background()) +func (MountGsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MountGs)(nil)).Elem() } -func (i PipelineClusterArgs) ToPipelineClusterOutputWithContext(ctx context.Context) PipelineClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterOutput) +func (o MountGsPtrOutput) ToMountGsPtrOutput() MountGsPtrOutput { + return o } -// 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 +func (o MountGsPtrOutput) ToMountGsPtrOutputWithContext(ctx context.Context) MountGsPtrOutput { + return o } -type PipelineClusterArray []PipelineClusterInput +func (o MountGsPtrOutput) Elem() MountGsOutput { + return o.ApplyT(func(v *MountGs) MountGs { + if v != nil { + return *v + } + var ret MountGs + return ret + }).(MountGsOutput) +} -func (PipelineClusterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PipelineCluster)(nil)).Elem() +func (o MountGsPtrOutput) BucketName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountGs) *string { + if v == nil { + return nil + } + return &v.BucketName + }).(pulumi.StringPtrOutput) } -func (i PipelineClusterArray) ToPipelineClusterArrayOutput() PipelineClusterArrayOutput { - return i.ToPipelineClusterArrayOutputWithContext(context.Background()) +func (o MountGsPtrOutput) ServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountGs) *string { + if v == nil { + return nil + } + return v.ServiceAccount + }).(pulumi.StringPtrOutput) } -func (i PipelineClusterArray) ToPipelineClusterArrayOutputWithContext(ctx context.Context) PipelineClusterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterArrayOutput) +type MountS3 struct { + BucketName string `pulumi:"bucketName"` + InstanceProfile *string `pulumi:"instanceProfile"` } -type PipelineClusterOutput struct{ *pulumi.OutputState } +// MountS3Input is an input type that accepts MountS3Args and MountS3Output values. +// You can construct a concrete instance of `MountS3Input` via: +// +// MountS3Args{...} +type MountS3Input interface { + pulumi.Input -func (PipelineClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineCluster)(nil)).Elem() + ToMountS3Output() MountS3Output + ToMountS3OutputWithContext(context.Context) MountS3Output } -func (o PipelineClusterOutput) ToPipelineClusterOutput() PipelineClusterOutput { - return o +type MountS3Args struct { + BucketName pulumi.StringInput `pulumi:"bucketName"` + InstanceProfile pulumi.StringPtrInput `pulumi:"instanceProfile"` } -func (o PipelineClusterOutput) ToPipelineClusterOutputWithContext(ctx context.Context) PipelineClusterOutput { - return o +func (MountS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*MountS3)(nil)).Elem() } -func (o PipelineClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PipelineCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) +func (i MountS3Args) ToMountS3Output() MountS3Output { + return i.ToMountS3OutputWithContext(context.Background()) } -func (o PipelineClusterOutput) Autoscale() PipelineClusterAutoscalePtrOutput { - return o.ApplyT(func(v PipelineCluster) *PipelineClusterAutoscale { return v.Autoscale }).(PipelineClusterAutoscalePtrOutput) +func (i MountS3Args) ToMountS3OutputWithContext(ctx context.Context) MountS3Output { + return pulumi.ToOutputWithContext(ctx, i).(MountS3Output) } -func (o PipelineClusterOutput) AwsAttributes() PipelineClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v PipelineCluster) *PipelineClusterAwsAttributes { return v.AwsAttributes }).(PipelineClusterAwsAttributesPtrOutput) +func (i MountS3Args) ToMountS3PtrOutput() MountS3PtrOutput { + return i.ToMountS3PtrOutputWithContext(context.Background()) } -func (o PipelineClusterOutput) AzureAttributes() PipelineClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v PipelineCluster) *PipelineClusterAzureAttributes { return v.AzureAttributes }).(PipelineClusterAzureAttributesPtrOutput) +func (i MountS3Args) ToMountS3PtrOutputWithContext(ctx context.Context) MountS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountS3Output).ToMountS3PtrOutputWithContext(ctx) } -func (o PipelineClusterOutput) ClusterLogConf() PipelineClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v PipelineCluster) *PipelineClusterClusterLogConf { return v.ClusterLogConf }).(PipelineClusterClusterLogConfPtrOutput) -} +// MountS3PtrInput is an input type that accepts MountS3Args, MountS3Ptr and MountS3PtrOutput values. +// You can construct a concrete instance of `MountS3PtrInput` via: +// +// MountS3Args{...} +// +// or: +// +// nil +type MountS3PtrInput interface { + pulumi.Input -func (o PipelineClusterOutput) CustomTags() pulumi.MapOutput { - return o.ApplyT(func(v PipelineCluster) map[string]interface{} { return v.CustomTags }).(pulumi.MapOutput) + ToMountS3PtrOutput() MountS3PtrOutput + ToMountS3PtrOutputWithContext(context.Context) MountS3PtrOutput } -func (o PipelineClusterOutput) DriverInstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineCluster) *string { return v.DriverInstancePoolId }).(pulumi.StringPtrOutput) -} +type mountS3PtrType MountS3Args -func (o PipelineClusterOutput) DriverNodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineCluster) *string { return v.DriverNodeTypeId }).(pulumi.StringPtrOutput) +func MountS3Ptr(v *MountS3Args) MountS3PtrInput { + return (*mountS3PtrType)(v) } -func (o PipelineClusterOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PipelineCluster) *bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolPtrOutput) +func (*mountS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MountS3)(nil)).Elem() } -func (o PipelineClusterOutput) GcpAttributes() PipelineClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v PipelineCluster) *PipelineClusterGcpAttributes { return v.GcpAttributes }).(PipelineClusterGcpAttributesPtrOutput) +func (i *mountS3PtrType) ToMountS3PtrOutput() MountS3PtrOutput { + return i.ToMountS3PtrOutputWithContext(context.Background()) } -func (o PipelineClusterOutput) InitScripts() PipelineClusterInitScriptArrayOutput { - return o.ApplyT(func(v PipelineCluster) []PipelineClusterInitScript { return v.InitScripts }).(PipelineClusterInitScriptArrayOutput) +func (i *mountS3PtrType) ToMountS3PtrOutputWithContext(ctx context.Context) MountS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountS3PtrOutput) } -func (o PipelineClusterOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) -} +type MountS3Output struct{ *pulumi.OutputState } -func (o PipelineClusterOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineCluster) *string { return v.Label }).(pulumi.StringPtrOutput) +func (MountS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*MountS3)(nil)).Elem() } -func (o PipelineClusterOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineCluster) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) +func (o MountS3Output) ToMountS3Output() MountS3Output { + return o } -func (o PipelineClusterOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v PipelineCluster) *int { return v.NumWorkers }).(pulumi.IntPtrOutput) +func (o MountS3Output) ToMountS3OutputWithContext(ctx context.Context) MountS3Output { + return o } -func (o PipelineClusterOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +func (o MountS3Output) ToMountS3PtrOutput() MountS3PtrOutput { + return o.ToMountS3PtrOutputWithContext(context.Background()) } -func (o PipelineClusterOutput) SparkConf() pulumi.MapOutput { - return o.ApplyT(func(v PipelineCluster) map[string]interface{} { return v.SparkConf }).(pulumi.MapOutput) +func (o MountS3Output) ToMountS3PtrOutputWithContext(ctx context.Context) MountS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MountS3) *MountS3 { + return &v + }).(MountS3PtrOutput) } -func (o PipelineClusterOutput) SparkEnvVars() pulumi.MapOutput { - return o.ApplyT(func(v PipelineCluster) map[string]interface{} { return v.SparkEnvVars }).(pulumi.MapOutput) +func (o MountS3Output) BucketName() pulumi.StringOutput { + return o.ApplyT(func(v MountS3) string { return v.BucketName }).(pulumi.StringOutput) } -func (o PipelineClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v PipelineCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +func (o MountS3Output) InstanceProfile() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountS3) *string { return v.InstanceProfile }).(pulumi.StringPtrOutput) } -type PipelineClusterArrayOutput struct{ *pulumi.OutputState } +type MountS3PtrOutput struct{ *pulumi.OutputState } -func (PipelineClusterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PipelineCluster)(nil)).Elem() +func (MountS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MountS3)(nil)).Elem() } -func (o PipelineClusterArrayOutput) ToPipelineClusterArrayOutput() PipelineClusterArrayOutput { +func (o MountS3PtrOutput) ToMountS3PtrOutput() MountS3PtrOutput { return o } -func (o PipelineClusterArrayOutput) ToPipelineClusterArrayOutputWithContext(ctx context.Context) PipelineClusterArrayOutput { +func (o MountS3PtrOutput) ToMountS3PtrOutputWithContext(ctx context.Context) MountS3PtrOutput { 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 MountS3PtrOutput) Elem() MountS3Output { + return o.ApplyT(func(v *MountS3) MountS3 { + if v != nil { + return *v + } + var ret MountS3 + return ret + }).(MountS3Output) } -type PipelineClusterAutoscale struct { - MaxWorkers *int `pulumi:"maxWorkers"` - MinWorkers *int `pulumi:"minWorkers"` - Mode *string `pulumi:"mode"` +func (o MountS3PtrOutput) BucketName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountS3) *string { + if v == nil { + return nil + } + return &v.BucketName + }).(pulumi.StringPtrOutput) } -// PipelineClusterAutoscaleInput is an input type that accepts PipelineClusterAutoscaleArgs and PipelineClusterAutoscaleOutput values. -// You can construct a concrete instance of `PipelineClusterAutoscaleInput` via: +func (o MountS3PtrOutput) InstanceProfile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountS3) *string { + if v == nil { + return nil + } + return v.InstanceProfile + }).(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"` +} + +// MountWasbInput is an input type that accepts MountWasbArgs and MountWasbOutput values. +// You can construct a concrete instance of `MountWasbInput` via: // -// PipelineClusterAutoscaleArgs{...} -type PipelineClusterAutoscaleInput interface { +// MountWasbArgs{...} +type MountWasbInput interface { pulumi.Input - ToPipelineClusterAutoscaleOutput() PipelineClusterAutoscaleOutput - ToPipelineClusterAutoscaleOutputWithContext(context.Context) PipelineClusterAutoscaleOutput + ToMountWasbOutput() MountWasbOutput + ToMountWasbOutputWithContext(context.Context) MountWasbOutput } -type PipelineClusterAutoscaleArgs struct { - MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` - MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` - Mode pulumi.StringPtrInput `pulumi:"mode"` +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 (PipelineClusterAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterAutoscale)(nil)).Elem() +func (MountWasbArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MountWasb)(nil)).Elem() } -func (i PipelineClusterAutoscaleArgs) ToPipelineClusterAutoscaleOutput() PipelineClusterAutoscaleOutput { - return i.ToPipelineClusterAutoscaleOutputWithContext(context.Background()) +func (i MountWasbArgs) ToMountWasbOutput() MountWasbOutput { + return i.ToMountWasbOutputWithContext(context.Background()) } -func (i PipelineClusterAutoscaleArgs) ToPipelineClusterAutoscaleOutputWithContext(ctx context.Context) PipelineClusterAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAutoscaleOutput) +func (i MountWasbArgs) ToMountWasbOutputWithContext(ctx context.Context) MountWasbOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountWasbOutput) } -func (i PipelineClusterAutoscaleArgs) ToPipelineClusterAutoscalePtrOutput() PipelineClusterAutoscalePtrOutput { - return i.ToPipelineClusterAutoscalePtrOutputWithContext(context.Background()) +func (i MountWasbArgs) ToMountWasbPtrOutput() MountWasbPtrOutput { + return i.ToMountWasbPtrOutputWithContext(context.Background()) } -func (i PipelineClusterAutoscaleArgs) ToPipelineClusterAutoscalePtrOutputWithContext(ctx context.Context) PipelineClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAutoscaleOutput).ToPipelineClusterAutoscalePtrOutputWithContext(ctx) +func (i MountWasbArgs) ToMountWasbPtrOutputWithContext(ctx context.Context) MountWasbPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountWasbOutput).ToMountWasbPtrOutputWithContext(ctx) } -// PipelineClusterAutoscalePtrInput is an input type that accepts PipelineClusterAutoscaleArgs, PipelineClusterAutoscalePtr and PipelineClusterAutoscalePtrOutput values. -// You can construct a concrete instance of `PipelineClusterAutoscalePtrInput` via: +// MountWasbPtrInput is an input type that accepts MountWasbArgs, MountWasbPtr and MountWasbPtrOutput values. +// You can construct a concrete instance of `MountWasbPtrInput` via: // -// PipelineClusterAutoscaleArgs{...} +// MountWasbArgs{...} // // or: // // nil -type PipelineClusterAutoscalePtrInput interface { +type MountWasbPtrInput interface { pulumi.Input - ToPipelineClusterAutoscalePtrOutput() PipelineClusterAutoscalePtrOutput - ToPipelineClusterAutoscalePtrOutputWithContext(context.Context) PipelineClusterAutoscalePtrOutput + ToMountWasbPtrOutput() MountWasbPtrOutput + ToMountWasbPtrOutputWithContext(context.Context) MountWasbPtrOutput } -type pipelineClusterAutoscalePtrType PipelineClusterAutoscaleArgs +type mountWasbPtrType MountWasbArgs -func PipelineClusterAutoscalePtr(v *PipelineClusterAutoscaleArgs) PipelineClusterAutoscalePtrInput { - return (*pipelineClusterAutoscalePtrType)(v) +func MountWasbPtr(v *MountWasbArgs) MountWasbPtrInput { + return (*mountWasbPtrType)(v) } -func (*pipelineClusterAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterAutoscale)(nil)).Elem() +func (*mountWasbPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MountWasb)(nil)).Elem() } -func (i *pipelineClusterAutoscalePtrType) ToPipelineClusterAutoscalePtrOutput() PipelineClusterAutoscalePtrOutput { - return i.ToPipelineClusterAutoscalePtrOutputWithContext(context.Background()) +func (i *mountWasbPtrType) ToMountWasbPtrOutput() MountWasbPtrOutput { + return i.ToMountWasbPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterAutoscalePtrType) ToPipelineClusterAutoscalePtrOutputWithContext(ctx context.Context) PipelineClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAutoscalePtrOutput) +func (i *mountWasbPtrType) ToMountWasbPtrOutputWithContext(ctx context.Context) MountWasbPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountWasbPtrOutput) } -type PipelineClusterAutoscaleOutput struct{ *pulumi.OutputState } +type MountWasbOutput struct{ *pulumi.OutputState } -func (PipelineClusterAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterAutoscale)(nil)).Elem() +func (MountWasbOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MountWasb)(nil)).Elem() } -func (o PipelineClusterAutoscaleOutput) ToPipelineClusterAutoscaleOutput() PipelineClusterAutoscaleOutput { +func (o MountWasbOutput) ToMountWasbOutput() MountWasbOutput { return o } -func (o PipelineClusterAutoscaleOutput) ToPipelineClusterAutoscaleOutputWithContext(ctx context.Context) PipelineClusterAutoscaleOutput { +func (o MountWasbOutput) ToMountWasbOutputWithContext(ctx context.Context) MountWasbOutput { return o } -func (o PipelineClusterAutoscaleOutput) ToPipelineClusterAutoscalePtrOutput() PipelineClusterAutoscalePtrOutput { - return o.ToPipelineClusterAutoscalePtrOutputWithContext(context.Background()) +func (o MountWasbOutput) ToMountWasbPtrOutput() MountWasbPtrOutput { + return o.ToMountWasbPtrOutputWithContext(context.Background()) } -func (o PipelineClusterAutoscaleOutput) ToPipelineClusterAutoscalePtrOutputWithContext(ctx context.Context) PipelineClusterAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterAutoscale) *PipelineClusterAutoscale { +func (o MountWasbOutput) ToMountWasbPtrOutputWithContext(ctx context.Context) MountWasbPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MountWasb) *MountWasb { return &v - }).(PipelineClusterAutoscalePtrOutput) + }).(MountWasbPtrOutput) } -func (o PipelineClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v PipelineClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +func (o MountWasbOutput) AuthType() pulumi.StringOutput { + return o.ApplyT(func(v MountWasb) string { return v.AuthType }).(pulumi.StringOutput) } -func (o PipelineClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v PipelineClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +func (o MountWasbOutput) ContainerName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountWasb) *string { return v.ContainerName }).(pulumi.StringPtrOutput) } -func (o PipelineClusterAutoscaleOutput) Mode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterAutoscale) *string { return v.Mode }).(pulumi.StringPtrOutput) +func (o MountWasbOutput) Directory() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountWasb) *string { return v.Directory }).(pulumi.StringPtrOutput) } -type PipelineClusterAutoscalePtrOutput struct{ *pulumi.OutputState } +func (o MountWasbOutput) StorageAccountName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountWasb) *string { return v.StorageAccountName }).(pulumi.StringPtrOutput) +} -func (PipelineClusterAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterAutoscale)(nil)).Elem() +func (o MountWasbOutput) TokenSecretKey() pulumi.StringOutput { + return o.ApplyT(func(v MountWasb) string { return v.TokenSecretKey }).(pulumi.StringOutput) } -func (o PipelineClusterAutoscalePtrOutput) ToPipelineClusterAutoscalePtrOutput() PipelineClusterAutoscalePtrOutput { +func (o MountWasbOutput) TokenSecretScope() pulumi.StringOutput { + return o.ApplyT(func(v MountWasb) string { return v.TokenSecretScope }).(pulumi.StringOutput) +} + +type MountWasbPtrOutput struct{ *pulumi.OutputState } + +func (MountWasbPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MountWasb)(nil)).Elem() +} + +func (o MountWasbPtrOutput) ToMountWasbPtrOutput() MountWasbPtrOutput { return o } -func (o PipelineClusterAutoscalePtrOutput) ToPipelineClusterAutoscalePtrOutputWithContext(ctx context.Context) PipelineClusterAutoscalePtrOutput { +func (o MountWasbPtrOutput) ToMountWasbPtrOutputWithContext(ctx context.Context) MountWasbPtrOutput { return o } -func (o PipelineClusterAutoscalePtrOutput) Elem() PipelineClusterAutoscaleOutput { - return o.ApplyT(func(v *PipelineClusterAutoscale) PipelineClusterAutoscale { +func (o MountWasbPtrOutput) Elem() MountWasbOutput { + return o.ApplyT(func(v *MountWasb) MountWasb { if v != nil { return *v } - var ret PipelineClusterAutoscale + var ret MountWasb return ret - }).(PipelineClusterAutoscaleOutput) + }).(MountWasbOutput) } -func (o PipelineClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PipelineClusterAutoscale) *int { +func (o MountWasbPtrOutput) AuthType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountWasb) *string { if v == nil { return nil } - return v.MaxWorkers - }).(pulumi.IntPtrOutput) + return &v.AuthType + }).(pulumi.StringPtrOutput) } -func (o PipelineClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PipelineClusterAutoscale) *int { +func (o MountWasbPtrOutput) ContainerName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountWasb) *string { if v == nil { return nil } - return v.MinWorkers - }).(pulumi.IntPtrOutput) + return v.ContainerName + }).(pulumi.StringPtrOutput) } -func (o PipelineClusterAutoscalePtrOutput) Mode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterAutoscale) *string { +func (o MountWasbPtrOutput) Directory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountWasb) *string { if v == nil { return nil } - return v.Mode + return v.Directory }).(pulumi.StringPtrOutput) } -type PipelineClusterAwsAttributes 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 MountWasbPtrOutput) StorageAccountName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountWasb) *string { + if v == nil { + return nil + } + return v.StorageAccountName + }).(pulumi.StringPtrOutput) } -// PipelineClusterAwsAttributesInput is an input type that accepts PipelineClusterAwsAttributesArgs and PipelineClusterAwsAttributesOutput values. -// You can construct a concrete instance of `PipelineClusterAwsAttributesInput` via: +func (o MountWasbPtrOutput) TokenSecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountWasb) *string { + if v == nil { + return nil + } + return &v.TokenSecretKey + }).(pulumi.StringPtrOutput) +} + +func (o MountWasbPtrOutput) TokenSecretScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountWasb) *string { + if v == nil { + return nil + } + return &v.TokenSecretScope + }).(pulumi.StringPtrOutput) +} + +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"` +} + +// MwsCustomerManagedKeysAwsKeyInfoInput is an input type that accepts MwsCustomerManagedKeysAwsKeyInfoArgs and MwsCustomerManagedKeysAwsKeyInfoOutput values. +// You can construct a concrete instance of `MwsCustomerManagedKeysAwsKeyInfoInput` via: // -// PipelineClusterAwsAttributesArgs{...} -type PipelineClusterAwsAttributesInput interface { +// MwsCustomerManagedKeysAwsKeyInfoArgs{...} +type MwsCustomerManagedKeysAwsKeyInfoInput interface { pulumi.Input - ToPipelineClusterAwsAttributesOutput() PipelineClusterAwsAttributesOutput - ToPipelineClusterAwsAttributesOutputWithContext(context.Context) PipelineClusterAwsAttributesOutput + ToMwsCustomerManagedKeysAwsKeyInfoOutput() MwsCustomerManagedKeysAwsKeyInfoOutput + ToMwsCustomerManagedKeysAwsKeyInfoOutputWithContext(context.Context) MwsCustomerManagedKeysAwsKeyInfoOutput } -type PipelineClusterAwsAttributesArgs 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 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 (PipelineClusterAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterAwsAttributes)(nil)).Elem() +func (MwsCustomerManagedKeysAwsKeyInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsCustomerManagedKeysAwsKeyInfo)(nil)).Elem() } -func (i PipelineClusterAwsAttributesArgs) ToPipelineClusterAwsAttributesOutput() PipelineClusterAwsAttributesOutput { - return i.ToPipelineClusterAwsAttributesOutputWithContext(context.Background()) +func (i MwsCustomerManagedKeysAwsKeyInfoArgs) ToMwsCustomerManagedKeysAwsKeyInfoOutput() MwsCustomerManagedKeysAwsKeyInfoOutput { + return i.ToMwsCustomerManagedKeysAwsKeyInfoOutputWithContext(context.Background()) } -func (i PipelineClusterAwsAttributesArgs) ToPipelineClusterAwsAttributesOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAwsAttributesOutput) +func (i MwsCustomerManagedKeysAwsKeyInfoArgs) ToMwsCustomerManagedKeysAwsKeyInfoOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysAwsKeyInfoOutput) } -func (i PipelineClusterAwsAttributesArgs) ToPipelineClusterAwsAttributesPtrOutput() PipelineClusterAwsAttributesPtrOutput { - return i.ToPipelineClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i MwsCustomerManagedKeysAwsKeyInfoArgs) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutput() MwsCustomerManagedKeysAwsKeyInfoPtrOutput { + return i.ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(context.Background()) } -func (i PipelineClusterAwsAttributesArgs) ToPipelineClusterAwsAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAwsAttributesOutput).ToPipelineClusterAwsAttributesPtrOutputWithContext(ctx) +func (i MwsCustomerManagedKeysAwsKeyInfoArgs) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysAwsKeyInfoOutput).ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(ctx) } -// PipelineClusterAwsAttributesPtrInput is an input type that accepts PipelineClusterAwsAttributesArgs, PipelineClusterAwsAttributesPtr and PipelineClusterAwsAttributesPtrOutput values. -// You can construct a concrete instance of `PipelineClusterAwsAttributesPtrInput` via: +// MwsCustomerManagedKeysAwsKeyInfoPtrInput is an input type that accepts MwsCustomerManagedKeysAwsKeyInfoArgs, MwsCustomerManagedKeysAwsKeyInfoPtr and MwsCustomerManagedKeysAwsKeyInfoPtrOutput values. +// You can construct a concrete instance of `MwsCustomerManagedKeysAwsKeyInfoPtrInput` via: // -// PipelineClusterAwsAttributesArgs{...} +// MwsCustomerManagedKeysAwsKeyInfoArgs{...} // // or: // // nil -type PipelineClusterAwsAttributesPtrInput interface { +type MwsCustomerManagedKeysAwsKeyInfoPtrInput interface { pulumi.Input - ToPipelineClusterAwsAttributesPtrOutput() PipelineClusterAwsAttributesPtrOutput - ToPipelineClusterAwsAttributesPtrOutputWithContext(context.Context) PipelineClusterAwsAttributesPtrOutput + ToMwsCustomerManagedKeysAwsKeyInfoPtrOutput() MwsCustomerManagedKeysAwsKeyInfoPtrOutput + ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(context.Context) MwsCustomerManagedKeysAwsKeyInfoPtrOutput } -type pipelineClusterAwsAttributesPtrType PipelineClusterAwsAttributesArgs +type mwsCustomerManagedKeysAwsKeyInfoPtrType MwsCustomerManagedKeysAwsKeyInfoArgs -func PipelineClusterAwsAttributesPtr(v *PipelineClusterAwsAttributesArgs) PipelineClusterAwsAttributesPtrInput { - return (*pipelineClusterAwsAttributesPtrType)(v) +func MwsCustomerManagedKeysAwsKeyInfoPtr(v *MwsCustomerManagedKeysAwsKeyInfoArgs) MwsCustomerManagedKeysAwsKeyInfoPtrInput { + return (*mwsCustomerManagedKeysAwsKeyInfoPtrType)(v) } -func (*pipelineClusterAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterAwsAttributes)(nil)).Elem() +func (*mwsCustomerManagedKeysAwsKeyInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsCustomerManagedKeysAwsKeyInfo)(nil)).Elem() } -func (i *pipelineClusterAwsAttributesPtrType) ToPipelineClusterAwsAttributesPtrOutput() PipelineClusterAwsAttributesPtrOutput { - return i.ToPipelineClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i *mwsCustomerManagedKeysAwsKeyInfoPtrType) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutput() MwsCustomerManagedKeysAwsKeyInfoPtrOutput { + return i.ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterAwsAttributesPtrType) ToPipelineClusterAwsAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAwsAttributesPtrOutput) +func (i *mwsCustomerManagedKeysAwsKeyInfoPtrType) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysAwsKeyInfoPtrOutput) } -type PipelineClusterAwsAttributesOutput struct{ *pulumi.OutputState } +type MwsCustomerManagedKeysAwsKeyInfoOutput struct{ *pulumi.OutputState } -func (PipelineClusterAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterAwsAttributes)(nil)).Elem() +func (MwsCustomerManagedKeysAwsKeyInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsCustomerManagedKeysAwsKeyInfo)(nil)).Elem() } -func (o PipelineClusterAwsAttributesOutput) ToPipelineClusterAwsAttributesOutput() PipelineClusterAwsAttributesOutput { +func (o MwsCustomerManagedKeysAwsKeyInfoOutput) ToMwsCustomerManagedKeysAwsKeyInfoOutput() MwsCustomerManagedKeysAwsKeyInfoOutput { return o } -func (o PipelineClusterAwsAttributesOutput) ToPipelineClusterAwsAttributesOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesOutput { +func (o MwsCustomerManagedKeysAwsKeyInfoOutput) ToMwsCustomerManagedKeysAwsKeyInfoOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoOutput { return o } -func (o PipelineClusterAwsAttributesOutput) ToPipelineClusterAwsAttributesPtrOutput() PipelineClusterAwsAttributesPtrOutput { - return o.ToPipelineClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (o MwsCustomerManagedKeysAwsKeyInfoOutput) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutput() MwsCustomerManagedKeysAwsKeyInfoPtrOutput { + return o.ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(context.Background()) } -func (o PipelineClusterAwsAttributesOutput) ToPipelineClusterAwsAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterAwsAttributes) *PipelineClusterAwsAttributes { +func (o MwsCustomerManagedKeysAwsKeyInfoOutput) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsCustomerManagedKeysAwsKeyInfo) *MwsCustomerManagedKeysAwsKeyInfo { 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) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v PipelineClusterAwsAttributes) *int { return v.EbsVolumeSize }).(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) + }).(MwsCustomerManagedKeysAwsKeyInfoPtrOutput) } -func (o PipelineClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) +// The AWS KMS key alias. +func (o MwsCustomerManagedKeysAwsKeyInfoOutput) KeyAlias() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsCustomerManagedKeysAwsKeyInfo) *string { return v.KeyAlias }).(pulumi.StringPtrOutput) } -func (o PipelineClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v PipelineClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +// 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 PipelineClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +// (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 PipelineClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type MwsCustomerManagedKeysAwsKeyInfoPtrOutput struct{ *pulumi.OutputState } -func (PipelineClusterAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterAwsAttributes)(nil)).Elem() +func (MwsCustomerManagedKeysAwsKeyInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsCustomerManagedKeysAwsKeyInfo)(nil)).Elem() } -func (o PipelineClusterAwsAttributesPtrOutput) ToPipelineClusterAwsAttributesPtrOutput() PipelineClusterAwsAttributesPtrOutput { +func (o MwsCustomerManagedKeysAwsKeyInfoPtrOutput) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutput() MwsCustomerManagedKeysAwsKeyInfoPtrOutput { return o } -func (o PipelineClusterAwsAttributesPtrOutput) ToPipelineClusterAwsAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesPtrOutput { +func (o MwsCustomerManagedKeysAwsKeyInfoPtrOutput) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoPtrOutput { return o } -func (o PipelineClusterAwsAttributesPtrOutput) Elem() PipelineClusterAwsAttributesOutput { - return o.ApplyT(func(v *PipelineClusterAwsAttributes) PipelineClusterAwsAttributes { +func (o MwsCustomerManagedKeysAwsKeyInfoPtrOutput) Elem() MwsCustomerManagedKeysAwsKeyInfoOutput { + return o.ApplyT(func(v *MwsCustomerManagedKeysAwsKeyInfo) MwsCustomerManagedKeysAwsKeyInfo { if v != nil { return *v } - var ret PipelineClusterAwsAttributes + var ret MwsCustomerManagedKeysAwsKeyInfo 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) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PipelineClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeSize - }).(pulumi.IntPtrOutput) + }).(MwsCustomerManagedKeysAwsKeyInfoOutput) } -func (o PipelineClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterAwsAttributes) *string { +// 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.EbsVolumeType + return v.KeyAlias }).(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 { +// 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.InstanceProfileArn + return &v.KeyArn }).(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 { +// (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.ZoneId + return v.KeyRegion }).(pulumi.StringPtrOutput) } -type PipelineClusterAzureAttributes struct { - Availability *string `pulumi:"availability"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +type MwsCustomerManagedKeysGcpKeyInfo struct { + // The GCP KMS key's resource name. + KmsKeyId string `pulumi:"kmsKeyId"` } -// PipelineClusterAzureAttributesInput is an input type that accepts PipelineClusterAzureAttributesArgs and PipelineClusterAzureAttributesOutput values. -// You can construct a concrete instance of `PipelineClusterAzureAttributesInput` via: +// MwsCustomerManagedKeysGcpKeyInfoInput is an input type that accepts MwsCustomerManagedKeysGcpKeyInfoArgs and MwsCustomerManagedKeysGcpKeyInfoOutput values. +// You can construct a concrete instance of `MwsCustomerManagedKeysGcpKeyInfoInput` via: // -// PipelineClusterAzureAttributesArgs{...} -type PipelineClusterAzureAttributesInput interface { +// MwsCustomerManagedKeysGcpKeyInfoArgs{...} +type MwsCustomerManagedKeysGcpKeyInfoInput interface { pulumi.Input - ToPipelineClusterAzureAttributesOutput() PipelineClusterAzureAttributesOutput - ToPipelineClusterAzureAttributesOutputWithContext(context.Context) PipelineClusterAzureAttributesOutput + ToMwsCustomerManagedKeysGcpKeyInfoOutput() MwsCustomerManagedKeysGcpKeyInfoOutput + ToMwsCustomerManagedKeysGcpKeyInfoOutputWithContext(context.Context) MwsCustomerManagedKeysGcpKeyInfoOutput } -type PipelineClusterAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +type MwsCustomerManagedKeysGcpKeyInfoArgs struct { + // The GCP KMS key's resource name. + KmsKeyId pulumi.StringInput `pulumi:"kmsKeyId"` } -func (PipelineClusterAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterAzureAttributes)(nil)).Elem() +func (MwsCustomerManagedKeysGcpKeyInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsCustomerManagedKeysGcpKeyInfo)(nil)).Elem() } -func (i PipelineClusterAzureAttributesArgs) ToPipelineClusterAzureAttributesOutput() PipelineClusterAzureAttributesOutput { - return i.ToPipelineClusterAzureAttributesOutputWithContext(context.Background()) +func (i MwsCustomerManagedKeysGcpKeyInfoArgs) ToMwsCustomerManagedKeysGcpKeyInfoOutput() MwsCustomerManagedKeysGcpKeyInfoOutput { + return i.ToMwsCustomerManagedKeysGcpKeyInfoOutputWithContext(context.Background()) } -func (i PipelineClusterAzureAttributesArgs) ToPipelineClusterAzureAttributesOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAzureAttributesOutput) +func (i MwsCustomerManagedKeysGcpKeyInfoArgs) ToMwsCustomerManagedKeysGcpKeyInfoOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysGcpKeyInfoOutput) } -func (i PipelineClusterAzureAttributesArgs) ToPipelineClusterAzureAttributesPtrOutput() PipelineClusterAzureAttributesPtrOutput { - return i.ToPipelineClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i MwsCustomerManagedKeysGcpKeyInfoArgs) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutput() MwsCustomerManagedKeysGcpKeyInfoPtrOutput { + return i.ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(context.Background()) } -func (i PipelineClusterAzureAttributesArgs) ToPipelineClusterAzureAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAzureAttributesOutput).ToPipelineClusterAzureAttributesPtrOutputWithContext(ctx) +func (i MwsCustomerManagedKeysGcpKeyInfoArgs) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysGcpKeyInfoOutput).ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(ctx) } -// PipelineClusterAzureAttributesPtrInput is an input type that accepts PipelineClusterAzureAttributesArgs, PipelineClusterAzureAttributesPtr and PipelineClusterAzureAttributesPtrOutput values. -// You can construct a concrete instance of `PipelineClusterAzureAttributesPtrInput` via: +// MwsCustomerManagedKeysGcpKeyInfoPtrInput is an input type that accepts MwsCustomerManagedKeysGcpKeyInfoArgs, MwsCustomerManagedKeysGcpKeyInfoPtr and MwsCustomerManagedKeysGcpKeyInfoPtrOutput values. +// You can construct a concrete instance of `MwsCustomerManagedKeysGcpKeyInfoPtrInput` via: // -// PipelineClusterAzureAttributesArgs{...} +// MwsCustomerManagedKeysGcpKeyInfoArgs{...} // // or: // // nil -type PipelineClusterAzureAttributesPtrInput interface { +type MwsCustomerManagedKeysGcpKeyInfoPtrInput interface { pulumi.Input - ToPipelineClusterAzureAttributesPtrOutput() PipelineClusterAzureAttributesPtrOutput - ToPipelineClusterAzureAttributesPtrOutputWithContext(context.Context) PipelineClusterAzureAttributesPtrOutput + ToMwsCustomerManagedKeysGcpKeyInfoPtrOutput() MwsCustomerManagedKeysGcpKeyInfoPtrOutput + ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(context.Context) MwsCustomerManagedKeysGcpKeyInfoPtrOutput } -type pipelineClusterAzureAttributesPtrType PipelineClusterAzureAttributesArgs +type mwsCustomerManagedKeysGcpKeyInfoPtrType MwsCustomerManagedKeysGcpKeyInfoArgs -func PipelineClusterAzureAttributesPtr(v *PipelineClusterAzureAttributesArgs) PipelineClusterAzureAttributesPtrInput { - return (*pipelineClusterAzureAttributesPtrType)(v) +func MwsCustomerManagedKeysGcpKeyInfoPtr(v *MwsCustomerManagedKeysGcpKeyInfoArgs) MwsCustomerManagedKeysGcpKeyInfoPtrInput { + return (*mwsCustomerManagedKeysGcpKeyInfoPtrType)(v) } -func (*pipelineClusterAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterAzureAttributes)(nil)).Elem() +func (*mwsCustomerManagedKeysGcpKeyInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsCustomerManagedKeysGcpKeyInfo)(nil)).Elem() } -func (i *pipelineClusterAzureAttributesPtrType) ToPipelineClusterAzureAttributesPtrOutput() PipelineClusterAzureAttributesPtrOutput { - return i.ToPipelineClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i *mwsCustomerManagedKeysGcpKeyInfoPtrType) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutput() MwsCustomerManagedKeysGcpKeyInfoPtrOutput { + return i.ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterAzureAttributesPtrType) ToPipelineClusterAzureAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAzureAttributesPtrOutput) +func (i *mwsCustomerManagedKeysGcpKeyInfoPtrType) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysGcpKeyInfoPtrOutput) } -type PipelineClusterAzureAttributesOutput struct{ *pulumi.OutputState } +type MwsCustomerManagedKeysGcpKeyInfoOutput struct{ *pulumi.OutputState } -func (PipelineClusterAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterAzureAttributes)(nil)).Elem() +func (MwsCustomerManagedKeysGcpKeyInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsCustomerManagedKeysGcpKeyInfo)(nil)).Elem() } -func (o PipelineClusterAzureAttributesOutput) ToPipelineClusterAzureAttributesOutput() PipelineClusterAzureAttributesOutput { +func (o MwsCustomerManagedKeysGcpKeyInfoOutput) ToMwsCustomerManagedKeysGcpKeyInfoOutput() MwsCustomerManagedKeysGcpKeyInfoOutput { return o } -func (o PipelineClusterAzureAttributesOutput) ToPipelineClusterAzureAttributesOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesOutput { +func (o MwsCustomerManagedKeysGcpKeyInfoOutput) ToMwsCustomerManagedKeysGcpKeyInfoOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoOutput { return o } -func (o PipelineClusterAzureAttributesOutput) ToPipelineClusterAzureAttributesPtrOutput() PipelineClusterAzureAttributesPtrOutput { - return o.ToPipelineClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (o MwsCustomerManagedKeysGcpKeyInfoOutput) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutput() MwsCustomerManagedKeysGcpKeyInfoPtrOutput { + return o.ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(context.Background()) } -func (o PipelineClusterAzureAttributesOutput) ToPipelineClusterAzureAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterAzureAttributes) *PipelineClusterAzureAttributes { +func (o MwsCustomerManagedKeysGcpKeyInfoOutput) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsCustomerManagedKeysGcpKeyInfo) *MwsCustomerManagedKeysGcpKeyInfo { return &v - }).(PipelineClusterAzureAttributesPtrOutput) -} - -func (o PipelineClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o PipelineClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v PipelineClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) + }).(MwsCustomerManagedKeysGcpKeyInfoPtrOutput) } -func (o PipelineClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v PipelineClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +// 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) } -type PipelineClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } +type MwsCustomerManagedKeysGcpKeyInfoPtrOutput struct{ *pulumi.OutputState } -func (PipelineClusterAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterAzureAttributes)(nil)).Elem() +func (MwsCustomerManagedKeysGcpKeyInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsCustomerManagedKeysGcpKeyInfo)(nil)).Elem() } -func (o PipelineClusterAzureAttributesPtrOutput) ToPipelineClusterAzureAttributesPtrOutput() PipelineClusterAzureAttributesPtrOutput { +func (o MwsCustomerManagedKeysGcpKeyInfoPtrOutput) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutput() MwsCustomerManagedKeysGcpKeyInfoPtrOutput { return o } -func (o PipelineClusterAzureAttributesPtrOutput) ToPipelineClusterAzureAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesPtrOutput { +func (o MwsCustomerManagedKeysGcpKeyInfoPtrOutput) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoPtrOutput { return o } -func (o PipelineClusterAzureAttributesPtrOutput) Elem() PipelineClusterAzureAttributesOutput { - return o.ApplyT(func(v *PipelineClusterAzureAttributes) PipelineClusterAzureAttributes { +func (o MwsCustomerManagedKeysGcpKeyInfoPtrOutput) Elem() MwsCustomerManagedKeysGcpKeyInfoOutput { + return o.ApplyT(func(v *MwsCustomerManagedKeysGcpKeyInfo) MwsCustomerManagedKeysGcpKeyInfo { if v != nil { return *v } - var ret PipelineClusterAzureAttributes + var ret MwsCustomerManagedKeysGcpKeyInfo return ret - }).(PipelineClusterAzureAttributesOutput) + }).(MwsCustomerManagedKeysGcpKeyInfoOutput) } -func (o PipelineClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterAzureAttributes) *string { +// 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.Availability + return &v.KmsKeyId }).(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) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *PipelineClusterAzureAttributes) *float64 { - if v == nil { - return nil - } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) -} - -type PipelineClusterClusterLogConf struct { - Dbfs *PipelineClusterClusterLogConfDbfs `pulumi:"dbfs"` - S3 *PipelineClusterClusterLogConfS3 `pulumi:"s3"` +type MwsNetworksErrorMessage struct { + ErrorMessage *string `pulumi:"errorMessage"` + ErrorType *string `pulumi:"errorType"` } -// PipelineClusterClusterLogConfInput is an input type that accepts PipelineClusterClusterLogConfArgs and PipelineClusterClusterLogConfOutput values. -// You can construct a concrete instance of `PipelineClusterClusterLogConfInput` via: +// MwsNetworksErrorMessageInput is an input type that accepts MwsNetworksErrorMessageArgs and MwsNetworksErrorMessageOutput values. +// You can construct a concrete instance of `MwsNetworksErrorMessageInput` via: // -// PipelineClusterClusterLogConfArgs{...} -type PipelineClusterClusterLogConfInput interface { +// MwsNetworksErrorMessageArgs{...} +type MwsNetworksErrorMessageInput interface { pulumi.Input - ToPipelineClusterClusterLogConfOutput() PipelineClusterClusterLogConfOutput - ToPipelineClusterClusterLogConfOutputWithContext(context.Context) PipelineClusterClusterLogConfOutput + ToMwsNetworksErrorMessageOutput() MwsNetworksErrorMessageOutput + ToMwsNetworksErrorMessageOutputWithContext(context.Context) MwsNetworksErrorMessageOutput } -type PipelineClusterClusterLogConfArgs struct { - Dbfs PipelineClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 PipelineClusterClusterLogConfS3PtrInput `pulumi:"s3"` +type MwsNetworksErrorMessageArgs struct { + ErrorMessage pulumi.StringPtrInput `pulumi:"errorMessage"` + ErrorType pulumi.StringPtrInput `pulumi:"errorType"` } -func (PipelineClusterClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterClusterLogConf)(nil)).Elem() +func (MwsNetworksErrorMessageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworksErrorMessage)(nil)).Elem() } -func (i PipelineClusterClusterLogConfArgs) ToPipelineClusterClusterLogConfOutput() PipelineClusterClusterLogConfOutput { - return i.ToPipelineClusterClusterLogConfOutputWithContext(context.Background()) +func (i MwsNetworksErrorMessageArgs) ToMwsNetworksErrorMessageOutput() MwsNetworksErrorMessageOutput { + return i.ToMwsNetworksErrorMessageOutputWithContext(context.Background()) } -func (i PipelineClusterClusterLogConfArgs) ToPipelineClusterClusterLogConfOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfOutput) +func (i MwsNetworksErrorMessageArgs) ToMwsNetworksErrorMessageOutputWithContext(ctx context.Context) MwsNetworksErrorMessageOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksErrorMessageOutput) } -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: -// -// PipelineClusterClusterLogConfArgs{...} -// -// or: +// MwsNetworksErrorMessageArrayInput is an input type that accepts MwsNetworksErrorMessageArray and MwsNetworksErrorMessageArrayOutput values. +// You can construct a concrete instance of `MwsNetworksErrorMessageArrayInput` via: // -// nil -type PipelineClusterClusterLogConfPtrInput interface { +// MwsNetworksErrorMessageArray{ MwsNetworksErrorMessageArgs{...} } +type MwsNetworksErrorMessageArrayInput interface { pulumi.Input - ToPipelineClusterClusterLogConfPtrOutput() PipelineClusterClusterLogConfPtrOutput - ToPipelineClusterClusterLogConfPtrOutputWithContext(context.Context) PipelineClusterClusterLogConfPtrOutput + ToMwsNetworksErrorMessageArrayOutput() MwsNetworksErrorMessageArrayOutput + ToMwsNetworksErrorMessageArrayOutputWithContext(context.Context) MwsNetworksErrorMessageArrayOutput } -type pipelineClusterClusterLogConfPtrType PipelineClusterClusterLogConfArgs - -func PipelineClusterClusterLogConfPtr(v *PipelineClusterClusterLogConfArgs) PipelineClusterClusterLogConfPtrInput { - return (*pipelineClusterClusterLogConfPtrType)(v) -} +type MwsNetworksErrorMessageArray []MwsNetworksErrorMessageInput -func (*pipelineClusterClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterClusterLogConf)(nil)).Elem() +func (MwsNetworksErrorMessageArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MwsNetworksErrorMessage)(nil)).Elem() } -func (i *pipelineClusterClusterLogConfPtrType) ToPipelineClusterClusterLogConfPtrOutput() PipelineClusterClusterLogConfPtrOutput { - return i.ToPipelineClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i MwsNetworksErrorMessageArray) ToMwsNetworksErrorMessageArrayOutput() MwsNetworksErrorMessageArrayOutput { + return i.ToMwsNetworksErrorMessageArrayOutputWithContext(context.Background()) } -func (i *pipelineClusterClusterLogConfPtrType) ToPipelineClusterClusterLogConfPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfPtrOutput) +func (i MwsNetworksErrorMessageArray) ToMwsNetworksErrorMessageArrayOutputWithContext(ctx context.Context) MwsNetworksErrorMessageArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksErrorMessageArrayOutput) } -type PipelineClusterClusterLogConfOutput struct{ *pulumi.OutputState } +type MwsNetworksErrorMessageOutput struct{ *pulumi.OutputState } -func (PipelineClusterClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterClusterLogConf)(nil)).Elem() +func (MwsNetworksErrorMessageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworksErrorMessage)(nil)).Elem() } -func (o PipelineClusterClusterLogConfOutput) ToPipelineClusterClusterLogConfOutput() PipelineClusterClusterLogConfOutput { +func (o MwsNetworksErrorMessageOutput) ToMwsNetworksErrorMessageOutput() MwsNetworksErrorMessageOutput { return o } -func (o PipelineClusterClusterLogConfOutput) ToPipelineClusterClusterLogConfOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfOutput { +func (o MwsNetworksErrorMessageOutput) ToMwsNetworksErrorMessageOutputWithContext(ctx context.Context) MwsNetworksErrorMessageOutput { return o } -func (o PipelineClusterClusterLogConfOutput) ToPipelineClusterClusterLogConfPtrOutput() PipelineClusterClusterLogConfPtrOutput { - return o.ToPipelineClusterClusterLogConfPtrOutputWithContext(context.Background()) -} - -func (o PipelineClusterClusterLogConfOutput) ToPipelineClusterClusterLogConfPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterClusterLogConf) *PipelineClusterClusterLogConf { - return &v - }).(PipelineClusterClusterLogConfPtrOutput) -} - -func (o PipelineClusterClusterLogConfOutput) Dbfs() PipelineClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v PipelineClusterClusterLogConf) *PipelineClusterClusterLogConfDbfs { return v.Dbfs }).(PipelineClusterClusterLogConfDbfsPtrOutput) +func (o MwsNetworksErrorMessageOutput) ErrorMessage() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsNetworksErrorMessage) *string { return v.ErrorMessage }).(pulumi.StringPtrOutput) } -func (o PipelineClusterClusterLogConfOutput) S3() PipelineClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v PipelineClusterClusterLogConf) *PipelineClusterClusterLogConfS3 { return v.S3 }).(PipelineClusterClusterLogConfS3PtrOutput) +func (o MwsNetworksErrorMessageOutput) ErrorType() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsNetworksErrorMessage) *string { return v.ErrorType }).(pulumi.StringPtrOutput) } -type PipelineClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } +type MwsNetworksErrorMessageArrayOutput struct{ *pulumi.OutputState } -func (PipelineClusterClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterClusterLogConf)(nil)).Elem() +func (MwsNetworksErrorMessageArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MwsNetworksErrorMessage)(nil)).Elem() } -func (o PipelineClusterClusterLogConfPtrOutput) ToPipelineClusterClusterLogConfPtrOutput() PipelineClusterClusterLogConfPtrOutput { +func (o MwsNetworksErrorMessageArrayOutput) ToMwsNetworksErrorMessageArrayOutput() MwsNetworksErrorMessageArrayOutput { return o } -func (o PipelineClusterClusterLogConfPtrOutput) ToPipelineClusterClusterLogConfPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfPtrOutput { +func (o MwsNetworksErrorMessageArrayOutput) ToMwsNetworksErrorMessageArrayOutputWithContext(ctx context.Context) MwsNetworksErrorMessageArrayOutput { return o } -func (o PipelineClusterClusterLogConfPtrOutput) Elem() PipelineClusterClusterLogConfOutput { - return o.ApplyT(func(v *PipelineClusterClusterLogConf) PipelineClusterClusterLogConf { - if v != nil { - return *v - } - var ret PipelineClusterClusterLogConf - return ret - }).(PipelineClusterClusterLogConfOutput) -} - -func (o PipelineClusterClusterLogConfPtrOutput) Dbfs() PipelineClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *PipelineClusterClusterLogConf) *PipelineClusterClusterLogConfDbfs { - if v == nil { - return nil - } - return v.Dbfs - }).(PipelineClusterClusterLogConfDbfsPtrOutput) -} - -func (o PipelineClusterClusterLogConfPtrOutput) S3() PipelineClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *PipelineClusterClusterLogConf) *PipelineClusterClusterLogConfS3 { - if v == nil { - return nil - } - return v.S3 - }).(PipelineClusterClusterLogConfS3PtrOutput) +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 PipelineClusterClusterLogConfDbfs struct { - Destination string `pulumi:"destination"` +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"` } -// PipelineClusterClusterLogConfDbfsInput is an input type that accepts PipelineClusterClusterLogConfDbfsArgs and PipelineClusterClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `PipelineClusterClusterLogConfDbfsInput` via: +// MwsNetworksGcpNetworkInfoInput is an input type that accepts MwsNetworksGcpNetworkInfoArgs and MwsNetworksGcpNetworkInfoOutput values. +// You can construct a concrete instance of `MwsNetworksGcpNetworkInfoInput` via: // -// PipelineClusterClusterLogConfDbfsArgs{...} -type PipelineClusterClusterLogConfDbfsInput interface { +// MwsNetworksGcpNetworkInfoArgs{...} +type MwsNetworksGcpNetworkInfoInput interface { pulumi.Input - ToPipelineClusterClusterLogConfDbfsOutput() PipelineClusterClusterLogConfDbfsOutput - ToPipelineClusterClusterLogConfDbfsOutputWithContext(context.Context) PipelineClusterClusterLogConfDbfsOutput + ToMwsNetworksGcpNetworkInfoOutput() MwsNetworksGcpNetworkInfoOutput + ToMwsNetworksGcpNetworkInfoOutputWithContext(context.Context) MwsNetworksGcpNetworkInfoOutput } -type PipelineClusterClusterLogConfDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +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 (PipelineClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterClusterLogConfDbfs)(nil)).Elem() +func (MwsNetworksGcpNetworkInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworksGcpNetworkInfo)(nil)).Elem() } -func (i PipelineClusterClusterLogConfDbfsArgs) ToPipelineClusterClusterLogConfDbfsOutput() PipelineClusterClusterLogConfDbfsOutput { - return i.ToPipelineClusterClusterLogConfDbfsOutputWithContext(context.Background()) +func (i MwsNetworksGcpNetworkInfoArgs) ToMwsNetworksGcpNetworkInfoOutput() MwsNetworksGcpNetworkInfoOutput { + return i.ToMwsNetworksGcpNetworkInfoOutputWithContext(context.Background()) } -func (i PipelineClusterClusterLogConfDbfsArgs) ToPipelineClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfDbfsOutput) +func (i MwsNetworksGcpNetworkInfoArgs) ToMwsNetworksGcpNetworkInfoOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksGcpNetworkInfoOutput) } -func (i PipelineClusterClusterLogConfDbfsArgs) ToPipelineClusterClusterLogConfDbfsPtrOutput() PipelineClusterClusterLogConfDbfsPtrOutput { - return i.ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i MwsNetworksGcpNetworkInfoArgs) ToMwsNetworksGcpNetworkInfoPtrOutput() MwsNetworksGcpNetworkInfoPtrOutput { + return i.ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(context.Background()) } -func (i PipelineClusterClusterLogConfDbfsArgs) ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfDbfsOutput).ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(ctx) +func (i MwsNetworksGcpNetworkInfoArgs) ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksGcpNetworkInfoOutput).ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(ctx) } -// PipelineClusterClusterLogConfDbfsPtrInput is an input type that accepts PipelineClusterClusterLogConfDbfsArgs, PipelineClusterClusterLogConfDbfsPtr and PipelineClusterClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `PipelineClusterClusterLogConfDbfsPtrInput` via: +// MwsNetworksGcpNetworkInfoPtrInput is an input type that accepts MwsNetworksGcpNetworkInfoArgs, MwsNetworksGcpNetworkInfoPtr and MwsNetworksGcpNetworkInfoPtrOutput values. +// You can construct a concrete instance of `MwsNetworksGcpNetworkInfoPtrInput` via: // -// PipelineClusterClusterLogConfDbfsArgs{...} +// MwsNetworksGcpNetworkInfoArgs{...} // // or: // // nil -type PipelineClusterClusterLogConfDbfsPtrInput interface { +type MwsNetworksGcpNetworkInfoPtrInput interface { pulumi.Input - ToPipelineClusterClusterLogConfDbfsPtrOutput() PipelineClusterClusterLogConfDbfsPtrOutput - ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) PipelineClusterClusterLogConfDbfsPtrOutput + ToMwsNetworksGcpNetworkInfoPtrOutput() MwsNetworksGcpNetworkInfoPtrOutput + ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(context.Context) MwsNetworksGcpNetworkInfoPtrOutput } -type pipelineClusterClusterLogConfDbfsPtrType PipelineClusterClusterLogConfDbfsArgs +type mwsNetworksGcpNetworkInfoPtrType MwsNetworksGcpNetworkInfoArgs -func PipelineClusterClusterLogConfDbfsPtr(v *PipelineClusterClusterLogConfDbfsArgs) PipelineClusterClusterLogConfDbfsPtrInput { - return (*pipelineClusterClusterLogConfDbfsPtrType)(v) +func MwsNetworksGcpNetworkInfoPtr(v *MwsNetworksGcpNetworkInfoArgs) MwsNetworksGcpNetworkInfoPtrInput { + return (*mwsNetworksGcpNetworkInfoPtrType)(v) } -func (*pipelineClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterClusterLogConfDbfs)(nil)).Elem() +func (*mwsNetworksGcpNetworkInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsNetworksGcpNetworkInfo)(nil)).Elem() } -func (i *pipelineClusterClusterLogConfDbfsPtrType) ToPipelineClusterClusterLogConfDbfsPtrOutput() PipelineClusterClusterLogConfDbfsPtrOutput { - return i.ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i *mwsNetworksGcpNetworkInfoPtrType) ToMwsNetworksGcpNetworkInfoPtrOutput() MwsNetworksGcpNetworkInfoPtrOutput { + return i.ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterClusterLogConfDbfsPtrType) ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfDbfsPtrOutput) +func (i *mwsNetworksGcpNetworkInfoPtrType) ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksGcpNetworkInfoPtrOutput) } -type PipelineClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } +type MwsNetworksGcpNetworkInfoOutput struct{ *pulumi.OutputState } -func (PipelineClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterClusterLogConfDbfs)(nil)).Elem() +func (MwsNetworksGcpNetworkInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworksGcpNetworkInfo)(nil)).Elem() } -func (o PipelineClusterClusterLogConfDbfsOutput) ToPipelineClusterClusterLogConfDbfsOutput() PipelineClusterClusterLogConfDbfsOutput { +func (o MwsNetworksGcpNetworkInfoOutput) ToMwsNetworksGcpNetworkInfoOutput() MwsNetworksGcpNetworkInfoOutput { return o } -func (o PipelineClusterClusterLogConfDbfsOutput) ToPipelineClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsOutput { +func (o MwsNetworksGcpNetworkInfoOutput) ToMwsNetworksGcpNetworkInfoOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoOutput { return o } -func (o PipelineClusterClusterLogConfDbfsOutput) ToPipelineClusterClusterLogConfDbfsPtrOutput() PipelineClusterClusterLogConfDbfsPtrOutput { - return o.ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o MwsNetworksGcpNetworkInfoOutput) ToMwsNetworksGcpNetworkInfoPtrOutput() MwsNetworksGcpNetworkInfoPtrOutput { + return o.ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(context.Background()) } -func (o PipelineClusterClusterLogConfDbfsOutput) ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterClusterLogConfDbfs) *PipelineClusterClusterLogConfDbfs { +func (o MwsNetworksGcpNetworkInfoOutput) ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsNetworksGcpNetworkInfo) *MwsNetworksGcpNetworkInfo { return &v - }).(PipelineClusterClusterLogConfDbfsPtrOutput) + }).(MwsNetworksGcpNetworkInfoPtrOutput) } -func (o PipelineClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v PipelineClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) +// 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) } -type PipelineClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } +// 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 (PipelineClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterClusterLogConfDbfs)(nil)).Elem() +// 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) } -func (o PipelineClusterClusterLogConfDbfsPtrOutput) ToPipelineClusterClusterLogConfDbfsPtrOutput() PipelineClusterClusterLogConfDbfsPtrOutput { +// 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) +} + +// 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 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 PipelineClusterClusterLogConfDbfsPtrOutput) ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsPtrOutput { +func (o MwsNetworksGcpNetworkInfoPtrOutput) ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoPtrOutput { return o } -func (o PipelineClusterClusterLogConfDbfsPtrOutput) Elem() PipelineClusterClusterLogConfDbfsOutput { - return o.ApplyT(func(v *PipelineClusterClusterLogConfDbfs) PipelineClusterClusterLogConfDbfs { +func (o MwsNetworksGcpNetworkInfoPtrOutput) Elem() MwsNetworksGcpNetworkInfoOutput { + return o.ApplyT(func(v *MwsNetworksGcpNetworkInfo) MwsNetworksGcpNetworkInfo { if v != nil { return *v } - var ret PipelineClusterClusterLogConfDbfs + var ret MwsNetworksGcpNetworkInfo return ret - }).(PipelineClusterClusterLogConfDbfsOutput) + }).(MwsNetworksGcpNetworkInfoOutput) } -func (o PipelineClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterClusterLogConfDbfs) *string { +// 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.Destination + return &v.NetworkProjectId }).(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"` +// 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) } -// PipelineClusterClusterLogConfS3Input is an input type that accepts PipelineClusterClusterLogConfS3Args and PipelineClusterClusterLogConfS3Output values. -// You can construct a concrete instance of `PipelineClusterClusterLogConfS3Input` via: +// 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) +} + +// 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: // -// PipelineClusterClusterLogConfS3Args{...} -type PipelineClusterClusterLogConfS3Input interface { +// MwsNetworksVpcEndpointsArgs{...} +type MwsNetworksVpcEndpointsInput interface { pulumi.Input - ToPipelineClusterClusterLogConfS3Output() PipelineClusterClusterLogConfS3Output - ToPipelineClusterClusterLogConfS3OutputWithContext(context.Context) PipelineClusterClusterLogConfS3Output + ToMwsNetworksVpcEndpointsOutput() MwsNetworksVpcEndpointsOutput + ToMwsNetworksVpcEndpointsOutputWithContext(context.Context) MwsNetworksVpcEndpointsOutput } -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"` +type MwsNetworksVpcEndpointsArgs struct { + DataplaneRelays pulumi.StringArrayInput `pulumi:"dataplaneRelays"` + RestApis pulumi.StringArrayInput `pulumi:"restApis"` } -func (PipelineClusterClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterClusterLogConfS3)(nil)).Elem() +func (MwsNetworksVpcEndpointsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworksVpcEndpoints)(nil)).Elem() } -func (i PipelineClusterClusterLogConfS3Args) ToPipelineClusterClusterLogConfS3Output() PipelineClusterClusterLogConfS3Output { - return i.ToPipelineClusterClusterLogConfS3OutputWithContext(context.Background()) +func (i MwsNetworksVpcEndpointsArgs) ToMwsNetworksVpcEndpointsOutput() MwsNetworksVpcEndpointsOutput { + return i.ToMwsNetworksVpcEndpointsOutputWithContext(context.Background()) } -func (i PipelineClusterClusterLogConfS3Args) ToPipelineClusterClusterLogConfS3OutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfS3Output) +func (i MwsNetworksVpcEndpointsArgs) ToMwsNetworksVpcEndpointsOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksVpcEndpointsOutput) } -func (i PipelineClusterClusterLogConfS3Args) ToPipelineClusterClusterLogConfS3PtrOutput() PipelineClusterClusterLogConfS3PtrOutput { - return i.ToPipelineClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i MwsNetworksVpcEndpointsArgs) ToMwsNetworksVpcEndpointsPtrOutput() MwsNetworksVpcEndpointsPtrOutput { + return i.ToMwsNetworksVpcEndpointsPtrOutputWithContext(context.Background()) } -func (i PipelineClusterClusterLogConfS3Args) ToPipelineClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfS3Output).ToPipelineClusterClusterLogConfS3PtrOutputWithContext(ctx) +func (i MwsNetworksVpcEndpointsArgs) ToMwsNetworksVpcEndpointsPtrOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksVpcEndpointsOutput).ToMwsNetworksVpcEndpointsPtrOutputWithContext(ctx) } -// PipelineClusterClusterLogConfS3PtrInput is an input type that accepts PipelineClusterClusterLogConfS3Args, PipelineClusterClusterLogConfS3Ptr and PipelineClusterClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `PipelineClusterClusterLogConfS3PtrInput` via: +// MwsNetworksVpcEndpointsPtrInput is an input type that accepts MwsNetworksVpcEndpointsArgs, MwsNetworksVpcEndpointsPtr and MwsNetworksVpcEndpointsPtrOutput values. +// You can construct a concrete instance of `MwsNetworksVpcEndpointsPtrInput` via: // -// PipelineClusterClusterLogConfS3Args{...} +// MwsNetworksVpcEndpointsArgs{...} // // or: // // nil -type PipelineClusterClusterLogConfS3PtrInput interface { +type MwsNetworksVpcEndpointsPtrInput interface { pulumi.Input - ToPipelineClusterClusterLogConfS3PtrOutput() PipelineClusterClusterLogConfS3PtrOutput - ToPipelineClusterClusterLogConfS3PtrOutputWithContext(context.Context) PipelineClusterClusterLogConfS3PtrOutput + ToMwsNetworksVpcEndpointsPtrOutput() MwsNetworksVpcEndpointsPtrOutput + ToMwsNetworksVpcEndpointsPtrOutputWithContext(context.Context) MwsNetworksVpcEndpointsPtrOutput } -type pipelineClusterClusterLogConfS3PtrType PipelineClusterClusterLogConfS3Args +type mwsNetworksVpcEndpointsPtrType MwsNetworksVpcEndpointsArgs -func PipelineClusterClusterLogConfS3Ptr(v *PipelineClusterClusterLogConfS3Args) PipelineClusterClusterLogConfS3PtrInput { - return (*pipelineClusterClusterLogConfS3PtrType)(v) +func MwsNetworksVpcEndpointsPtr(v *MwsNetworksVpcEndpointsArgs) MwsNetworksVpcEndpointsPtrInput { + return (*mwsNetworksVpcEndpointsPtrType)(v) } -func (*pipelineClusterClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterClusterLogConfS3)(nil)).Elem() +func (*mwsNetworksVpcEndpointsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsNetworksVpcEndpoints)(nil)).Elem() } -func (i *pipelineClusterClusterLogConfS3PtrType) ToPipelineClusterClusterLogConfS3PtrOutput() PipelineClusterClusterLogConfS3PtrOutput { - return i.ToPipelineClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i *mwsNetworksVpcEndpointsPtrType) ToMwsNetworksVpcEndpointsPtrOutput() MwsNetworksVpcEndpointsPtrOutput { + return i.ToMwsNetworksVpcEndpointsPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterClusterLogConfS3PtrType) ToPipelineClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfS3PtrOutput) +func (i *mwsNetworksVpcEndpointsPtrType) ToMwsNetworksVpcEndpointsPtrOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksVpcEndpointsPtrOutput) } -type PipelineClusterClusterLogConfS3Output struct{ *pulumi.OutputState } +type MwsNetworksVpcEndpointsOutput struct{ *pulumi.OutputState } -func (PipelineClusterClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterClusterLogConfS3)(nil)).Elem() +func (MwsNetworksVpcEndpointsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworksVpcEndpoints)(nil)).Elem() } -func (o PipelineClusterClusterLogConfS3Output) ToPipelineClusterClusterLogConfS3Output() PipelineClusterClusterLogConfS3Output { +func (o MwsNetworksVpcEndpointsOutput) ToMwsNetworksVpcEndpointsOutput() MwsNetworksVpcEndpointsOutput { return o } -func (o PipelineClusterClusterLogConfS3Output) ToPipelineClusterClusterLogConfS3OutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3Output { +func (o MwsNetworksVpcEndpointsOutput) ToMwsNetworksVpcEndpointsOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsOutput { return o } -func (o PipelineClusterClusterLogConfS3Output) ToPipelineClusterClusterLogConfS3PtrOutput() PipelineClusterClusterLogConfS3PtrOutput { - return o.ToPipelineClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (o MwsNetworksVpcEndpointsOutput) ToMwsNetworksVpcEndpointsPtrOutput() MwsNetworksVpcEndpointsPtrOutput { + return o.ToMwsNetworksVpcEndpointsPtrOutputWithContext(context.Background()) } -func (o PipelineClusterClusterLogConfS3Output) ToPipelineClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterClusterLogConfS3) *PipelineClusterClusterLogConfS3 { +func (o MwsNetworksVpcEndpointsOutput) ToMwsNetworksVpcEndpointsPtrOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsNetworksVpcEndpoints) *MwsNetworksVpcEndpoints { return &v - }).(PipelineClusterClusterLogConfS3PtrOutput) -} - -func (o PipelineClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} - -func (o PipelineClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v PipelineClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) -} - -func (o PipelineClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PipelineClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) -} - -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) + }).(MwsNetworksVpcEndpointsPtrOutput) } -func (o PipelineClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o MwsNetworksVpcEndpointsOutput) DataplaneRelays() pulumi.StringArrayOutput { + return o.ApplyT(func(v MwsNetworksVpcEndpoints) []string { return v.DataplaneRelays }).(pulumi.StringArrayOutput) } -func (o PipelineClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o MwsNetworksVpcEndpointsOutput) RestApis() pulumi.StringArrayOutput { + return o.ApplyT(func(v MwsNetworksVpcEndpoints) []string { return v.RestApis }).(pulumi.StringArrayOutput) } -type PipelineClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } +type MwsNetworksVpcEndpointsPtrOutput struct{ *pulumi.OutputState } -func (PipelineClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterClusterLogConfS3)(nil)).Elem() +func (MwsNetworksVpcEndpointsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsNetworksVpcEndpoints)(nil)).Elem() } -func (o PipelineClusterClusterLogConfS3PtrOutput) ToPipelineClusterClusterLogConfS3PtrOutput() PipelineClusterClusterLogConfS3PtrOutput { +func (o MwsNetworksVpcEndpointsPtrOutput) ToMwsNetworksVpcEndpointsPtrOutput() MwsNetworksVpcEndpointsPtrOutput { return o } -func (o PipelineClusterClusterLogConfS3PtrOutput) ToPipelineClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3PtrOutput { +func (o MwsNetworksVpcEndpointsPtrOutput) ToMwsNetworksVpcEndpointsPtrOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsPtrOutput { return o } -func (o PipelineClusterClusterLogConfS3PtrOutput) Elem() PipelineClusterClusterLogConfS3Output { - return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) PipelineClusterClusterLogConfS3 { +func (o MwsNetworksVpcEndpointsPtrOutput) Elem() MwsNetworksVpcEndpointsOutput { + return o.ApplyT(func(v *MwsNetworksVpcEndpoints) MwsNetworksVpcEndpoints { if v != nil { return *v } - var ret PipelineClusterClusterLogConfS3 + var ret MwsNetworksVpcEndpoints return ret - }).(PipelineClusterClusterLogConfS3Output) + }).(MwsNetworksVpcEndpointsOutput) } -func (o PipelineClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) *string { +func (o MwsNetworksVpcEndpointsPtrOutput) DataplaneRelays() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MwsNetworksVpcEndpoints) []string { if v == nil { return nil } - return v.CannedAcl - }).(pulumi.StringPtrOutput) + return v.DataplaneRelays + }).(pulumi.StringArrayOutput) } -func (o PipelineClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) *string { +func (o MwsNetworksVpcEndpointsPtrOutput) RestApis() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MwsNetworksVpcEndpoints) []string { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.RestApis + }).(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 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 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: +// MwsVpcEndpointGcpVpcEndpointInfoInput is an input type that accepts MwsVpcEndpointGcpVpcEndpointInfoArgs and MwsVpcEndpointGcpVpcEndpointInfoOutput values. +// You can construct a concrete instance of `MwsVpcEndpointGcpVpcEndpointInfoInput` via: // -// PipelineClusterGcpAttributesArgs{...} -type PipelineClusterGcpAttributesInput interface { +// MwsVpcEndpointGcpVpcEndpointInfoArgs{...} +type MwsVpcEndpointGcpVpcEndpointInfoInput interface { pulumi.Input - ToPipelineClusterGcpAttributesOutput() PipelineClusterGcpAttributesOutput - ToPipelineClusterGcpAttributesOutputWithContext(context.Context) PipelineClusterGcpAttributesOutput + ToMwsVpcEndpointGcpVpcEndpointInfoOutput() MwsVpcEndpointGcpVpcEndpointInfoOutput + ToMwsVpcEndpointGcpVpcEndpointInfoOutputWithContext(context.Context) MwsVpcEndpointGcpVpcEndpointInfoOutput } -type PipelineClusterGcpAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` - LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +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"` } -func (PipelineClusterGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterGcpAttributes)(nil)).Elem() +func (MwsVpcEndpointGcpVpcEndpointInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsVpcEndpointGcpVpcEndpointInfo)(nil)).Elem() } -func (i PipelineClusterGcpAttributesArgs) ToPipelineClusterGcpAttributesOutput() PipelineClusterGcpAttributesOutput { - return i.ToPipelineClusterGcpAttributesOutputWithContext(context.Background()) +func (i MwsVpcEndpointGcpVpcEndpointInfoArgs) ToMwsVpcEndpointGcpVpcEndpointInfoOutput() MwsVpcEndpointGcpVpcEndpointInfoOutput { + return i.ToMwsVpcEndpointGcpVpcEndpointInfoOutputWithContext(context.Background()) } -func (i PipelineClusterGcpAttributesArgs) ToPipelineClusterGcpAttributesOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterGcpAttributesOutput) +func (i MwsVpcEndpointGcpVpcEndpointInfoArgs) ToMwsVpcEndpointGcpVpcEndpointInfoOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsVpcEndpointGcpVpcEndpointInfoOutput) } -func (i PipelineClusterGcpAttributesArgs) ToPipelineClusterGcpAttributesPtrOutput() PipelineClusterGcpAttributesPtrOutput { - return i.ToPipelineClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i MwsVpcEndpointGcpVpcEndpointInfoArgs) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutput() MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { + return i.ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(context.Background()) } -func (i PipelineClusterGcpAttributesArgs) ToPipelineClusterGcpAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterGcpAttributesOutput).ToPipelineClusterGcpAttributesPtrOutputWithContext(ctx) +func (i MwsVpcEndpointGcpVpcEndpointInfoArgs) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsVpcEndpointGcpVpcEndpointInfoOutput).ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(ctx) } -// PipelineClusterGcpAttributesPtrInput is an input type that accepts PipelineClusterGcpAttributesArgs, PipelineClusterGcpAttributesPtr and PipelineClusterGcpAttributesPtrOutput values. -// You can construct a concrete instance of `PipelineClusterGcpAttributesPtrInput` via: +// MwsVpcEndpointGcpVpcEndpointInfoPtrInput is an input type that accepts MwsVpcEndpointGcpVpcEndpointInfoArgs, MwsVpcEndpointGcpVpcEndpointInfoPtr and MwsVpcEndpointGcpVpcEndpointInfoPtrOutput values. +// You can construct a concrete instance of `MwsVpcEndpointGcpVpcEndpointInfoPtrInput` via: // -// PipelineClusterGcpAttributesArgs{...} +// MwsVpcEndpointGcpVpcEndpointInfoArgs{...} // // or: // // nil -type PipelineClusterGcpAttributesPtrInput interface { +type MwsVpcEndpointGcpVpcEndpointInfoPtrInput interface { pulumi.Input - ToPipelineClusterGcpAttributesPtrOutput() PipelineClusterGcpAttributesPtrOutput - ToPipelineClusterGcpAttributesPtrOutputWithContext(context.Context) PipelineClusterGcpAttributesPtrOutput + ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutput() MwsVpcEndpointGcpVpcEndpointInfoPtrOutput + ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(context.Context) MwsVpcEndpointGcpVpcEndpointInfoPtrOutput } -type pipelineClusterGcpAttributesPtrType PipelineClusterGcpAttributesArgs +type mwsVpcEndpointGcpVpcEndpointInfoPtrType MwsVpcEndpointGcpVpcEndpointInfoArgs -func PipelineClusterGcpAttributesPtr(v *PipelineClusterGcpAttributesArgs) PipelineClusterGcpAttributesPtrInput { - return (*pipelineClusterGcpAttributesPtrType)(v) +func MwsVpcEndpointGcpVpcEndpointInfoPtr(v *MwsVpcEndpointGcpVpcEndpointInfoArgs) MwsVpcEndpointGcpVpcEndpointInfoPtrInput { + return (*mwsVpcEndpointGcpVpcEndpointInfoPtrType)(v) } -func (*pipelineClusterGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterGcpAttributes)(nil)).Elem() +func (*mwsVpcEndpointGcpVpcEndpointInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsVpcEndpointGcpVpcEndpointInfo)(nil)).Elem() } -func (i *pipelineClusterGcpAttributesPtrType) ToPipelineClusterGcpAttributesPtrOutput() PipelineClusterGcpAttributesPtrOutput { - return i.ToPipelineClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i *mwsVpcEndpointGcpVpcEndpointInfoPtrType) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutput() MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { + return i.ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterGcpAttributesPtrType) ToPipelineClusterGcpAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterGcpAttributesPtrOutput) +func (i *mwsVpcEndpointGcpVpcEndpointInfoPtrType) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) } -type PipelineClusterGcpAttributesOutput struct{ *pulumi.OutputState } +type MwsVpcEndpointGcpVpcEndpointInfoOutput struct{ *pulumi.OutputState } -func (PipelineClusterGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterGcpAttributes)(nil)).Elem() +func (MwsVpcEndpointGcpVpcEndpointInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsVpcEndpointGcpVpcEndpointInfo)(nil)).Elem() } -func (o PipelineClusterGcpAttributesOutput) ToPipelineClusterGcpAttributesOutput() PipelineClusterGcpAttributesOutput { +func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) ToMwsVpcEndpointGcpVpcEndpointInfoOutput() MwsVpcEndpointGcpVpcEndpointInfoOutput { return o } -func (o PipelineClusterGcpAttributesOutput) ToPipelineClusterGcpAttributesOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesOutput { +func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) ToMwsVpcEndpointGcpVpcEndpointInfoOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoOutput { return o } -func (o PipelineClusterGcpAttributesOutput) ToPipelineClusterGcpAttributesPtrOutput() PipelineClusterGcpAttributesPtrOutput { - return o.ToPipelineClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutput() MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { + return o.ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(context.Background()) } -func (o PipelineClusterGcpAttributesOutput) ToPipelineClusterGcpAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterGcpAttributes) *PipelineClusterGcpAttributes { +func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsVpcEndpointGcpVpcEndpointInfo) *MwsVpcEndpointGcpVpcEndpointInfo { return &v - }).(PipelineClusterGcpAttributesPtrOutput) + }).(MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) } -func (o PipelineClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterGcpAttributes) *string { return v.Availability }).(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) } -func (o PipelineClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(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) } -func (o PipelineClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v PipelineClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +// 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 PipelineClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterGcpAttributes) *string { return v.ZoneId }).(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) } -type PipelineClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } +// 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 (PipelineClusterGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterGcpAttributes)(nil)).Elem() +type MwsVpcEndpointGcpVpcEndpointInfoPtrOutput struct{ *pulumi.OutputState } + +func (MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsVpcEndpointGcpVpcEndpointInfo)(nil)).Elem() } -func (o PipelineClusterGcpAttributesPtrOutput) ToPipelineClusterGcpAttributesPtrOutput() PipelineClusterGcpAttributesPtrOutput { +func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutput() MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { return o } -func (o PipelineClusterGcpAttributesPtrOutput) ToPipelineClusterGcpAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesPtrOutput { +func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { return o } -func (o PipelineClusterGcpAttributesPtrOutput) Elem() PipelineClusterGcpAttributesOutput { - return o.ApplyT(func(v *PipelineClusterGcpAttributes) PipelineClusterGcpAttributes { +func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) Elem() MwsVpcEndpointGcpVpcEndpointInfoOutput { + return o.ApplyT(func(v *MwsVpcEndpointGcpVpcEndpointInfo) MwsVpcEndpointGcpVpcEndpointInfo { if v != nil { return *v } - var ret PipelineClusterGcpAttributes + var ret MwsVpcEndpointGcpVpcEndpointInfo return ret - }).(PipelineClusterGcpAttributesOutput) + }).(MwsVpcEndpointGcpVpcEndpointInfoOutput) } -func (o PipelineClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterGcpAttributes) *string { +// 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.Availability + return &v.EndpointRegion }).(pulumi.StringPtrOutput) } -func (o PipelineClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterGcpAttributes) *string { +// 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.GoogleServiceAccount + return &v.ProjectId }).(pulumi.StringPtrOutput) } -func (o PipelineClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PipelineClusterGcpAttributes) *int { +// 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.LocalSsdCount - }).(pulumi.IntPtrOutput) + return v.PscConnectionId + }).(pulumi.StringPtrOutput) } -func (o PipelineClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterGcpAttributes) *string { +// 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.ZoneId + return &v.PscEndpointName }).(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"` +// 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) } -// PipelineClusterInitScriptInput is an input type that accepts PipelineClusterInitScriptArgs and PipelineClusterInitScriptOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptInput` via: +type MwsWorkspacesCloudResourceContainer struct { + // A block that consists of the following field: + Gcp MwsWorkspacesCloudResourceContainerGcp `pulumi:"gcp"` +} + +// MwsWorkspacesCloudResourceContainerInput is an input type that accepts MwsWorkspacesCloudResourceContainerArgs and MwsWorkspacesCloudResourceContainerOutput values. +// You can construct a concrete instance of `MwsWorkspacesCloudResourceContainerInput` via: // -// PipelineClusterInitScriptArgs{...} -type PipelineClusterInitScriptInput interface { +// MwsWorkspacesCloudResourceContainerArgs{...} +type MwsWorkspacesCloudResourceContainerInput interface { pulumi.Input - ToPipelineClusterInitScriptOutput() PipelineClusterInitScriptOutput - ToPipelineClusterInitScriptOutputWithContext(context.Context) PipelineClusterInitScriptOutput + ToMwsWorkspacesCloudResourceContainerOutput() MwsWorkspacesCloudResourceContainerOutput + ToMwsWorkspacesCloudResourceContainerOutputWithContext(context.Context) MwsWorkspacesCloudResourceContainerOutput } -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 MwsWorkspacesCloudResourceContainerArgs struct { + // A block that consists of the following field: + Gcp MwsWorkspacesCloudResourceContainerGcpInput `pulumi:"gcp"` } -func (PipelineClusterInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScript)(nil)).Elem() +func (MwsWorkspacesCloudResourceContainerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesCloudResourceContainer)(nil)).Elem() } -func (i PipelineClusterInitScriptArgs) ToPipelineClusterInitScriptOutput() PipelineClusterInitScriptOutput { - return i.ToPipelineClusterInitScriptOutputWithContext(context.Background()) +func (i MwsWorkspacesCloudResourceContainerArgs) ToMwsWorkspacesCloudResourceContainerOutput() MwsWorkspacesCloudResourceContainerOutput { + return i.ToMwsWorkspacesCloudResourceContainerOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptArgs) ToPipelineClusterInitScriptOutputWithContext(ctx context.Context) PipelineClusterInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptOutput) +func (i MwsWorkspacesCloudResourceContainerArgs) ToMwsWorkspacesCloudResourceContainerOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerOutput) } -// 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 - - ToPipelineClusterInitScriptArrayOutput() PipelineClusterInitScriptArrayOutput - ToPipelineClusterInitScriptArrayOutputWithContext(context.Context) PipelineClusterInitScriptArrayOutput +func (i MwsWorkspacesCloudResourceContainerArgs) ToMwsWorkspacesCloudResourceContainerPtrOutput() MwsWorkspacesCloudResourceContainerPtrOutput { + return i.ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(context.Background()) } -type PipelineClusterInitScriptArray []PipelineClusterInitScriptInput - -func (PipelineClusterInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PipelineClusterInitScript)(nil)).Elem() +func (i MwsWorkspacesCloudResourceContainerArgs) ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerOutput).ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(ctx) } -func (i PipelineClusterInitScriptArray) ToPipelineClusterInitScriptArrayOutput() PipelineClusterInitScriptArrayOutput { - return i.ToPipelineClusterInitScriptArrayOutputWithContext(context.Background()) -} +// 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 (i PipelineClusterInitScriptArray) ToPipelineClusterInitScriptArrayOutputWithContext(ctx context.Context) PipelineClusterInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptArrayOutput) + ToMwsWorkspacesCloudResourceContainerPtrOutput() MwsWorkspacesCloudResourceContainerPtrOutput + ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(context.Context) MwsWorkspacesCloudResourceContainerPtrOutput } -type PipelineClusterInitScriptOutput struct{ *pulumi.OutputState } +type mwsWorkspacesCloudResourceContainerPtrType MwsWorkspacesCloudResourceContainerArgs -func (PipelineClusterInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScript)(nil)).Elem() +func MwsWorkspacesCloudResourceContainerPtr(v *MwsWorkspacesCloudResourceContainerArgs) MwsWorkspacesCloudResourceContainerPtrInput { + return (*mwsWorkspacesCloudResourceContainerPtrType)(v) } -func (o PipelineClusterInitScriptOutput) ToPipelineClusterInitScriptOutput() PipelineClusterInitScriptOutput { - return o +func (*mwsWorkspacesCloudResourceContainerPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesCloudResourceContainer)(nil)).Elem() } -func (o PipelineClusterInitScriptOutput) ToPipelineClusterInitScriptOutputWithContext(ctx context.Context) PipelineClusterInitScriptOutput { - return o +func (i *mwsWorkspacesCloudResourceContainerPtrType) ToMwsWorkspacesCloudResourceContainerPtrOutput() MwsWorkspacesCloudResourceContainerPtrOutput { + return i.ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(context.Background()) } -func (o PipelineClusterInitScriptOutput) Abfss() PipelineClusterInitScriptAbfssPtrOutput { - return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptAbfss { return v.Abfss }).(PipelineClusterInitScriptAbfssPtrOutput) +func (i *mwsWorkspacesCloudResourceContainerPtrType) ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerPtrOutput) } -// 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) +type MwsWorkspacesCloudResourceContainerOutput struct{ *pulumi.OutputState } + +func (MwsWorkspacesCloudResourceContainerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesCloudResourceContainer)(nil)).Elem() } -func (o PipelineClusterInitScriptOutput) File() PipelineClusterInitScriptFilePtrOutput { - return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptFile { return v.File }).(PipelineClusterInitScriptFilePtrOutput) +func (o MwsWorkspacesCloudResourceContainerOutput) ToMwsWorkspacesCloudResourceContainerOutput() MwsWorkspacesCloudResourceContainerOutput { + return o } -func (o PipelineClusterInitScriptOutput) Gcs() PipelineClusterInitScriptGcsPtrOutput { - return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptGcs { return v.Gcs }).(PipelineClusterInitScriptGcsPtrOutput) +func (o MwsWorkspacesCloudResourceContainerOutput) ToMwsWorkspacesCloudResourceContainerOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerOutput { + return o } -func (o PipelineClusterInitScriptOutput) S3() PipelineClusterInitScriptS3PtrOutput { - return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptS3 { return v.S3 }).(PipelineClusterInitScriptS3PtrOutput) +func (o MwsWorkspacesCloudResourceContainerOutput) ToMwsWorkspacesCloudResourceContainerPtrOutput() MwsWorkspacesCloudResourceContainerPtrOutput { + return o.ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(context.Background()) } -func (o PipelineClusterInitScriptOutput) Volumes() PipelineClusterInitScriptVolumesPtrOutput { - return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptVolumes { return v.Volumes }).(PipelineClusterInitScriptVolumesPtrOutput) +func (o MwsWorkspacesCloudResourceContainerOutput) ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesCloudResourceContainer) *MwsWorkspacesCloudResourceContainer { + return &v + }).(MwsWorkspacesCloudResourceContainerPtrOutput) } -func (o PipelineClusterInitScriptOutput) Workspace() PipelineClusterInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptWorkspace { return v.Workspace }).(PipelineClusterInitScriptWorkspacePtrOutput) +// 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 PipelineClusterInitScriptArrayOutput struct{ *pulumi.OutputState } +type MwsWorkspacesCloudResourceContainerPtrOutput struct{ *pulumi.OutputState } -func (PipelineClusterInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PipelineClusterInitScript)(nil)).Elem() +func (MwsWorkspacesCloudResourceContainerPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesCloudResourceContainer)(nil)).Elem() } -func (o PipelineClusterInitScriptArrayOutput) ToPipelineClusterInitScriptArrayOutput() PipelineClusterInitScriptArrayOutput { +func (o MwsWorkspacesCloudResourceContainerPtrOutput) ToMwsWorkspacesCloudResourceContainerPtrOutput() MwsWorkspacesCloudResourceContainerPtrOutput { return o } -func (o PipelineClusterInitScriptArrayOutput) ToPipelineClusterInitScriptArrayOutputWithContext(ctx context.Context) PipelineClusterInitScriptArrayOutput { +func (o MwsWorkspacesCloudResourceContainerPtrOutput) ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerPtrOutput { 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 MwsWorkspacesCloudResourceContainerPtrOutput) Elem() MwsWorkspacesCloudResourceContainerOutput { + return o.ApplyT(func(v *MwsWorkspacesCloudResourceContainer) MwsWorkspacesCloudResourceContainer { + if v != nil { + return *v + } + var ret MwsWorkspacesCloudResourceContainer + return ret + }).(MwsWorkspacesCloudResourceContainerOutput) } -type PipelineClusterInitScriptAbfss struct { - Destination string `pulumi:"destination"` +// 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) } -// PipelineClusterInitScriptAbfssInput is an input type that accepts PipelineClusterInitScriptAbfssArgs and PipelineClusterInitScriptAbfssOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptAbfssInput` 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: // -// PipelineClusterInitScriptAbfssArgs{...} -type PipelineClusterInitScriptAbfssInput interface { +// MwsWorkspacesCloudResourceContainerGcpArgs{...} +type MwsWorkspacesCloudResourceContainerGcpInput interface { pulumi.Input - ToPipelineClusterInitScriptAbfssOutput() PipelineClusterInitScriptAbfssOutput - ToPipelineClusterInitScriptAbfssOutputWithContext(context.Context) PipelineClusterInitScriptAbfssOutput + ToMwsWorkspacesCloudResourceContainerGcpOutput() MwsWorkspacesCloudResourceContainerGcpOutput + ToMwsWorkspacesCloudResourceContainerGcpOutputWithContext(context.Context) MwsWorkspacesCloudResourceContainerGcpOutput } -type PipelineClusterInitScriptAbfssArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +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 (PipelineClusterInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptAbfss)(nil)).Elem() +func (MwsWorkspacesCloudResourceContainerGcpArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesCloudResourceContainerGcp)(nil)).Elem() } -func (i PipelineClusterInitScriptAbfssArgs) ToPipelineClusterInitScriptAbfssOutput() PipelineClusterInitScriptAbfssOutput { - return i.ToPipelineClusterInitScriptAbfssOutputWithContext(context.Background()) +func (i MwsWorkspacesCloudResourceContainerGcpArgs) ToMwsWorkspacesCloudResourceContainerGcpOutput() MwsWorkspacesCloudResourceContainerGcpOutput { + return i.ToMwsWorkspacesCloudResourceContainerGcpOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptAbfssArgs) ToPipelineClusterInitScriptAbfssOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptAbfssOutput) +func (i MwsWorkspacesCloudResourceContainerGcpArgs) ToMwsWorkspacesCloudResourceContainerGcpOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerGcpOutput) } -func (i PipelineClusterInitScriptAbfssArgs) ToPipelineClusterInitScriptAbfssPtrOutput() PipelineClusterInitScriptAbfssPtrOutput { - return i.ToPipelineClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i MwsWorkspacesCloudResourceContainerGcpArgs) ToMwsWorkspacesCloudResourceContainerGcpPtrOutput() MwsWorkspacesCloudResourceContainerGcpPtrOutput { + return i.ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptAbfssArgs) ToPipelineClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptAbfssOutput).ToPipelineClusterInitScriptAbfssPtrOutputWithContext(ctx) +func (i MwsWorkspacesCloudResourceContainerGcpArgs) ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerGcpOutput).ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(ctx) } -// PipelineClusterInitScriptAbfssPtrInput is an input type that accepts PipelineClusterInitScriptAbfssArgs, PipelineClusterInitScriptAbfssPtr and PipelineClusterInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptAbfssPtrInput` via: +// MwsWorkspacesCloudResourceContainerGcpPtrInput is an input type that accepts MwsWorkspacesCloudResourceContainerGcpArgs, MwsWorkspacesCloudResourceContainerGcpPtr and MwsWorkspacesCloudResourceContainerGcpPtrOutput values. +// You can construct a concrete instance of `MwsWorkspacesCloudResourceContainerGcpPtrInput` via: // -// PipelineClusterInitScriptAbfssArgs{...} +// MwsWorkspacesCloudResourceContainerGcpArgs{...} // // or: // // nil -type PipelineClusterInitScriptAbfssPtrInput interface { +type MwsWorkspacesCloudResourceContainerGcpPtrInput interface { pulumi.Input - ToPipelineClusterInitScriptAbfssPtrOutput() PipelineClusterInitScriptAbfssPtrOutput - ToPipelineClusterInitScriptAbfssPtrOutputWithContext(context.Context) PipelineClusterInitScriptAbfssPtrOutput + ToMwsWorkspacesCloudResourceContainerGcpPtrOutput() MwsWorkspacesCloudResourceContainerGcpPtrOutput + ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(context.Context) MwsWorkspacesCloudResourceContainerGcpPtrOutput } -type pipelineClusterInitScriptAbfssPtrType PipelineClusterInitScriptAbfssArgs +type mwsWorkspacesCloudResourceContainerGcpPtrType MwsWorkspacesCloudResourceContainerGcpArgs -func PipelineClusterInitScriptAbfssPtr(v *PipelineClusterInitScriptAbfssArgs) PipelineClusterInitScriptAbfssPtrInput { - return (*pipelineClusterInitScriptAbfssPtrType)(v) +func MwsWorkspacesCloudResourceContainerGcpPtr(v *MwsWorkspacesCloudResourceContainerGcpArgs) MwsWorkspacesCloudResourceContainerGcpPtrInput { + return (*mwsWorkspacesCloudResourceContainerGcpPtrType)(v) } -func (*pipelineClusterInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptAbfss)(nil)).Elem() +func (*mwsWorkspacesCloudResourceContainerGcpPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesCloudResourceContainerGcp)(nil)).Elem() } -func (i *pipelineClusterInitScriptAbfssPtrType) ToPipelineClusterInitScriptAbfssPtrOutput() PipelineClusterInitScriptAbfssPtrOutput { - return i.ToPipelineClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i *mwsWorkspacesCloudResourceContainerGcpPtrType) ToMwsWorkspacesCloudResourceContainerGcpPtrOutput() MwsWorkspacesCloudResourceContainerGcpPtrOutput { + return i.ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterInitScriptAbfssPtrType) ToPipelineClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptAbfssPtrOutput) +func (i *mwsWorkspacesCloudResourceContainerGcpPtrType) ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerGcpPtrOutput) } -type PipelineClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } +type MwsWorkspacesCloudResourceContainerGcpOutput struct{ *pulumi.OutputState } -func (PipelineClusterInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptAbfss)(nil)).Elem() +func (MwsWorkspacesCloudResourceContainerGcpOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesCloudResourceContainerGcp)(nil)).Elem() } -func (o PipelineClusterInitScriptAbfssOutput) ToPipelineClusterInitScriptAbfssOutput() PipelineClusterInitScriptAbfssOutput { +func (o MwsWorkspacesCloudResourceContainerGcpOutput) ToMwsWorkspacesCloudResourceContainerGcpOutput() MwsWorkspacesCloudResourceContainerGcpOutput { return o } -func (o PipelineClusterInitScriptAbfssOutput) ToPipelineClusterInitScriptAbfssOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssOutput { +func (o MwsWorkspacesCloudResourceContainerGcpOutput) ToMwsWorkspacesCloudResourceContainerGcpOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpOutput { return o } -func (o PipelineClusterInitScriptAbfssOutput) ToPipelineClusterInitScriptAbfssPtrOutput() PipelineClusterInitScriptAbfssPtrOutput { - return o.ToPipelineClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o MwsWorkspacesCloudResourceContainerGcpOutput) ToMwsWorkspacesCloudResourceContainerGcpPtrOutput() MwsWorkspacesCloudResourceContainerGcpPtrOutput { + return o.ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(context.Background()) } -func (o PipelineClusterInitScriptAbfssOutput) ToPipelineClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptAbfss) *PipelineClusterInitScriptAbfss { +func (o MwsWorkspacesCloudResourceContainerGcpOutput) ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesCloudResourceContainerGcp) *MwsWorkspacesCloudResourceContainerGcp { return &v - }).(PipelineClusterInitScriptAbfssPtrOutput) + }).(MwsWorkspacesCloudResourceContainerGcpPtrOutput) } -func (o PipelineClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v PipelineClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +// 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) } -type PipelineClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } +type MwsWorkspacesCloudResourceContainerGcpPtrOutput struct{ *pulumi.OutputState } -func (PipelineClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptAbfss)(nil)).Elem() +func (MwsWorkspacesCloudResourceContainerGcpPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesCloudResourceContainerGcp)(nil)).Elem() } -func (o PipelineClusterInitScriptAbfssPtrOutput) ToPipelineClusterInitScriptAbfssPtrOutput() PipelineClusterInitScriptAbfssPtrOutput { +func (o MwsWorkspacesCloudResourceContainerGcpPtrOutput) ToMwsWorkspacesCloudResourceContainerGcpPtrOutput() MwsWorkspacesCloudResourceContainerGcpPtrOutput { return o } -func (o PipelineClusterInitScriptAbfssPtrOutput) ToPipelineClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssPtrOutput { +func (o MwsWorkspacesCloudResourceContainerGcpPtrOutput) ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpPtrOutput { return o } -func (o PipelineClusterInitScriptAbfssPtrOutput) Elem() PipelineClusterInitScriptAbfssOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptAbfss) PipelineClusterInitScriptAbfss { +func (o MwsWorkspacesCloudResourceContainerGcpPtrOutput) Elem() MwsWorkspacesCloudResourceContainerGcpOutput { + return o.ApplyT(func(v *MwsWorkspacesCloudResourceContainerGcp) MwsWorkspacesCloudResourceContainerGcp { if v != nil { return *v } - var ret PipelineClusterInitScriptAbfss + var ret MwsWorkspacesCloudResourceContainerGcp return ret - }).(PipelineClusterInitScriptAbfssOutput) + }).(MwsWorkspacesCloudResourceContainerGcpOutput) } -func (o PipelineClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptAbfss) *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.Destination + return &v.ProjectId }).(pulumi.StringPtrOutput) } -type PipelineClusterInitScriptDbfs struct { - Destination string `pulumi:"destination"` +type MwsWorkspacesExternalCustomerInfo struct { + AuthoritativeUserEmail string `pulumi:"authoritativeUserEmail"` + AuthoritativeUserFullName string `pulumi:"authoritativeUserFullName"` + CustomerName string `pulumi:"customerName"` } -// PipelineClusterInitScriptDbfsInput is an input type that accepts PipelineClusterInitScriptDbfsArgs and PipelineClusterInitScriptDbfsOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptDbfsInput` via: +// MwsWorkspacesExternalCustomerInfoInput is an input type that accepts MwsWorkspacesExternalCustomerInfoArgs and MwsWorkspacesExternalCustomerInfoOutput values. +// You can construct a concrete instance of `MwsWorkspacesExternalCustomerInfoInput` via: // -// PipelineClusterInitScriptDbfsArgs{...} -type PipelineClusterInitScriptDbfsInput interface { +// MwsWorkspacesExternalCustomerInfoArgs{...} +type MwsWorkspacesExternalCustomerInfoInput interface { pulumi.Input - ToPipelineClusterInitScriptDbfsOutput() PipelineClusterInitScriptDbfsOutput - ToPipelineClusterInitScriptDbfsOutputWithContext(context.Context) PipelineClusterInitScriptDbfsOutput + ToMwsWorkspacesExternalCustomerInfoOutput() MwsWorkspacesExternalCustomerInfoOutput + ToMwsWorkspacesExternalCustomerInfoOutputWithContext(context.Context) MwsWorkspacesExternalCustomerInfoOutput } -type PipelineClusterInitScriptDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type MwsWorkspacesExternalCustomerInfoArgs struct { + AuthoritativeUserEmail pulumi.StringInput `pulumi:"authoritativeUserEmail"` + AuthoritativeUserFullName pulumi.StringInput `pulumi:"authoritativeUserFullName"` + CustomerName pulumi.StringInput `pulumi:"customerName"` } -func (PipelineClusterInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptDbfs)(nil)).Elem() +func (MwsWorkspacesExternalCustomerInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesExternalCustomerInfo)(nil)).Elem() } -func (i PipelineClusterInitScriptDbfsArgs) ToPipelineClusterInitScriptDbfsOutput() PipelineClusterInitScriptDbfsOutput { - return i.ToPipelineClusterInitScriptDbfsOutputWithContext(context.Background()) +func (i MwsWorkspacesExternalCustomerInfoArgs) ToMwsWorkspacesExternalCustomerInfoOutput() MwsWorkspacesExternalCustomerInfoOutput { + return i.ToMwsWorkspacesExternalCustomerInfoOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptDbfsArgs) ToPipelineClusterInitScriptDbfsOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptDbfsOutput) +func (i MwsWorkspacesExternalCustomerInfoArgs) ToMwsWorkspacesExternalCustomerInfoOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesExternalCustomerInfoOutput) } -func (i PipelineClusterInitScriptDbfsArgs) ToPipelineClusterInitScriptDbfsPtrOutput() PipelineClusterInitScriptDbfsPtrOutput { - return i.ToPipelineClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i MwsWorkspacesExternalCustomerInfoArgs) ToMwsWorkspacesExternalCustomerInfoPtrOutput() MwsWorkspacesExternalCustomerInfoPtrOutput { + return i.ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptDbfsArgs) ToPipelineClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptDbfsOutput).ToPipelineClusterInitScriptDbfsPtrOutputWithContext(ctx) +func (i MwsWorkspacesExternalCustomerInfoArgs) ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesExternalCustomerInfoOutput).ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(ctx) } -// PipelineClusterInitScriptDbfsPtrInput is an input type that accepts PipelineClusterInitScriptDbfsArgs, PipelineClusterInitScriptDbfsPtr and PipelineClusterInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptDbfsPtrInput` via: +// MwsWorkspacesExternalCustomerInfoPtrInput is an input type that accepts MwsWorkspacesExternalCustomerInfoArgs, MwsWorkspacesExternalCustomerInfoPtr and MwsWorkspacesExternalCustomerInfoPtrOutput values. +// You can construct a concrete instance of `MwsWorkspacesExternalCustomerInfoPtrInput` via: // -// PipelineClusterInitScriptDbfsArgs{...} +// MwsWorkspacesExternalCustomerInfoArgs{...} // // or: // // nil -type PipelineClusterInitScriptDbfsPtrInput interface { +type MwsWorkspacesExternalCustomerInfoPtrInput interface { pulumi.Input - ToPipelineClusterInitScriptDbfsPtrOutput() PipelineClusterInitScriptDbfsPtrOutput - ToPipelineClusterInitScriptDbfsPtrOutputWithContext(context.Context) PipelineClusterInitScriptDbfsPtrOutput + ToMwsWorkspacesExternalCustomerInfoPtrOutput() MwsWorkspacesExternalCustomerInfoPtrOutput + ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(context.Context) MwsWorkspacesExternalCustomerInfoPtrOutput } -type pipelineClusterInitScriptDbfsPtrType PipelineClusterInitScriptDbfsArgs +type mwsWorkspacesExternalCustomerInfoPtrType MwsWorkspacesExternalCustomerInfoArgs -func PipelineClusterInitScriptDbfsPtr(v *PipelineClusterInitScriptDbfsArgs) PipelineClusterInitScriptDbfsPtrInput { - return (*pipelineClusterInitScriptDbfsPtrType)(v) +func MwsWorkspacesExternalCustomerInfoPtr(v *MwsWorkspacesExternalCustomerInfoArgs) MwsWorkspacesExternalCustomerInfoPtrInput { + return (*mwsWorkspacesExternalCustomerInfoPtrType)(v) } -func (*pipelineClusterInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptDbfs)(nil)).Elem() +func (*mwsWorkspacesExternalCustomerInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesExternalCustomerInfo)(nil)).Elem() } -func (i *pipelineClusterInitScriptDbfsPtrType) ToPipelineClusterInitScriptDbfsPtrOutput() PipelineClusterInitScriptDbfsPtrOutput { - return i.ToPipelineClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i *mwsWorkspacesExternalCustomerInfoPtrType) ToMwsWorkspacesExternalCustomerInfoPtrOutput() MwsWorkspacesExternalCustomerInfoPtrOutput { + return i.ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterInitScriptDbfsPtrType) ToPipelineClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptDbfsPtrOutput) +func (i *mwsWorkspacesExternalCustomerInfoPtrType) ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesExternalCustomerInfoPtrOutput) } -type PipelineClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } +type MwsWorkspacesExternalCustomerInfoOutput struct{ *pulumi.OutputState } -func (PipelineClusterInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptDbfs)(nil)).Elem() +func (MwsWorkspacesExternalCustomerInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesExternalCustomerInfo)(nil)).Elem() } -func (o PipelineClusterInitScriptDbfsOutput) ToPipelineClusterInitScriptDbfsOutput() PipelineClusterInitScriptDbfsOutput { +func (o MwsWorkspacesExternalCustomerInfoOutput) ToMwsWorkspacesExternalCustomerInfoOutput() MwsWorkspacesExternalCustomerInfoOutput { return o } -func (o PipelineClusterInitScriptDbfsOutput) ToPipelineClusterInitScriptDbfsOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsOutput { +func (o MwsWorkspacesExternalCustomerInfoOutput) ToMwsWorkspacesExternalCustomerInfoOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoOutput { return o } -func (o PipelineClusterInitScriptDbfsOutput) ToPipelineClusterInitScriptDbfsPtrOutput() PipelineClusterInitScriptDbfsPtrOutput { - return o.ToPipelineClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (o MwsWorkspacesExternalCustomerInfoOutput) ToMwsWorkspacesExternalCustomerInfoPtrOutput() MwsWorkspacesExternalCustomerInfoPtrOutput { + return o.ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(context.Background()) } -func (o PipelineClusterInitScriptDbfsOutput) ToPipelineClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptDbfs) *PipelineClusterInitScriptDbfs { +func (o MwsWorkspacesExternalCustomerInfoOutput) ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesExternalCustomerInfo) *MwsWorkspacesExternalCustomerInfo { return &v - }).(PipelineClusterInitScriptDbfsPtrOutput) + }).(MwsWorkspacesExternalCustomerInfoPtrOutput) } -func (o PipelineClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v PipelineClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) +func (o MwsWorkspacesExternalCustomerInfoOutput) AuthoritativeUserEmail() pulumi.StringOutput { + return o.ApplyT(func(v MwsWorkspacesExternalCustomerInfo) string { return v.AuthoritativeUserEmail }).(pulumi.StringOutput) } -type PipelineClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } +func (o MwsWorkspacesExternalCustomerInfoOutput) AuthoritativeUserFullName() pulumi.StringOutput { + return o.ApplyT(func(v MwsWorkspacesExternalCustomerInfo) string { return v.AuthoritativeUserFullName }).(pulumi.StringOutput) +} -func (PipelineClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptDbfs)(nil)).Elem() +func (o MwsWorkspacesExternalCustomerInfoOutput) CustomerName() pulumi.StringOutput { + return o.ApplyT(func(v MwsWorkspacesExternalCustomerInfo) string { return v.CustomerName }).(pulumi.StringOutput) } -func (o PipelineClusterInitScriptDbfsPtrOutput) ToPipelineClusterInitScriptDbfsPtrOutput() PipelineClusterInitScriptDbfsPtrOutput { +type MwsWorkspacesExternalCustomerInfoPtrOutput struct{ *pulumi.OutputState } + +func (MwsWorkspacesExternalCustomerInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesExternalCustomerInfo)(nil)).Elem() +} + +func (o MwsWorkspacesExternalCustomerInfoPtrOutput) ToMwsWorkspacesExternalCustomerInfoPtrOutput() MwsWorkspacesExternalCustomerInfoPtrOutput { return o } -func (o PipelineClusterInitScriptDbfsPtrOutput) ToPipelineClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsPtrOutput { +func (o MwsWorkspacesExternalCustomerInfoPtrOutput) ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoPtrOutput { return o } -func (o PipelineClusterInitScriptDbfsPtrOutput) Elem() PipelineClusterInitScriptDbfsOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptDbfs) PipelineClusterInitScriptDbfs { +func (o MwsWorkspacesExternalCustomerInfoPtrOutput) Elem() MwsWorkspacesExternalCustomerInfoOutput { + return o.ApplyT(func(v *MwsWorkspacesExternalCustomerInfo) MwsWorkspacesExternalCustomerInfo { if v != nil { return *v } - var ret PipelineClusterInitScriptDbfs + var ret MwsWorkspacesExternalCustomerInfo return ret - }).(PipelineClusterInitScriptDbfsOutput) + }).(MwsWorkspacesExternalCustomerInfoOutput) } -func (o PipelineClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptDbfs) *string { +func (o MwsWorkspacesExternalCustomerInfoPtrOutput) AuthoritativeUserEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesExternalCustomerInfo) *string { if v == nil { return nil } - return &v.Destination + return &v.AuthoritativeUserEmail }).(pulumi.StringPtrOutput) } -type PipelineClusterInitScriptFile struct { - Destination string `pulumi:"destination"` +func (o MwsWorkspacesExternalCustomerInfoPtrOutput) AuthoritativeUserFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesExternalCustomerInfo) *string { + if v == nil { + return nil + } + return &v.AuthoritativeUserFullName + }).(pulumi.StringPtrOutput) } -// PipelineClusterInitScriptFileInput is an input type that accepts PipelineClusterInitScriptFileArgs and PipelineClusterInitScriptFileOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptFileInput` via: +func (o MwsWorkspacesExternalCustomerInfoPtrOutput) CustomerName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesExternalCustomerInfo) *string { + if v == nil { + return nil + } + return &v.CustomerName + }).(pulumi.StringPtrOutput) +} + +type MwsWorkspacesGcpManagedNetworkConfig struct { + GkeClusterPodIpRange string `pulumi:"gkeClusterPodIpRange"` + GkeClusterServiceIpRange string `pulumi:"gkeClusterServiceIpRange"` + SubnetCidr string `pulumi:"subnetCidr"` +} + +// MwsWorkspacesGcpManagedNetworkConfigInput is an input type that accepts MwsWorkspacesGcpManagedNetworkConfigArgs and MwsWorkspacesGcpManagedNetworkConfigOutput values. +// You can construct a concrete instance of `MwsWorkspacesGcpManagedNetworkConfigInput` via: // -// PipelineClusterInitScriptFileArgs{...} -type PipelineClusterInitScriptFileInput interface { +// MwsWorkspacesGcpManagedNetworkConfigArgs{...} +type MwsWorkspacesGcpManagedNetworkConfigInput interface { pulumi.Input - ToPipelineClusterInitScriptFileOutput() PipelineClusterInitScriptFileOutput - ToPipelineClusterInitScriptFileOutputWithContext(context.Context) PipelineClusterInitScriptFileOutput + ToMwsWorkspacesGcpManagedNetworkConfigOutput() MwsWorkspacesGcpManagedNetworkConfigOutput + ToMwsWorkspacesGcpManagedNetworkConfigOutputWithContext(context.Context) MwsWorkspacesGcpManagedNetworkConfigOutput } -type PipelineClusterInitScriptFileArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type MwsWorkspacesGcpManagedNetworkConfigArgs struct { + GkeClusterPodIpRange pulumi.StringInput `pulumi:"gkeClusterPodIpRange"` + GkeClusterServiceIpRange pulumi.StringInput `pulumi:"gkeClusterServiceIpRange"` + SubnetCidr pulumi.StringInput `pulumi:"subnetCidr"` } -func (PipelineClusterInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptFile)(nil)).Elem() +func (MwsWorkspacesGcpManagedNetworkConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesGcpManagedNetworkConfig)(nil)).Elem() } -func (i PipelineClusterInitScriptFileArgs) ToPipelineClusterInitScriptFileOutput() PipelineClusterInitScriptFileOutput { - return i.ToPipelineClusterInitScriptFileOutputWithContext(context.Background()) +func (i MwsWorkspacesGcpManagedNetworkConfigArgs) ToMwsWorkspacesGcpManagedNetworkConfigOutput() MwsWorkspacesGcpManagedNetworkConfigOutput { + return i.ToMwsWorkspacesGcpManagedNetworkConfigOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptFileArgs) ToPipelineClusterInitScriptFileOutputWithContext(ctx context.Context) PipelineClusterInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptFileOutput) +func (i MwsWorkspacesGcpManagedNetworkConfigArgs) ToMwsWorkspacesGcpManagedNetworkConfigOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGcpManagedNetworkConfigOutput) } -func (i PipelineClusterInitScriptFileArgs) ToPipelineClusterInitScriptFilePtrOutput() PipelineClusterInitScriptFilePtrOutput { - return i.ToPipelineClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i MwsWorkspacesGcpManagedNetworkConfigArgs) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutput() MwsWorkspacesGcpManagedNetworkConfigPtrOutput { + return i.ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptFileArgs) ToPipelineClusterInitScriptFilePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptFileOutput).ToPipelineClusterInitScriptFilePtrOutputWithContext(ctx) +func (i MwsWorkspacesGcpManagedNetworkConfigArgs) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGcpManagedNetworkConfigOutput).ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(ctx) } -// PipelineClusterInitScriptFilePtrInput is an input type that accepts PipelineClusterInitScriptFileArgs, PipelineClusterInitScriptFilePtr and PipelineClusterInitScriptFilePtrOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptFilePtrInput` via: +// MwsWorkspacesGcpManagedNetworkConfigPtrInput is an input type that accepts MwsWorkspacesGcpManagedNetworkConfigArgs, MwsWorkspacesGcpManagedNetworkConfigPtr and MwsWorkspacesGcpManagedNetworkConfigPtrOutput values. +// You can construct a concrete instance of `MwsWorkspacesGcpManagedNetworkConfigPtrInput` via: // -// PipelineClusterInitScriptFileArgs{...} +// MwsWorkspacesGcpManagedNetworkConfigArgs{...} // // or: // // nil -type PipelineClusterInitScriptFilePtrInput interface { +type MwsWorkspacesGcpManagedNetworkConfigPtrInput interface { pulumi.Input - ToPipelineClusterInitScriptFilePtrOutput() PipelineClusterInitScriptFilePtrOutput - ToPipelineClusterInitScriptFilePtrOutputWithContext(context.Context) PipelineClusterInitScriptFilePtrOutput + ToMwsWorkspacesGcpManagedNetworkConfigPtrOutput() MwsWorkspacesGcpManagedNetworkConfigPtrOutput + ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(context.Context) MwsWorkspacesGcpManagedNetworkConfigPtrOutput } -type pipelineClusterInitScriptFilePtrType PipelineClusterInitScriptFileArgs +type mwsWorkspacesGcpManagedNetworkConfigPtrType MwsWorkspacesGcpManagedNetworkConfigArgs -func PipelineClusterInitScriptFilePtr(v *PipelineClusterInitScriptFileArgs) PipelineClusterInitScriptFilePtrInput { - return (*pipelineClusterInitScriptFilePtrType)(v) +func MwsWorkspacesGcpManagedNetworkConfigPtr(v *MwsWorkspacesGcpManagedNetworkConfigArgs) MwsWorkspacesGcpManagedNetworkConfigPtrInput { + return (*mwsWorkspacesGcpManagedNetworkConfigPtrType)(v) } -func (*pipelineClusterInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptFile)(nil)).Elem() +func (*mwsWorkspacesGcpManagedNetworkConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesGcpManagedNetworkConfig)(nil)).Elem() } -func (i *pipelineClusterInitScriptFilePtrType) ToPipelineClusterInitScriptFilePtrOutput() PipelineClusterInitScriptFilePtrOutput { - return i.ToPipelineClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i *mwsWorkspacesGcpManagedNetworkConfigPtrType) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutput() MwsWorkspacesGcpManagedNetworkConfigPtrOutput { + return i.ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterInitScriptFilePtrType) ToPipelineClusterInitScriptFilePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptFilePtrOutput) +func (i *mwsWorkspacesGcpManagedNetworkConfigPtrType) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGcpManagedNetworkConfigPtrOutput) } -type PipelineClusterInitScriptFileOutput struct{ *pulumi.OutputState } +type MwsWorkspacesGcpManagedNetworkConfigOutput struct{ *pulumi.OutputState } -func (PipelineClusterInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptFile)(nil)).Elem() +func (MwsWorkspacesGcpManagedNetworkConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesGcpManagedNetworkConfig)(nil)).Elem() } -func (o PipelineClusterInitScriptFileOutput) ToPipelineClusterInitScriptFileOutput() PipelineClusterInitScriptFileOutput { +func (o MwsWorkspacesGcpManagedNetworkConfigOutput) ToMwsWorkspacesGcpManagedNetworkConfigOutput() MwsWorkspacesGcpManagedNetworkConfigOutput { return o } -func (o PipelineClusterInitScriptFileOutput) ToPipelineClusterInitScriptFileOutputWithContext(ctx context.Context) PipelineClusterInitScriptFileOutput { +func (o MwsWorkspacesGcpManagedNetworkConfigOutput) ToMwsWorkspacesGcpManagedNetworkConfigOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigOutput { return o } -func (o PipelineClusterInitScriptFileOutput) ToPipelineClusterInitScriptFilePtrOutput() PipelineClusterInitScriptFilePtrOutput { - return o.ToPipelineClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (o MwsWorkspacesGcpManagedNetworkConfigOutput) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutput() MwsWorkspacesGcpManagedNetworkConfigPtrOutput { + return o.ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(context.Background()) } -func (o PipelineClusterInitScriptFileOutput) ToPipelineClusterInitScriptFilePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptFile) *PipelineClusterInitScriptFile { +func (o MwsWorkspacesGcpManagedNetworkConfigOutput) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesGcpManagedNetworkConfig) *MwsWorkspacesGcpManagedNetworkConfig { return &v - }).(PipelineClusterInitScriptFilePtrOutput) + }).(MwsWorkspacesGcpManagedNetworkConfigPtrOutput) } -func (o PipelineClusterInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v PipelineClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) +func (o MwsWorkspacesGcpManagedNetworkConfigOutput) GkeClusterPodIpRange() pulumi.StringOutput { + return o.ApplyT(func(v MwsWorkspacesGcpManagedNetworkConfig) string { return v.GkeClusterPodIpRange }).(pulumi.StringOutput) } -type PipelineClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } +func (o MwsWorkspacesGcpManagedNetworkConfigOutput) GkeClusterServiceIpRange() pulumi.StringOutput { + return o.ApplyT(func(v MwsWorkspacesGcpManagedNetworkConfig) string { return v.GkeClusterServiceIpRange }).(pulumi.StringOutput) +} -func (PipelineClusterInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptFile)(nil)).Elem() +func (o MwsWorkspacesGcpManagedNetworkConfigOutput) SubnetCidr() pulumi.StringOutput { + return o.ApplyT(func(v MwsWorkspacesGcpManagedNetworkConfig) string { return v.SubnetCidr }).(pulumi.StringOutput) } -func (o PipelineClusterInitScriptFilePtrOutput) ToPipelineClusterInitScriptFilePtrOutput() PipelineClusterInitScriptFilePtrOutput { +type MwsWorkspacesGcpManagedNetworkConfigPtrOutput struct{ *pulumi.OutputState } + +func (MwsWorkspacesGcpManagedNetworkConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesGcpManagedNetworkConfig)(nil)).Elem() +} + +func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutput() MwsWorkspacesGcpManagedNetworkConfigPtrOutput { return o } -func (o PipelineClusterInitScriptFilePtrOutput) ToPipelineClusterInitScriptFilePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptFilePtrOutput { +func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigPtrOutput { return o } -func (o PipelineClusterInitScriptFilePtrOutput) Elem() PipelineClusterInitScriptFileOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptFile) PipelineClusterInitScriptFile { +func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) Elem() MwsWorkspacesGcpManagedNetworkConfigOutput { + return o.ApplyT(func(v *MwsWorkspacesGcpManagedNetworkConfig) MwsWorkspacesGcpManagedNetworkConfig { if v != nil { return *v } - var ret PipelineClusterInitScriptFile + var ret MwsWorkspacesGcpManagedNetworkConfig return ret - }).(PipelineClusterInitScriptFileOutput) + }).(MwsWorkspacesGcpManagedNetworkConfigOutput) } -func (o PipelineClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptFile) *string { +func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) GkeClusterPodIpRange() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesGcpManagedNetworkConfig) *string { if v == nil { return nil } - return &v.Destination + return &v.GkeClusterPodIpRange }).(pulumi.StringPtrOutput) } -type PipelineClusterInitScriptGcs struct { - Destination string `pulumi:"destination"` +func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) GkeClusterServiceIpRange() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesGcpManagedNetworkConfig) *string { + if v == nil { + return nil + } + return &v.GkeClusterServiceIpRange + }).(pulumi.StringPtrOutput) } -// PipelineClusterInitScriptGcsInput is an input type that accepts PipelineClusterInitScriptGcsArgs and PipelineClusterInitScriptGcsOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptGcsInput` via: +func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) SubnetCidr() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesGcpManagedNetworkConfig) *string { + if v == nil { + return nil + } + return &v.SubnetCidr + }).(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"` +} + +// MwsWorkspacesGkeConfigInput is an input type that accepts MwsWorkspacesGkeConfigArgs and MwsWorkspacesGkeConfigOutput values. +// You can construct a concrete instance of `MwsWorkspacesGkeConfigInput` via: // -// PipelineClusterInitScriptGcsArgs{...} -type PipelineClusterInitScriptGcsInput interface { +// MwsWorkspacesGkeConfigArgs{...} +type MwsWorkspacesGkeConfigInput interface { pulumi.Input - ToPipelineClusterInitScriptGcsOutput() PipelineClusterInitScriptGcsOutput - ToPipelineClusterInitScriptGcsOutputWithContext(context.Context) PipelineClusterInitScriptGcsOutput + ToMwsWorkspacesGkeConfigOutput() MwsWorkspacesGkeConfigOutput + ToMwsWorkspacesGkeConfigOutputWithContext(context.Context) MwsWorkspacesGkeConfigOutput } -type PipelineClusterInitScriptGcsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +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 (PipelineClusterInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptGcs)(nil)).Elem() +func (MwsWorkspacesGkeConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesGkeConfig)(nil)).Elem() } -func (i PipelineClusterInitScriptGcsArgs) ToPipelineClusterInitScriptGcsOutput() PipelineClusterInitScriptGcsOutput { - return i.ToPipelineClusterInitScriptGcsOutputWithContext(context.Background()) +func (i MwsWorkspacesGkeConfigArgs) ToMwsWorkspacesGkeConfigOutput() MwsWorkspacesGkeConfigOutput { + return i.ToMwsWorkspacesGkeConfigOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptGcsArgs) ToPipelineClusterInitScriptGcsOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptGcsOutput) +func (i MwsWorkspacesGkeConfigArgs) ToMwsWorkspacesGkeConfigOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGkeConfigOutput) } -func (i PipelineClusterInitScriptGcsArgs) ToPipelineClusterInitScriptGcsPtrOutput() PipelineClusterInitScriptGcsPtrOutput { - return i.ToPipelineClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i MwsWorkspacesGkeConfigArgs) ToMwsWorkspacesGkeConfigPtrOutput() MwsWorkspacesGkeConfigPtrOutput { + return i.ToMwsWorkspacesGkeConfigPtrOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptGcsArgs) ToPipelineClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptGcsOutput).ToPipelineClusterInitScriptGcsPtrOutputWithContext(ctx) +func (i MwsWorkspacesGkeConfigArgs) ToMwsWorkspacesGkeConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGkeConfigOutput).ToMwsWorkspacesGkeConfigPtrOutputWithContext(ctx) } -// PipelineClusterInitScriptGcsPtrInput is an input type that accepts PipelineClusterInitScriptGcsArgs, PipelineClusterInitScriptGcsPtr and PipelineClusterInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptGcsPtrInput` via: +// MwsWorkspacesGkeConfigPtrInput is an input type that accepts MwsWorkspacesGkeConfigArgs, MwsWorkspacesGkeConfigPtr and MwsWorkspacesGkeConfigPtrOutput values. +// You can construct a concrete instance of `MwsWorkspacesGkeConfigPtrInput` via: // -// PipelineClusterInitScriptGcsArgs{...} +// MwsWorkspacesGkeConfigArgs{...} // // or: // // nil -type PipelineClusterInitScriptGcsPtrInput interface { +type MwsWorkspacesGkeConfigPtrInput interface { pulumi.Input - ToPipelineClusterInitScriptGcsPtrOutput() PipelineClusterInitScriptGcsPtrOutput - ToPipelineClusterInitScriptGcsPtrOutputWithContext(context.Context) PipelineClusterInitScriptGcsPtrOutput + ToMwsWorkspacesGkeConfigPtrOutput() MwsWorkspacesGkeConfigPtrOutput + ToMwsWorkspacesGkeConfigPtrOutputWithContext(context.Context) MwsWorkspacesGkeConfigPtrOutput } -type pipelineClusterInitScriptGcsPtrType PipelineClusterInitScriptGcsArgs +type mwsWorkspacesGkeConfigPtrType MwsWorkspacesGkeConfigArgs -func PipelineClusterInitScriptGcsPtr(v *PipelineClusterInitScriptGcsArgs) PipelineClusterInitScriptGcsPtrInput { - return (*pipelineClusterInitScriptGcsPtrType)(v) +func MwsWorkspacesGkeConfigPtr(v *MwsWorkspacesGkeConfigArgs) MwsWorkspacesGkeConfigPtrInput { + return (*mwsWorkspacesGkeConfigPtrType)(v) } -func (*pipelineClusterInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptGcs)(nil)).Elem() +func (*mwsWorkspacesGkeConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesGkeConfig)(nil)).Elem() } -func (i *pipelineClusterInitScriptGcsPtrType) ToPipelineClusterInitScriptGcsPtrOutput() PipelineClusterInitScriptGcsPtrOutput { - return i.ToPipelineClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i *mwsWorkspacesGkeConfigPtrType) ToMwsWorkspacesGkeConfigPtrOutput() MwsWorkspacesGkeConfigPtrOutput { + return i.ToMwsWorkspacesGkeConfigPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterInitScriptGcsPtrType) ToPipelineClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptGcsPtrOutput) +func (i *mwsWorkspacesGkeConfigPtrType) ToMwsWorkspacesGkeConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGkeConfigPtrOutput) } -type PipelineClusterInitScriptGcsOutput struct{ *pulumi.OutputState } +type MwsWorkspacesGkeConfigOutput struct{ *pulumi.OutputState } -func (PipelineClusterInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptGcs)(nil)).Elem() +func (MwsWorkspacesGkeConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesGkeConfig)(nil)).Elem() } -func (o PipelineClusterInitScriptGcsOutput) ToPipelineClusterInitScriptGcsOutput() PipelineClusterInitScriptGcsOutput { +func (o MwsWorkspacesGkeConfigOutput) ToMwsWorkspacesGkeConfigOutput() MwsWorkspacesGkeConfigOutput { return o } -func (o PipelineClusterInitScriptGcsOutput) ToPipelineClusterInitScriptGcsOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsOutput { +func (o MwsWorkspacesGkeConfigOutput) ToMwsWorkspacesGkeConfigOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigOutput { return o } -func (o PipelineClusterInitScriptGcsOutput) ToPipelineClusterInitScriptGcsPtrOutput() PipelineClusterInitScriptGcsPtrOutput { - return o.ToPipelineClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (o MwsWorkspacesGkeConfigOutput) ToMwsWorkspacesGkeConfigPtrOutput() MwsWorkspacesGkeConfigPtrOutput { + return o.ToMwsWorkspacesGkeConfigPtrOutputWithContext(context.Background()) } -func (o PipelineClusterInitScriptGcsOutput) ToPipelineClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptGcs) *PipelineClusterInitScriptGcs { +func (o MwsWorkspacesGkeConfigOutput) ToMwsWorkspacesGkeConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesGkeConfig) *MwsWorkspacesGkeConfig { return &v - }).(PipelineClusterInitScriptGcsPtrOutput) + }).(MwsWorkspacesGkeConfigPtrOutput) } -func (o PipelineClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v PipelineClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) +// 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) } -type PipelineClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } +// 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) +} -func (PipelineClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptGcs)(nil)).Elem() +type MwsWorkspacesGkeConfigPtrOutput struct{ *pulumi.OutputState } + +func (MwsWorkspacesGkeConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesGkeConfig)(nil)).Elem() } -func (o PipelineClusterInitScriptGcsPtrOutput) ToPipelineClusterInitScriptGcsPtrOutput() PipelineClusterInitScriptGcsPtrOutput { +func (o MwsWorkspacesGkeConfigPtrOutput) ToMwsWorkspacesGkeConfigPtrOutput() MwsWorkspacesGkeConfigPtrOutput { return o } -func (o PipelineClusterInitScriptGcsPtrOutput) ToPipelineClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsPtrOutput { +func (o MwsWorkspacesGkeConfigPtrOutput) ToMwsWorkspacesGkeConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigPtrOutput { return o } -func (o PipelineClusterInitScriptGcsPtrOutput) Elem() PipelineClusterInitScriptGcsOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptGcs) PipelineClusterInitScriptGcs { +func (o MwsWorkspacesGkeConfigPtrOutput) Elem() MwsWorkspacesGkeConfigOutput { + return o.ApplyT(func(v *MwsWorkspacesGkeConfig) MwsWorkspacesGkeConfig { if v != nil { return *v } - var ret PipelineClusterInitScriptGcs + var ret MwsWorkspacesGkeConfig return ret - }).(PipelineClusterInitScriptGcsOutput) + }).(MwsWorkspacesGkeConfigOutput) } -func (o PipelineClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptGcs) *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.Destination + return &v.ConnectivityType }).(pulumi.StringPtrOutput) } -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"` +// 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) } -// PipelineClusterInitScriptS3Input is an input type that accepts PipelineClusterInitScriptS3Args and PipelineClusterInitScriptS3Output values. -// You can construct a concrete instance of `PipelineClusterInitScriptS3Input` via: +type MwsWorkspacesToken struct { + 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"` +} + +// MwsWorkspacesTokenInput is an input type that accepts MwsWorkspacesTokenArgs and MwsWorkspacesTokenOutput values. +// You can construct a concrete instance of `MwsWorkspacesTokenInput` via: // -// PipelineClusterInitScriptS3Args{...} -type PipelineClusterInitScriptS3Input interface { +// MwsWorkspacesTokenArgs{...} +type MwsWorkspacesTokenInput interface { pulumi.Input - ToPipelineClusterInitScriptS3Output() PipelineClusterInitScriptS3Output - ToPipelineClusterInitScriptS3OutputWithContext(context.Context) PipelineClusterInitScriptS3Output + ToMwsWorkspacesTokenOutput() MwsWorkspacesTokenOutput + ToMwsWorkspacesTokenOutputWithContext(context.Context) MwsWorkspacesTokenOutput } -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 MwsWorkspacesTokenArgs struct { + 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 (PipelineClusterInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptS3)(nil)).Elem() +func (MwsWorkspacesTokenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesToken)(nil)).Elem() } -func (i PipelineClusterInitScriptS3Args) ToPipelineClusterInitScriptS3Output() PipelineClusterInitScriptS3Output { - return i.ToPipelineClusterInitScriptS3OutputWithContext(context.Background()) +func (i MwsWorkspacesTokenArgs) ToMwsWorkspacesTokenOutput() MwsWorkspacesTokenOutput { + return i.ToMwsWorkspacesTokenOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptS3Args) ToPipelineClusterInitScriptS3OutputWithContext(ctx context.Context) PipelineClusterInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptS3Output) +func (i MwsWorkspacesTokenArgs) ToMwsWorkspacesTokenOutputWithContext(ctx context.Context) MwsWorkspacesTokenOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesTokenOutput) } -func (i PipelineClusterInitScriptS3Args) ToPipelineClusterInitScriptS3PtrOutput() PipelineClusterInitScriptS3PtrOutput { - return i.ToPipelineClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i MwsWorkspacesTokenArgs) ToMwsWorkspacesTokenPtrOutput() MwsWorkspacesTokenPtrOutput { + return i.ToMwsWorkspacesTokenPtrOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptS3Args) ToPipelineClusterInitScriptS3PtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptS3Output).ToPipelineClusterInitScriptS3PtrOutputWithContext(ctx) +func (i MwsWorkspacesTokenArgs) ToMwsWorkspacesTokenPtrOutputWithContext(ctx context.Context) MwsWorkspacesTokenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesTokenOutput).ToMwsWorkspacesTokenPtrOutputWithContext(ctx) } -// PipelineClusterInitScriptS3PtrInput is an input type that accepts PipelineClusterInitScriptS3Args, PipelineClusterInitScriptS3Ptr and PipelineClusterInitScriptS3PtrOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptS3PtrInput` via: +// MwsWorkspacesTokenPtrInput is an input type that accepts MwsWorkspacesTokenArgs, MwsWorkspacesTokenPtr and MwsWorkspacesTokenPtrOutput values. +// You can construct a concrete instance of `MwsWorkspacesTokenPtrInput` via: // -// PipelineClusterInitScriptS3Args{...} +// MwsWorkspacesTokenArgs{...} // // or: // // nil -type PipelineClusterInitScriptS3PtrInput interface { +type MwsWorkspacesTokenPtrInput interface { pulumi.Input - ToPipelineClusterInitScriptS3PtrOutput() PipelineClusterInitScriptS3PtrOutput - ToPipelineClusterInitScriptS3PtrOutputWithContext(context.Context) PipelineClusterInitScriptS3PtrOutput + ToMwsWorkspacesTokenPtrOutput() MwsWorkspacesTokenPtrOutput + ToMwsWorkspacesTokenPtrOutputWithContext(context.Context) MwsWorkspacesTokenPtrOutput } -type pipelineClusterInitScriptS3PtrType PipelineClusterInitScriptS3Args +type mwsWorkspacesTokenPtrType MwsWorkspacesTokenArgs -func PipelineClusterInitScriptS3Ptr(v *PipelineClusterInitScriptS3Args) PipelineClusterInitScriptS3PtrInput { - return (*pipelineClusterInitScriptS3PtrType)(v) +func MwsWorkspacesTokenPtr(v *MwsWorkspacesTokenArgs) MwsWorkspacesTokenPtrInput { + return (*mwsWorkspacesTokenPtrType)(v) } -func (*pipelineClusterInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptS3)(nil)).Elem() +func (*mwsWorkspacesTokenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesToken)(nil)).Elem() } -func (i *pipelineClusterInitScriptS3PtrType) ToPipelineClusterInitScriptS3PtrOutput() PipelineClusterInitScriptS3PtrOutput { - return i.ToPipelineClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i *mwsWorkspacesTokenPtrType) ToMwsWorkspacesTokenPtrOutput() MwsWorkspacesTokenPtrOutput { + return i.ToMwsWorkspacesTokenPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterInitScriptS3PtrType) ToPipelineClusterInitScriptS3PtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptS3PtrOutput) +func (i *mwsWorkspacesTokenPtrType) ToMwsWorkspacesTokenPtrOutputWithContext(ctx context.Context) MwsWorkspacesTokenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesTokenPtrOutput) } -type PipelineClusterInitScriptS3Output struct{ *pulumi.OutputState } +type MwsWorkspacesTokenOutput struct{ *pulumi.OutputState } -func (PipelineClusterInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptS3)(nil)).Elem() +func (MwsWorkspacesTokenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesToken)(nil)).Elem() } -func (o PipelineClusterInitScriptS3Output) ToPipelineClusterInitScriptS3Output() PipelineClusterInitScriptS3Output { +func (o MwsWorkspacesTokenOutput) ToMwsWorkspacesTokenOutput() MwsWorkspacesTokenOutput { return o } -func (o PipelineClusterInitScriptS3Output) ToPipelineClusterInitScriptS3OutputWithContext(ctx context.Context) PipelineClusterInitScriptS3Output { +func (o MwsWorkspacesTokenOutput) ToMwsWorkspacesTokenOutputWithContext(ctx context.Context) MwsWorkspacesTokenOutput { return o } -func (o PipelineClusterInitScriptS3Output) ToPipelineClusterInitScriptS3PtrOutput() PipelineClusterInitScriptS3PtrOutput { - return o.ToPipelineClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (o MwsWorkspacesTokenOutput) ToMwsWorkspacesTokenPtrOutput() MwsWorkspacesTokenPtrOutput { + return o.ToMwsWorkspacesTokenPtrOutputWithContext(context.Background()) } -func (o PipelineClusterInitScriptS3Output) ToPipelineClusterInitScriptS3PtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptS3) *PipelineClusterInitScriptS3 { +func (o MwsWorkspacesTokenOutput) ToMwsWorkspacesTokenPtrOutputWithContext(ctx context.Context) MwsWorkspacesTokenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesToken) *MwsWorkspacesToken { 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) + }).(MwsWorkspacesTokenPtrOutput) } -func (o PipelineClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +func (o MwsWorkspacesTokenOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsWorkspacesToken) *string { return v.Comment }).(pulumi.StringPtrOutput) } -func (o PipelineClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterInitScriptS3) *string { return v.Endpoint }).(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 PipelineClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o MwsWorkspacesTokenOutput) TokenId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsWorkspacesToken) *string { return v.TokenId }).(pulumi.StringPtrOutput) } -func (o PipelineClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o MwsWorkspacesTokenOutput) TokenValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsWorkspacesToken) *string { return v.TokenValue }).(pulumi.StringPtrOutput) } -type PipelineClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } +type MwsWorkspacesTokenPtrOutput struct{ *pulumi.OutputState } -func (PipelineClusterInitScriptS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptS3)(nil)).Elem() +func (MwsWorkspacesTokenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesToken)(nil)).Elem() } -func (o PipelineClusterInitScriptS3PtrOutput) ToPipelineClusterInitScriptS3PtrOutput() PipelineClusterInitScriptS3PtrOutput { +func (o MwsWorkspacesTokenPtrOutput) ToMwsWorkspacesTokenPtrOutput() MwsWorkspacesTokenPtrOutput { return o } -func (o PipelineClusterInitScriptS3PtrOutput) ToPipelineClusterInitScriptS3PtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptS3PtrOutput { +func (o MwsWorkspacesTokenPtrOutput) ToMwsWorkspacesTokenPtrOutputWithContext(ctx context.Context) MwsWorkspacesTokenPtrOutput { return o } -func (o PipelineClusterInitScriptS3PtrOutput) Elem() PipelineClusterInitScriptS3Output { - return o.ApplyT(func(v *PipelineClusterInitScriptS3) PipelineClusterInitScriptS3 { +func (o MwsWorkspacesTokenPtrOutput) Elem() MwsWorkspacesTokenOutput { + return o.ApplyT(func(v *MwsWorkspacesToken) MwsWorkspacesToken { if v != nil { return *v } - var ret PipelineClusterInitScriptS3 + var ret MwsWorkspacesToken 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) + }).(MwsWorkspacesTokenOutput) } -func (o PipelineClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptS3) *string { +func (o MwsWorkspacesTokenPtrOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesToken) *string { if v == nil { return nil } - return v.EncryptionType + return v.Comment }).(pulumi.StringPtrOutput) } -func (o PipelineClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptS3) *string { +// 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.Endpoint - }).(pulumi.StringPtrOutput) + return v.LifetimeSeconds + }).(pulumi.IntPtrOutput) } -func (o PipelineClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptS3) *string { +func (o MwsWorkspacesTokenPtrOutput) TokenId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesToken) *string { if v == nil { return nil } - return v.KmsKey + return v.TokenId }).(pulumi.StringPtrOutput) } -func (o PipelineClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptS3) *string { +func (o MwsWorkspacesTokenPtrOutput) TokenValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesToken) *string { if v == nil { return nil } - return v.Region + return v.TokenValue }).(pulumi.StringPtrOutput) } -type PipelineClusterInitScriptVolumes struct { - Destination string `pulumi:"destination"` +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"` } -// PipelineClusterInitScriptVolumesInput is an input type that accepts PipelineClusterInitScriptVolumesArgs and PipelineClusterInitScriptVolumesOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptVolumesInput` via: +// OnlineTableSpecInput is an input type that accepts OnlineTableSpecArgs and OnlineTableSpecOutput values. +// You can construct a concrete instance of `OnlineTableSpecInput` via: // -// PipelineClusterInitScriptVolumesArgs{...} -type PipelineClusterInitScriptVolumesInput interface { +// OnlineTableSpecArgs{...} +type OnlineTableSpecInput interface { pulumi.Input - ToPipelineClusterInitScriptVolumesOutput() PipelineClusterInitScriptVolumesOutput - ToPipelineClusterInitScriptVolumesOutputWithContext(context.Context) PipelineClusterInitScriptVolumesOutput + ToOnlineTableSpecOutput() OnlineTableSpecOutput + ToOnlineTableSpecOutputWithContext(context.Context) OnlineTableSpecOutput } -type PipelineClusterInitScriptVolumesArgs 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 (PipelineClusterInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptVolumes)(nil)).Elem() +func (OnlineTableSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableSpec)(nil)).Elem() } -func (i PipelineClusterInitScriptVolumesArgs) ToPipelineClusterInitScriptVolumesOutput() PipelineClusterInitScriptVolumesOutput { - return i.ToPipelineClusterInitScriptVolumesOutputWithContext(context.Background()) +func (i OnlineTableSpecArgs) ToOnlineTableSpecOutput() OnlineTableSpecOutput { + return i.ToOnlineTableSpecOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptVolumesArgs) ToPipelineClusterInitScriptVolumesOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptVolumesOutput) +func (i OnlineTableSpecArgs) ToOnlineTableSpecOutputWithContext(ctx context.Context) OnlineTableSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecOutput) } -func (i PipelineClusterInitScriptVolumesArgs) ToPipelineClusterInitScriptVolumesPtrOutput() PipelineClusterInitScriptVolumesPtrOutput { - return i.ToPipelineClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i OnlineTableSpecArgs) ToOnlineTableSpecPtrOutput() OnlineTableSpecPtrOutput { + return i.ToOnlineTableSpecPtrOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptVolumesArgs) ToPipelineClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptVolumesOutput).ToPipelineClusterInitScriptVolumesPtrOutputWithContext(ctx) +func (i OnlineTableSpecArgs) ToOnlineTableSpecPtrOutputWithContext(ctx context.Context) OnlineTableSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecOutput).ToOnlineTableSpecPtrOutputWithContext(ctx) } -// PipelineClusterInitScriptVolumesPtrInput is an input type that accepts PipelineClusterInitScriptVolumesArgs, PipelineClusterInitScriptVolumesPtr and PipelineClusterInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptVolumesPtrInput` via: +// OnlineTableSpecPtrInput is an input type that accepts OnlineTableSpecArgs, OnlineTableSpecPtr and OnlineTableSpecPtrOutput values. +// You can construct a concrete instance of `OnlineTableSpecPtrInput` via: // -// PipelineClusterInitScriptVolumesArgs{...} +// OnlineTableSpecArgs{...} // // or: // // nil -type PipelineClusterInitScriptVolumesPtrInput interface { +type OnlineTableSpecPtrInput interface { pulumi.Input - ToPipelineClusterInitScriptVolumesPtrOutput() PipelineClusterInitScriptVolumesPtrOutput - ToPipelineClusterInitScriptVolumesPtrOutputWithContext(context.Context) PipelineClusterInitScriptVolumesPtrOutput + ToOnlineTableSpecPtrOutput() OnlineTableSpecPtrOutput + ToOnlineTableSpecPtrOutputWithContext(context.Context) OnlineTableSpecPtrOutput } -type pipelineClusterInitScriptVolumesPtrType PipelineClusterInitScriptVolumesArgs +type onlineTableSpecPtrType OnlineTableSpecArgs -func PipelineClusterInitScriptVolumesPtr(v *PipelineClusterInitScriptVolumesArgs) PipelineClusterInitScriptVolumesPtrInput { - return (*pipelineClusterInitScriptVolumesPtrType)(v) +func OnlineTableSpecPtr(v *OnlineTableSpecArgs) OnlineTableSpecPtrInput { + return (*onlineTableSpecPtrType)(v) } -func (*pipelineClusterInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptVolumes)(nil)).Elem() +func (*onlineTableSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableSpec)(nil)).Elem() } -func (i *pipelineClusterInitScriptVolumesPtrType) ToPipelineClusterInitScriptVolumesPtrOutput() PipelineClusterInitScriptVolumesPtrOutput { - return i.ToPipelineClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i *onlineTableSpecPtrType) ToOnlineTableSpecPtrOutput() OnlineTableSpecPtrOutput { + return i.ToOnlineTableSpecPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterInitScriptVolumesPtrType) ToPipelineClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptVolumesPtrOutput) +func (i *onlineTableSpecPtrType) ToOnlineTableSpecPtrOutputWithContext(ctx context.Context) OnlineTableSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecPtrOutput) } -type PipelineClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } +type OnlineTableSpecOutput struct{ *pulumi.OutputState } -func (PipelineClusterInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptVolumes)(nil)).Elem() +func (OnlineTableSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableSpec)(nil)).Elem() } -func (o PipelineClusterInitScriptVolumesOutput) ToPipelineClusterInitScriptVolumesOutput() PipelineClusterInitScriptVolumesOutput { +func (o OnlineTableSpecOutput) ToOnlineTableSpecOutput() OnlineTableSpecOutput { return o } -func (o PipelineClusterInitScriptVolumesOutput) ToPipelineClusterInitScriptVolumesOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesOutput { +func (o OnlineTableSpecOutput) ToOnlineTableSpecOutputWithContext(ctx context.Context) OnlineTableSpecOutput { return o } -func (o PipelineClusterInitScriptVolumesOutput) ToPipelineClusterInitScriptVolumesPtrOutput() PipelineClusterInitScriptVolumesPtrOutput { - return o.ToPipelineClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (o OnlineTableSpecOutput) ToOnlineTableSpecPtrOutput() OnlineTableSpecPtrOutput { + return o.ToOnlineTableSpecPtrOutputWithContext(context.Background()) } -func (o PipelineClusterInitScriptVolumesOutput) ToPipelineClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptVolumes) *PipelineClusterInitScriptVolumes { +func (o OnlineTableSpecOutput) ToOnlineTableSpecPtrOutputWithContext(ctx context.Context) OnlineTableSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableSpec) *OnlineTableSpec { return &v - }).(PipelineClusterInitScriptVolumesPtrOutput) + }).(OnlineTableSpecPtrOutput) } -func (o PipelineClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v PipelineClusterInitScriptVolumes) 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 PipelineClusterInitScriptVolumesPtrOutput 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 (PipelineClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptVolumes)(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) } -func (o PipelineClusterInitScriptVolumesPtrOutput) ToPipelineClusterInitScriptVolumesPtrOutput() PipelineClusterInitScriptVolumesPtrOutput { +// 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 PipelineClusterInitScriptVolumesPtrOutput) ToPipelineClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesPtrOutput { +func (o OnlineTableSpecPtrOutput) ToOnlineTableSpecPtrOutputWithContext(ctx context.Context) OnlineTableSpecPtrOutput { return o } -func (o PipelineClusterInitScriptVolumesPtrOutput) Elem() PipelineClusterInitScriptVolumesOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptVolumes) PipelineClusterInitScriptVolumes { +func (o OnlineTableSpecPtrOutput) Elem() OnlineTableSpecOutput { + return o.ApplyT(func(v *OnlineTableSpec) OnlineTableSpec { if v != nil { return *v } - var ret PipelineClusterInitScriptVolumes + var ret OnlineTableSpec return ret - }).(PipelineClusterInitScriptVolumesOutput) + }).(OnlineTableSpecOutput) } -func (o PipelineClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptVolumes) *string { +// 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.Destination + 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) } -type PipelineClusterInitScriptWorkspace struct { - Destination string `pulumi:"destination"` +// 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) } -// PipelineClusterInitScriptWorkspaceInput is an input type that accepts PipelineClusterInitScriptWorkspaceArgs and PipelineClusterInitScriptWorkspaceOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptWorkspaceInput` via: +// 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) +} + +// 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) +} + +// full name of the source table. +func (o OnlineTableSpecPtrOutput) SourceTableFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OnlineTableSpec) *string { + if v == nil { + return nil + } + return v.SourceTableFullName + }).(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 { + if v == nil { + return nil + } + return v.TimeseriesKey + }).(pulumi.StringPtrOutput) +} + +type OnlineTableSpecRunContinuously struct { +} + +// OnlineTableSpecRunContinuouslyInput is an input type that accepts OnlineTableSpecRunContinuouslyArgs and OnlineTableSpecRunContinuouslyOutput values. +// You can construct a concrete instance of `OnlineTableSpecRunContinuouslyInput` via: // -// PipelineClusterInitScriptWorkspaceArgs{...} -type PipelineClusterInitScriptWorkspaceInput interface { +// OnlineTableSpecRunContinuouslyArgs{...} +type OnlineTableSpecRunContinuouslyInput interface { pulumi.Input - ToPipelineClusterInitScriptWorkspaceOutput() PipelineClusterInitScriptWorkspaceOutput - ToPipelineClusterInitScriptWorkspaceOutputWithContext(context.Context) PipelineClusterInitScriptWorkspaceOutput + ToOnlineTableSpecRunContinuouslyOutput() OnlineTableSpecRunContinuouslyOutput + ToOnlineTableSpecRunContinuouslyOutputWithContext(context.Context) OnlineTableSpecRunContinuouslyOutput } -type PipelineClusterInitScriptWorkspaceArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type OnlineTableSpecRunContinuouslyArgs struct { } -func (PipelineClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptWorkspace)(nil)).Elem() +func (OnlineTableSpecRunContinuouslyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableSpecRunContinuously)(nil)).Elem() } -func (i PipelineClusterInitScriptWorkspaceArgs) ToPipelineClusterInitScriptWorkspaceOutput() PipelineClusterInitScriptWorkspaceOutput { - return i.ToPipelineClusterInitScriptWorkspaceOutputWithContext(context.Background()) +func (i OnlineTableSpecRunContinuouslyArgs) ToOnlineTableSpecRunContinuouslyOutput() OnlineTableSpecRunContinuouslyOutput { + return i.ToOnlineTableSpecRunContinuouslyOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptWorkspaceArgs) ToPipelineClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptWorkspaceOutput) +func (i OnlineTableSpecRunContinuouslyArgs) ToOnlineTableSpecRunContinuouslyOutputWithContext(ctx context.Context) OnlineTableSpecRunContinuouslyOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecRunContinuouslyOutput) } -func (i PipelineClusterInitScriptWorkspaceArgs) ToPipelineClusterInitScriptWorkspacePtrOutput() PipelineClusterInitScriptWorkspacePtrOutput { - return i.ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i OnlineTableSpecRunContinuouslyArgs) ToOnlineTableSpecRunContinuouslyPtrOutput() OnlineTableSpecRunContinuouslyPtrOutput { + return i.ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptWorkspaceArgs) ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptWorkspaceOutput).ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(ctx) +func (i OnlineTableSpecRunContinuouslyArgs) ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunContinuouslyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecRunContinuouslyOutput).ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(ctx) } -// PipelineClusterInitScriptWorkspacePtrInput is an input type that accepts PipelineClusterInitScriptWorkspaceArgs, PipelineClusterInitScriptWorkspacePtr and PipelineClusterInitScriptWorkspacePtrOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptWorkspacePtrInput` via: +// OnlineTableSpecRunContinuouslyPtrInput is an input type that accepts OnlineTableSpecRunContinuouslyArgs, OnlineTableSpecRunContinuouslyPtr and OnlineTableSpecRunContinuouslyPtrOutput values. +// You can construct a concrete instance of `OnlineTableSpecRunContinuouslyPtrInput` via: // -// PipelineClusterInitScriptWorkspaceArgs{...} +// OnlineTableSpecRunContinuouslyArgs{...} // // or: // // nil -type PipelineClusterInitScriptWorkspacePtrInput interface { +type OnlineTableSpecRunContinuouslyPtrInput interface { pulumi.Input - ToPipelineClusterInitScriptWorkspacePtrOutput() PipelineClusterInitScriptWorkspacePtrOutput - ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(context.Context) PipelineClusterInitScriptWorkspacePtrOutput + ToOnlineTableSpecRunContinuouslyPtrOutput() OnlineTableSpecRunContinuouslyPtrOutput + ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(context.Context) OnlineTableSpecRunContinuouslyPtrOutput } -type pipelineClusterInitScriptWorkspacePtrType PipelineClusterInitScriptWorkspaceArgs +type onlineTableSpecRunContinuouslyPtrType OnlineTableSpecRunContinuouslyArgs -func PipelineClusterInitScriptWorkspacePtr(v *PipelineClusterInitScriptWorkspaceArgs) PipelineClusterInitScriptWorkspacePtrInput { - return (*pipelineClusterInitScriptWorkspacePtrType)(v) +func OnlineTableSpecRunContinuouslyPtr(v *OnlineTableSpecRunContinuouslyArgs) OnlineTableSpecRunContinuouslyPtrInput { + return (*onlineTableSpecRunContinuouslyPtrType)(v) } -func (*pipelineClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptWorkspace)(nil)).Elem() +func (*onlineTableSpecRunContinuouslyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableSpecRunContinuously)(nil)).Elem() } -func (i *pipelineClusterInitScriptWorkspacePtrType) ToPipelineClusterInitScriptWorkspacePtrOutput() PipelineClusterInitScriptWorkspacePtrOutput { - return i.ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i *onlineTableSpecRunContinuouslyPtrType) ToOnlineTableSpecRunContinuouslyPtrOutput() OnlineTableSpecRunContinuouslyPtrOutput { + return i.ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterInitScriptWorkspacePtrType) ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptWorkspacePtrOutput) +func (i *onlineTableSpecRunContinuouslyPtrType) ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunContinuouslyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecRunContinuouslyPtrOutput) } -type PipelineClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } +type OnlineTableSpecRunContinuouslyOutput struct{ *pulumi.OutputState } -func (PipelineClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptWorkspace)(nil)).Elem() +func (OnlineTableSpecRunContinuouslyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableSpecRunContinuously)(nil)).Elem() } -func (o PipelineClusterInitScriptWorkspaceOutput) ToPipelineClusterInitScriptWorkspaceOutput() PipelineClusterInitScriptWorkspaceOutput { +func (o OnlineTableSpecRunContinuouslyOutput) ToOnlineTableSpecRunContinuouslyOutput() OnlineTableSpecRunContinuouslyOutput { return o } -func (o PipelineClusterInitScriptWorkspaceOutput) ToPipelineClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspaceOutput { +func (o OnlineTableSpecRunContinuouslyOutput) ToOnlineTableSpecRunContinuouslyOutputWithContext(ctx context.Context) OnlineTableSpecRunContinuouslyOutput { return o } -func (o PipelineClusterInitScriptWorkspaceOutput) ToPipelineClusterInitScriptWorkspacePtrOutput() PipelineClusterInitScriptWorkspacePtrOutput { - return o.ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o OnlineTableSpecRunContinuouslyOutput) ToOnlineTableSpecRunContinuouslyPtrOutput() OnlineTableSpecRunContinuouslyPtrOutput { + return o.ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(context.Background()) } -func (o PipelineClusterInitScriptWorkspaceOutput) ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptWorkspace) *PipelineClusterInitScriptWorkspace { +func (o OnlineTableSpecRunContinuouslyOutput) ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunContinuouslyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableSpecRunContinuously) *OnlineTableSpecRunContinuously { return &v - }).(PipelineClusterInitScriptWorkspacePtrOutput) -} - -func (o PipelineClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v PipelineClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) + }).(OnlineTableSpecRunContinuouslyPtrOutput) } -type PipelineClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } +type OnlineTableSpecRunContinuouslyPtrOutput struct{ *pulumi.OutputState } -func (PipelineClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptWorkspace)(nil)).Elem() +func (OnlineTableSpecRunContinuouslyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableSpecRunContinuously)(nil)).Elem() } -func (o PipelineClusterInitScriptWorkspacePtrOutput) ToPipelineClusterInitScriptWorkspacePtrOutput() PipelineClusterInitScriptWorkspacePtrOutput { +func (o OnlineTableSpecRunContinuouslyPtrOutput) ToOnlineTableSpecRunContinuouslyPtrOutput() OnlineTableSpecRunContinuouslyPtrOutput { return o } -func (o PipelineClusterInitScriptWorkspacePtrOutput) ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspacePtrOutput { +func (o OnlineTableSpecRunContinuouslyPtrOutput) ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunContinuouslyPtrOutput { return o } -func (o PipelineClusterInitScriptWorkspacePtrOutput) Elem() PipelineClusterInitScriptWorkspaceOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptWorkspace) PipelineClusterInitScriptWorkspace { +func (o OnlineTableSpecRunContinuouslyPtrOutput) Elem() OnlineTableSpecRunContinuouslyOutput { + return o.ApplyT(func(v *OnlineTableSpecRunContinuously) OnlineTableSpecRunContinuously { if v != nil { return *v } - var ret PipelineClusterInitScriptWorkspace + var ret OnlineTableSpecRunContinuously return ret - }).(PipelineClusterInitScriptWorkspaceOutput) -} - -func (o PipelineClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptWorkspace) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) + }).(OnlineTableSpecRunContinuouslyOutput) } -type PipelineFilters struct { - Excludes []string `pulumi:"excludes"` - Includes []string `pulumi:"includes"` +type OnlineTableSpecRunTriggered struct { } -// PipelineFiltersInput is an input type that accepts PipelineFiltersArgs and PipelineFiltersOutput values. -// You can construct a concrete instance of `PipelineFiltersInput` via: +// OnlineTableSpecRunTriggeredInput is an input type that accepts OnlineTableSpecRunTriggeredArgs and OnlineTableSpecRunTriggeredOutput values. +// You can construct a concrete instance of `OnlineTableSpecRunTriggeredInput` via: // -// PipelineFiltersArgs{...} -type PipelineFiltersInput interface { +// OnlineTableSpecRunTriggeredArgs{...} +type OnlineTableSpecRunTriggeredInput interface { pulumi.Input - ToPipelineFiltersOutput() PipelineFiltersOutput - ToPipelineFiltersOutputWithContext(context.Context) PipelineFiltersOutput + ToOnlineTableSpecRunTriggeredOutput() OnlineTableSpecRunTriggeredOutput + ToOnlineTableSpecRunTriggeredOutputWithContext(context.Context) OnlineTableSpecRunTriggeredOutput } -type PipelineFiltersArgs struct { - Excludes pulumi.StringArrayInput `pulumi:"excludes"` - Includes pulumi.StringArrayInput `pulumi:"includes"` +type OnlineTableSpecRunTriggeredArgs struct { } -func (PipelineFiltersArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineFilters)(nil)).Elem() +func (OnlineTableSpecRunTriggeredArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableSpecRunTriggered)(nil)).Elem() } -func (i PipelineFiltersArgs) ToPipelineFiltersOutput() PipelineFiltersOutput { - return i.ToPipelineFiltersOutputWithContext(context.Background()) +func (i OnlineTableSpecRunTriggeredArgs) ToOnlineTableSpecRunTriggeredOutput() OnlineTableSpecRunTriggeredOutput { + return i.ToOnlineTableSpecRunTriggeredOutputWithContext(context.Background()) } -func (i PipelineFiltersArgs) ToPipelineFiltersOutputWithContext(ctx context.Context) PipelineFiltersOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineFiltersOutput) +func (i OnlineTableSpecRunTriggeredArgs) ToOnlineTableSpecRunTriggeredOutputWithContext(ctx context.Context) OnlineTableSpecRunTriggeredOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecRunTriggeredOutput) } -func (i PipelineFiltersArgs) ToPipelineFiltersPtrOutput() PipelineFiltersPtrOutput { - return i.ToPipelineFiltersPtrOutputWithContext(context.Background()) +func (i OnlineTableSpecRunTriggeredArgs) ToOnlineTableSpecRunTriggeredPtrOutput() OnlineTableSpecRunTriggeredPtrOutput { + return i.ToOnlineTableSpecRunTriggeredPtrOutputWithContext(context.Background()) } -func (i PipelineFiltersArgs) ToPipelineFiltersPtrOutputWithContext(ctx context.Context) PipelineFiltersPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineFiltersOutput).ToPipelineFiltersPtrOutputWithContext(ctx) +func (i OnlineTableSpecRunTriggeredArgs) ToOnlineTableSpecRunTriggeredPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunTriggeredPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecRunTriggeredOutput).ToOnlineTableSpecRunTriggeredPtrOutputWithContext(ctx) } -// PipelineFiltersPtrInput is an input type that accepts PipelineFiltersArgs, PipelineFiltersPtr and PipelineFiltersPtrOutput values. -// You can construct a concrete instance of `PipelineFiltersPtrInput` via: +// OnlineTableSpecRunTriggeredPtrInput is an input type that accepts OnlineTableSpecRunTriggeredArgs, OnlineTableSpecRunTriggeredPtr and OnlineTableSpecRunTriggeredPtrOutput values. +// You can construct a concrete instance of `OnlineTableSpecRunTriggeredPtrInput` via: // -// PipelineFiltersArgs{...} +// OnlineTableSpecRunTriggeredArgs{...} // // or: // // nil -type PipelineFiltersPtrInput interface { +type OnlineTableSpecRunTriggeredPtrInput interface { pulumi.Input - ToPipelineFiltersPtrOutput() PipelineFiltersPtrOutput - ToPipelineFiltersPtrOutputWithContext(context.Context) PipelineFiltersPtrOutput + ToOnlineTableSpecRunTriggeredPtrOutput() OnlineTableSpecRunTriggeredPtrOutput + ToOnlineTableSpecRunTriggeredPtrOutputWithContext(context.Context) OnlineTableSpecRunTriggeredPtrOutput } -type pipelineFiltersPtrType PipelineFiltersArgs +type onlineTableSpecRunTriggeredPtrType OnlineTableSpecRunTriggeredArgs -func PipelineFiltersPtr(v *PipelineFiltersArgs) PipelineFiltersPtrInput { - return (*pipelineFiltersPtrType)(v) +func OnlineTableSpecRunTriggeredPtr(v *OnlineTableSpecRunTriggeredArgs) OnlineTableSpecRunTriggeredPtrInput { + return (*onlineTableSpecRunTriggeredPtrType)(v) } -func (*pipelineFiltersPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineFilters)(nil)).Elem() +func (*onlineTableSpecRunTriggeredPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableSpecRunTriggered)(nil)).Elem() } -func (i *pipelineFiltersPtrType) ToPipelineFiltersPtrOutput() PipelineFiltersPtrOutput { - return i.ToPipelineFiltersPtrOutputWithContext(context.Background()) +func (i *onlineTableSpecRunTriggeredPtrType) ToOnlineTableSpecRunTriggeredPtrOutput() OnlineTableSpecRunTriggeredPtrOutput { + return i.ToOnlineTableSpecRunTriggeredPtrOutputWithContext(context.Background()) } -func (i *pipelineFiltersPtrType) ToPipelineFiltersPtrOutputWithContext(ctx context.Context) PipelineFiltersPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineFiltersPtrOutput) +func (i *onlineTableSpecRunTriggeredPtrType) ToOnlineTableSpecRunTriggeredPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunTriggeredPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecRunTriggeredPtrOutput) } -type PipelineFiltersOutput struct{ *pulumi.OutputState } +type OnlineTableSpecRunTriggeredOutput struct{ *pulumi.OutputState } -func (PipelineFiltersOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineFilters)(nil)).Elem() +func (OnlineTableSpecRunTriggeredOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableSpecRunTriggered)(nil)).Elem() } -func (o PipelineFiltersOutput) ToPipelineFiltersOutput() PipelineFiltersOutput { +func (o OnlineTableSpecRunTriggeredOutput) ToOnlineTableSpecRunTriggeredOutput() OnlineTableSpecRunTriggeredOutput { return o } -func (o PipelineFiltersOutput) ToPipelineFiltersOutputWithContext(ctx context.Context) PipelineFiltersOutput { +func (o OnlineTableSpecRunTriggeredOutput) ToOnlineTableSpecRunTriggeredOutputWithContext(ctx context.Context) OnlineTableSpecRunTriggeredOutput { return o } -func (o PipelineFiltersOutput) ToPipelineFiltersPtrOutput() PipelineFiltersPtrOutput { - return o.ToPipelineFiltersPtrOutputWithContext(context.Background()) +func (o OnlineTableSpecRunTriggeredOutput) ToOnlineTableSpecRunTriggeredPtrOutput() OnlineTableSpecRunTriggeredPtrOutput { + return o.ToOnlineTableSpecRunTriggeredPtrOutputWithContext(context.Background()) } -func (o PipelineFiltersOutput) ToPipelineFiltersPtrOutputWithContext(ctx context.Context) PipelineFiltersPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineFilters) *PipelineFilters { +func (o OnlineTableSpecRunTriggeredOutput) ToOnlineTableSpecRunTriggeredPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunTriggeredPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableSpecRunTriggered) *OnlineTableSpecRunTriggered { return &v - }).(PipelineFiltersPtrOutput) -} - -func (o PipelineFiltersOutput) Excludes() pulumi.StringArrayOutput { - return o.ApplyT(func(v PipelineFilters) []string { return v.Excludes }).(pulumi.StringArrayOutput) + }).(OnlineTableSpecRunTriggeredPtrOutput) } -func (o PipelineFiltersOutput) Includes() pulumi.StringArrayOutput { - return o.ApplyT(func(v PipelineFilters) []string { return v.Includes }).(pulumi.StringArrayOutput) -} - -type PipelineFiltersPtrOutput struct{ *pulumi.OutputState } +type OnlineTableSpecRunTriggeredPtrOutput struct{ *pulumi.OutputState } -func (PipelineFiltersPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineFilters)(nil)).Elem() +func (OnlineTableSpecRunTriggeredPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableSpecRunTriggered)(nil)).Elem() } -func (o PipelineFiltersPtrOutput) ToPipelineFiltersPtrOutput() PipelineFiltersPtrOutput { +func (o OnlineTableSpecRunTriggeredPtrOutput) ToOnlineTableSpecRunTriggeredPtrOutput() OnlineTableSpecRunTriggeredPtrOutput { return o } -func (o PipelineFiltersPtrOutput) ToPipelineFiltersPtrOutputWithContext(ctx context.Context) PipelineFiltersPtrOutput { +func (o OnlineTableSpecRunTriggeredPtrOutput) ToOnlineTableSpecRunTriggeredPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunTriggeredPtrOutput { return o } -func (o PipelineFiltersPtrOutput) Elem() PipelineFiltersOutput { - return o.ApplyT(func(v *PipelineFilters) PipelineFilters { +func (o OnlineTableSpecRunTriggeredPtrOutput) Elem() OnlineTableSpecRunTriggeredOutput { + return o.ApplyT(func(v *OnlineTableSpecRunTriggered) OnlineTableSpecRunTriggered { if v != nil { return *v } - var ret PipelineFilters + var ret OnlineTableSpecRunTriggered return ret - }).(PipelineFiltersOutput) -} - -func (o PipelineFiltersPtrOutput) Excludes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PipelineFilters) []string { - if v == nil { - return nil - } - return v.Excludes - }).(pulumi.StringArrayOutput) -} - -func (o PipelineFiltersPtrOutput) Includes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PipelineFilters) []string { - if v == nil { - return nil - } - return v.Includes - }).(pulumi.StringArrayOutput) + }).(OnlineTableSpecRunTriggeredOutput) } -type PipelineLibrary struct { - File *PipelineLibraryFile `pulumi:"file"` - Jar *string `pulumi:"jar"` - Maven *PipelineLibraryMaven `pulumi:"maven"` - Notebook *PipelineLibraryNotebook `pulumi:"notebook"` - Whl *string `pulumi:"whl"` +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"` } -// PipelineLibraryInput is an input type that accepts PipelineLibraryArgs and PipelineLibraryOutput values. -// You can construct a concrete instance of `PipelineLibraryInput` via: +// OnlineTableStatusInput is an input type that accepts OnlineTableStatusArgs and OnlineTableStatusOutput values. +// You can construct a concrete instance of `OnlineTableStatusInput` via: // -// PipelineLibraryArgs{...} -type PipelineLibraryInput interface { +// OnlineTableStatusArgs{...} +type OnlineTableStatusInput interface { pulumi.Input - ToPipelineLibraryOutput() PipelineLibraryOutput - ToPipelineLibraryOutputWithContext(context.Context) PipelineLibraryOutput + ToOnlineTableStatusOutput() OnlineTableStatusOutput + ToOnlineTableStatusOutputWithContext(context.Context) OnlineTableStatusOutput } -type PipelineLibraryArgs struct { - File PipelineLibraryFilePtrInput `pulumi:"file"` - Jar pulumi.StringPtrInput `pulumi:"jar"` - Maven PipelineLibraryMavenPtrInput `pulumi:"maven"` - Notebook PipelineLibraryNotebookPtrInput `pulumi:"notebook"` - Whl pulumi.StringPtrInput `pulumi:"whl"` +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 (PipelineLibraryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineLibrary)(nil)).Elem() +func (OnlineTableStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatus)(nil)).Elem() } -func (i PipelineLibraryArgs) ToPipelineLibraryOutput() PipelineLibraryOutput { - return i.ToPipelineLibraryOutputWithContext(context.Background()) +func (i OnlineTableStatusArgs) ToOnlineTableStatusOutput() OnlineTableStatusOutput { + return i.ToOnlineTableStatusOutputWithContext(context.Background()) } -func (i PipelineLibraryArgs) ToPipelineLibraryOutputWithContext(ctx context.Context) PipelineLibraryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryOutput) +func (i OnlineTableStatusArgs) ToOnlineTableStatusOutputWithContext(ctx context.Context) OnlineTableStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusOutput) } -// PipelineLibraryArrayInput is an input type that accepts PipelineLibraryArray and PipelineLibraryArrayOutput values. -// You can construct a concrete instance of `PipelineLibraryArrayInput` via: +// OnlineTableStatusArrayInput is an input type that accepts OnlineTableStatusArray and OnlineTableStatusArrayOutput values. +// You can construct a concrete instance of `OnlineTableStatusArrayInput` via: // -// PipelineLibraryArray{ PipelineLibraryArgs{...} } -type PipelineLibraryArrayInput interface { +// OnlineTableStatusArray{ OnlineTableStatusArgs{...} } +type OnlineTableStatusArrayInput interface { pulumi.Input - ToPipelineLibraryArrayOutput() PipelineLibraryArrayOutput - ToPipelineLibraryArrayOutputWithContext(context.Context) PipelineLibraryArrayOutput + ToOnlineTableStatusArrayOutput() OnlineTableStatusArrayOutput + ToOnlineTableStatusArrayOutputWithContext(context.Context) OnlineTableStatusArrayOutput } -type PipelineLibraryArray []PipelineLibraryInput +type OnlineTableStatusArray []OnlineTableStatusInput -func (PipelineLibraryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PipelineLibrary)(nil)).Elem() +func (OnlineTableStatusArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]OnlineTableStatus)(nil)).Elem() } -func (i PipelineLibraryArray) ToPipelineLibraryArrayOutput() PipelineLibraryArrayOutput { - return i.ToPipelineLibraryArrayOutputWithContext(context.Background()) +func (i OnlineTableStatusArray) ToOnlineTableStatusArrayOutput() OnlineTableStatusArrayOutput { + return i.ToOnlineTableStatusArrayOutputWithContext(context.Background()) } -func (i PipelineLibraryArray) ToPipelineLibraryArrayOutputWithContext(ctx context.Context) PipelineLibraryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryArrayOutput) +func (i OnlineTableStatusArray) ToOnlineTableStatusArrayOutputWithContext(ctx context.Context) OnlineTableStatusArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusArrayOutput) } -type PipelineLibraryOutput struct{ *pulumi.OutputState } +type OnlineTableStatusOutput struct{ *pulumi.OutputState } -func (PipelineLibraryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineLibrary)(nil)).Elem() +func (OnlineTableStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatus)(nil)).Elem() } -func (o PipelineLibraryOutput) ToPipelineLibraryOutput() PipelineLibraryOutput { +func (o OnlineTableStatusOutput) ToOnlineTableStatusOutput() OnlineTableStatusOutput { return o } -func (o PipelineLibraryOutput) ToPipelineLibraryOutputWithContext(ctx context.Context) PipelineLibraryOutput { +func (o OnlineTableStatusOutput) ToOnlineTableStatusOutputWithContext(ctx context.Context) OnlineTableStatusOutput { return o } -func (o PipelineLibraryOutput) File() PipelineLibraryFilePtrOutput { - return o.ApplyT(func(v PipelineLibrary) *PipelineLibraryFile { return v.File }).(PipelineLibraryFilePtrOutput) +func (o OnlineTableStatusOutput) ContinuousUpdateStatus() OnlineTableStatusContinuousUpdateStatusPtrOutput { + return o.ApplyT(func(v OnlineTableStatus) *OnlineTableStatusContinuousUpdateStatus { return v.ContinuousUpdateStatus }).(OnlineTableStatusContinuousUpdateStatusPtrOutput) } -func (o PipelineLibraryOutput) Jar() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) +// 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 PipelineLibraryOutput) Maven() PipelineLibraryMavenPtrOutput { - return o.ApplyT(func(v PipelineLibrary) *PipelineLibraryMaven { return v.Maven }).(PipelineLibraryMavenPtrOutput) +func (o OnlineTableStatusOutput) FailedStatus() OnlineTableStatusFailedStatusPtrOutput { + return o.ApplyT(func(v OnlineTableStatus) *OnlineTableStatusFailedStatus { return v.FailedStatus }).(OnlineTableStatusFailedStatusPtrOutput) } -func (o PipelineLibraryOutput) Notebook() PipelineLibraryNotebookPtrOutput { - return o.ApplyT(func(v PipelineLibrary) *PipelineLibraryNotebook { return v.Notebook }).(PipelineLibraryNotebookPtrOutput) +// 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 PipelineLibraryOutput) Whl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +func (o OnlineTableStatusOutput) ProvisioningStatus() OnlineTableStatusProvisioningStatusPtrOutput { + return o.ApplyT(func(v OnlineTableStatus) *OnlineTableStatusProvisioningStatus { return v.ProvisioningStatus }).(OnlineTableStatusProvisioningStatusPtrOutput) } -type PipelineLibraryArrayOutput struct{ *pulumi.OutputState } +func (o OnlineTableStatusOutput) TriggeredUpdateStatus() OnlineTableStatusTriggeredUpdateStatusPtrOutput { + return o.ApplyT(func(v OnlineTableStatus) *OnlineTableStatusTriggeredUpdateStatus { return v.TriggeredUpdateStatus }).(OnlineTableStatusTriggeredUpdateStatusPtrOutput) +} -func (PipelineLibraryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PipelineLibrary)(nil)).Elem() +type OnlineTableStatusArrayOutput struct{ *pulumi.OutputState } + +func (OnlineTableStatusArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]OnlineTableStatus)(nil)).Elem() } -func (o PipelineLibraryArrayOutput) ToPipelineLibraryArrayOutput() PipelineLibraryArrayOutput { +func (o OnlineTableStatusArrayOutput) ToOnlineTableStatusArrayOutput() OnlineTableStatusArrayOutput { return o } -func (o PipelineLibraryArrayOutput) ToPipelineLibraryArrayOutputWithContext(ctx context.Context) PipelineLibraryArrayOutput { +func (o OnlineTableStatusArrayOutput) ToOnlineTableStatusArrayOutputWithContext(ctx context.Context) OnlineTableStatusArrayOutput { return o } -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 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 PipelineLibraryFile struct { - Path string `pulumi:"path"` +type OnlineTableStatusContinuousUpdateStatus struct { + InitialPipelineSyncProgress *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress `pulumi:"initialPipelineSyncProgress"` + LastProcessedCommitVersion *int `pulumi:"lastProcessedCommitVersion"` + Timestamp *string `pulumi:"timestamp"` } -// PipelineLibraryFileInput is an input type that accepts PipelineLibraryFileArgs and PipelineLibraryFileOutput values. -// You can construct a concrete instance of `PipelineLibraryFileInput` via: +// OnlineTableStatusContinuousUpdateStatusInput is an input type that accepts OnlineTableStatusContinuousUpdateStatusArgs and OnlineTableStatusContinuousUpdateStatusOutput values. +// You can construct a concrete instance of `OnlineTableStatusContinuousUpdateStatusInput` via: // -// PipelineLibraryFileArgs{...} -type PipelineLibraryFileInput interface { +// OnlineTableStatusContinuousUpdateStatusArgs{...} +type OnlineTableStatusContinuousUpdateStatusInput interface { pulumi.Input - ToPipelineLibraryFileOutput() PipelineLibraryFileOutput - ToPipelineLibraryFileOutputWithContext(context.Context) PipelineLibraryFileOutput + ToOnlineTableStatusContinuousUpdateStatusOutput() OnlineTableStatusContinuousUpdateStatusOutput + ToOnlineTableStatusContinuousUpdateStatusOutputWithContext(context.Context) OnlineTableStatusContinuousUpdateStatusOutput } -type PipelineLibraryFileArgs struct { - Path pulumi.StringInput `pulumi:"path"` +type OnlineTableStatusContinuousUpdateStatusArgs struct { + InitialPipelineSyncProgress OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrInput `pulumi:"initialPipelineSyncProgress"` + LastProcessedCommitVersion pulumi.IntPtrInput `pulumi:"lastProcessedCommitVersion"` + Timestamp pulumi.StringPtrInput `pulumi:"timestamp"` } -func (PipelineLibraryFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineLibraryFile)(nil)).Elem() +func (OnlineTableStatusContinuousUpdateStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusContinuousUpdateStatus)(nil)).Elem() } -func (i PipelineLibraryFileArgs) ToPipelineLibraryFileOutput() PipelineLibraryFileOutput { - return i.ToPipelineLibraryFileOutputWithContext(context.Background()) +func (i OnlineTableStatusContinuousUpdateStatusArgs) ToOnlineTableStatusContinuousUpdateStatusOutput() OnlineTableStatusContinuousUpdateStatusOutput { + return i.ToOnlineTableStatusContinuousUpdateStatusOutputWithContext(context.Background()) } -func (i PipelineLibraryFileArgs) ToPipelineLibraryFileOutputWithContext(ctx context.Context) PipelineLibraryFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryFileOutput) +func (i OnlineTableStatusContinuousUpdateStatusArgs) ToOnlineTableStatusContinuousUpdateStatusOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusContinuousUpdateStatusOutput) } -func (i PipelineLibraryFileArgs) ToPipelineLibraryFilePtrOutput() PipelineLibraryFilePtrOutput { - return i.ToPipelineLibraryFilePtrOutputWithContext(context.Background()) +func (i OnlineTableStatusContinuousUpdateStatusArgs) ToOnlineTableStatusContinuousUpdateStatusPtrOutput() OnlineTableStatusContinuousUpdateStatusPtrOutput { + return i.ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(context.Background()) } -func (i PipelineLibraryFileArgs) ToPipelineLibraryFilePtrOutputWithContext(ctx context.Context) PipelineLibraryFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryFileOutput).ToPipelineLibraryFilePtrOutputWithContext(ctx) +func (i OnlineTableStatusContinuousUpdateStatusArgs) ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusContinuousUpdateStatusOutput).ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(ctx) } -// PipelineLibraryFilePtrInput is an input type that accepts PipelineLibraryFileArgs, PipelineLibraryFilePtr and PipelineLibraryFilePtrOutput values. -// You can construct a concrete instance of `PipelineLibraryFilePtrInput` via: +// OnlineTableStatusContinuousUpdateStatusPtrInput is an input type that accepts OnlineTableStatusContinuousUpdateStatusArgs, OnlineTableStatusContinuousUpdateStatusPtr and OnlineTableStatusContinuousUpdateStatusPtrOutput values. +// You can construct a concrete instance of `OnlineTableStatusContinuousUpdateStatusPtrInput` via: // -// PipelineLibraryFileArgs{...} +// OnlineTableStatusContinuousUpdateStatusArgs{...} // // or: // // nil -type PipelineLibraryFilePtrInput interface { +type OnlineTableStatusContinuousUpdateStatusPtrInput interface { pulumi.Input - ToPipelineLibraryFilePtrOutput() PipelineLibraryFilePtrOutput - ToPipelineLibraryFilePtrOutputWithContext(context.Context) PipelineLibraryFilePtrOutput + ToOnlineTableStatusContinuousUpdateStatusPtrOutput() OnlineTableStatusContinuousUpdateStatusPtrOutput + ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(context.Context) OnlineTableStatusContinuousUpdateStatusPtrOutput } -type pipelineLibraryFilePtrType PipelineLibraryFileArgs +type onlineTableStatusContinuousUpdateStatusPtrType OnlineTableStatusContinuousUpdateStatusArgs -func PipelineLibraryFilePtr(v *PipelineLibraryFileArgs) PipelineLibraryFilePtrInput { - return (*pipelineLibraryFilePtrType)(v) +func OnlineTableStatusContinuousUpdateStatusPtr(v *OnlineTableStatusContinuousUpdateStatusArgs) OnlineTableStatusContinuousUpdateStatusPtrInput { + return (*onlineTableStatusContinuousUpdateStatusPtrType)(v) } -func (*pipelineLibraryFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineLibraryFile)(nil)).Elem() +func (*onlineTableStatusContinuousUpdateStatusPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusContinuousUpdateStatus)(nil)).Elem() } -func (i *pipelineLibraryFilePtrType) ToPipelineLibraryFilePtrOutput() PipelineLibraryFilePtrOutput { - return i.ToPipelineLibraryFilePtrOutputWithContext(context.Background()) +func (i *onlineTableStatusContinuousUpdateStatusPtrType) ToOnlineTableStatusContinuousUpdateStatusPtrOutput() OnlineTableStatusContinuousUpdateStatusPtrOutput { + return i.ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(context.Background()) } -func (i *pipelineLibraryFilePtrType) ToPipelineLibraryFilePtrOutputWithContext(ctx context.Context) PipelineLibraryFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryFilePtrOutput) +func (i *onlineTableStatusContinuousUpdateStatusPtrType) ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusContinuousUpdateStatusPtrOutput) } -type PipelineLibraryFileOutput struct{ *pulumi.OutputState } +type OnlineTableStatusContinuousUpdateStatusOutput struct{ *pulumi.OutputState } -func (PipelineLibraryFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineLibraryFile)(nil)).Elem() +func (OnlineTableStatusContinuousUpdateStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusContinuousUpdateStatus)(nil)).Elem() } -func (o PipelineLibraryFileOutput) ToPipelineLibraryFileOutput() PipelineLibraryFileOutput { +func (o OnlineTableStatusContinuousUpdateStatusOutput) ToOnlineTableStatusContinuousUpdateStatusOutput() OnlineTableStatusContinuousUpdateStatusOutput { return o } -func (o PipelineLibraryFileOutput) ToPipelineLibraryFileOutputWithContext(ctx context.Context) PipelineLibraryFileOutput { +func (o OnlineTableStatusContinuousUpdateStatusOutput) ToOnlineTableStatusContinuousUpdateStatusOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusOutput { return o } -func (o PipelineLibraryFileOutput) ToPipelineLibraryFilePtrOutput() PipelineLibraryFilePtrOutput { - return o.ToPipelineLibraryFilePtrOutputWithContext(context.Background()) +func (o OnlineTableStatusContinuousUpdateStatusOutput) ToOnlineTableStatusContinuousUpdateStatusPtrOutput() OnlineTableStatusContinuousUpdateStatusPtrOutput { + return o.ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(context.Background()) } -func (o PipelineLibraryFileOutput) ToPipelineLibraryFilePtrOutputWithContext(ctx context.Context) PipelineLibraryFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineLibraryFile) *PipelineLibraryFile { +func (o OnlineTableStatusContinuousUpdateStatusOutput) ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableStatusContinuousUpdateStatus) *OnlineTableStatusContinuousUpdateStatus { return &v - }).(PipelineLibraryFilePtrOutput) + }).(OnlineTableStatusContinuousUpdateStatusPtrOutput) } -func (o PipelineLibraryFileOutput) Path() pulumi.StringOutput { - return o.ApplyT(func(v PipelineLibraryFile) string { return v.Path }).(pulumi.StringOutput) +func (o OnlineTableStatusContinuousUpdateStatusOutput) InitialPipelineSyncProgress() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { + return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatus) *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress { + return v.InitialPipelineSyncProgress + }).(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) } -type PipelineLibraryFilePtrOutput struct{ *pulumi.OutputState } +func (o OnlineTableStatusContinuousUpdateStatusOutput) LastProcessedCommitVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatus) *int { return v.LastProcessedCommitVersion }).(pulumi.IntPtrOutput) +} -func (PipelineLibraryFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineLibraryFile)(nil)).Elem() +func (o OnlineTableStatusContinuousUpdateStatusOutput) Timestamp() pulumi.StringPtrOutput { + return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatus) *string { return v.Timestamp }).(pulumi.StringPtrOutput) } -func (o PipelineLibraryFilePtrOutput) ToPipelineLibraryFilePtrOutput() PipelineLibraryFilePtrOutput { +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 PipelineLibraryFilePtrOutput) ToPipelineLibraryFilePtrOutputWithContext(ctx context.Context) PipelineLibraryFilePtrOutput { +func (o OnlineTableStatusContinuousUpdateStatusPtrOutput) ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusPtrOutput { return o } -func (o PipelineLibraryFilePtrOutput) Elem() PipelineLibraryFileOutput { - return o.ApplyT(func(v *PipelineLibraryFile) PipelineLibraryFile { +func (o OnlineTableStatusContinuousUpdateStatusPtrOutput) Elem() OnlineTableStatusContinuousUpdateStatusOutput { + return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatus) OnlineTableStatusContinuousUpdateStatus { if v != nil { return *v } - var ret PipelineLibraryFile + var ret OnlineTableStatusContinuousUpdateStatus return ret - }).(PipelineLibraryFileOutput) + }).(OnlineTableStatusContinuousUpdateStatusOutput) } -func (o PipelineLibraryFilePtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineLibraryFile) *string { +func (o OnlineTableStatusContinuousUpdateStatusPtrOutput) InitialPipelineSyncProgress() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatus) *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress { if v == nil { return nil } - return &v.Path - }).(pulumi.StringPtrOutput) + return v.InitialPipelineSyncProgress + }).(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) } -type PipelineLibraryMaven struct { - Coordinates string `pulumi:"coordinates"` - Exclusions []string `pulumi:"exclusions"` - Repo *string `pulumi:"repo"` +func (o OnlineTableStatusContinuousUpdateStatusPtrOutput) LastProcessedCommitVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatus) *int { + if v == nil { + return nil + } + return v.LastProcessedCommitVersion + }).(pulumi.IntPtrOutput) } -// PipelineLibraryMavenInput is an input type that accepts PipelineLibraryMavenArgs and PipelineLibraryMavenOutput values. -// You can construct a concrete instance of `PipelineLibraryMavenInput` via: +func (o OnlineTableStatusContinuousUpdateStatusPtrOutput) Timestamp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatus) *string { + if v == nil { + return nil + } + return v.Timestamp + }).(pulumi.StringPtrOutput) +} + +type OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress struct { + EstimatedCompletionTimeSeconds *float64 `pulumi:"estimatedCompletionTimeSeconds"` + LatestVersionCurrentlyProcessing *int `pulumi:"latestVersionCurrentlyProcessing"` + SyncProgressCompletion *float64 `pulumi:"syncProgressCompletion"` + SyncedRowCount *int `pulumi:"syncedRowCount"` + TotalRowCount *int `pulumi:"totalRowCount"` +} + +// OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressInput is an input type that accepts OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs and OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput values. +// You can construct a concrete instance of `OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressInput` via: // -// PipelineLibraryMavenArgs{...} -type PipelineLibraryMavenInput interface { +// OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs{...} +type OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressInput interface { pulumi.Input - ToPipelineLibraryMavenOutput() PipelineLibraryMavenOutput - ToPipelineLibraryMavenOutputWithContext(context.Context) PipelineLibraryMavenOutput + ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput + ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutputWithContext(context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput } -type PipelineLibraryMavenArgs struct { - Coordinates pulumi.StringInput `pulumi:"coordinates"` - Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +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 (PipelineLibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineLibraryMaven)(nil)).Elem() +func (OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress)(nil)).Elem() } -func (i PipelineLibraryMavenArgs) ToPipelineLibraryMavenOutput() PipelineLibraryMavenOutput { - return i.ToPipelineLibraryMavenOutputWithContext(context.Background()) +func (i OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput { + return i.ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutputWithContext(context.Background()) } -func (i PipelineLibraryMavenArgs) ToPipelineLibraryMavenOutputWithContext(ctx context.Context) PipelineLibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryMavenOutput) +func (i OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) } -func (i PipelineLibraryMavenArgs) ToPipelineLibraryMavenPtrOutput() PipelineLibraryMavenPtrOutput { - return i.ToPipelineLibraryMavenPtrOutputWithContext(context.Background()) +func (i OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { + return i.ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Background()) } -func (i PipelineLibraryMavenArgs) ToPipelineLibraryMavenPtrOutputWithContext(ctx context.Context) PipelineLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryMavenOutput).ToPipelineLibraryMavenPtrOutputWithContext(ctx) +func (i OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput).ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx) } -// PipelineLibraryMavenPtrInput is an input type that accepts PipelineLibraryMavenArgs, PipelineLibraryMavenPtr and PipelineLibraryMavenPtrOutput values. -// You can construct a concrete instance of `PipelineLibraryMavenPtrInput` via: +// OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrInput is an input type that accepts OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs, OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtr and OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput values. +// You can construct a concrete instance of `OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrInput` via: // -// PipelineLibraryMavenArgs{...} +// OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs{...} // // or: // // nil -type PipelineLibraryMavenPtrInput interface { +type OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrInput interface { pulumi.Input - ToPipelineLibraryMavenPtrOutput() PipelineLibraryMavenPtrOutput - ToPipelineLibraryMavenPtrOutputWithContext(context.Context) PipelineLibraryMavenPtrOutput + ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput + ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput } -type pipelineLibraryMavenPtrType PipelineLibraryMavenArgs +type onlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrType OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs -func PipelineLibraryMavenPtr(v *PipelineLibraryMavenArgs) PipelineLibraryMavenPtrInput { - return (*pipelineLibraryMavenPtrType)(v) +func OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtr(v *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrInput { + return (*onlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrType)(v) } -func (*pipelineLibraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineLibraryMaven)(nil)).Elem() +func (*onlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress)(nil)).Elem() } -func (i *pipelineLibraryMavenPtrType) ToPipelineLibraryMavenPtrOutput() PipelineLibraryMavenPtrOutput { - return i.ToPipelineLibraryMavenPtrOutputWithContext(context.Background()) +func (i *onlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrType) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { + return i.ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Background()) } -func (i *pipelineLibraryMavenPtrType) ToPipelineLibraryMavenPtrOutputWithContext(ctx context.Context) PipelineLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryMavenPtrOutput) +func (i *onlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrType) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) } -type PipelineLibraryMavenOutput struct{ *pulumi.OutputState } +type OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput struct{ *pulumi.OutputState } -func (PipelineLibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineLibraryMaven)(nil)).Elem() +func (OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress)(nil)).Elem() } -func (o PipelineLibraryMavenOutput) ToPipelineLibraryMavenOutput() PipelineLibraryMavenOutput { +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput { return o } -func (o PipelineLibraryMavenOutput) ToPipelineLibraryMavenOutputWithContext(ctx context.Context) PipelineLibraryMavenOutput { +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput { return o } -func (o PipelineLibraryMavenOutput) ToPipelineLibraryMavenPtrOutput() PipelineLibraryMavenPtrOutput { - return o.ToPipelineLibraryMavenPtrOutputWithContext(context.Background()) +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { + return o.ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Background()) } -func (o PipelineLibraryMavenOutput) ToPipelineLibraryMavenPtrOutputWithContext(ctx context.Context) PipelineLibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineLibraryMaven) *PipelineLibraryMaven { +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress { return &v - }).(PipelineLibraryMavenPtrOutput) + }).(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) } -func (o PipelineLibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v PipelineLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) EstimatedCompletionTimeSeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *float64 { + return v.EstimatedCompletionTimeSeconds + }).(pulumi.Float64PtrOutput) } -func (o PipelineLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v PipelineLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) LatestVersionCurrentlyProcessing() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *int { + return v.LatestVersionCurrentlyProcessing + }).(pulumi.IntPtrOutput) } -func (o PipelineLibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) SyncProgressCompletion() pulumi.Float64PtrOutput { + return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *float64 { + return v.SyncProgressCompletion + }).(pulumi.Float64PtrOutput) } -type PipelineLibraryMavenPtrOutput struct{ *pulumi.OutputState } +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) SyncedRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *int { + return v.SyncedRowCount + }).(pulumi.IntPtrOutput) +} -func (PipelineLibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineLibraryMaven)(nil)).Elem() +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) TotalRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *int { + return v.TotalRowCount + }).(pulumi.IntPtrOutput) } -func (o PipelineLibraryMavenPtrOutput) ToPipelineLibraryMavenPtrOutput() PipelineLibraryMavenPtrOutput { +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 PipelineLibraryMavenPtrOutput) ToPipelineLibraryMavenPtrOutputWithContext(ctx context.Context) PipelineLibraryMavenPtrOutput { +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { return o } -func (o PipelineLibraryMavenPtrOutput) Elem() PipelineLibraryMavenOutput { - return o.ApplyT(func(v *PipelineLibraryMaven) PipelineLibraryMaven { +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) Elem() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput { + return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress { if v != nil { return *v } - var ret PipelineLibraryMaven + var ret OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress return ret - }).(PipelineLibraryMavenOutput) + }).(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) } -func (o PipelineLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineLibraryMaven) *string { +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) EstimatedCompletionTimeSeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *float64 { if v == nil { return nil } - return &v.Coordinates - }).(pulumi.StringPtrOutput) + return v.EstimatedCompletionTimeSeconds + }).(pulumi.Float64PtrOutput) } -func (o PipelineLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PipelineLibraryMaven) []string { +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) LatestVersionCurrentlyProcessing() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *int { if v == nil { return nil } - return v.Exclusions - }).(pulumi.StringArrayOutput) + return v.LatestVersionCurrentlyProcessing + }).(pulumi.IntPtrOutput) } -func (o PipelineLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineLibraryMaven) *string { +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) SyncProgressCompletion() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *float64 { if v == nil { return nil } - return v.Repo - }).(pulumi.StringPtrOutput) + return v.SyncProgressCompletion + }).(pulumi.Float64PtrOutput) } -type PipelineLibraryNotebook struct { - Path string `pulumi:"path"` +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) SyncedRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *int { + if v == nil { + return nil + } + return v.SyncedRowCount + }).(pulumi.IntPtrOutput) } -// PipelineLibraryNotebookInput is an input type that accepts PipelineLibraryNotebookArgs and PipelineLibraryNotebookOutput values. -// You can construct a concrete instance of `PipelineLibraryNotebookInput` via: +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: // -// PipelineLibraryNotebookArgs{...} -type PipelineLibraryNotebookInput interface { +// OnlineTableStatusFailedStatusArgs{...} +type OnlineTableStatusFailedStatusInput interface { pulumi.Input - ToPipelineLibraryNotebookOutput() PipelineLibraryNotebookOutput - ToPipelineLibraryNotebookOutputWithContext(context.Context) PipelineLibraryNotebookOutput + ToOnlineTableStatusFailedStatusOutput() OnlineTableStatusFailedStatusOutput + ToOnlineTableStatusFailedStatusOutputWithContext(context.Context) OnlineTableStatusFailedStatusOutput } -type PipelineLibraryNotebookArgs struct { - Path pulumi.StringInput `pulumi:"path"` +type OnlineTableStatusFailedStatusArgs struct { + LastProcessedCommitVersion pulumi.IntPtrInput `pulumi:"lastProcessedCommitVersion"` + Timestamp pulumi.StringPtrInput `pulumi:"timestamp"` } -func (PipelineLibraryNotebookArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineLibraryNotebook)(nil)).Elem() +func (OnlineTableStatusFailedStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusFailedStatus)(nil)).Elem() } -func (i PipelineLibraryNotebookArgs) ToPipelineLibraryNotebookOutput() PipelineLibraryNotebookOutput { - return i.ToPipelineLibraryNotebookOutputWithContext(context.Background()) +func (i OnlineTableStatusFailedStatusArgs) ToOnlineTableStatusFailedStatusOutput() OnlineTableStatusFailedStatusOutput { + return i.ToOnlineTableStatusFailedStatusOutputWithContext(context.Background()) } -func (i PipelineLibraryNotebookArgs) ToPipelineLibraryNotebookOutputWithContext(ctx context.Context) PipelineLibraryNotebookOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryNotebookOutput) +func (i OnlineTableStatusFailedStatusArgs) ToOnlineTableStatusFailedStatusOutputWithContext(ctx context.Context) OnlineTableStatusFailedStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusFailedStatusOutput) } -func (i PipelineLibraryNotebookArgs) ToPipelineLibraryNotebookPtrOutput() PipelineLibraryNotebookPtrOutput { - return i.ToPipelineLibraryNotebookPtrOutputWithContext(context.Background()) +func (i OnlineTableStatusFailedStatusArgs) ToOnlineTableStatusFailedStatusPtrOutput() OnlineTableStatusFailedStatusPtrOutput { + return i.ToOnlineTableStatusFailedStatusPtrOutputWithContext(context.Background()) } -func (i PipelineLibraryNotebookArgs) ToPipelineLibraryNotebookPtrOutputWithContext(ctx context.Context) PipelineLibraryNotebookPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryNotebookOutput).ToPipelineLibraryNotebookPtrOutputWithContext(ctx) +func (i OnlineTableStatusFailedStatusArgs) ToOnlineTableStatusFailedStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusFailedStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusFailedStatusOutput).ToOnlineTableStatusFailedStatusPtrOutputWithContext(ctx) } -// PipelineLibraryNotebookPtrInput is an input type that accepts PipelineLibraryNotebookArgs, PipelineLibraryNotebookPtr and PipelineLibraryNotebookPtrOutput values. -// You can construct a concrete instance of `PipelineLibraryNotebookPtrInput` via: +// OnlineTableStatusFailedStatusPtrInput is an input type that accepts OnlineTableStatusFailedStatusArgs, OnlineTableStatusFailedStatusPtr and OnlineTableStatusFailedStatusPtrOutput values. +// You can construct a concrete instance of `OnlineTableStatusFailedStatusPtrInput` via: // -// PipelineLibraryNotebookArgs{...} +// OnlineTableStatusFailedStatusArgs{...} // // or: // // nil -type PipelineLibraryNotebookPtrInput interface { +type OnlineTableStatusFailedStatusPtrInput interface { pulumi.Input - ToPipelineLibraryNotebookPtrOutput() PipelineLibraryNotebookPtrOutput - ToPipelineLibraryNotebookPtrOutputWithContext(context.Context) PipelineLibraryNotebookPtrOutput + ToOnlineTableStatusFailedStatusPtrOutput() OnlineTableStatusFailedStatusPtrOutput + ToOnlineTableStatusFailedStatusPtrOutputWithContext(context.Context) OnlineTableStatusFailedStatusPtrOutput } -type pipelineLibraryNotebookPtrType PipelineLibraryNotebookArgs +type onlineTableStatusFailedStatusPtrType OnlineTableStatusFailedStatusArgs -func PipelineLibraryNotebookPtr(v *PipelineLibraryNotebookArgs) PipelineLibraryNotebookPtrInput { - return (*pipelineLibraryNotebookPtrType)(v) +func OnlineTableStatusFailedStatusPtr(v *OnlineTableStatusFailedStatusArgs) OnlineTableStatusFailedStatusPtrInput { + return (*onlineTableStatusFailedStatusPtrType)(v) } -func (*pipelineLibraryNotebookPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineLibraryNotebook)(nil)).Elem() +func (*onlineTableStatusFailedStatusPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusFailedStatus)(nil)).Elem() } -func (i *pipelineLibraryNotebookPtrType) ToPipelineLibraryNotebookPtrOutput() PipelineLibraryNotebookPtrOutput { - return i.ToPipelineLibraryNotebookPtrOutputWithContext(context.Background()) +func (i *onlineTableStatusFailedStatusPtrType) ToOnlineTableStatusFailedStatusPtrOutput() OnlineTableStatusFailedStatusPtrOutput { + return i.ToOnlineTableStatusFailedStatusPtrOutputWithContext(context.Background()) } -func (i *pipelineLibraryNotebookPtrType) ToPipelineLibraryNotebookPtrOutputWithContext(ctx context.Context) PipelineLibraryNotebookPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryNotebookPtrOutput) +func (i *onlineTableStatusFailedStatusPtrType) ToOnlineTableStatusFailedStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusFailedStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusFailedStatusPtrOutput) } -type PipelineLibraryNotebookOutput struct{ *pulumi.OutputState } +type OnlineTableStatusFailedStatusOutput struct{ *pulumi.OutputState } -func (PipelineLibraryNotebookOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineLibraryNotebook)(nil)).Elem() +func (OnlineTableStatusFailedStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusFailedStatus)(nil)).Elem() } -func (o PipelineLibraryNotebookOutput) ToPipelineLibraryNotebookOutput() PipelineLibraryNotebookOutput { +func (o OnlineTableStatusFailedStatusOutput) ToOnlineTableStatusFailedStatusOutput() OnlineTableStatusFailedStatusOutput { return o } -func (o PipelineLibraryNotebookOutput) ToPipelineLibraryNotebookOutputWithContext(ctx context.Context) PipelineLibraryNotebookOutput { +func (o OnlineTableStatusFailedStatusOutput) ToOnlineTableStatusFailedStatusOutputWithContext(ctx context.Context) OnlineTableStatusFailedStatusOutput { return o } -func (o PipelineLibraryNotebookOutput) ToPipelineLibraryNotebookPtrOutput() PipelineLibraryNotebookPtrOutput { - return o.ToPipelineLibraryNotebookPtrOutputWithContext(context.Background()) +func (o OnlineTableStatusFailedStatusOutput) ToOnlineTableStatusFailedStatusPtrOutput() OnlineTableStatusFailedStatusPtrOutput { + return o.ToOnlineTableStatusFailedStatusPtrOutputWithContext(context.Background()) } -func (o PipelineLibraryNotebookOutput) ToPipelineLibraryNotebookPtrOutputWithContext(ctx context.Context) PipelineLibraryNotebookPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineLibraryNotebook) *PipelineLibraryNotebook { +func (o OnlineTableStatusFailedStatusOutput) ToOnlineTableStatusFailedStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusFailedStatusPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableStatusFailedStatus) *OnlineTableStatusFailedStatus { return &v - }).(PipelineLibraryNotebookPtrOutput) + }).(OnlineTableStatusFailedStatusPtrOutput) } -func (o PipelineLibraryNotebookOutput) Path() pulumi.StringOutput { - return o.ApplyT(func(v PipelineLibraryNotebook) string { return v.Path }).(pulumi.StringOutput) +func (o OnlineTableStatusFailedStatusOutput) LastProcessedCommitVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusFailedStatus) *int { return v.LastProcessedCommitVersion }).(pulumi.IntPtrOutput) } -type PipelineLibraryNotebookPtrOutput struct{ *pulumi.OutputState } +func (o OnlineTableStatusFailedStatusOutput) Timestamp() pulumi.StringPtrOutput { + return o.ApplyT(func(v OnlineTableStatusFailedStatus) *string { return v.Timestamp }).(pulumi.StringPtrOutput) +} -func (PipelineLibraryNotebookPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineLibraryNotebook)(nil)).Elem() +type OnlineTableStatusFailedStatusPtrOutput struct{ *pulumi.OutputState } + +func (OnlineTableStatusFailedStatusPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusFailedStatus)(nil)).Elem() } -func (o PipelineLibraryNotebookPtrOutput) ToPipelineLibraryNotebookPtrOutput() PipelineLibraryNotebookPtrOutput { +func (o OnlineTableStatusFailedStatusPtrOutput) ToOnlineTableStatusFailedStatusPtrOutput() OnlineTableStatusFailedStatusPtrOutput { return o } -func (o PipelineLibraryNotebookPtrOutput) ToPipelineLibraryNotebookPtrOutputWithContext(ctx context.Context) PipelineLibraryNotebookPtrOutput { +func (o OnlineTableStatusFailedStatusPtrOutput) ToOnlineTableStatusFailedStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusFailedStatusPtrOutput { return o } -func (o PipelineLibraryNotebookPtrOutput) Elem() PipelineLibraryNotebookOutput { - return o.ApplyT(func(v *PipelineLibraryNotebook) PipelineLibraryNotebook { +func (o OnlineTableStatusFailedStatusPtrOutput) Elem() OnlineTableStatusFailedStatusOutput { + return o.ApplyT(func(v *OnlineTableStatusFailedStatus) OnlineTableStatusFailedStatus { if v != nil { return *v } - var ret PipelineLibraryNotebook + var ret OnlineTableStatusFailedStatus return ret - }).(PipelineLibraryNotebookOutput) + }).(OnlineTableStatusFailedStatusOutput) } -func (o PipelineLibraryNotebookPtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineLibraryNotebook) *string { +func (o OnlineTableStatusFailedStatusPtrOutput) LastProcessedCommitVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusFailedStatus) *int { if v == nil { return nil } - return &v.Path + return v.LastProcessedCommitVersion + }).(pulumi.IntPtrOutput) +} + +func (o OnlineTableStatusFailedStatusPtrOutput) Timestamp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusFailedStatus) *string { + if v == nil { + return nil + } + return v.Timestamp }).(pulumi.StringPtrOutput) } -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 OnlineTableStatusProvisioningStatus struct { + InitialPipelineSyncProgress *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress `pulumi:"initialPipelineSyncProgress"` } -// PipelineNotificationInput is an input type that accepts PipelineNotificationArgs and PipelineNotificationOutput values. -// You can construct a concrete instance of `PipelineNotificationInput` via: +// OnlineTableStatusProvisioningStatusInput is an input type that accepts OnlineTableStatusProvisioningStatusArgs and OnlineTableStatusProvisioningStatusOutput values. +// You can construct a concrete instance of `OnlineTableStatusProvisioningStatusInput` via: // -// PipelineNotificationArgs{...} -type PipelineNotificationInput interface { +// OnlineTableStatusProvisioningStatusArgs{...} +type OnlineTableStatusProvisioningStatusInput interface { pulumi.Input - ToPipelineNotificationOutput() PipelineNotificationOutput - ToPipelineNotificationOutputWithContext(context.Context) PipelineNotificationOutput + ToOnlineTableStatusProvisioningStatusOutput() OnlineTableStatusProvisioningStatusOutput + ToOnlineTableStatusProvisioningStatusOutputWithContext(context.Context) OnlineTableStatusProvisioningStatusOutput } -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 OnlineTableStatusProvisioningStatusArgs struct { + InitialPipelineSyncProgress OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrInput `pulumi:"initialPipelineSyncProgress"` } -func (PipelineNotificationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineNotification)(nil)).Elem() +func (OnlineTableStatusProvisioningStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusProvisioningStatus)(nil)).Elem() } -func (i PipelineNotificationArgs) ToPipelineNotificationOutput() PipelineNotificationOutput { - return i.ToPipelineNotificationOutputWithContext(context.Background()) +func (i OnlineTableStatusProvisioningStatusArgs) ToOnlineTableStatusProvisioningStatusOutput() OnlineTableStatusProvisioningStatusOutput { + return i.ToOnlineTableStatusProvisioningStatusOutputWithContext(context.Background()) } -func (i PipelineNotificationArgs) ToPipelineNotificationOutputWithContext(ctx context.Context) PipelineNotificationOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineNotificationOutput) +func (i OnlineTableStatusProvisioningStatusArgs) ToOnlineTableStatusProvisioningStatusOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusProvisioningStatusOutput) } -// PipelineNotificationArrayInput is an input type that accepts PipelineNotificationArray and PipelineNotificationArrayOutput values. -// You can construct a concrete instance of `PipelineNotificationArrayInput` via: +func (i OnlineTableStatusProvisioningStatusArgs) ToOnlineTableStatusProvisioningStatusPtrOutput() OnlineTableStatusProvisioningStatusPtrOutput { + return i.ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(context.Background()) +} + +func (i OnlineTableStatusProvisioningStatusArgs) ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusProvisioningStatusOutput).ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(ctx) +} + +// OnlineTableStatusProvisioningStatusPtrInput is an input type that accepts OnlineTableStatusProvisioningStatusArgs, OnlineTableStatusProvisioningStatusPtr and OnlineTableStatusProvisioningStatusPtrOutput values. +// You can construct a concrete instance of `OnlineTableStatusProvisioningStatusPtrInput` via: // -// PipelineNotificationArray{ PipelineNotificationArgs{...} } -type PipelineNotificationArrayInput interface { +// OnlineTableStatusProvisioningStatusArgs{...} +// +// or: +// +// nil +type OnlineTableStatusProvisioningStatusPtrInput interface { pulumi.Input - ToPipelineNotificationArrayOutput() PipelineNotificationArrayOutput - ToPipelineNotificationArrayOutputWithContext(context.Context) PipelineNotificationArrayOutput + ToOnlineTableStatusProvisioningStatusPtrOutput() OnlineTableStatusProvisioningStatusPtrOutput + ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(context.Context) OnlineTableStatusProvisioningStatusPtrOutput } -type PipelineNotificationArray []PipelineNotificationInput +type onlineTableStatusProvisioningStatusPtrType OnlineTableStatusProvisioningStatusArgs -func (PipelineNotificationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PipelineNotification)(nil)).Elem() +func OnlineTableStatusProvisioningStatusPtr(v *OnlineTableStatusProvisioningStatusArgs) OnlineTableStatusProvisioningStatusPtrInput { + return (*onlineTableStatusProvisioningStatusPtrType)(v) } -func (i PipelineNotificationArray) ToPipelineNotificationArrayOutput() PipelineNotificationArrayOutput { - return i.ToPipelineNotificationArrayOutputWithContext(context.Background()) +func (*onlineTableStatusProvisioningStatusPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusProvisioningStatus)(nil)).Elem() } -func (i PipelineNotificationArray) ToPipelineNotificationArrayOutputWithContext(ctx context.Context) PipelineNotificationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineNotificationArrayOutput) +func (i *onlineTableStatusProvisioningStatusPtrType) ToOnlineTableStatusProvisioningStatusPtrOutput() OnlineTableStatusProvisioningStatusPtrOutput { + return i.ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(context.Background()) } -type PipelineNotificationOutput struct{ *pulumi.OutputState } +func (i *onlineTableStatusProvisioningStatusPtrType) ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusProvisioningStatusPtrOutput) +} -func (PipelineNotificationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineNotification)(nil)).Elem() +type OnlineTableStatusProvisioningStatusOutput struct{ *pulumi.OutputState } + +func (OnlineTableStatusProvisioningStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusProvisioningStatus)(nil)).Elem() } -func (o PipelineNotificationOutput) ToPipelineNotificationOutput() PipelineNotificationOutput { +func (o OnlineTableStatusProvisioningStatusOutput) ToOnlineTableStatusProvisioningStatusOutput() OnlineTableStatusProvisioningStatusOutput { return o } -func (o PipelineNotificationOutput) ToPipelineNotificationOutputWithContext(ctx context.Context) PipelineNotificationOutput { +func (o OnlineTableStatusProvisioningStatusOutput) ToOnlineTableStatusProvisioningStatusOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusOutput { 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 OnlineTableStatusProvisioningStatusOutput) ToOnlineTableStatusProvisioningStatusPtrOutput() OnlineTableStatusProvisioningStatusPtrOutput { + return o.ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(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 OnlineTableStatusProvisioningStatusOutput) ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableStatusProvisioningStatus) *OnlineTableStatusProvisioningStatus { + return &v + }).(OnlineTableStatusProvisioningStatusPtrOutput) } -type PipelineNotificationArrayOutput struct{ *pulumi.OutputState } +func (o OnlineTableStatusProvisioningStatusOutput) InitialPipelineSyncProgress() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { + return o.ApplyT(func(v OnlineTableStatusProvisioningStatus) *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress { + return v.InitialPipelineSyncProgress + }).(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) +} -func (PipelineNotificationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PipelineNotification)(nil)).Elem() +type OnlineTableStatusProvisioningStatusPtrOutput struct{ *pulumi.OutputState } + +func (OnlineTableStatusProvisioningStatusPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusProvisioningStatus)(nil)).Elem() } -func (o PipelineNotificationArrayOutput) ToPipelineNotificationArrayOutput() PipelineNotificationArrayOutput { +func (o OnlineTableStatusProvisioningStatusPtrOutput) ToOnlineTableStatusProvisioningStatusPtrOutput() OnlineTableStatusProvisioningStatusPtrOutput { return o } -func (o PipelineNotificationArrayOutput) ToPipelineNotificationArrayOutputWithContext(ctx context.Context) PipelineNotificationArrayOutput { +func (o OnlineTableStatusProvisioningStatusPtrOutput) ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusPtrOutput { 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 OnlineTableStatusProvisioningStatusPtrOutput) Elem() OnlineTableStatusProvisioningStatusOutput { + return o.ApplyT(func(v *OnlineTableStatusProvisioningStatus) OnlineTableStatusProvisioningStatus { + if v != nil { + return *v + } + var ret OnlineTableStatusProvisioningStatus + return ret + }).(OnlineTableStatusProvisioningStatusOutput) } -type RecipientIpAccessList struct { - // Allowed IP Addresses in CIDR notation. Limit of 100. - AllowedIpAddresses []string `pulumi:"allowedIpAddresses"` +func (o OnlineTableStatusProvisioningStatusPtrOutput) InitialPipelineSyncProgress() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusProvisioningStatus) *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress { + if v == nil { + return nil + } + return v.InitialPipelineSyncProgress + }).(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) } -// RecipientIpAccessListInput is an input type that accepts RecipientIpAccessListArgs and RecipientIpAccessListOutput values. -// You can construct a concrete instance of `RecipientIpAccessListInput` via: +type OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress struct { + EstimatedCompletionTimeSeconds *float64 `pulumi:"estimatedCompletionTimeSeconds"` + LatestVersionCurrentlyProcessing *int `pulumi:"latestVersionCurrentlyProcessing"` + SyncProgressCompletion *float64 `pulumi:"syncProgressCompletion"` + SyncedRowCount *int `pulumi:"syncedRowCount"` + TotalRowCount *int `pulumi:"totalRowCount"` +} + +// OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressInput is an input type that accepts OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs and OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput values. +// You can construct a concrete instance of `OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressInput` via: // -// RecipientIpAccessListArgs{...} -type RecipientIpAccessListInput interface { +// OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs{...} +type OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressInput interface { pulumi.Input - ToRecipientIpAccessListOutput() RecipientIpAccessListOutput - ToRecipientIpAccessListOutputWithContext(context.Context) RecipientIpAccessListOutput + ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput + ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutputWithContext(context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput } -type RecipientIpAccessListArgs struct { - // Allowed IP Addresses in CIDR notation. Limit of 100. - AllowedIpAddresses pulumi.StringArrayInput `pulumi:"allowedIpAddresses"` +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 (RecipientIpAccessListArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RecipientIpAccessList)(nil)).Elem() +func (OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress)(nil)).Elem() } -func (i RecipientIpAccessListArgs) ToRecipientIpAccessListOutput() RecipientIpAccessListOutput { - return i.ToRecipientIpAccessListOutputWithContext(context.Background()) +func (i OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput { + return i.ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutputWithContext(context.Background()) } -func (i RecipientIpAccessListArgs) ToRecipientIpAccessListOutputWithContext(ctx context.Context) RecipientIpAccessListOutput { - return pulumi.ToOutputWithContext(ctx, i).(RecipientIpAccessListOutput) +func (i OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) } -func (i RecipientIpAccessListArgs) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { - return i.ToRecipientIpAccessListPtrOutputWithContext(context.Background()) +func (i OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { + return i.ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Background()) } -func (i RecipientIpAccessListArgs) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RecipientIpAccessListOutput).ToRecipientIpAccessListPtrOutputWithContext(ctx) +func (i OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput).ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx) } -// RecipientIpAccessListPtrInput is an input type that accepts RecipientIpAccessListArgs, RecipientIpAccessListPtr and RecipientIpAccessListPtrOutput values. -// You can construct a concrete instance of `RecipientIpAccessListPtrInput` via: +// OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrInput is an input type that accepts OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs, OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtr and OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput values. +// You can construct a concrete instance of `OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrInput` via: // -// RecipientIpAccessListArgs{...} +// OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs{...} // // or: // // nil -type RecipientIpAccessListPtrInput interface { +type OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrInput interface { pulumi.Input - ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput - ToRecipientIpAccessListPtrOutputWithContext(context.Context) RecipientIpAccessListPtrOutput + ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput + ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput } -type recipientIpAccessListPtrType RecipientIpAccessListArgs +type onlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrType OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs -func RecipientIpAccessListPtr(v *RecipientIpAccessListArgs) RecipientIpAccessListPtrInput { - return (*recipientIpAccessListPtrType)(v) +func OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtr(v *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrInput { + return (*onlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrType)(v) } -func (*recipientIpAccessListPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**RecipientIpAccessList)(nil)).Elem() +func (*onlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress)(nil)).Elem() } -func (i *recipientIpAccessListPtrType) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { - return i.ToRecipientIpAccessListPtrOutputWithContext(context.Background()) +func (i *onlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrType) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { + return i.ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Background()) } -func (i *recipientIpAccessListPtrType) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RecipientIpAccessListPtrOutput) +func (i *onlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrType) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) } -type RecipientIpAccessListOutput struct{ *pulumi.OutputState } +type OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput struct{ *pulumi.OutputState } -func (RecipientIpAccessListOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RecipientIpAccessList)(nil)).Elem() +func (OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress)(nil)).Elem() } -func (o RecipientIpAccessListOutput) ToRecipientIpAccessListOutput() RecipientIpAccessListOutput { +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput { return o } -func (o RecipientIpAccessListOutput) ToRecipientIpAccessListOutputWithContext(ctx context.Context) RecipientIpAccessListOutput { +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput { return o } -func (o RecipientIpAccessListOutput) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { - return o.ToRecipientIpAccessListPtrOutputWithContext(context.Background()) +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { + return o.ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Background()) } -func (o RecipientIpAccessListOutput) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v RecipientIpAccessList) *RecipientIpAccessList { +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress { return &v - }).(RecipientIpAccessListPtrOutput) + }).(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) } -// 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 OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) EstimatedCompletionTimeSeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *float64 { + return v.EstimatedCompletionTimeSeconds + }).(pulumi.Float64PtrOutput) } -type RecipientIpAccessListPtrOutput struct{ *pulumi.OutputState } +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) LatestVersionCurrentlyProcessing() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *int { + return v.LatestVersionCurrentlyProcessing + }).(pulumi.IntPtrOutput) +} -func (RecipientIpAccessListPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RecipientIpAccessList)(nil)).Elem() +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) SyncProgressCompletion() pulumi.Float64PtrOutput { + return o.ApplyT(func(v OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *float64 { + return v.SyncProgressCompletion + }).(pulumi.Float64PtrOutput) } -func (o RecipientIpAccessListPtrOutput) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) SyncedRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *int { return v.SyncedRowCount }).(pulumi.IntPtrOutput) +} + +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) TotalRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *int { return v.TotalRowCount }).(pulumi.IntPtrOutput) +} + +type OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput struct{ *pulumi.OutputState } + +func (OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress)(nil)).Elem() +} + +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { return o } -func (o RecipientIpAccessListPtrOutput) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { return o } -func (o RecipientIpAccessListPtrOutput) Elem() RecipientIpAccessListOutput { - return o.ApplyT(func(v *RecipientIpAccessList) RecipientIpAccessList { +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) Elem() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput { + return o.ApplyT(func(v *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress { if v != nil { return *v } - var ret RecipientIpAccessList + var ret OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress return ret - }).(RecipientIpAccessListOutput) + }).(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) } -// Allowed IP Addresses in CIDR notation. Limit of 100. -func (o RecipientIpAccessListPtrOutput) AllowedIpAddresses() pulumi.StringArrayOutput { - return o.ApplyT(func(v *RecipientIpAccessList) []string { +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) EstimatedCompletionTimeSeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *float64 { if v == nil { return nil } - return v.AllowedIpAddresses - }).(pulumi.StringArrayOutput) + return v.EstimatedCompletionTimeSeconds + }).(pulumi.Float64PtrOutput) } -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 Token was created, in epoch milliseconds. - CreatedAt *int `pulumi:"createdAt"` - // Username of recipient token creator. - CreatedBy *string `pulumi:"createdBy"` - // Expiration timestamp of the token in epoch milliseconds. - ExpirationTime *int `pulumi:"expirationTime"` - // ID of this recipient - same as the `name`. - Id *string `pulumi:"id"` - // Time at which this recipient Token was updated, in epoch milliseconds. - UpdatedAt *int `pulumi:"updatedAt"` - // Username of recipient Token updater. - UpdatedBy *string `pulumi:"updatedBy"` +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) LatestVersionCurrentlyProcessing() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *int { + if v == nil { + return nil + } + return v.LatestVersionCurrentlyProcessing + }).(pulumi.IntPtrOutput) } -// RecipientTokenInput is an input type that accepts RecipientTokenArgs and RecipientTokenOutput values. -// You can construct a concrete instance of `RecipientTokenInput` via: +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 OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) SyncedRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *int { + if v == nil { + return nil + } + return v.SyncedRowCount + }).(pulumi.IntPtrOutput) +} + +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) TotalRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *int { + if v == nil { + return nil + } + return v.TotalRowCount + }).(pulumi.IntPtrOutput) +} + +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: // -// RecipientTokenArgs{...} -type RecipientTokenInput interface { +// OnlineTableStatusTriggeredUpdateStatusArgs{...} +type OnlineTableStatusTriggeredUpdateStatusInput interface { pulumi.Input - ToRecipientTokenOutput() RecipientTokenOutput - ToRecipientTokenOutputWithContext(context.Context) RecipientTokenOutput + ToOnlineTableStatusTriggeredUpdateStatusOutput() OnlineTableStatusTriggeredUpdateStatusOutput + ToOnlineTableStatusTriggeredUpdateStatusOutputWithContext(context.Context) OnlineTableStatusTriggeredUpdateStatusOutput } -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 Token was created, in epoch milliseconds. - CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` - // Username of recipient token creator. - CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` - // Expiration timestamp of the token in epoch milliseconds. - ExpirationTime pulumi.IntPtrInput `pulumi:"expirationTime"` - // ID of this recipient - same as the `name`. - Id pulumi.StringPtrInput `pulumi:"id"` - // Time at which this recipient Token was updated, in epoch milliseconds. - UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` - // Username of recipient Token updater. - UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` +type OnlineTableStatusTriggeredUpdateStatusArgs struct { + LastProcessedCommitVersion pulumi.IntPtrInput `pulumi:"lastProcessedCommitVersion"` + Timestamp pulumi.StringPtrInput `pulumi:"timestamp"` + TriggeredUpdateProgress OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrInput `pulumi:"triggeredUpdateProgress"` } -func (RecipientTokenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RecipientToken)(nil)).Elem() +func (OnlineTableStatusTriggeredUpdateStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusTriggeredUpdateStatus)(nil)).Elem() } -func (i RecipientTokenArgs) ToRecipientTokenOutput() RecipientTokenOutput { - return i.ToRecipientTokenOutputWithContext(context.Background()) +func (i OnlineTableStatusTriggeredUpdateStatusArgs) ToOnlineTableStatusTriggeredUpdateStatusOutput() OnlineTableStatusTriggeredUpdateStatusOutput { + return i.ToOnlineTableStatusTriggeredUpdateStatusOutputWithContext(context.Background()) } -func (i RecipientTokenArgs) ToRecipientTokenOutputWithContext(ctx context.Context) RecipientTokenOutput { - return pulumi.ToOutputWithContext(ctx, i).(RecipientTokenOutput) +func (i OnlineTableStatusTriggeredUpdateStatusArgs) ToOnlineTableStatusTriggeredUpdateStatusOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusTriggeredUpdateStatusOutput) } -// RecipientTokenArrayInput is an input type that accepts RecipientTokenArray and RecipientTokenArrayOutput values. -// You can construct a concrete instance of `RecipientTokenArrayInput` 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: // -// RecipientTokenArray{ RecipientTokenArgs{...} } -type RecipientTokenArrayInput interface { +// OnlineTableStatusTriggeredUpdateStatusArgs{...} +// +// or: +// +// nil +type OnlineTableStatusTriggeredUpdateStatusPtrInput interface { pulumi.Input - ToRecipientTokenArrayOutput() RecipientTokenArrayOutput - ToRecipientTokenArrayOutputWithContext(context.Context) RecipientTokenArrayOutput + ToOnlineTableStatusTriggeredUpdateStatusPtrOutput() OnlineTableStatusTriggeredUpdateStatusPtrOutput + ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(context.Context) OnlineTableStatusTriggeredUpdateStatusPtrOutput } -type RecipientTokenArray []RecipientTokenInput +type onlineTableStatusTriggeredUpdateStatusPtrType OnlineTableStatusTriggeredUpdateStatusArgs -func (RecipientTokenArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]RecipientToken)(nil)).Elem() +func OnlineTableStatusTriggeredUpdateStatusPtr(v *OnlineTableStatusTriggeredUpdateStatusArgs) OnlineTableStatusTriggeredUpdateStatusPtrInput { + return (*onlineTableStatusTriggeredUpdateStatusPtrType)(v) } -func (i RecipientTokenArray) ToRecipientTokenArrayOutput() RecipientTokenArrayOutput { - return i.ToRecipientTokenArrayOutputWithContext(context.Background()) +func (*onlineTableStatusTriggeredUpdateStatusPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusTriggeredUpdateStatus)(nil)).Elem() } -func (i RecipientTokenArray) ToRecipientTokenArrayOutputWithContext(ctx context.Context) RecipientTokenArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RecipientTokenArrayOutput) +func (i *onlineTableStatusTriggeredUpdateStatusPtrType) ToOnlineTableStatusTriggeredUpdateStatusPtrOutput() OnlineTableStatusTriggeredUpdateStatusPtrOutput { + return i.ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(context.Background()) } -type RecipientTokenOutput struct{ *pulumi.OutputState } +func (i *onlineTableStatusTriggeredUpdateStatusPtrType) ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusTriggeredUpdateStatusPtrOutput) +} -func (RecipientTokenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RecipientToken)(nil)).Elem() +type OnlineTableStatusTriggeredUpdateStatusOutput struct{ *pulumi.OutputState } + +func (OnlineTableStatusTriggeredUpdateStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusTriggeredUpdateStatus)(nil)).Elem() } -func (o RecipientTokenOutput) ToRecipientTokenOutput() RecipientTokenOutput { +func (o OnlineTableStatusTriggeredUpdateStatusOutput) ToOnlineTableStatusTriggeredUpdateStatusOutput() OnlineTableStatusTriggeredUpdateStatusOutput { return o } -func (o RecipientTokenOutput) ToRecipientTokenOutputWithContext(ctx context.Context) RecipientTokenOutput { +func (o OnlineTableStatusTriggeredUpdateStatusOutput) ToOnlineTableStatusTriggeredUpdateStatusOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusOutput { 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) +func (o OnlineTableStatusTriggeredUpdateStatusOutput) ToOnlineTableStatusTriggeredUpdateStatusPtrOutput() OnlineTableStatusTriggeredUpdateStatusPtrOutput { + return o.ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(context.Background()) } -// Time at which this recipient Token was created, in epoch milliseconds. -func (o RecipientTokenOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v RecipientToken) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) +func (o OnlineTableStatusTriggeredUpdateStatusOutput) ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableStatusTriggeredUpdateStatus) *OnlineTableStatusTriggeredUpdateStatus { + return &v + }).(OnlineTableStatusTriggeredUpdateStatusPtrOutput) } -// Username of recipient token creator. -func (o RecipientTokenOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v RecipientToken) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +func (o OnlineTableStatusTriggeredUpdateStatusOutput) LastProcessedCommitVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatus) *int { return v.LastProcessedCommitVersion }).(pulumi.IntPtrOutput) } -// 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 OnlineTableStatusTriggeredUpdateStatusOutput) Timestamp() pulumi.StringPtrOutput { + return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatus) *string { return v.Timestamp }).(pulumi.StringPtrOutput) } -// ID of this recipient - same as the `name`. -func (o RecipientTokenOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v RecipientToken) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o OnlineTableStatusTriggeredUpdateStatusOutput) TriggeredUpdateProgress() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { + return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatus) *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress { + return v.TriggeredUpdateProgress + }).(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) } -// Time at which this recipient Token was updated, in epoch milliseconds. -func (o RecipientTokenOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v RecipientToken) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) +type OnlineTableStatusTriggeredUpdateStatusPtrOutput struct{ *pulumi.OutputState } + +func (OnlineTableStatusTriggeredUpdateStatusPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusTriggeredUpdateStatus)(nil)).Elem() } -// 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 OnlineTableStatusTriggeredUpdateStatusPtrOutput) ToOnlineTableStatusTriggeredUpdateStatusPtrOutput() OnlineTableStatusTriggeredUpdateStatusPtrOutput { + return o } -type RecipientTokenArrayOutput struct{ *pulumi.OutputState } +func (o OnlineTableStatusTriggeredUpdateStatusPtrOutput) ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusPtrOutput { + return o +} -func (RecipientTokenArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]RecipientToken)(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 RecipientTokenArrayOutput) ToRecipientTokenArrayOutput() RecipientTokenArrayOutput { - 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 RecipientTokenArrayOutput) ToRecipientTokenArrayOutputWithContext(ctx context.Context) RecipientTokenArrayOutput { - 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 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 OnlineTableStatusTriggeredUpdateStatusPtrOutput) TriggeredUpdateProgress() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatus) *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress { + if v == nil { + return nil + } + return v.TriggeredUpdateProgress + }).(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) } -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 repo. - Patterns []string `pulumi:"patterns"` +type OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress struct { + EstimatedCompletionTimeSeconds *float64 `pulumi:"estimatedCompletionTimeSeconds"` + LatestVersionCurrentlyProcessing *int `pulumi:"latestVersionCurrentlyProcessing"` + SyncProgressCompletion *float64 `pulumi:"syncProgressCompletion"` + SyncedRowCount *int `pulumi:"syncedRowCount"` + TotalRowCount *int `pulumi:"totalRowCount"` } -// RepoSparseCheckoutInput is an input type that accepts RepoSparseCheckoutArgs and RepoSparseCheckoutOutput values. -// You can construct a concrete instance of `RepoSparseCheckoutInput` via: +// OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressInput is an input type that accepts OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs and OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput values. +// You can construct a concrete instance of `OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressInput` via: // -// RepoSparseCheckoutArgs{...} -type RepoSparseCheckoutInput interface { +// OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs{...} +type OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressInput interface { pulumi.Input - ToRepoSparseCheckoutOutput() RepoSparseCheckoutOutput - ToRepoSparseCheckoutOutputWithContext(context.Context) RepoSparseCheckoutOutput + ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput + ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutputWithContext(context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput } -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 repo. - Patterns pulumi.StringArrayInput `pulumi:"patterns"` +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 (RepoSparseCheckoutArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RepoSparseCheckout)(nil)).Elem() +func (OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress)(nil)).Elem() } -func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutOutput() RepoSparseCheckoutOutput { - return i.ToRepoSparseCheckoutOutputWithContext(context.Background()) +func (i OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput { + return i.ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutputWithContext(context.Background()) } -func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutOutputWithContext(ctx context.Context) RepoSparseCheckoutOutput { - return pulumi.ToOutputWithContext(ctx, i).(RepoSparseCheckoutOutput) +func (i OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) } -func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { - return i.ToRepoSparseCheckoutPtrOutputWithContext(context.Background()) +func (i OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { + return i.ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(context.Background()) } -func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RepoSparseCheckoutOutput).ToRepoSparseCheckoutPtrOutputWithContext(ctx) +func (i OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput).ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(ctx) } -// RepoSparseCheckoutPtrInput is an input type that accepts RepoSparseCheckoutArgs, RepoSparseCheckoutPtr and RepoSparseCheckoutPtrOutput values. -// You can construct a concrete instance of `RepoSparseCheckoutPtrInput` via: +// OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrInput is an input type that accepts OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs, OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtr and OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput values. +// You can construct a concrete instance of `OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrInput` via: // -// RepoSparseCheckoutArgs{...} +// OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs{...} // // or: // // nil -type RepoSparseCheckoutPtrInput interface { +type OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrInput interface { pulumi.Input - ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput - ToRepoSparseCheckoutPtrOutputWithContext(context.Context) RepoSparseCheckoutPtrOutput + ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput + ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput } -type repoSparseCheckoutPtrType RepoSparseCheckoutArgs +type onlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrType OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs -func RepoSparseCheckoutPtr(v *RepoSparseCheckoutArgs) RepoSparseCheckoutPtrInput { - return (*repoSparseCheckoutPtrType)(v) +func OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtr(v *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrInput { + return (*onlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrType)(v) } -func (*repoSparseCheckoutPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**RepoSparseCheckout)(nil)).Elem() +func (*onlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress)(nil)).Elem() } -func (i *repoSparseCheckoutPtrType) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { - return i.ToRepoSparseCheckoutPtrOutputWithContext(context.Background()) +func (i *onlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrType) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { + return i.ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(context.Background()) } -func (i *repoSparseCheckoutPtrType) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RepoSparseCheckoutPtrOutput) +func (i *onlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrType) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) } -type RepoSparseCheckoutOutput struct{ *pulumi.OutputState } +type OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput struct{ *pulumi.OutputState } -func (RepoSparseCheckoutOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RepoSparseCheckout)(nil)).Elem() +func (OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress)(nil)).Elem() } -func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutOutput() RepoSparseCheckoutOutput { +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput { return o } -func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutOutputWithContext(ctx context.Context) RepoSparseCheckoutOutput { +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput { return o } -func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { - return o.ToRepoSparseCheckoutPtrOutputWithContext(context.Background()) +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { + return o.ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(context.Background()) } -func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v RepoSparseCheckout) *RepoSparseCheckout { +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress { return &v - }).(RepoSparseCheckoutPtrOutput) + }).(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) } -// 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 repo. -func (o RepoSparseCheckoutOutput) Patterns() pulumi.StringArrayOutput { - return o.ApplyT(func(v RepoSparseCheckout) []string { return v.Patterns }).(pulumi.StringArrayOutput) +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) EstimatedCompletionTimeSeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *float64 { + return v.EstimatedCompletionTimeSeconds + }).(pulumi.Float64PtrOutput) } -type RepoSparseCheckoutPtrOutput struct{ *pulumi.OutputState } +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) LatestVersionCurrentlyProcessing() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *int { + return v.LatestVersionCurrentlyProcessing + }).(pulumi.IntPtrOutput) +} -func (RepoSparseCheckoutPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RepoSparseCheckout)(nil)).Elem() +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) SyncProgressCompletion() pulumi.Float64PtrOutput { + return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *float64 { + return v.SyncProgressCompletion + }).(pulumi.Float64PtrOutput) } -func (o RepoSparseCheckoutPtrOutput) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) SyncedRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *int { return v.SyncedRowCount }).(pulumi.IntPtrOutput) +} + +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) TotalRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *int { return v.TotalRowCount }).(pulumi.IntPtrOutput) +} + +type OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput struct{ *pulumi.OutputState } + +func (OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress)(nil)).Elem() +} + +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { return o } -func (o RepoSparseCheckoutPtrOutput) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { return o } -func (o RepoSparseCheckoutPtrOutput) Elem() RepoSparseCheckoutOutput { - return o.ApplyT(func(v *RepoSparseCheckout) RepoSparseCheckout { +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) Elem() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput { + return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress { if v != nil { return *v } - var ret RepoSparseCheckout + var ret OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress return ret - }).(RepoSparseCheckoutOutput) + }).(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) } -// 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 repo. -func (o RepoSparseCheckoutPtrOutput) Patterns() pulumi.StringArrayOutput { - return o.ApplyT(func(v *RepoSparseCheckout) []string { +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) EstimatedCompletionTimeSeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *float64 { if v == nil { return nil } - return v.Patterns - }).(pulumi.StringArrayOutput) + return v.EstimatedCompletionTimeSeconds + }).(pulumi.Float64PtrOutput) } -type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins struct { - // The restrict workspace admins status for the workspace. - Status string `pulumi:"status"` +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) LatestVersionCurrentlyProcessing() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *int { + if v == nil { + return nil + } + return v.LatestVersionCurrentlyProcessing + }).(pulumi.IntPtrOutput) } -// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsInput is an input type that accepts RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs and RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput values. -// You can construct a concrete instance of `RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsInput` via: -// -// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs{...} -type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsInput interface { - pulumi.Input +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) SyncProgressCompletion() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *float64 { + if v == nil { + return nil + } + return v.SyncProgressCompletion + }).(pulumi.Float64PtrOutput) +} - ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput - ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) SyncedRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *int { + if v == nil { + return nil + } + return v.SyncedRowCount + }).(pulumi.IntPtrOutput) } -type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs struct { - // The restrict workspace admins status for the workspace. - Status pulumi.StringInput `pulumi:"status"` +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) TotalRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *int { + if v == nil { + return nil + } + return v.TotalRowCount + }).(pulumi.IntPtrOutput) } -func (RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() +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"` } -func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { - return i.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(context.Background()) +// 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 (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { - return pulumi.ToOutputWithContext(ctx, i).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) +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.StringInput `pulumi:"permissionLevel"` + // Application ID of the service_principal. + ServicePrincipalName pulumi.StringPtrInput `pulumi:"servicePrincipalName"` + // name of the user. + UserName pulumi.StringPtrInput `pulumi:"userName"` } -func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { - return i.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Background()) +func (PermissionsAccessControlArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PermissionsAccessControl)(nil)).Elem() } -func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput).ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx) +func (i PermissionsAccessControlArgs) ToPermissionsAccessControlOutput() PermissionsAccessControlOutput { + return i.ToPermissionsAccessControlOutputWithContext(context.Background()) } -// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput is an input type that accepts RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs, RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtr and RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput values. -// You can construct a concrete instance of `RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput` via: -// -// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs{...} -// -// or: +func (i PermissionsAccessControlArgs) ToPermissionsAccessControlOutputWithContext(ctx context.Context) PermissionsAccessControlOutput { + return pulumi.ToOutputWithContext(ctx, i).(PermissionsAccessControlOutput) +} + +// PermissionsAccessControlArrayInput is an input type that accepts PermissionsAccessControlArray and PermissionsAccessControlArrayOutput values. +// You can construct a concrete instance of `PermissionsAccessControlArrayInput` via: // -// nil -type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput interface { +// PermissionsAccessControlArray{ PermissionsAccessControlArgs{...} } +type PermissionsAccessControlArrayInput interface { pulumi.Input - ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput - ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput + ToPermissionsAccessControlArrayOutput() PermissionsAccessControlArrayOutput + ToPermissionsAccessControlArrayOutputWithContext(context.Context) PermissionsAccessControlArrayOutput } -type restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs - -func RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtr(v *RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput { - return (*restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType)(v) -} +type PermissionsAccessControlArray []PermissionsAccessControlInput -func (*restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() +func (PermissionsAccessControlArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PermissionsAccessControl)(nil)).Elem() } -func (i *restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { - return i.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Background()) +func (i PermissionsAccessControlArray) ToPermissionsAccessControlArrayOutput() PermissionsAccessControlArrayOutput { + return i.ToPermissionsAccessControlArrayOutputWithContext(context.Background()) } -func (i *restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) +func (i PermissionsAccessControlArray) ToPermissionsAccessControlArrayOutputWithContext(ctx context.Context) PermissionsAccessControlArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PermissionsAccessControlArrayOutput) } -type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput struct{ *pulumi.OutputState } +type PermissionsAccessControlOutput struct{ *pulumi.OutputState } -func (RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() +func (PermissionsAccessControlOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PermissionsAccessControl)(nil)).Elem() } -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { +func (o PermissionsAccessControlOutput) ToPermissionsAccessControlOutput() PermissionsAccessControlOutput { return o } -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { +func (o PermissionsAccessControlOutput) ToPermissionsAccessControlOutputWithContext(ctx context.Context) PermissionsAccessControlOutput { return o } -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { - return o.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Background()) +// 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 RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins) *RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins { - return &v - }).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) +// 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.StringOutput { + return o.ApplyT(func(v PermissionsAccessControl) string { return v.PermissionLevel }).(pulumi.StringOutput) } -// 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) +// Application ID of the service_principal. +func (o PermissionsAccessControlOutput) ServicePrincipalName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PermissionsAccessControl) *string { return v.ServicePrincipalName }).(pulumi.StringPtrOutput) } -type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput struct{ *pulumi.OutputState } - -func (RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() +// name of the user. +func (o PermissionsAccessControlOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PermissionsAccessControl) *string { return v.UserName }).(pulumi.StringPtrOutput) } -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { - return o +type PermissionsAccessControlArrayOutput struct{ *pulumi.OutputState } + +func (PermissionsAccessControlArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PermissionsAccessControl)(nil)).Elem() } -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { +func (o PermissionsAccessControlArrayOutput) ToPermissionsAccessControlArrayOutput() PermissionsAccessControlArrayOutput { return o } -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) Elem() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { - return o.ApplyT(func(v *RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins { - if v != nil { - return *v - } - var ret RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins - return ret - }).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) +func (o PermissionsAccessControlArrayOutput) ToPermissionsAccessControlArrayOutputWithContext(ctx context.Context) PermissionsAccessControlArrayOutput { + return o } -// 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.Status - }).(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 SecretScopeKeyvaultMetadata struct { - DnsName string `pulumi:"dnsName"` - ResourceId string `pulumi:"resourceId"` +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]interface{} `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]interface{} `pulumi:"sparkConf"` + SparkEnvVars map[string]interface{} `pulumi:"sparkEnvVars"` + SshPublicKeys []string `pulumi:"sshPublicKeys"` } -// SecretScopeKeyvaultMetadataInput is an input type that accepts SecretScopeKeyvaultMetadataArgs and SecretScopeKeyvaultMetadataOutput values. -// You can construct a concrete instance of `SecretScopeKeyvaultMetadataInput` via: +// PipelineClusterInput is an input type that accepts PipelineClusterArgs and PipelineClusterOutput values. +// You can construct a concrete instance of `PipelineClusterInput` via: // -// SecretScopeKeyvaultMetadataArgs{...} -type SecretScopeKeyvaultMetadataInput interface { +// PipelineClusterArgs{...} +type PipelineClusterInput interface { pulumi.Input - ToSecretScopeKeyvaultMetadataOutput() SecretScopeKeyvaultMetadataOutput - ToSecretScopeKeyvaultMetadataOutputWithContext(context.Context) SecretScopeKeyvaultMetadataOutput -} - -type SecretScopeKeyvaultMetadataArgs struct { - DnsName pulumi.StringInput `pulumi:"dnsName"` - ResourceId pulumi.StringInput `pulumi:"resourceId"` -} - -func (SecretScopeKeyvaultMetadataArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecretScopeKeyvaultMetadata)(nil)).Elem() + ToPipelineClusterOutput() PipelineClusterOutput + ToPipelineClusterOutputWithContext(context.Context) PipelineClusterOutput } -func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataOutput() SecretScopeKeyvaultMetadataOutput { - return i.ToSecretScopeKeyvaultMetadataOutputWithContext(context.Background()) +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.MapInput `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.MapInput `pulumi:"sparkConf"` + SparkEnvVars pulumi.MapInput `pulumi:"sparkEnvVars"` + SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` } -func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretScopeKeyvaultMetadataOutput) +func (PipelineClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineCluster)(nil)).Elem() } -func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { - return i.ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Background()) +func (i PipelineClusterArgs) ToPipelineClusterOutput() PipelineClusterOutput { + return i.ToPipelineClusterOutputWithContext(context.Background()) } -func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretScopeKeyvaultMetadataOutput).ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx) +func (i PipelineClusterArgs) ToPipelineClusterOutputWithContext(ctx context.Context) PipelineClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterOutput) } -// SecretScopeKeyvaultMetadataPtrInput is an input type that accepts SecretScopeKeyvaultMetadataArgs, SecretScopeKeyvaultMetadataPtr and SecretScopeKeyvaultMetadataPtrOutput values. -// You can construct a concrete instance of `SecretScopeKeyvaultMetadataPtrInput` via: -// -// SecretScopeKeyvaultMetadataArgs{...} -// -// or: +// PipelineClusterArrayInput is an input type that accepts PipelineClusterArray and PipelineClusterArrayOutput values. +// You can construct a concrete instance of `PipelineClusterArrayInput` via: // -// nil -type SecretScopeKeyvaultMetadataPtrInput interface { +// PipelineClusterArray{ PipelineClusterArgs{...} } +type PipelineClusterArrayInput interface { pulumi.Input - ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput - ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Context) SecretScopeKeyvaultMetadataPtrOutput + ToPipelineClusterArrayOutput() PipelineClusterArrayOutput + ToPipelineClusterArrayOutputWithContext(context.Context) PipelineClusterArrayOutput } -type secretScopeKeyvaultMetadataPtrType SecretScopeKeyvaultMetadataArgs - -func SecretScopeKeyvaultMetadataPtr(v *SecretScopeKeyvaultMetadataArgs) SecretScopeKeyvaultMetadataPtrInput { - return (*secretScopeKeyvaultMetadataPtrType)(v) -} +type PipelineClusterArray []PipelineClusterInput -func (*secretScopeKeyvaultMetadataPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SecretScopeKeyvaultMetadata)(nil)).Elem() +func (PipelineClusterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PipelineCluster)(nil)).Elem() } -func (i *secretScopeKeyvaultMetadataPtrType) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { - return i.ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Background()) +func (i PipelineClusterArray) ToPipelineClusterArrayOutput() PipelineClusterArrayOutput { + return i.ToPipelineClusterArrayOutputWithContext(context.Background()) } -func (i *secretScopeKeyvaultMetadataPtrType) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretScopeKeyvaultMetadataPtrOutput) +func (i PipelineClusterArray) ToPipelineClusterArrayOutputWithContext(ctx context.Context) PipelineClusterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterArrayOutput) } -type SecretScopeKeyvaultMetadataOutput struct{ *pulumi.OutputState } +type PipelineClusterOutput struct{ *pulumi.OutputState } -func (SecretScopeKeyvaultMetadataOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecretScopeKeyvaultMetadata)(nil)).Elem() +func (PipelineClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineCluster)(nil)).Elem() } -func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataOutput() SecretScopeKeyvaultMetadataOutput { +func (o PipelineClusterOutput) ToPipelineClusterOutput() PipelineClusterOutput { return o } -func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataOutput { +func (o PipelineClusterOutput) ToPipelineClusterOutputWithContext(ctx context.Context) PipelineClusterOutput { return o } -func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { - return o.ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Background()) +func (o PipelineClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PipelineCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) } -func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretScopeKeyvaultMetadata) *SecretScopeKeyvaultMetadata { - return &v - }).(SecretScopeKeyvaultMetadataPtrOutput) +func (o PipelineClusterOutput) Autoscale() PipelineClusterAutoscalePtrOutput { + return o.ApplyT(func(v PipelineCluster) *PipelineClusterAutoscale { return v.Autoscale }).(PipelineClusterAutoscalePtrOutput) } -func (o SecretScopeKeyvaultMetadataOutput) DnsName() pulumi.StringOutput { - return o.ApplyT(func(v SecretScopeKeyvaultMetadata) string { return v.DnsName }).(pulumi.StringOutput) +func (o PipelineClusterOutput) AwsAttributes() PipelineClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v PipelineCluster) *PipelineClusterAwsAttributes { return v.AwsAttributes }).(PipelineClusterAwsAttributesPtrOutput) } -func (o SecretScopeKeyvaultMetadataOutput) ResourceId() pulumi.StringOutput { - return o.ApplyT(func(v SecretScopeKeyvaultMetadata) string { return v.ResourceId }).(pulumi.StringOutput) +func (o PipelineClusterOutput) AzureAttributes() PipelineClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v PipelineCluster) *PipelineClusterAzureAttributes { return v.AzureAttributes }).(PipelineClusterAzureAttributesPtrOutput) } -type SecretScopeKeyvaultMetadataPtrOutput struct{ *pulumi.OutputState } - -func (SecretScopeKeyvaultMetadataPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecretScopeKeyvaultMetadata)(nil)).Elem() +func (o PipelineClusterOutput) ClusterLogConf() PipelineClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v PipelineCluster) *PipelineClusterClusterLogConf { return v.ClusterLogConf }).(PipelineClusterClusterLogConfPtrOutput) } -func (o SecretScopeKeyvaultMetadataPtrOutput) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { - return o +func (o PipelineClusterOutput) CustomTags() pulumi.MapOutput { + return o.ApplyT(func(v PipelineCluster) map[string]interface{} { return v.CustomTags }).(pulumi.MapOutput) } -func (o SecretScopeKeyvaultMetadataPtrOutput) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { - return o +func (o PipelineClusterOutput) DriverInstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineCluster) *string { return v.DriverInstancePoolId }).(pulumi.StringPtrOutput) } -func (o SecretScopeKeyvaultMetadataPtrOutput) Elem() SecretScopeKeyvaultMetadataOutput { - return o.ApplyT(func(v *SecretScopeKeyvaultMetadata) SecretScopeKeyvaultMetadata { - if v != nil { - return *v - } - var ret SecretScopeKeyvaultMetadata - return ret - }).(SecretScopeKeyvaultMetadataOutput) +func (o PipelineClusterOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineCluster) *string { return v.DriverNodeTypeId }).(pulumi.StringPtrOutput) } -func (o SecretScopeKeyvaultMetadataPtrOutput) DnsName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretScopeKeyvaultMetadata) *string { - if v == nil { - return nil - } - return &v.DnsName - }).(pulumi.StringPtrOutput) +func (o PipelineClusterOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PipelineCluster) *bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolPtrOutput) } -func (o SecretScopeKeyvaultMetadataPtrOutput) ResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretScopeKeyvaultMetadata) *string { - if v == nil { - return nil - } - return &v.ResourceId - }).(pulumi.StringPtrOutput) +func (o PipelineClusterOutput) GcpAttributes() PipelineClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v PipelineCluster) *PipelineClusterGcpAttributes { return v.GcpAttributes }).(PipelineClusterGcpAttributesPtrOutput) } -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"` - // Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, `NOTEBOOK_FILE` 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 table. - 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"` +func (o PipelineClusterOutput) InitScripts() PipelineClusterInitScriptArrayOutput { + return o.ApplyT(func(v PipelineCluster) []PipelineClusterInitScript { return v.InitScripts }).(PipelineClusterInitScriptArrayOutput) } -// 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 +func (o PipelineClusterOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +} - ToShareObjectOutput() ShareObjectOutput - ToShareObjectOutputWithContext(context.Context) ShareObjectOutput +func (o PipelineClusterOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineCluster) *string { return v.Label }).(pulumi.StringPtrOutput) } -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"` - // Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, `NOTEBOOK_FILE` 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 table. - 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"` +func (o PipelineClusterOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineCluster) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) } -func (ShareObjectArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ShareObject)(nil)).Elem() +func (o PipelineClusterOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v PipelineCluster) *int { return v.NumWorkers }).(pulumi.IntPtrOutput) } -func (i ShareObjectArgs) ToShareObjectOutput() ShareObjectOutput { - return i.ToShareObjectOutputWithContext(context.Background()) +func (o PipelineClusterOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) } -func (i ShareObjectArgs) ToShareObjectOutputWithContext(ctx context.Context) ShareObjectOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShareObjectOutput) +func (o PipelineClusterOutput) SparkConf() pulumi.MapOutput { + return o.ApplyT(func(v PipelineCluster) map[string]interface{} { return v.SparkConf }).(pulumi.MapOutput) } -// 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 +func (o PipelineClusterOutput) SparkEnvVars() pulumi.MapOutput { + return o.ApplyT(func(v PipelineCluster) map[string]interface{} { return v.SparkEnvVars }).(pulumi.MapOutput) +} - ToShareObjectArrayOutput() ShareObjectArrayOutput - ToShareObjectArrayOutputWithContext(context.Context) ShareObjectArrayOutput +func (o PipelineClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v PipelineCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) } -type ShareObjectArray []ShareObjectInput +type PipelineClusterArrayOutput struct{ *pulumi.OutputState } -func (ShareObjectArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShareObject)(nil)).Elem() +func (PipelineClusterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PipelineCluster)(nil)).Elem() } -func (i ShareObjectArray) ToShareObjectArrayOutput() ShareObjectArrayOutput { - return i.ToShareObjectArrayOutputWithContext(context.Background()) +func (o PipelineClusterArrayOutput) ToPipelineClusterArrayOutput() PipelineClusterArrayOutput { + return o } -func (i ShareObjectArray) ToShareObjectArrayOutputWithContext(ctx context.Context) ShareObjectArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShareObjectArrayOutput) +func (o PipelineClusterArrayOutput) ToPipelineClusterArrayOutputWithContext(ctx context.Context) PipelineClusterArrayOutput { + return o } -type ShareObjectOutput struct{ *pulumi.OutputState } +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 (ShareObjectOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShareObject)(nil)).Elem() +type PipelineClusterAutoscale struct { + MaxWorkers *int `pulumi:"maxWorkers"` + MinWorkers *int `pulumi:"minWorkers"` + Mode *string `pulumi:"mode"` } -func (o ShareObjectOutput) ToShareObjectOutput() ShareObjectOutput { - return o +// PipelineClusterAutoscaleInput is an input type that accepts PipelineClusterAutoscaleArgs and PipelineClusterAutoscaleOutput values. +// You can construct a concrete instance of `PipelineClusterAutoscaleInput` via: +// +// PipelineClusterAutoscaleArgs{...} +type PipelineClusterAutoscaleInput interface { + pulumi.Input + + ToPipelineClusterAutoscaleOutput() PipelineClusterAutoscaleOutput + ToPipelineClusterAutoscaleOutputWithContext(context.Context) PipelineClusterAutoscaleOutput } -func (o ShareObjectOutput) ToShareObjectOutputWithContext(ctx context.Context) ShareObjectOutput { - return o +type PipelineClusterAutoscaleArgs struct { + MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` + MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` + Mode pulumi.StringPtrInput `pulumi:"mode"` } -func (o ShareObjectOutput) AddedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v ShareObject) *int { return v.AddedAt }).(pulumi.IntPtrOutput) +func (PipelineClusterAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterAutoscale)(nil)).Elem() } -func (o ShareObjectOutput) AddedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShareObject) *string { return v.AddedBy }).(pulumi.StringPtrOutput) +func (i PipelineClusterAutoscaleArgs) ToPipelineClusterAutoscaleOutput() PipelineClusterAutoscaleOutput { + return i.ToPipelineClusterAutoscaleOutputWithContext(context.Background()) } -// 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 (i PipelineClusterAutoscaleArgs) ToPipelineClusterAutoscaleOutputWithContext(ctx context.Context) PipelineClusterAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAutoscaleOutput) } -// Description about the object. -func (o ShareObjectOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShareObject) *string { return v.Comment }).(pulumi.StringPtrOutput) +func (i PipelineClusterAutoscaleArgs) ToPipelineClusterAutoscalePtrOutput() PipelineClusterAutoscalePtrOutput { + return i.ToPipelineClusterAutoscalePtrOutputWithContext(context.Background()) } -// Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, `NOTEBOOK_FILE` are supported. -func (o ShareObjectOutput) DataObjectType() pulumi.StringOutput { - return o.ApplyT(func(v ShareObject) string { return v.DataObjectType }).(pulumi.StringOutput) +func (i PipelineClusterAutoscaleArgs) ToPipelineClusterAutoscalePtrOutputWithContext(ctx context.Context) PipelineClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAutoscaleOutput).ToPipelineClusterAutoscalePtrOutputWithContext(ctx) } -// 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. +// PipelineClusterAutoscalePtrInput is an input type that accepts PipelineClusterAutoscaleArgs, PipelineClusterAutoscalePtr and PipelineClusterAutoscalePtrOutput values. +// You can construct a concrete instance of `PipelineClusterAutoscalePtrInput` via: // -// 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) -} +// PipelineClusterAutoscaleArgs{...} +// +// or: +// +// nil +type PipelineClusterAutoscalePtrInput interface { + pulumi.Input -// Full name of the object, e.g. `catalog.schema.name` for a table. -func (o ShareObjectOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v ShareObject) string { return v.Name }).(pulumi.StringOutput) + ToPipelineClusterAutoscalePtrOutput() PipelineClusterAutoscalePtrOutput + ToPipelineClusterAutoscalePtrOutputWithContext(context.Context) PipelineClusterAutoscalePtrOutput } -func (o ShareObjectOutput) Partitions() ShareObjectPartitionArrayOutput { - return o.ApplyT(func(v ShareObject) []ShareObjectPartition { return v.Partitions }).(ShareObjectPartitionArrayOutput) +type pipelineClusterAutoscalePtrType PipelineClusterAutoscaleArgs + +func PipelineClusterAutoscalePtr(v *PipelineClusterAutoscaleArgs) PipelineClusterAutoscalePtrInput { + return (*pipelineClusterAutoscalePtrType)(v) } -// 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 (*pipelineClusterAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterAutoscale)(nil)).Elem() } -// 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 (i *pipelineClusterAutoscalePtrType) ToPipelineClusterAutoscalePtrOutput() PipelineClusterAutoscalePtrOutput { + return i.ToPipelineClusterAutoscalePtrOutputWithContext(context.Background()) } -// 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 (i *pipelineClusterAutoscalePtrType) ToPipelineClusterAutoscalePtrOutputWithContext(ctx context.Context) PipelineClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAutoscalePtrOutput) } -type ShareObjectArrayOutput struct{ *pulumi.OutputState } +type PipelineClusterAutoscaleOutput struct{ *pulumi.OutputState } -func (ShareObjectArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShareObject)(nil)).Elem() +func (PipelineClusterAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterAutoscale)(nil)).Elem() } -func (o ShareObjectArrayOutput) ToShareObjectArrayOutput() ShareObjectArrayOutput { +func (o PipelineClusterAutoscaleOutput) ToPipelineClusterAutoscaleOutput() PipelineClusterAutoscaleOutput { return o } -func (o ShareObjectArrayOutput) ToShareObjectArrayOutputWithContext(ctx context.Context) ShareObjectArrayOutput { +func (o PipelineClusterAutoscaleOutput) ToPipelineClusterAutoscaleOutputWithContext(ctx context.Context) PipelineClusterAutoscaleOutput { 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 PipelineClusterAutoscaleOutput) ToPipelineClusterAutoscalePtrOutput() PipelineClusterAutoscalePtrOutput { + return o.ToPipelineClusterAutoscalePtrOutputWithContext(context.Background()) } -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 PipelineClusterAutoscaleOutput) ToPipelineClusterAutoscalePtrOutputWithContext(ctx context.Context) PipelineClusterAutoscalePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterAutoscale) *PipelineClusterAutoscale { + return &v + }).(PipelineClusterAutoscalePtrOutput) } -// 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 PipelineClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v PipelineClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) } -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"` +func (o PipelineClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v PipelineClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) } -func (ShareObjectPartitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ShareObjectPartition)(nil)).Elem() +func (o PipelineClusterAutoscaleOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterAutoscale) *string { return v.Mode }).(pulumi.StringPtrOutput) } -func (i ShareObjectPartitionArgs) ToShareObjectPartitionOutput() ShareObjectPartitionOutput { - return i.ToShareObjectPartitionOutputWithContext(context.Background()) -} +type PipelineClusterAutoscalePtrOutput struct{ *pulumi.OutputState } -func (i ShareObjectPartitionArgs) ToShareObjectPartitionOutputWithContext(ctx context.Context) ShareObjectPartitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionOutput) +func (PipelineClusterAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterAutoscale)(nil)).Elem() } -// ShareObjectPartitionArrayInput is an input type that accepts ShareObjectPartitionArray and ShareObjectPartitionArrayOutput values. -// You can construct a concrete instance of `ShareObjectPartitionArrayInput` via: -// -// ShareObjectPartitionArray{ ShareObjectPartitionArgs{...} } -type ShareObjectPartitionArrayInput interface { - pulumi.Input - - ToShareObjectPartitionArrayOutput() ShareObjectPartitionArrayOutput - ToShareObjectPartitionArrayOutputWithContext(context.Context) ShareObjectPartitionArrayOutput +func (o PipelineClusterAutoscalePtrOutput) ToPipelineClusterAutoscalePtrOutput() PipelineClusterAutoscalePtrOutput { + return o } -type ShareObjectPartitionArray []ShareObjectPartitionInput - -func (ShareObjectPartitionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShareObjectPartition)(nil)).Elem() +func (o PipelineClusterAutoscalePtrOutput) ToPipelineClusterAutoscalePtrOutputWithContext(ctx context.Context) PipelineClusterAutoscalePtrOutput { + return o } -func (i ShareObjectPartitionArray) ToShareObjectPartitionArrayOutput() ShareObjectPartitionArrayOutput { - return i.ToShareObjectPartitionArrayOutputWithContext(context.Background()) +func (o PipelineClusterAutoscalePtrOutput) Elem() PipelineClusterAutoscaleOutput { + return o.ApplyT(func(v *PipelineClusterAutoscale) PipelineClusterAutoscale { + if v != nil { + return *v + } + var ret PipelineClusterAutoscale + return ret + }).(PipelineClusterAutoscaleOutput) } -func (i ShareObjectPartitionArray) ToShareObjectPartitionArrayOutputWithContext(ctx context.Context) ShareObjectPartitionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionArrayOutput) +func (o PipelineClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PipelineClusterAutoscale) *int { + if v == nil { + return nil + } + return v.MaxWorkers + }).(pulumi.IntPtrOutput) } -type ShareObjectPartitionOutput struct{ *pulumi.OutputState } - -func (ShareObjectPartitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShareObjectPartition)(nil)).Elem() +func (o PipelineClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PipelineClusterAutoscale) *int { + if v == nil { + return nil + } + return v.MinWorkers + }).(pulumi.IntPtrOutput) } -func (o ShareObjectPartitionOutput) ToShareObjectPartitionOutput() ShareObjectPartitionOutput { - return o +func (o PipelineClusterAutoscalePtrOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterAutoscale) *string { + if v == nil { + return nil + } + return v.Mode + }).(pulumi.StringPtrOutput) } -func (o ShareObjectPartitionOutput) ToShareObjectPartitionOutputWithContext(ctx context.Context) ShareObjectPartitionOutput { - return o +type PipelineClusterAwsAttributes 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"` } -// 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) +// PipelineClusterAwsAttributesInput is an input type that accepts PipelineClusterAwsAttributesArgs and PipelineClusterAwsAttributesOutput values. +// You can construct a concrete instance of `PipelineClusterAwsAttributesInput` via: +// +// PipelineClusterAwsAttributesArgs{...} +type PipelineClusterAwsAttributesInput interface { + pulumi.Input + + ToPipelineClusterAwsAttributesOutput() PipelineClusterAwsAttributesOutput + ToPipelineClusterAwsAttributesOutputWithContext(context.Context) PipelineClusterAwsAttributesOutput } -type ShareObjectPartitionArrayOutput struct{ *pulumi.OutputState } +type PipelineClusterAwsAttributesArgs 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 (ShareObjectPartitionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShareObjectPartition)(nil)).Elem() +func (PipelineClusterAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterAwsAttributes)(nil)).Elem() } -func (o ShareObjectPartitionArrayOutput) ToShareObjectPartitionArrayOutput() ShareObjectPartitionArrayOutput { - return o +func (i PipelineClusterAwsAttributesArgs) ToPipelineClusterAwsAttributesOutput() PipelineClusterAwsAttributesOutput { + return i.ToPipelineClusterAwsAttributesOutputWithContext(context.Background()) } -func (o ShareObjectPartitionArrayOutput) ToShareObjectPartitionArrayOutputWithContext(ctx context.Context) ShareObjectPartitionArrayOutput { - return o +func (i PipelineClusterAwsAttributesArgs) ToPipelineClusterAwsAttributesOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAwsAttributesOutput) } -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 (i PipelineClusterAwsAttributesArgs) ToPipelineClusterAwsAttributesPtrOutput() PipelineClusterAwsAttributesPtrOutput { + return i.ToPipelineClusterAwsAttributesPtrOutputWithContext(context.Background()) } -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"` +func (i PipelineClusterAwsAttributesArgs) ToPipelineClusterAwsAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAwsAttributesOutput).ToPipelineClusterAwsAttributesPtrOutputWithContext(ctx) } -// ShareObjectPartitionValueInput is an input type that accepts ShareObjectPartitionValueArgs and ShareObjectPartitionValueOutput values. -// You can construct a concrete instance of `ShareObjectPartitionValueInput` via: +// PipelineClusterAwsAttributesPtrInput is an input type that accepts PipelineClusterAwsAttributesArgs, PipelineClusterAwsAttributesPtr and PipelineClusterAwsAttributesPtrOutput values. +// You can construct a concrete instance of `PipelineClusterAwsAttributesPtrInput` via: // -// ShareObjectPartitionValueArgs{...} -type ShareObjectPartitionValueInput interface { +// PipelineClusterAwsAttributesArgs{...} +// +// or: +// +// nil +type PipelineClusterAwsAttributesPtrInput interface { pulumi.Input - ToShareObjectPartitionValueOutput() ShareObjectPartitionValueOutput - ToShareObjectPartitionValueOutputWithContext(context.Context) ShareObjectPartitionValueOutput + ToPipelineClusterAwsAttributesPtrOutput() PipelineClusterAwsAttributesPtrOutput + ToPipelineClusterAwsAttributesPtrOutputWithContext(context.Context) PipelineClusterAwsAttributesPtrOutput } -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 pipelineClusterAwsAttributesPtrType PipelineClusterAwsAttributesArgs + +func PipelineClusterAwsAttributesPtr(v *PipelineClusterAwsAttributesArgs) PipelineClusterAwsAttributesPtrInput { + return (*pipelineClusterAwsAttributesPtrType)(v) } -func (ShareObjectPartitionValueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ShareObjectPartitionValue)(nil)).Elem() +func (*pipelineClusterAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterAwsAttributes)(nil)).Elem() } -func (i ShareObjectPartitionValueArgs) ToShareObjectPartitionValueOutput() ShareObjectPartitionValueOutput { - return i.ToShareObjectPartitionValueOutputWithContext(context.Background()) +func (i *pipelineClusterAwsAttributesPtrType) ToPipelineClusterAwsAttributesPtrOutput() PipelineClusterAwsAttributesPtrOutput { + return i.ToPipelineClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i ShareObjectPartitionValueArgs) ToShareObjectPartitionValueOutputWithContext(ctx context.Context) ShareObjectPartitionValueOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionValueOutput) +func (i *pipelineClusterAwsAttributesPtrType) ToPipelineClusterAwsAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAwsAttributesPtrOutput) } -// 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 +type PipelineClusterAwsAttributesOutput struct{ *pulumi.OutputState } - ToShareObjectPartitionValueArrayOutput() ShareObjectPartitionValueArrayOutput - ToShareObjectPartitionValueArrayOutputWithContext(context.Context) ShareObjectPartitionValueArrayOutput +func (PipelineClusterAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterAwsAttributes)(nil)).Elem() } -type ShareObjectPartitionValueArray []ShareObjectPartitionValueInput +func (o PipelineClusterAwsAttributesOutput) ToPipelineClusterAwsAttributesOutput() PipelineClusterAwsAttributesOutput { + return o +} -func (ShareObjectPartitionValueArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShareObjectPartitionValue)(nil)).Elem() +func (o PipelineClusterAwsAttributesOutput) ToPipelineClusterAwsAttributesOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesOutput { + return o } -func (i ShareObjectPartitionValueArray) ToShareObjectPartitionValueArrayOutput() ShareObjectPartitionValueArrayOutput { - return i.ToShareObjectPartitionValueArrayOutputWithContext(context.Background()) +func (o PipelineClusterAwsAttributesOutput) ToPipelineClusterAwsAttributesPtrOutput() PipelineClusterAwsAttributesPtrOutput { + return o.ToPipelineClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i ShareObjectPartitionValueArray) ToShareObjectPartitionValueArrayOutputWithContext(ctx context.Context) ShareObjectPartitionValueArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionValueArrayOutput) +func (o PipelineClusterAwsAttributesOutput) ToPipelineClusterAwsAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterAwsAttributes) *PipelineClusterAwsAttributes { + return &v + }).(PipelineClusterAwsAttributesPtrOutput) } -type ShareObjectPartitionValueOutput struct{ *pulumi.OutputState } +func (o PipelineClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +} -func (ShareObjectPartitionValueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShareObjectPartitionValue)(nil)).Elem() +func (o PipelineClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v PipelineClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) } -func (o ShareObjectPartitionValueOutput) ToShareObjectPartitionValueOutput() ShareObjectPartitionValueOutput { - return o +func (o PipelineClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v PipelineClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) } -func (o ShareObjectPartitionValueOutput) ToShareObjectPartitionValueOutputWithContext(ctx context.Context) ShareObjectPartitionValueOutput { - return o +func (o PipelineClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) } -// 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 PipelineClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v PipelineClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -// 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 PipelineClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) } -// 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 PipelineClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v PipelineClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) } -// 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 PipelineClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -type ShareObjectPartitionValueArrayOutput struct{ *pulumi.OutputState } +type PipelineClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } -func (ShareObjectPartitionValueArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShareObjectPartitionValue)(nil)).Elem() +func (PipelineClusterAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterAwsAttributes)(nil)).Elem() } -func (o ShareObjectPartitionValueArrayOutput) ToShareObjectPartitionValueArrayOutput() ShareObjectPartitionValueArrayOutput { +func (o PipelineClusterAwsAttributesPtrOutput) ToPipelineClusterAwsAttributesPtrOutput() PipelineClusterAwsAttributesPtrOutput { return o } -func (o ShareObjectPartitionValueArrayOutput) ToShareObjectPartitionValueArrayOutputWithContext(ctx context.Context) ShareObjectPartitionValueArrayOutput { +func (o PipelineClusterAwsAttributesPtrOutput) ToPipelineClusterAwsAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesPtrOutput { 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 PipelineClusterAwsAttributesPtrOutput) Elem() PipelineClusterAwsAttributesOutput { + return o.ApplyT(func(v *PipelineClusterAwsAttributes) PipelineClusterAwsAttributes { + if v != nil { + return *v + } + var ret PipelineClusterAwsAttributes + return ret + }).(PipelineClusterAwsAttributesOutput) } -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 PipelineClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.Availability + }).(pulumi.StringPtrOutput) } -// SqlAlertOptionsInput is an input type that accepts SqlAlertOptionsArgs and SqlAlertOptionsOutput values. -// You can construct a concrete instance of `SqlAlertOptionsInput` via: -// -// SqlAlertOptionsArgs{...} -type SqlAlertOptionsInput interface { - pulumi.Input +func (o PipelineClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PipelineClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeCount + }).(pulumi.IntPtrOutput) +} - ToSqlAlertOptionsOutput() SqlAlertOptionsOutput - ToSqlAlertOptionsOutputWithContext(context.Context) SqlAlertOptionsOutput +func (o PipelineClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PipelineClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeSize + }).(pulumi.IntPtrOutput) } -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 (o PipelineClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.EbsVolumeType + }).(pulumi.StringPtrOutput) } -func (SqlAlertOptionsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlAlertOptions)(nil)).Elem() +func (o PipelineClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PipelineClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -func (i SqlAlertOptionsArgs) ToSqlAlertOptionsOutput() SqlAlertOptionsOutput { - return i.ToSqlAlertOptionsOutputWithContext(context.Background()) +func (o PipelineClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.InstanceProfileArn + }).(pulumi.StringPtrOutput) } -func (i SqlAlertOptionsArgs) ToSqlAlertOptionsOutputWithContext(ctx context.Context) SqlAlertOptionsOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlAlertOptionsOutput) +func (o PipelineClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PipelineClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) } -func (i SqlAlertOptionsArgs) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { - return i.ToSqlAlertOptionsPtrOutputWithContext(context.Background()) +func (o PipelineClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) } -func (i SqlAlertOptionsArgs) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlAlertOptionsOutput).ToSqlAlertOptionsPtrOutputWithContext(ctx) +type PipelineClusterAzureAttributes struct { + Availability *string `pulumi:"availability"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` } -// SqlAlertOptionsPtrInput is an input type that accepts SqlAlertOptionsArgs, SqlAlertOptionsPtr and SqlAlertOptionsPtrOutput values. -// You can construct a concrete instance of `SqlAlertOptionsPtrInput` via: -// -// SqlAlertOptionsArgs{...} -// -// or: +// PipelineClusterAzureAttributesInput is an input type that accepts PipelineClusterAzureAttributesArgs and PipelineClusterAzureAttributesOutput values. +// You can construct a concrete instance of `PipelineClusterAzureAttributesInput` via: // -// nil -type SqlAlertOptionsPtrInput interface { +// PipelineClusterAzureAttributesArgs{...} +type PipelineClusterAzureAttributesInput interface { pulumi.Input - ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput - ToSqlAlertOptionsPtrOutputWithContext(context.Context) SqlAlertOptionsPtrOutput + ToPipelineClusterAzureAttributesOutput() PipelineClusterAzureAttributesOutput + ToPipelineClusterAzureAttributesOutputWithContext(context.Context) PipelineClusterAzureAttributesOutput } -type sqlAlertOptionsPtrType SqlAlertOptionsArgs +type PipelineClusterAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +} -func SqlAlertOptionsPtr(v *SqlAlertOptionsArgs) SqlAlertOptionsPtrInput { - return (*sqlAlertOptionsPtrType)(v) +func (PipelineClusterAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterAzureAttributes)(nil)).Elem() } -func (*sqlAlertOptionsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlAlertOptions)(nil)).Elem() +func (i PipelineClusterAzureAttributesArgs) ToPipelineClusterAzureAttributesOutput() PipelineClusterAzureAttributesOutput { + return i.ToPipelineClusterAzureAttributesOutputWithContext(context.Background()) } -func (i *sqlAlertOptionsPtrType) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { - return i.ToSqlAlertOptionsPtrOutputWithContext(context.Background()) +func (i PipelineClusterAzureAttributesArgs) ToPipelineClusterAzureAttributesOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAzureAttributesOutput) } -func (i *sqlAlertOptionsPtrType) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlAlertOptionsPtrOutput) +func (i PipelineClusterAzureAttributesArgs) ToPipelineClusterAzureAttributesPtrOutput() PipelineClusterAzureAttributesPtrOutput { + return i.ToPipelineClusterAzureAttributesPtrOutputWithContext(context.Background()) } -type SqlAlertOptionsOutput struct{ *pulumi.OutputState } +func (i PipelineClusterAzureAttributesArgs) ToPipelineClusterAzureAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAzureAttributesOutput).ToPipelineClusterAzureAttributesPtrOutputWithContext(ctx) +} -func (SqlAlertOptionsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlAlertOptions)(nil)).Elem() +// PipelineClusterAzureAttributesPtrInput is an input type that accepts PipelineClusterAzureAttributesArgs, PipelineClusterAzureAttributesPtr and PipelineClusterAzureAttributesPtrOutput values. +// You can construct a concrete instance of `PipelineClusterAzureAttributesPtrInput` via: +// +// PipelineClusterAzureAttributesArgs{...} +// +// or: +// +// nil +type PipelineClusterAzureAttributesPtrInput interface { + pulumi.Input + + ToPipelineClusterAzureAttributesPtrOutput() PipelineClusterAzureAttributesPtrOutput + ToPipelineClusterAzureAttributesPtrOutputWithContext(context.Context) PipelineClusterAzureAttributesPtrOutput } -func (o SqlAlertOptionsOutput) ToSqlAlertOptionsOutput() SqlAlertOptionsOutput { - return o +type pipelineClusterAzureAttributesPtrType PipelineClusterAzureAttributesArgs + +func PipelineClusterAzureAttributesPtr(v *PipelineClusterAzureAttributesArgs) PipelineClusterAzureAttributesPtrInput { + return (*pipelineClusterAzureAttributesPtrType)(v) } -func (o SqlAlertOptionsOutput) ToSqlAlertOptionsOutputWithContext(ctx context.Context) SqlAlertOptionsOutput { - return o +func (*pipelineClusterAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterAzureAttributes)(nil)).Elem() } -func (o SqlAlertOptionsOutput) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { - return o.ToSqlAlertOptionsPtrOutputWithContext(context.Background()) +func (i *pipelineClusterAzureAttributesPtrType) ToPipelineClusterAzureAttributesPtrOutput() PipelineClusterAzureAttributesPtrOutput { + return i.ToPipelineClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (o SqlAlertOptionsOutput) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlAlertOptions) *SqlAlertOptions { - return &v - }).(SqlAlertOptionsPtrOutput) +func (i *pipelineClusterAzureAttributesPtrType) ToPipelineClusterAzureAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAzureAttributesPtrOutput) } -// 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) +type PipelineClusterAzureAttributesOutput struct{ *pulumi.OutputState } + +func (PipelineClusterAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterAzureAttributes)(nil)).Elem() } -// 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 PipelineClusterAzureAttributesOutput) ToPipelineClusterAzureAttributesOutput() PipelineClusterAzureAttributesOutput { + return o } -// 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) +func (o PipelineClusterAzureAttributesOutput) ToPipelineClusterAzureAttributesOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesOutput { + return o } -// 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 (o PipelineClusterAzureAttributesOutput) ToPipelineClusterAzureAttributesPtrOutput() PipelineClusterAzureAttributesPtrOutput { + return o.ToPipelineClusterAzureAttributesPtrOutputWithContext(context.Background()) } -// 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 PipelineClusterAzureAttributesOutput) ToPipelineClusterAzureAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterAzureAttributes) *PipelineClusterAzureAttributes { + return &v + }).(PipelineClusterAzureAttributesPtrOutput) } -// 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) +func (o PipelineClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -// 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) +func (o PipelineClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v PipelineClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -type SqlAlertOptionsPtrOutput struct{ *pulumi.OutputState } +func (o PipelineClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v PipelineClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +} -func (SqlAlertOptionsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlAlertOptions)(nil)).Elem() +type PipelineClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } + +func (PipelineClusterAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterAzureAttributes)(nil)).Elem() } -func (o SqlAlertOptionsPtrOutput) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { +func (o PipelineClusterAzureAttributesPtrOutput) ToPipelineClusterAzureAttributesPtrOutput() PipelineClusterAzureAttributesPtrOutput { return o } -func (o SqlAlertOptionsPtrOutput) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { +func (o PipelineClusterAzureAttributesPtrOutput) ToPipelineClusterAzureAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesPtrOutput { return o } -func (o SqlAlertOptionsPtrOutput) Elem() SqlAlertOptionsOutput { - return o.ApplyT(func(v *SqlAlertOptions) SqlAlertOptions { +func (o PipelineClusterAzureAttributesPtrOutput) Elem() PipelineClusterAzureAttributesOutput { + return o.ApplyT(func(v *PipelineClusterAzureAttributes) PipelineClusterAzureAttributes { if v != nil { return *v } - var ret SqlAlertOptions + var ret PipelineClusterAzureAttributes return ret - }).(SqlAlertOptionsOutput) -} - -// 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.Column - }).(pulumi.StringPtrOutput) -} - -// 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.CustomBody - }).(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 { - if v == nil { - return nil - } - return v.CustomSubject - }).(pulumi.StringPtrOutput) + }).(PipelineClusterAzureAttributesOutput) } -// 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 { +func (o PipelineClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterAzureAttributes) *string { if v == nil { return nil } - return v.EmptyResultState + return v.Availability }).(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 { - 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 { +func (o PipelineClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PipelineClusterAzureAttributes) *int { if v == nil { return nil } - return &v.Op - }).(pulumi.StringPtrOutput) + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -// Value used to compare in alert evaluation. -func (o SqlAlertOptionsPtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlAlertOptions) *string { +func (o PipelineClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *PipelineClusterAzureAttributes) *float64 { if v == nil { return nil } - return &v.Value - }).(pulumi.StringPtrOutput) + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) } -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 PipelineClusterClusterLogConf struct { + Dbfs *PipelineClusterClusterLogConfDbfs `pulumi:"dbfs"` + S3 *PipelineClusterClusterLogConfS3 `pulumi:"s3"` } -// SqlEndpointChannelInput is an input type that accepts SqlEndpointChannelArgs and SqlEndpointChannelOutput values. -// You can construct a concrete instance of `SqlEndpointChannelInput` via: +// PipelineClusterClusterLogConfInput is an input type that accepts PipelineClusterClusterLogConfArgs and PipelineClusterClusterLogConfOutput values. +// You can construct a concrete instance of `PipelineClusterClusterLogConfInput` via: // -// SqlEndpointChannelArgs{...} -type SqlEndpointChannelInput interface { +// PipelineClusterClusterLogConfArgs{...} +type PipelineClusterClusterLogConfInput interface { pulumi.Input - ToSqlEndpointChannelOutput() SqlEndpointChannelOutput - ToSqlEndpointChannelOutputWithContext(context.Context) SqlEndpointChannelOutput + ToPipelineClusterClusterLogConfOutput() PipelineClusterClusterLogConfOutput + ToPipelineClusterClusterLogConfOutputWithContext(context.Context) PipelineClusterClusterLogConfOutput } -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 PipelineClusterClusterLogConfArgs struct { + Dbfs PipelineClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` + S3 PipelineClusterClusterLogConfS3PtrInput `pulumi:"s3"` } -func (SqlEndpointChannelArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointChannel)(nil)).Elem() +func (PipelineClusterClusterLogConfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterClusterLogConf)(nil)).Elem() } -func (i SqlEndpointChannelArgs) ToSqlEndpointChannelOutput() SqlEndpointChannelOutput { - return i.ToSqlEndpointChannelOutputWithContext(context.Background()) +func (i PipelineClusterClusterLogConfArgs) ToPipelineClusterClusterLogConfOutput() PipelineClusterClusterLogConfOutput { + return i.ToPipelineClusterClusterLogConfOutputWithContext(context.Background()) } -func (i SqlEndpointChannelArgs) ToSqlEndpointChannelOutputWithContext(ctx context.Context) SqlEndpointChannelOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointChannelOutput) +func (i PipelineClusterClusterLogConfArgs) ToPipelineClusterClusterLogConfOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfOutput) } -func (i SqlEndpointChannelArgs) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { - return i.ToSqlEndpointChannelPtrOutputWithContext(context.Background()) +func (i PipelineClusterClusterLogConfArgs) ToPipelineClusterClusterLogConfPtrOutput() PipelineClusterClusterLogConfPtrOutput { + return i.ToPipelineClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i SqlEndpointChannelArgs) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointChannelOutput).ToSqlEndpointChannelPtrOutputWithContext(ctx) +func (i PipelineClusterClusterLogConfArgs) ToPipelineClusterClusterLogConfPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfOutput).ToPipelineClusterClusterLogConfPtrOutputWithContext(ctx) } -// SqlEndpointChannelPtrInput is an input type that accepts SqlEndpointChannelArgs, SqlEndpointChannelPtr and SqlEndpointChannelPtrOutput values. -// You can construct a concrete instance of `SqlEndpointChannelPtrInput` via: +// PipelineClusterClusterLogConfPtrInput is an input type that accepts PipelineClusterClusterLogConfArgs, PipelineClusterClusterLogConfPtr and PipelineClusterClusterLogConfPtrOutput values. +// You can construct a concrete instance of `PipelineClusterClusterLogConfPtrInput` via: // -// SqlEndpointChannelArgs{...} +// PipelineClusterClusterLogConfArgs{...} // // or: // // nil -type SqlEndpointChannelPtrInput interface { +type PipelineClusterClusterLogConfPtrInput interface { pulumi.Input - ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput - ToSqlEndpointChannelPtrOutputWithContext(context.Context) SqlEndpointChannelPtrOutput + ToPipelineClusterClusterLogConfPtrOutput() PipelineClusterClusterLogConfPtrOutput + ToPipelineClusterClusterLogConfPtrOutputWithContext(context.Context) PipelineClusterClusterLogConfPtrOutput } -type sqlEndpointChannelPtrType SqlEndpointChannelArgs +type pipelineClusterClusterLogConfPtrType PipelineClusterClusterLogConfArgs -func SqlEndpointChannelPtr(v *SqlEndpointChannelArgs) SqlEndpointChannelPtrInput { - return (*sqlEndpointChannelPtrType)(v) +func PipelineClusterClusterLogConfPtr(v *PipelineClusterClusterLogConfArgs) PipelineClusterClusterLogConfPtrInput { + return (*pipelineClusterClusterLogConfPtrType)(v) } -func (*sqlEndpointChannelPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointChannel)(nil)).Elem() +func (*pipelineClusterClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterClusterLogConf)(nil)).Elem() } -func (i *sqlEndpointChannelPtrType) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { - return i.ToSqlEndpointChannelPtrOutputWithContext(context.Background()) +func (i *pipelineClusterClusterLogConfPtrType) ToPipelineClusterClusterLogConfPtrOutput() PipelineClusterClusterLogConfPtrOutput { + return i.ToPipelineClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i *sqlEndpointChannelPtrType) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointChannelPtrOutput) +func (i *pipelineClusterClusterLogConfPtrType) ToPipelineClusterClusterLogConfPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfPtrOutput) } -type SqlEndpointChannelOutput struct{ *pulumi.OutputState } +type PipelineClusterClusterLogConfOutput struct{ *pulumi.OutputState } -func (SqlEndpointChannelOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointChannel)(nil)).Elem() +func (PipelineClusterClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterClusterLogConf)(nil)).Elem() } -func (o SqlEndpointChannelOutput) ToSqlEndpointChannelOutput() SqlEndpointChannelOutput { +func (o PipelineClusterClusterLogConfOutput) ToPipelineClusterClusterLogConfOutput() PipelineClusterClusterLogConfOutput { return o } -func (o SqlEndpointChannelOutput) ToSqlEndpointChannelOutputWithContext(ctx context.Context) SqlEndpointChannelOutput { +func (o PipelineClusterClusterLogConfOutput) ToPipelineClusterClusterLogConfOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfOutput { return o } -func (o SqlEndpointChannelOutput) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { - return o.ToSqlEndpointChannelPtrOutputWithContext(context.Background()) +func (o PipelineClusterClusterLogConfOutput) ToPipelineClusterClusterLogConfPtrOutput() PipelineClusterClusterLogConfPtrOutput { + return o.ToPipelineClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (o SqlEndpointChannelOutput) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointChannel) *SqlEndpointChannel { +func (o PipelineClusterClusterLogConfOutput) ToPipelineClusterClusterLogConfPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterClusterLogConf) *PipelineClusterClusterLogConf { return &v - }).(SqlEndpointChannelPtrOutput) + }).(PipelineClusterClusterLogConfPtrOutput) } -func (o SqlEndpointChannelOutput) DbsqlVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointChannel) *string { return v.DbsqlVersion }).(pulumi.StringPtrOutput) +func (o PipelineClusterClusterLogConfOutput) Dbfs() PipelineClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v PipelineClusterClusterLogConf) *PipelineClusterClusterLogConfDbfs { return v.Dbfs }).(PipelineClusterClusterLogConfDbfsPtrOutput) } -// 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) +func (o PipelineClusterClusterLogConfOutput) S3() PipelineClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v PipelineClusterClusterLogConf) *PipelineClusterClusterLogConfS3 { return v.S3 }).(PipelineClusterClusterLogConfS3PtrOutput) } -type SqlEndpointChannelPtrOutput struct{ *pulumi.OutputState } +type PipelineClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } -func (SqlEndpointChannelPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointChannel)(nil)).Elem() +func (PipelineClusterClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterClusterLogConf)(nil)).Elem() } -func (o SqlEndpointChannelPtrOutput) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { +func (o PipelineClusterClusterLogConfPtrOutput) ToPipelineClusterClusterLogConfPtrOutput() PipelineClusterClusterLogConfPtrOutput { return o } -func (o SqlEndpointChannelPtrOutput) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { +func (o PipelineClusterClusterLogConfPtrOutput) ToPipelineClusterClusterLogConfPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfPtrOutput { return o } -func (o SqlEndpointChannelPtrOutput) Elem() SqlEndpointChannelOutput { - return o.ApplyT(func(v *SqlEndpointChannel) SqlEndpointChannel { +func (o PipelineClusterClusterLogConfPtrOutput) Elem() PipelineClusterClusterLogConfOutput { + return o.ApplyT(func(v *PipelineClusterClusterLogConf) PipelineClusterClusterLogConf { if v != nil { return *v } - var ret SqlEndpointChannel + var ret PipelineClusterClusterLogConf return ret - }).(SqlEndpointChannelOutput) + }).(PipelineClusterClusterLogConfOutput) } -func (o SqlEndpointChannelPtrOutput) DbsqlVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlEndpointChannel) *string { +func (o PipelineClusterClusterLogConfPtrOutput) Dbfs() PipelineClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v *PipelineClusterClusterLogConf) *PipelineClusterClusterLogConfDbfs { if v == nil { return nil } - return v.DbsqlVersion - }).(pulumi.StringPtrOutput) + return v.Dbfs + }).(PipelineClusterClusterLogConfDbfsPtrOutput) } -// 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 { +func (o PipelineClusterClusterLogConfPtrOutput) S3() PipelineClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v *PipelineClusterClusterLogConf) *PipelineClusterClusterLogConfS3 { if v == nil { return nil } - return v.Name - }).(pulumi.StringPtrOutput) + return v.S3 + }).(PipelineClusterClusterLogConfS3PtrOutput) } -type SqlEndpointHealth struct { - Details *string `pulumi:"details"` - FailureReason *SqlEndpointHealthFailureReason `pulumi:"failureReason"` - Message *string `pulumi:"message"` - Status *string `pulumi:"status"` - Summary *string `pulumi:"summary"` +type PipelineClusterClusterLogConfDbfs struct { + Destination string `pulumi:"destination"` } -// SqlEndpointHealthInput is an input type that accepts SqlEndpointHealthArgs and SqlEndpointHealthOutput values. -// You can construct a concrete instance of `SqlEndpointHealthInput` via: +// PipelineClusterClusterLogConfDbfsInput is an input type that accepts PipelineClusterClusterLogConfDbfsArgs and PipelineClusterClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `PipelineClusterClusterLogConfDbfsInput` via: // -// SqlEndpointHealthArgs{...} -type SqlEndpointHealthInput interface { +// PipelineClusterClusterLogConfDbfsArgs{...} +type PipelineClusterClusterLogConfDbfsInput interface { pulumi.Input - ToSqlEndpointHealthOutput() SqlEndpointHealthOutput - ToSqlEndpointHealthOutputWithContext(context.Context) SqlEndpointHealthOutput + ToPipelineClusterClusterLogConfDbfsOutput() PipelineClusterClusterLogConfDbfsOutput + ToPipelineClusterClusterLogConfDbfsOutputWithContext(context.Context) PipelineClusterClusterLogConfDbfsOutput } -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 PipelineClusterClusterLogConfDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (SqlEndpointHealthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointHealth)(nil)).Elem() +func (PipelineClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterClusterLogConfDbfs)(nil)).Elem() } -func (i SqlEndpointHealthArgs) ToSqlEndpointHealthOutput() SqlEndpointHealthOutput { - return i.ToSqlEndpointHealthOutputWithContext(context.Background()) +func (i PipelineClusterClusterLogConfDbfsArgs) ToPipelineClusterClusterLogConfDbfsOutput() PipelineClusterClusterLogConfDbfsOutput { + return i.ToPipelineClusterClusterLogConfDbfsOutputWithContext(context.Background()) } -func (i SqlEndpointHealthArgs) ToSqlEndpointHealthOutputWithContext(ctx context.Context) SqlEndpointHealthOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthOutput) +func (i PipelineClusterClusterLogConfDbfsArgs) ToPipelineClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfDbfsOutput) } -// SqlEndpointHealthArrayInput is an input type that accepts SqlEndpointHealthArray and SqlEndpointHealthArrayOutput values. -// You can construct a concrete instance of `SqlEndpointHealthArrayInput` 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: // -// SqlEndpointHealthArray{ SqlEndpointHealthArgs{...} } -type SqlEndpointHealthArrayInput interface { +// PipelineClusterClusterLogConfDbfsArgs{...} +// +// or: +// +// nil +type PipelineClusterClusterLogConfDbfsPtrInput interface { pulumi.Input - ToSqlEndpointHealthArrayOutput() SqlEndpointHealthArrayOutput - ToSqlEndpointHealthArrayOutputWithContext(context.Context) SqlEndpointHealthArrayOutput + ToPipelineClusterClusterLogConfDbfsPtrOutput() PipelineClusterClusterLogConfDbfsPtrOutput + ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) PipelineClusterClusterLogConfDbfsPtrOutput } -type SqlEndpointHealthArray []SqlEndpointHealthInput +type pipelineClusterClusterLogConfDbfsPtrType PipelineClusterClusterLogConfDbfsArgs -func (SqlEndpointHealthArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlEndpointHealth)(nil)).Elem() +func PipelineClusterClusterLogConfDbfsPtr(v *PipelineClusterClusterLogConfDbfsArgs) PipelineClusterClusterLogConfDbfsPtrInput { + return (*pipelineClusterClusterLogConfDbfsPtrType)(v) } -func (i SqlEndpointHealthArray) ToSqlEndpointHealthArrayOutput() SqlEndpointHealthArrayOutput { - return i.ToSqlEndpointHealthArrayOutputWithContext(context.Background()) +func (*pipelineClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterClusterLogConfDbfs)(nil)).Elem() } -func (i SqlEndpointHealthArray) ToSqlEndpointHealthArrayOutputWithContext(ctx context.Context) SqlEndpointHealthArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthArrayOutput) +func (i *pipelineClusterClusterLogConfDbfsPtrType) ToPipelineClusterClusterLogConfDbfsPtrOutput() PipelineClusterClusterLogConfDbfsPtrOutput { + return i.ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -type SqlEndpointHealthOutput struct{ *pulumi.OutputState } +func (i *pipelineClusterClusterLogConfDbfsPtrType) ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfDbfsPtrOutput) +} -func (SqlEndpointHealthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointHealth)(nil)).Elem() +type PipelineClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } + +func (PipelineClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterClusterLogConfDbfs)(nil)).Elem() } -func (o SqlEndpointHealthOutput) ToSqlEndpointHealthOutput() SqlEndpointHealthOutput { +func (o PipelineClusterClusterLogConfDbfsOutput) ToPipelineClusterClusterLogConfDbfsOutput() PipelineClusterClusterLogConfDbfsOutput { return o } -func (o SqlEndpointHealthOutput) ToSqlEndpointHealthOutputWithContext(ctx context.Context) SqlEndpointHealthOutput { +func (o PipelineClusterClusterLogConfDbfsOutput) ToPipelineClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsOutput { return o } -func (o SqlEndpointHealthOutput) Details() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Details }).(pulumi.StringPtrOutput) +func (o PipelineClusterClusterLogConfDbfsOutput) ToPipelineClusterClusterLogConfDbfsPtrOutput() PipelineClusterClusterLogConfDbfsPtrOutput { + return o.ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o SqlEndpointHealthOutput) FailureReason() SqlEndpointHealthFailureReasonPtrOutput { - return o.ApplyT(func(v SqlEndpointHealth) *SqlEndpointHealthFailureReason { return v.FailureReason }).(SqlEndpointHealthFailureReasonPtrOutput) +func (o PipelineClusterClusterLogConfDbfsOutput) ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterClusterLogConfDbfs) *PipelineClusterClusterLogConfDbfs { + return &v + }).(PipelineClusterClusterLogConfDbfsPtrOutput) } -func (o SqlEndpointHealthOutput) Message() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Message }).(pulumi.StringPtrOutput) +func (o PipelineClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v PipelineClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) } -func (o SqlEndpointHealthOutput) Status() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Status }).(pulumi.StringPtrOutput) -} +type PipelineClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } -func (o SqlEndpointHealthOutput) Summary() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Summary }).(pulumi.StringPtrOutput) +func (PipelineClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterClusterLogConfDbfs)(nil)).Elem() } -type SqlEndpointHealthArrayOutput struct{ *pulumi.OutputState } - -func (SqlEndpointHealthArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlEndpointHealth)(nil)).Elem() +func (o PipelineClusterClusterLogConfDbfsPtrOutput) ToPipelineClusterClusterLogConfDbfsPtrOutput() PipelineClusterClusterLogConfDbfsPtrOutput { + return o } -func (o SqlEndpointHealthArrayOutput) ToSqlEndpointHealthArrayOutput() SqlEndpointHealthArrayOutput { +func (o PipelineClusterClusterLogConfDbfsPtrOutput) ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsPtrOutput { return o } -func (o SqlEndpointHealthArrayOutput) ToSqlEndpointHealthArrayOutputWithContext(ctx context.Context) SqlEndpointHealthArrayOutput { - 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 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 PipelineClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterClusterLogConfDbfs) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -type SqlEndpointHealthFailureReason struct { - Code *string `pulumi:"code"` - Parameters map[string]interface{} `pulumi:"parameters"` - Type *string `pulumi:"type"` +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"` } -// SqlEndpointHealthFailureReasonInput is an input type that accepts SqlEndpointHealthFailureReasonArgs and SqlEndpointHealthFailureReasonOutput values. -// You can construct a concrete instance of `SqlEndpointHealthFailureReasonInput` via: +// PipelineClusterClusterLogConfS3Input is an input type that accepts PipelineClusterClusterLogConfS3Args and PipelineClusterClusterLogConfS3Output values. +// You can construct a concrete instance of `PipelineClusterClusterLogConfS3Input` via: // -// SqlEndpointHealthFailureReasonArgs{...} -type SqlEndpointHealthFailureReasonInput interface { +// PipelineClusterClusterLogConfS3Args{...} +type PipelineClusterClusterLogConfS3Input interface { pulumi.Input - ToSqlEndpointHealthFailureReasonOutput() SqlEndpointHealthFailureReasonOutput - ToSqlEndpointHealthFailureReasonOutputWithContext(context.Context) SqlEndpointHealthFailureReasonOutput -} - -type SqlEndpointHealthFailureReasonArgs struct { - Code pulumi.StringPtrInput `pulumi:"code"` - Parameters pulumi.MapInput `pulumi:"parameters"` - Type pulumi.StringPtrInput `pulumi:"type"` -} - -func (SqlEndpointHealthFailureReasonArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointHealthFailureReason)(nil)).Elem() + ToPipelineClusterClusterLogConfS3Output() PipelineClusterClusterLogConfS3Output + ToPipelineClusterClusterLogConfS3OutputWithContext(context.Context) PipelineClusterClusterLogConfS3Output } -func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonOutput() SqlEndpointHealthFailureReasonOutput { - return i.ToSqlEndpointHealthFailureReasonOutputWithContext(context.Background()) +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 (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthFailureReasonOutput) +func (PipelineClusterClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterClusterLogConfS3)(nil)).Elem() } -func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { - return i.ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Background()) +func (i PipelineClusterClusterLogConfS3Args) ToPipelineClusterClusterLogConfS3Output() PipelineClusterClusterLogConfS3Output { + return i.ToPipelineClusterClusterLogConfS3OutputWithContext(context.Background()) } -func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthFailureReasonOutput).ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx) +func (i PipelineClusterClusterLogConfS3Args) ToPipelineClusterClusterLogConfS3OutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfS3Output) } -// SqlEndpointHealthFailureReasonPtrInput is an input type that accepts SqlEndpointHealthFailureReasonArgs, SqlEndpointHealthFailureReasonPtr and SqlEndpointHealthFailureReasonPtrOutput values. -// You can construct a concrete instance of `SqlEndpointHealthFailureReasonPtrInput` via: +func (i PipelineClusterClusterLogConfS3Args) ToPipelineClusterClusterLogConfS3PtrOutput() PipelineClusterClusterLogConfS3PtrOutput { + return i.ToPipelineClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +} + +func (i PipelineClusterClusterLogConfS3Args) ToPipelineClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfS3Output).ToPipelineClusterClusterLogConfS3PtrOutputWithContext(ctx) +} + +// PipelineClusterClusterLogConfS3PtrInput is an input type that accepts PipelineClusterClusterLogConfS3Args, PipelineClusterClusterLogConfS3Ptr and PipelineClusterClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `PipelineClusterClusterLogConfS3PtrInput` via: // -// SqlEndpointHealthFailureReasonArgs{...} +// PipelineClusterClusterLogConfS3Args{...} // // or: // // nil -type SqlEndpointHealthFailureReasonPtrInput interface { +type PipelineClusterClusterLogConfS3PtrInput interface { pulumi.Input - ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput - ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Context) SqlEndpointHealthFailureReasonPtrOutput + ToPipelineClusterClusterLogConfS3PtrOutput() PipelineClusterClusterLogConfS3PtrOutput + ToPipelineClusterClusterLogConfS3PtrOutputWithContext(context.Context) PipelineClusterClusterLogConfS3PtrOutput } -type sqlEndpointHealthFailureReasonPtrType SqlEndpointHealthFailureReasonArgs +type pipelineClusterClusterLogConfS3PtrType PipelineClusterClusterLogConfS3Args -func SqlEndpointHealthFailureReasonPtr(v *SqlEndpointHealthFailureReasonArgs) SqlEndpointHealthFailureReasonPtrInput { - return (*sqlEndpointHealthFailureReasonPtrType)(v) +func PipelineClusterClusterLogConfS3Ptr(v *PipelineClusterClusterLogConfS3Args) PipelineClusterClusterLogConfS3PtrInput { + return (*pipelineClusterClusterLogConfS3PtrType)(v) } -func (*sqlEndpointHealthFailureReasonPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointHealthFailureReason)(nil)).Elem() +func (*pipelineClusterClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterClusterLogConfS3)(nil)).Elem() } -func (i *sqlEndpointHealthFailureReasonPtrType) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { - return i.ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Background()) +func (i *pipelineClusterClusterLogConfS3PtrType) ToPipelineClusterClusterLogConfS3PtrOutput() PipelineClusterClusterLogConfS3PtrOutput { + return i.ToPipelineClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i *sqlEndpointHealthFailureReasonPtrType) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthFailureReasonPtrOutput) +func (i *pipelineClusterClusterLogConfS3PtrType) ToPipelineClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfS3PtrOutput) } -type SqlEndpointHealthFailureReasonOutput struct{ *pulumi.OutputState } +type PipelineClusterClusterLogConfS3Output struct{ *pulumi.OutputState } -func (SqlEndpointHealthFailureReasonOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointHealthFailureReason)(nil)).Elem() +func (PipelineClusterClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterClusterLogConfS3)(nil)).Elem() } -func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonOutput() SqlEndpointHealthFailureReasonOutput { +func (o PipelineClusterClusterLogConfS3Output) ToPipelineClusterClusterLogConfS3Output() PipelineClusterClusterLogConfS3Output { return o } -func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonOutput { +func (o PipelineClusterClusterLogConfS3Output) ToPipelineClusterClusterLogConfS3OutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3Output { return o } -func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { - return o.ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Background()) +func (o PipelineClusterClusterLogConfS3Output) ToPipelineClusterClusterLogConfS3PtrOutput() PipelineClusterClusterLogConfS3PtrOutput { + return o.ToPipelineClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointHealthFailureReason) *SqlEndpointHealthFailureReason { +func (o PipelineClusterClusterLogConfS3Output) ToPipelineClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterClusterLogConfS3) *PipelineClusterClusterLogConfS3 { return &v - }).(SqlEndpointHealthFailureReasonPtrOutput) + }).(PipelineClusterClusterLogConfS3PtrOutput) } -func (o SqlEndpointHealthFailureReasonOutput) Code() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointHealthFailureReason) *string { return v.Code }).(pulumi.StringPtrOutput) +func (o PipelineClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o SqlEndpointHealthFailureReasonOutput) Parameters() pulumi.MapOutput { - return o.ApplyT(func(v SqlEndpointHealthFailureReason) map[string]interface{} { return v.Parameters }).(pulumi.MapOutput) +func (o PipelineClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v PipelineClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) } -func (o SqlEndpointHealthFailureReasonOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointHealthFailureReason) *string { return v.Type }).(pulumi.StringPtrOutput) +func (o PipelineClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PipelineClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -type SqlEndpointHealthFailureReasonPtrOutput struct{ *pulumi.OutputState } +func (o PipelineClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +} -func (SqlEndpointHealthFailureReasonPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointHealthFailureReason)(nil)).Elem() +func (o PipelineClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -func (o SqlEndpointHealthFailureReasonPtrOutput) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { +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 SqlEndpointHealthFailureReasonPtrOutput) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { +func (o PipelineClusterClusterLogConfS3PtrOutput) ToPipelineClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3PtrOutput { return o } -func (o SqlEndpointHealthFailureReasonPtrOutput) Elem() SqlEndpointHealthFailureReasonOutput { - return o.ApplyT(func(v *SqlEndpointHealthFailureReason) SqlEndpointHealthFailureReason { +func (o PipelineClusterClusterLogConfS3PtrOutput) Elem() PipelineClusterClusterLogConfS3Output { + return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) PipelineClusterClusterLogConfS3 { if v != nil { return *v } - var ret SqlEndpointHealthFailureReason + var ret PipelineClusterClusterLogConfS3 return ret - }).(SqlEndpointHealthFailureReasonOutput) + }).(PipelineClusterClusterLogConfS3Output) } -func (o SqlEndpointHealthFailureReasonPtrOutput) Code() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlEndpointHealthFailureReason) *string { +func (o PipelineClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.Code + return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o SqlEndpointHealthFailureReasonPtrOutput) Parameters() pulumi.MapOutput { - return o.ApplyT(func(v *SqlEndpointHealthFailureReason) map[string]interface{} { +func (o PipelineClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.Parameters - }).(pulumi.MapOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o SqlEndpointHealthFailureReasonPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlEndpointHealthFailureReason) *string { +func (o PipelineClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) *bool { if v == nil { return nil } - return v.Type + 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) } -type SqlEndpointOdbcParams struct { - Hostname *string `pulumi:"hostname"` - Path *string `pulumi:"path"` - Port *int `pulumi:"port"` - Protocol *string `pulumi:"protocol"` +func (o PipelineClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) } -// SqlEndpointOdbcParamsInput is an input type that accepts SqlEndpointOdbcParamsArgs and SqlEndpointOdbcParamsOutput values. -// You can construct a concrete instance of `SqlEndpointOdbcParamsInput` via: +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: // -// SqlEndpointOdbcParamsArgs{...} -type SqlEndpointOdbcParamsInput interface { +// PipelineClusterGcpAttributesArgs{...} +type PipelineClusterGcpAttributesInput interface { pulumi.Input - ToSqlEndpointOdbcParamsOutput() SqlEndpointOdbcParamsOutput - ToSqlEndpointOdbcParamsOutputWithContext(context.Context) SqlEndpointOdbcParamsOutput + ToPipelineClusterGcpAttributesOutput() PipelineClusterGcpAttributesOutput + ToPipelineClusterGcpAttributesOutputWithContext(context.Context) PipelineClusterGcpAttributesOutput } -type SqlEndpointOdbcParamsArgs struct { - Hostname pulumi.StringPtrInput `pulumi:"hostname"` - Path pulumi.StringPtrInput `pulumi:"path"` - Port pulumi.IntPtrInput `pulumi:"port"` - Protocol pulumi.StringPtrInput `pulumi:"protocol"` +type PipelineClusterGcpAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` + LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (SqlEndpointOdbcParamsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointOdbcParams)(nil)).Elem() +func (PipelineClusterGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterGcpAttributes)(nil)).Elem() } -func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsOutput() SqlEndpointOdbcParamsOutput { - return i.ToSqlEndpointOdbcParamsOutputWithContext(context.Background()) +func (i PipelineClusterGcpAttributesArgs) ToPipelineClusterGcpAttributesOutput() PipelineClusterGcpAttributesOutput { + return i.ToPipelineClusterGcpAttributesOutputWithContext(context.Background()) } -func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointOdbcParamsOutput) +func (i PipelineClusterGcpAttributesArgs) ToPipelineClusterGcpAttributesOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterGcpAttributesOutput) } -func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { - return i.ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Background()) +func (i PipelineClusterGcpAttributesArgs) ToPipelineClusterGcpAttributesPtrOutput() PipelineClusterGcpAttributesPtrOutput { + return i.ToPipelineClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointOdbcParamsOutput).ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx) +func (i PipelineClusterGcpAttributesArgs) ToPipelineClusterGcpAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterGcpAttributesOutput).ToPipelineClusterGcpAttributesPtrOutputWithContext(ctx) } -// SqlEndpointOdbcParamsPtrInput is an input type that accepts SqlEndpointOdbcParamsArgs, SqlEndpointOdbcParamsPtr and SqlEndpointOdbcParamsPtrOutput values. -// You can construct a concrete instance of `SqlEndpointOdbcParamsPtrInput` via: +// PipelineClusterGcpAttributesPtrInput is an input type that accepts PipelineClusterGcpAttributesArgs, PipelineClusterGcpAttributesPtr and PipelineClusterGcpAttributesPtrOutput values. +// You can construct a concrete instance of `PipelineClusterGcpAttributesPtrInput` via: // -// SqlEndpointOdbcParamsArgs{...} +// PipelineClusterGcpAttributesArgs{...} // // or: // // nil -type SqlEndpointOdbcParamsPtrInput interface { +type PipelineClusterGcpAttributesPtrInput interface { pulumi.Input - ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput - ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Context) SqlEndpointOdbcParamsPtrOutput + ToPipelineClusterGcpAttributesPtrOutput() PipelineClusterGcpAttributesPtrOutput + ToPipelineClusterGcpAttributesPtrOutputWithContext(context.Context) PipelineClusterGcpAttributesPtrOutput } -type sqlEndpointOdbcParamsPtrType SqlEndpointOdbcParamsArgs +type pipelineClusterGcpAttributesPtrType PipelineClusterGcpAttributesArgs -func SqlEndpointOdbcParamsPtr(v *SqlEndpointOdbcParamsArgs) SqlEndpointOdbcParamsPtrInput { - return (*sqlEndpointOdbcParamsPtrType)(v) +func PipelineClusterGcpAttributesPtr(v *PipelineClusterGcpAttributesArgs) PipelineClusterGcpAttributesPtrInput { + return (*pipelineClusterGcpAttributesPtrType)(v) } -func (*sqlEndpointOdbcParamsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointOdbcParams)(nil)).Elem() +func (*pipelineClusterGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterGcpAttributes)(nil)).Elem() } -func (i *sqlEndpointOdbcParamsPtrType) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { - return i.ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Background()) +func (i *pipelineClusterGcpAttributesPtrType) ToPipelineClusterGcpAttributesPtrOutput() PipelineClusterGcpAttributesPtrOutput { + return i.ToPipelineClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i *sqlEndpointOdbcParamsPtrType) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointOdbcParamsPtrOutput) +func (i *pipelineClusterGcpAttributesPtrType) ToPipelineClusterGcpAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterGcpAttributesPtrOutput) } -type SqlEndpointOdbcParamsOutput struct{ *pulumi.OutputState } +type PipelineClusterGcpAttributesOutput struct{ *pulumi.OutputState } -func (SqlEndpointOdbcParamsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointOdbcParams)(nil)).Elem() +func (PipelineClusterGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterGcpAttributes)(nil)).Elem() } -func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsOutput() SqlEndpointOdbcParamsOutput { +func (o PipelineClusterGcpAttributesOutput) ToPipelineClusterGcpAttributesOutput() PipelineClusterGcpAttributesOutput { return o } -func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsOutput { +func (o PipelineClusterGcpAttributesOutput) ToPipelineClusterGcpAttributesOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesOutput { return o } -func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { - return o.ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Background()) +func (o PipelineClusterGcpAttributesOutput) ToPipelineClusterGcpAttributesPtrOutput() PipelineClusterGcpAttributesPtrOutput { + return o.ToPipelineClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointOdbcParams) *SqlEndpointOdbcParams { +func (o PipelineClusterGcpAttributesOutput) ToPipelineClusterGcpAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterGcpAttributes) *PipelineClusterGcpAttributes { return &v - }).(SqlEndpointOdbcParamsPtrOutput) + }).(PipelineClusterGcpAttributesPtrOutput) } -func (o SqlEndpointOdbcParamsOutput) Hostname() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointOdbcParams) *string { return v.Hostname }).(pulumi.StringPtrOutput) +func (o PipelineClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o SqlEndpointOdbcParamsOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointOdbcParams) *string { return v.Path }).(pulumi.StringPtrOutput) +func (o PipelineClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) } -func (o SqlEndpointOdbcParamsOutput) Port() pulumi.IntPtrOutput { - return o.ApplyT(func(v SqlEndpointOdbcParams) *int { return v.Port }).(pulumi.IntPtrOutput) +func (o PipelineClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v PipelineClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) } -func (o SqlEndpointOdbcParamsOutput) Protocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointOdbcParams) *string { return v.Protocol }).(pulumi.StringPtrOutput) +func (o PipelineClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -type SqlEndpointOdbcParamsPtrOutput struct{ *pulumi.OutputState } +type PipelineClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } -func (SqlEndpointOdbcParamsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointOdbcParams)(nil)).Elem() +func (PipelineClusterGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterGcpAttributes)(nil)).Elem() } -func (o SqlEndpointOdbcParamsPtrOutput) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { +func (o PipelineClusterGcpAttributesPtrOutput) ToPipelineClusterGcpAttributesPtrOutput() PipelineClusterGcpAttributesPtrOutput { return o } -func (o SqlEndpointOdbcParamsPtrOutput) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { +func (o PipelineClusterGcpAttributesPtrOutput) ToPipelineClusterGcpAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesPtrOutput { return o } -func (o SqlEndpointOdbcParamsPtrOutput) Elem() SqlEndpointOdbcParamsOutput { - return o.ApplyT(func(v *SqlEndpointOdbcParams) SqlEndpointOdbcParams { +func (o PipelineClusterGcpAttributesPtrOutput) Elem() PipelineClusterGcpAttributesOutput { + return o.ApplyT(func(v *PipelineClusterGcpAttributes) PipelineClusterGcpAttributes { if v != nil { return *v } - var ret SqlEndpointOdbcParams + var ret PipelineClusterGcpAttributes return ret - }).(SqlEndpointOdbcParamsOutput) + }).(PipelineClusterGcpAttributesOutput) } -func (o SqlEndpointOdbcParamsPtrOutput) Hostname() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlEndpointOdbcParams) *string { +func (o PipelineClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterGcpAttributes) *string { if v == nil { return nil } - return v.Hostname + return v.Availability }).(pulumi.StringPtrOutput) } -func (o SqlEndpointOdbcParamsPtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlEndpointOdbcParams) *string { +func (o PipelineClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterGcpAttributes) *string { if v == nil { return nil } - return v.Path + return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) } -func (o SqlEndpointOdbcParamsPtrOutput) Port() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SqlEndpointOdbcParams) *int { +func (o PipelineClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PipelineClusterGcpAttributes) *int { if v == nil { return nil } - return v.Port + return v.LocalSsdCount }).(pulumi.IntPtrOutput) } -func (o SqlEndpointOdbcParamsPtrOutput) Protocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlEndpointOdbcParams) *string { +func (o PipelineClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterGcpAttributes) *string { if v == nil { return nil } - return v.Protocol + return v.ZoneId }).(pulumi.StringPtrOutput) } -type SqlEndpointTags struct { - CustomTags []SqlEndpointTagsCustomTag `pulumi:"customTags"` +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"` } -// SqlEndpointTagsInput is an input type that accepts SqlEndpointTagsArgs and SqlEndpointTagsOutput values. -// You can construct a concrete instance of `SqlEndpointTagsInput` via: +// PipelineClusterInitScriptInput is an input type that accepts PipelineClusterInitScriptArgs and PipelineClusterInitScriptOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptInput` via: // -// SqlEndpointTagsArgs{...} -type SqlEndpointTagsInput interface { +// PipelineClusterInitScriptArgs{...} +type PipelineClusterInitScriptInput interface { pulumi.Input - ToSqlEndpointTagsOutput() SqlEndpointTagsOutput - ToSqlEndpointTagsOutputWithContext(context.Context) SqlEndpointTagsOutput -} - -type SqlEndpointTagsArgs struct { - CustomTags SqlEndpointTagsCustomTagArrayInput `pulumi:"customTags"` -} - -func (SqlEndpointTagsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointTags)(nil)).Elem() + ToPipelineClusterInitScriptOutput() PipelineClusterInitScriptOutput + ToPipelineClusterInitScriptOutputWithContext(context.Context) PipelineClusterInitScriptOutput } -func (i SqlEndpointTagsArgs) ToSqlEndpointTagsOutput() SqlEndpointTagsOutput { - return i.ToSqlEndpointTagsOutputWithContext(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 SqlEndpointTagsArgs) ToSqlEndpointTagsOutputWithContext(ctx context.Context) SqlEndpointTagsOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsOutput) +func (PipelineClusterInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScript)(nil)).Elem() } -func (i SqlEndpointTagsArgs) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { - return i.ToSqlEndpointTagsPtrOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptArgs) ToPipelineClusterInitScriptOutput() PipelineClusterInitScriptOutput { + return i.ToPipelineClusterInitScriptOutputWithContext(context.Background()) } -func (i SqlEndpointTagsArgs) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsOutput).ToSqlEndpointTagsPtrOutputWithContext(ctx) +func (i PipelineClusterInitScriptArgs) ToPipelineClusterInitScriptOutputWithContext(ctx context.Context) PipelineClusterInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptOutput) } -// SqlEndpointTagsPtrInput is an input type that accepts SqlEndpointTagsArgs, SqlEndpointTagsPtr and SqlEndpointTagsPtrOutput values. -// You can construct a concrete instance of `SqlEndpointTagsPtrInput` via: -// -// SqlEndpointTagsArgs{...} -// -// or: +// PipelineClusterInitScriptArrayInput is an input type that accepts PipelineClusterInitScriptArray and PipelineClusterInitScriptArrayOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptArrayInput` via: // -// nil -type SqlEndpointTagsPtrInput interface { +// PipelineClusterInitScriptArray{ PipelineClusterInitScriptArgs{...} } +type PipelineClusterInitScriptArrayInput interface { pulumi.Input - ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput - ToSqlEndpointTagsPtrOutputWithContext(context.Context) SqlEndpointTagsPtrOutput + ToPipelineClusterInitScriptArrayOutput() PipelineClusterInitScriptArrayOutput + ToPipelineClusterInitScriptArrayOutputWithContext(context.Context) PipelineClusterInitScriptArrayOutput } -type sqlEndpointTagsPtrType SqlEndpointTagsArgs - -func SqlEndpointTagsPtr(v *SqlEndpointTagsArgs) SqlEndpointTagsPtrInput { - return (*sqlEndpointTagsPtrType)(v) -} +type PipelineClusterInitScriptArray []PipelineClusterInitScriptInput -func (*sqlEndpointTagsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointTags)(nil)).Elem() +func (PipelineClusterInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PipelineClusterInitScript)(nil)).Elem() } -func (i *sqlEndpointTagsPtrType) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { - return i.ToSqlEndpointTagsPtrOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptArray) ToPipelineClusterInitScriptArrayOutput() PipelineClusterInitScriptArrayOutput { + return i.ToPipelineClusterInitScriptArrayOutputWithContext(context.Background()) } -func (i *sqlEndpointTagsPtrType) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsPtrOutput) +func (i PipelineClusterInitScriptArray) ToPipelineClusterInitScriptArrayOutputWithContext(ctx context.Context) PipelineClusterInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptArrayOutput) } -type SqlEndpointTagsOutput struct{ *pulumi.OutputState } +type PipelineClusterInitScriptOutput struct{ *pulumi.OutputState } -func (SqlEndpointTagsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointTags)(nil)).Elem() +func (PipelineClusterInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScript)(nil)).Elem() } -func (o SqlEndpointTagsOutput) ToSqlEndpointTagsOutput() SqlEndpointTagsOutput { +func (o PipelineClusterInitScriptOutput) ToPipelineClusterInitScriptOutput() PipelineClusterInitScriptOutput { return o } -func (o SqlEndpointTagsOutput) ToSqlEndpointTagsOutputWithContext(ctx context.Context) SqlEndpointTagsOutput { +func (o PipelineClusterInitScriptOutput) ToPipelineClusterInitScriptOutputWithContext(ctx context.Context) PipelineClusterInitScriptOutput { return o } -func (o SqlEndpointTagsOutput) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { - return o.ToSqlEndpointTagsPtrOutputWithContext(context.Background()) +func (o PipelineClusterInitScriptOutput) Abfss() PipelineClusterInitScriptAbfssPtrOutput { + return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptAbfss { return v.Abfss }).(PipelineClusterInitScriptAbfssPtrOutput) } -func (o SqlEndpointTagsOutput) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointTags) *SqlEndpointTags { - return &v - }).(SqlEndpointTagsPtrOutput) +// 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 SqlEndpointTagsOutput) CustomTags() SqlEndpointTagsCustomTagArrayOutput { - return o.ApplyT(func(v SqlEndpointTags) []SqlEndpointTagsCustomTag { return v.CustomTags }).(SqlEndpointTagsCustomTagArrayOutput) +func (o PipelineClusterInitScriptOutput) File() PipelineClusterInitScriptFilePtrOutput { + return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptFile { return v.File }).(PipelineClusterInitScriptFilePtrOutput) } -type SqlEndpointTagsPtrOutput struct{ *pulumi.OutputState } +func (o PipelineClusterInitScriptOutput) Gcs() PipelineClusterInitScriptGcsPtrOutput { + return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptGcs { return v.Gcs }).(PipelineClusterInitScriptGcsPtrOutput) +} -func (SqlEndpointTagsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointTags)(nil)).Elem() +func (o PipelineClusterInitScriptOutput) S3() PipelineClusterInitScriptS3PtrOutput { + return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptS3 { return v.S3 }).(PipelineClusterInitScriptS3PtrOutput) } -func (o SqlEndpointTagsPtrOutput) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { - return o +func (o PipelineClusterInitScriptOutput) Volumes() PipelineClusterInitScriptVolumesPtrOutput { + return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptVolumes { return v.Volumes }).(PipelineClusterInitScriptVolumesPtrOutput) } -func (o SqlEndpointTagsPtrOutput) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { - return o +func (o PipelineClusterInitScriptOutput) Workspace() PipelineClusterInitScriptWorkspacePtrOutput { + return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptWorkspace { return v.Workspace }).(PipelineClusterInitScriptWorkspacePtrOutput) } -func (o SqlEndpointTagsPtrOutput) Elem() SqlEndpointTagsOutput { - return o.ApplyT(func(v *SqlEndpointTags) SqlEndpointTags { - if v != nil { - return *v - } - var ret SqlEndpointTags - return ret - }).(SqlEndpointTagsOutput) +type PipelineClusterInitScriptArrayOutput struct{ *pulumi.OutputState } + +func (PipelineClusterInitScriptArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PipelineClusterInitScript)(nil)).Elem() } -func (o SqlEndpointTagsPtrOutput) CustomTags() SqlEndpointTagsCustomTagArrayOutput { - return o.ApplyT(func(v *SqlEndpointTags) []SqlEndpointTagsCustomTag { - if v == nil { - return nil - } - return v.CustomTags - }).(SqlEndpointTagsCustomTagArrayOutput) +func (o PipelineClusterInitScriptArrayOutput) ToPipelineClusterInitScriptArrayOutput() PipelineClusterInitScriptArrayOutput { + return o } -type SqlEndpointTagsCustomTag struct { - Key string `pulumi:"key"` - Value string `pulumi:"value"` +func (o PipelineClusterInitScriptArrayOutput) ToPipelineClusterInitScriptArrayOutputWithContext(ctx context.Context) PipelineClusterInitScriptArrayOutput { + return o } -// 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 +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) +} - ToSqlEndpointTagsCustomTagOutput() SqlEndpointTagsCustomTagOutput - ToSqlEndpointTagsCustomTagOutputWithContext(context.Context) SqlEndpointTagsCustomTagOutput +type PipelineClusterInitScriptAbfss struct { + Destination string `pulumi:"destination"` } -type SqlEndpointTagsCustomTagArgs struct { - Key pulumi.StringInput `pulumi:"key"` - Value pulumi.StringInput `pulumi:"value"` +// PipelineClusterInitScriptAbfssInput is an input type that accepts PipelineClusterInitScriptAbfssArgs and PipelineClusterInitScriptAbfssOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptAbfssInput` via: +// +// PipelineClusterInitScriptAbfssArgs{...} +type PipelineClusterInitScriptAbfssInput interface { + pulumi.Input + + ToPipelineClusterInitScriptAbfssOutput() PipelineClusterInitScriptAbfssOutput + ToPipelineClusterInitScriptAbfssOutputWithContext(context.Context) PipelineClusterInitScriptAbfssOutput } -func (SqlEndpointTagsCustomTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointTagsCustomTag)(nil)).Elem() +type PipelineClusterInitScriptAbfssArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (i SqlEndpointTagsCustomTagArgs) ToSqlEndpointTagsCustomTagOutput() SqlEndpointTagsCustomTagOutput { - return i.ToSqlEndpointTagsCustomTagOutputWithContext(context.Background()) +func (PipelineClusterInitScriptAbfssArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptAbfss)(nil)).Elem() } -func (i SqlEndpointTagsCustomTagArgs) ToSqlEndpointTagsCustomTagOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsCustomTagOutput) +func (i PipelineClusterInitScriptAbfssArgs) ToPipelineClusterInitScriptAbfssOutput() PipelineClusterInitScriptAbfssOutput { + return i.ToPipelineClusterInitScriptAbfssOutputWithContext(context.Background()) } -// SqlEndpointTagsCustomTagArrayInput is an input type that accepts SqlEndpointTagsCustomTagArray and SqlEndpointTagsCustomTagArrayOutput values. -// You can construct a concrete instance of `SqlEndpointTagsCustomTagArrayInput` via: +func (i PipelineClusterInitScriptAbfssArgs) ToPipelineClusterInitScriptAbfssOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptAbfssOutput) +} + +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: // -// SqlEndpointTagsCustomTagArray{ SqlEndpointTagsCustomTagArgs{...} } -type SqlEndpointTagsCustomTagArrayInput interface { +// PipelineClusterInitScriptAbfssArgs{...} +// +// or: +// +// nil +type PipelineClusterInitScriptAbfssPtrInput interface { pulumi.Input - ToSqlEndpointTagsCustomTagArrayOutput() SqlEndpointTagsCustomTagArrayOutput - ToSqlEndpointTagsCustomTagArrayOutputWithContext(context.Context) SqlEndpointTagsCustomTagArrayOutput + ToPipelineClusterInitScriptAbfssPtrOutput() PipelineClusterInitScriptAbfssPtrOutput + ToPipelineClusterInitScriptAbfssPtrOutputWithContext(context.Context) PipelineClusterInitScriptAbfssPtrOutput } -type SqlEndpointTagsCustomTagArray []SqlEndpointTagsCustomTagInput +type pipelineClusterInitScriptAbfssPtrType PipelineClusterInitScriptAbfssArgs -func (SqlEndpointTagsCustomTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlEndpointTagsCustomTag)(nil)).Elem() +func PipelineClusterInitScriptAbfssPtr(v *PipelineClusterInitScriptAbfssArgs) PipelineClusterInitScriptAbfssPtrInput { + return (*pipelineClusterInitScriptAbfssPtrType)(v) } -func (i SqlEndpointTagsCustomTagArray) ToSqlEndpointTagsCustomTagArrayOutput() SqlEndpointTagsCustomTagArrayOutput { - return i.ToSqlEndpointTagsCustomTagArrayOutputWithContext(context.Background()) +func (*pipelineClusterInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptAbfss)(nil)).Elem() } -func (i SqlEndpointTagsCustomTagArray) ToSqlEndpointTagsCustomTagArrayOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsCustomTagArrayOutput) +func (i *pipelineClusterInitScriptAbfssPtrType) ToPipelineClusterInitScriptAbfssPtrOutput() PipelineClusterInitScriptAbfssPtrOutput { + return i.ToPipelineClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -type SqlEndpointTagsCustomTagOutput struct{ *pulumi.OutputState } +func (i *pipelineClusterInitScriptAbfssPtrType) ToPipelineClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptAbfssPtrOutput) +} -func (SqlEndpointTagsCustomTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointTagsCustomTag)(nil)).Elem() +type PipelineClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } + +func (PipelineClusterInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptAbfss)(nil)).Elem() } -func (o SqlEndpointTagsCustomTagOutput) ToSqlEndpointTagsCustomTagOutput() SqlEndpointTagsCustomTagOutput { +func (o PipelineClusterInitScriptAbfssOutput) ToPipelineClusterInitScriptAbfssOutput() PipelineClusterInitScriptAbfssOutput { return o } -func (o SqlEndpointTagsCustomTagOutput) ToSqlEndpointTagsCustomTagOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagOutput { +func (o PipelineClusterInitScriptAbfssOutput) ToPipelineClusterInitScriptAbfssOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssOutput { return o } -func (o SqlEndpointTagsCustomTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v SqlEndpointTagsCustomTag) string { return v.Key }).(pulumi.StringOutput) +func (o PipelineClusterInitScriptAbfssOutput) ToPipelineClusterInitScriptAbfssPtrOutput() PipelineClusterInitScriptAbfssPtrOutput { + return o.ToPipelineClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (o SqlEndpointTagsCustomTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v SqlEndpointTagsCustomTag) string { return v.Value }).(pulumi.StringOutput) +func (o PipelineClusterInitScriptAbfssOutput) ToPipelineClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptAbfss) *PipelineClusterInitScriptAbfss { + return &v + }).(PipelineClusterInitScriptAbfssPtrOutput) } -type SqlEndpointTagsCustomTagArrayOutput struct{ *pulumi.OutputState } +func (o PipelineClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v PipelineClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +} -func (SqlEndpointTagsCustomTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlEndpointTagsCustomTag)(nil)).Elem() +type PipelineClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } + +func (PipelineClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptAbfss)(nil)).Elem() } -func (o SqlEndpointTagsCustomTagArrayOutput) ToSqlEndpointTagsCustomTagArrayOutput() SqlEndpointTagsCustomTagArrayOutput { +func (o PipelineClusterInitScriptAbfssPtrOutput) ToPipelineClusterInitScriptAbfssPtrOutput() PipelineClusterInitScriptAbfssPtrOutput { return o } -func (o SqlEndpointTagsCustomTagArrayOutput) ToSqlEndpointTagsCustomTagArrayOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagArrayOutput { +func (o PipelineClusterInitScriptAbfssPtrOutput) ToPipelineClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssPtrOutput { 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 PipelineClusterInitScriptAbfssPtrOutput) Elem() PipelineClusterInitScriptAbfssOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptAbfss) PipelineClusterInitScriptAbfss { + if v != nil { + return *v + } + var ret PipelineClusterInitScriptAbfss + return ret + }).(PipelineClusterInitScriptAbfssOutput) } -type SqlPermissionsPrivilegeAssignment struct { - // `displayName` for a Group or databricks_user, `applicationId` for a databricks_service_principal. - Principal string `pulumi:"principal"` - // set of available privilege names in upper case. - // - // [Available](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html) privilege names are: - Privileges []string `pulumi:"privileges"` +func (o PipelineClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptAbfss) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// SqlPermissionsPrivilegeAssignmentInput is an input type that accepts SqlPermissionsPrivilegeAssignmentArgs and SqlPermissionsPrivilegeAssignmentOutput values. -// You can construct a concrete instance of `SqlPermissionsPrivilegeAssignmentInput` 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: // -// SqlPermissionsPrivilegeAssignmentArgs{...} -type SqlPermissionsPrivilegeAssignmentInput interface { +// PipelineClusterInitScriptDbfsArgs{...} +type PipelineClusterInitScriptDbfsInput interface { pulumi.Input - ToSqlPermissionsPrivilegeAssignmentOutput() SqlPermissionsPrivilegeAssignmentOutput - ToSqlPermissionsPrivilegeAssignmentOutputWithContext(context.Context) SqlPermissionsPrivilegeAssignmentOutput + ToPipelineClusterInitScriptDbfsOutput() PipelineClusterInitScriptDbfsOutput + ToPipelineClusterInitScriptDbfsOutputWithContext(context.Context) PipelineClusterInitScriptDbfsOutput } -type SqlPermissionsPrivilegeAssignmentArgs struct { - // `displayName` for a Group or databricks_user, `applicationId` for a databricks_service_principal. - Principal pulumi.StringInput `pulumi:"principal"` - // set of available privilege names in upper case. - // - // [Available](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html) privilege names are: - Privileges pulumi.StringArrayInput `pulumi:"privileges"` +type PipelineClusterInitScriptDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (SqlPermissionsPrivilegeAssignmentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlPermissionsPrivilegeAssignment)(nil)).Elem() +func (PipelineClusterInitScriptDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptDbfs)(nil)).Elem() } -func (i SqlPermissionsPrivilegeAssignmentArgs) ToSqlPermissionsPrivilegeAssignmentOutput() SqlPermissionsPrivilegeAssignmentOutput { - return i.ToSqlPermissionsPrivilegeAssignmentOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptDbfsArgs) ToPipelineClusterInitScriptDbfsOutput() PipelineClusterInitScriptDbfsOutput { + return i.ToPipelineClusterInitScriptDbfsOutputWithContext(context.Background()) } -func (i SqlPermissionsPrivilegeAssignmentArgs) ToSqlPermissionsPrivilegeAssignmentOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlPermissionsPrivilegeAssignmentOutput) +func (i PipelineClusterInitScriptDbfsArgs) ToPipelineClusterInitScriptDbfsOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptDbfsOutput) } -// SqlPermissionsPrivilegeAssignmentArrayInput is an input type that accepts SqlPermissionsPrivilegeAssignmentArray and SqlPermissionsPrivilegeAssignmentArrayOutput values. -// You can construct a concrete instance of `SqlPermissionsPrivilegeAssignmentArrayInput` via: +func (i PipelineClusterInitScriptDbfsArgs) ToPipelineClusterInitScriptDbfsPtrOutput() PipelineClusterInitScriptDbfsPtrOutput { + return i.ToPipelineClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +} + +func (i PipelineClusterInitScriptDbfsArgs) ToPipelineClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptDbfsOutput).ToPipelineClusterInitScriptDbfsPtrOutputWithContext(ctx) +} + +// PipelineClusterInitScriptDbfsPtrInput is an input type that accepts PipelineClusterInitScriptDbfsArgs, PipelineClusterInitScriptDbfsPtr and PipelineClusterInitScriptDbfsPtrOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptDbfsPtrInput` via: // -// SqlPermissionsPrivilegeAssignmentArray{ SqlPermissionsPrivilegeAssignmentArgs{...} } -type SqlPermissionsPrivilegeAssignmentArrayInput interface { +// PipelineClusterInitScriptDbfsArgs{...} +// +// or: +// +// nil +type PipelineClusterInitScriptDbfsPtrInput interface { pulumi.Input - ToSqlPermissionsPrivilegeAssignmentArrayOutput() SqlPermissionsPrivilegeAssignmentArrayOutput - ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(context.Context) SqlPermissionsPrivilegeAssignmentArrayOutput + ToPipelineClusterInitScriptDbfsPtrOutput() PipelineClusterInitScriptDbfsPtrOutput + ToPipelineClusterInitScriptDbfsPtrOutputWithContext(context.Context) PipelineClusterInitScriptDbfsPtrOutput } -type SqlPermissionsPrivilegeAssignmentArray []SqlPermissionsPrivilegeAssignmentInput +type pipelineClusterInitScriptDbfsPtrType PipelineClusterInitScriptDbfsArgs -func (SqlPermissionsPrivilegeAssignmentArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlPermissionsPrivilegeAssignment)(nil)).Elem() +func PipelineClusterInitScriptDbfsPtr(v *PipelineClusterInitScriptDbfsArgs) PipelineClusterInitScriptDbfsPtrInput { + return (*pipelineClusterInitScriptDbfsPtrType)(v) } -func (i SqlPermissionsPrivilegeAssignmentArray) ToSqlPermissionsPrivilegeAssignmentArrayOutput() SqlPermissionsPrivilegeAssignmentArrayOutput { - return i.ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(context.Background()) +func (*pipelineClusterInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptDbfs)(nil)).Elem() } -func (i SqlPermissionsPrivilegeAssignmentArray) ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlPermissionsPrivilegeAssignmentArrayOutput) +func (i *pipelineClusterInitScriptDbfsPtrType) ToPipelineClusterInitScriptDbfsPtrOutput() PipelineClusterInitScriptDbfsPtrOutput { + return i.ToPipelineClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -type SqlPermissionsPrivilegeAssignmentOutput struct{ *pulumi.OutputState } +func (i *pipelineClusterInitScriptDbfsPtrType) ToPipelineClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptDbfsPtrOutput) +} -func (SqlPermissionsPrivilegeAssignmentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlPermissionsPrivilegeAssignment)(nil)).Elem() +type PipelineClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } + +func (PipelineClusterInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptDbfs)(nil)).Elem() } -func (o SqlPermissionsPrivilegeAssignmentOutput) ToSqlPermissionsPrivilegeAssignmentOutput() SqlPermissionsPrivilegeAssignmentOutput { +func (o PipelineClusterInitScriptDbfsOutput) ToPipelineClusterInitScriptDbfsOutput() PipelineClusterInitScriptDbfsOutput { return o } -func (o SqlPermissionsPrivilegeAssignmentOutput) ToSqlPermissionsPrivilegeAssignmentOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentOutput { +func (o PipelineClusterInitScriptDbfsOutput) ToPipelineClusterInitScriptDbfsOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsOutput { 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 PipelineClusterInitScriptDbfsOutput) ToPipelineClusterInitScriptDbfsPtrOutput() PipelineClusterInitScriptDbfsPtrOutput { + return o.ToPipelineClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -// set of available privilege names in upper case. -// -// [Available](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html) privilege names are: -func (o SqlPermissionsPrivilegeAssignmentOutput) Privileges() pulumi.StringArrayOutput { - return o.ApplyT(func(v SqlPermissionsPrivilegeAssignment) []string { return v.Privileges }).(pulumi.StringArrayOutput) +func (o PipelineClusterInitScriptDbfsOutput) ToPipelineClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptDbfs) *PipelineClusterInitScriptDbfs { + return &v + }).(PipelineClusterInitScriptDbfsPtrOutput) } -type SqlPermissionsPrivilegeAssignmentArrayOutput struct{ *pulumi.OutputState } +func (o PipelineClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v PipelineClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) +} -func (SqlPermissionsPrivilegeAssignmentArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlPermissionsPrivilegeAssignment)(nil)).Elem() +type PipelineClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } + +func (PipelineClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptDbfs)(nil)).Elem() } -func (o SqlPermissionsPrivilegeAssignmentArrayOutput) ToSqlPermissionsPrivilegeAssignmentArrayOutput() SqlPermissionsPrivilegeAssignmentArrayOutput { +func (o PipelineClusterInitScriptDbfsPtrOutput) ToPipelineClusterInitScriptDbfsPtrOutput() PipelineClusterInitScriptDbfsPtrOutput { return o } -func (o SqlPermissionsPrivilegeAssignmentArrayOutput) ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentArrayOutput { +func (o PipelineClusterInitScriptDbfsPtrOutput) ToPipelineClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsPtrOutput { return o } -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) +func (o PipelineClusterInitScriptDbfsPtrOutput) Elem() PipelineClusterInitScriptDbfsOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptDbfs) PipelineClusterInitScriptDbfs { + if v != nil { + return *v + } + var ret PipelineClusterInitScriptDbfs + return ret + }).(PipelineClusterInitScriptDbfsOutput) } -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 PipelineClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptDbfs) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// SqlQueryParameterInput is an input type that accepts SqlQueryParameterArgs and SqlQueryParameterOutput values. -// You can construct a concrete instance of `SqlQueryParameterInput` via: +type PipelineClusterInitScriptFile struct { + Destination string `pulumi:"destination"` +} + +// PipelineClusterInitScriptFileInput is an input type that accepts PipelineClusterInitScriptFileArgs and PipelineClusterInitScriptFileOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptFileInput` via: // -// SqlQueryParameterArgs{...} -type SqlQueryParameterInput interface { +// PipelineClusterInitScriptFileArgs{...} +type PipelineClusterInitScriptFileInput interface { pulumi.Input - ToSqlQueryParameterOutput() SqlQueryParameterOutput - ToSqlQueryParameterOutputWithContext(context.Context) SqlQueryParameterOutput + ToPipelineClusterInitScriptFileOutput() PipelineClusterInitScriptFileOutput + ToPipelineClusterInitScriptFileOutputWithContext(context.Context) PipelineClusterInitScriptFileOutput } -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"` +type PipelineClusterInitScriptFileArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (SqlQueryParameterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameter)(nil)).Elem() +func (PipelineClusterInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptFile)(nil)).Elem() } -func (i SqlQueryParameterArgs) ToSqlQueryParameterOutput() SqlQueryParameterOutput { - return i.ToSqlQueryParameterOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptFileArgs) ToPipelineClusterInitScriptFileOutput() PipelineClusterInitScriptFileOutput { + return i.ToPipelineClusterInitScriptFileOutputWithContext(context.Background()) } -func (i SqlQueryParameterArgs) ToSqlQueryParameterOutputWithContext(ctx context.Context) SqlQueryParameterOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterOutput) +func (i PipelineClusterInitScriptFileArgs) ToPipelineClusterInitScriptFileOutputWithContext(ctx context.Context) PipelineClusterInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptFileOutput) } -// SqlQueryParameterArrayInput is an input type that accepts SqlQueryParameterArray and SqlQueryParameterArrayOutput values. -// You can construct a concrete instance of `SqlQueryParameterArrayInput` via: +func (i PipelineClusterInitScriptFileArgs) ToPipelineClusterInitScriptFilePtrOutput() PipelineClusterInitScriptFilePtrOutput { + return i.ToPipelineClusterInitScriptFilePtrOutputWithContext(context.Background()) +} + +func (i PipelineClusterInitScriptFileArgs) ToPipelineClusterInitScriptFilePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptFileOutput).ToPipelineClusterInitScriptFilePtrOutputWithContext(ctx) +} + +// PipelineClusterInitScriptFilePtrInput is an input type that accepts PipelineClusterInitScriptFileArgs, PipelineClusterInitScriptFilePtr and PipelineClusterInitScriptFilePtrOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptFilePtrInput` via: // -// SqlQueryParameterArray{ SqlQueryParameterArgs{...} } -type SqlQueryParameterArrayInput interface { +// PipelineClusterInitScriptFileArgs{...} +// +// or: +// +// nil +type PipelineClusterInitScriptFilePtrInput interface { pulumi.Input - ToSqlQueryParameterArrayOutput() SqlQueryParameterArrayOutput - ToSqlQueryParameterArrayOutputWithContext(context.Context) SqlQueryParameterArrayOutput + ToPipelineClusterInitScriptFilePtrOutput() PipelineClusterInitScriptFilePtrOutput + ToPipelineClusterInitScriptFilePtrOutputWithContext(context.Context) PipelineClusterInitScriptFilePtrOutput } -type SqlQueryParameterArray []SqlQueryParameterInput +type pipelineClusterInitScriptFilePtrType PipelineClusterInitScriptFileArgs -func (SqlQueryParameterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlQueryParameter)(nil)).Elem() +func PipelineClusterInitScriptFilePtr(v *PipelineClusterInitScriptFileArgs) PipelineClusterInitScriptFilePtrInput { + return (*pipelineClusterInitScriptFilePtrType)(v) } -func (i SqlQueryParameterArray) ToSqlQueryParameterArrayOutput() SqlQueryParameterArrayOutput { - return i.ToSqlQueryParameterArrayOutputWithContext(context.Background()) +func (*pipelineClusterInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptFile)(nil)).Elem() } -func (i SqlQueryParameterArray) ToSqlQueryParameterArrayOutputWithContext(ctx context.Context) SqlQueryParameterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterArrayOutput) +func (i *pipelineClusterInitScriptFilePtrType) ToPipelineClusterInitScriptFilePtrOutput() PipelineClusterInitScriptFilePtrOutput { + return i.ToPipelineClusterInitScriptFilePtrOutputWithContext(context.Background()) } -type SqlQueryParameterOutput struct{ *pulumi.OutputState } +func (i *pipelineClusterInitScriptFilePtrType) ToPipelineClusterInitScriptFilePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptFilePtrOutput) +} -func (SqlQueryParameterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameter)(nil)).Elem() +type PipelineClusterInitScriptFileOutput struct{ *pulumi.OutputState } + +func (PipelineClusterInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptFile)(nil)).Elem() } -func (o SqlQueryParameterOutput) ToSqlQueryParameterOutput() SqlQueryParameterOutput { +func (o PipelineClusterInitScriptFileOutput) ToPipelineClusterInitScriptFileOutput() PipelineClusterInitScriptFileOutput { return o } -func (o SqlQueryParameterOutput) ToSqlQueryParameterOutputWithContext(ctx context.Context) SqlQueryParameterOutput { +func (o PipelineClusterInitScriptFileOutput) ToPipelineClusterInitScriptFileOutputWithContext(ctx context.Context) PipelineClusterInitScriptFileOutput { return o } -func (o SqlQueryParameterOutput) Date() SqlQueryParameterDatePtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDate { return v.Date }).(SqlQueryParameterDatePtrOutput) +func (o PipelineClusterInitScriptFileOutput) ToPipelineClusterInitScriptFilePtrOutput() PipelineClusterInitScriptFilePtrOutput { + return o.ToPipelineClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterOutput) DateRange() SqlQueryParameterDateRangePtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDateRange { return v.DateRange }).(SqlQueryParameterDateRangePtrOutput) +func (o PipelineClusterInitScriptFileOutput) ToPipelineClusterInitScriptFilePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptFile) *PipelineClusterInitScriptFile { + return &v + }).(PipelineClusterInitScriptFilePtrOutput) } -func (o SqlQueryParameterOutput) Datetime() SqlQueryParameterDatetimePtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDatetime { return v.Datetime }).(SqlQueryParameterDatetimePtrOutput) +func (o PipelineClusterInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v PipelineClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) } -func (o SqlQueryParameterOutput) DatetimeRange() SqlQueryParameterDatetimeRangePtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDatetimeRange { return v.DatetimeRange }).(SqlQueryParameterDatetimeRangePtrOutput) -} +type PipelineClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } -func (o SqlQueryParameterOutput) Datetimesec() SqlQueryParameterDatetimesecPtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDatetimesec { return v.Datetimesec }).(SqlQueryParameterDatetimesecPtrOutput) +func (PipelineClusterInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptFile)(nil)).Elem() } -func (o SqlQueryParameterOutput) DatetimesecRange() SqlQueryParameterDatetimesecRangePtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDatetimesecRange { return v.DatetimesecRange }).(SqlQueryParameterDatetimesecRangePtrOutput) +func (o PipelineClusterInitScriptFilePtrOutput) ToPipelineClusterInitScriptFilePtrOutput() PipelineClusterInitScriptFilePtrOutput { + return o } -func (o SqlQueryParameterOutput) Enum() SqlQueryParameterEnumPtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterEnum { return v.Enum }).(SqlQueryParameterEnumPtrOutput) +func (o PipelineClusterInitScriptFilePtrOutput) ToPipelineClusterInitScriptFilePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptFilePtrOutput { + 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 PipelineClusterInitScriptFilePtrOutput) Elem() PipelineClusterInitScriptFileOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptFile) PipelineClusterInitScriptFile { + if v != nil { + return *v + } + var ret PipelineClusterInitScriptFile + return ret + }).(PipelineClusterInitScriptFileOutput) } -func (o SqlQueryParameterOutput) Number() SqlQueryParameterNumberPtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterNumber { return v.Number }).(SqlQueryParameterNumberPtrOutput) +func (o PipelineClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptFile) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// The text of the query to be run. -func (o SqlQueryParameterOutput) Query() SqlQueryParameterQueryPtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterQuery { return v.Query }).(SqlQueryParameterQueryPtrOutput) +type PipelineClusterInitScriptGcs struct { + Destination string `pulumi:"destination"` } -func (o SqlQueryParameterOutput) Text() SqlQueryParameterTextPtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterText { return v.Text }).(SqlQueryParameterTextPtrOutput) -} +// PipelineClusterInitScriptGcsInput is an input type that accepts PipelineClusterInitScriptGcsArgs and PipelineClusterInitScriptGcsOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptGcsInput` via: +// +// PipelineClusterInitScriptGcsArgs{...} +type PipelineClusterInitScriptGcsInput interface { + pulumi.Input -// 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) + ToPipelineClusterInitScriptGcsOutput() PipelineClusterInitScriptGcsOutput + ToPipelineClusterInitScriptGcsOutputWithContext(context.Context) PipelineClusterInitScriptGcsOutput } -type SqlQueryParameterArrayOutput struct{ *pulumi.OutputState } +type PipelineClusterInitScriptGcsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` +} -func (SqlQueryParameterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlQueryParameter)(nil)).Elem() +func (PipelineClusterInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptGcs)(nil)).Elem() } -func (o SqlQueryParameterArrayOutput) ToSqlQueryParameterArrayOutput() SqlQueryParameterArrayOutput { - return o +func (i PipelineClusterInitScriptGcsArgs) ToPipelineClusterInitScriptGcsOutput() PipelineClusterInitScriptGcsOutput { + return i.ToPipelineClusterInitScriptGcsOutputWithContext(context.Background()) } -func (o SqlQueryParameterArrayOutput) ToSqlQueryParameterArrayOutputWithContext(ctx context.Context) SqlQueryParameterArrayOutput { - return o +func (i PipelineClusterInitScriptGcsArgs) ToPipelineClusterInitScriptGcsOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptGcsOutput) } -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 (i PipelineClusterInitScriptGcsArgs) ToPipelineClusterInitScriptGcsPtrOutput() PipelineClusterInitScriptGcsPtrOutput { + return i.ToPipelineClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -type SqlQueryParameterDate struct { - // The default value for this parameter. - Value string `pulumi:"value"` +func (i PipelineClusterInitScriptGcsArgs) ToPipelineClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptGcsOutput).ToPipelineClusterInitScriptGcsPtrOutputWithContext(ctx) } -// SqlQueryParameterDateInput is an input type that accepts SqlQueryParameterDateArgs and SqlQueryParameterDateOutput values. -// You can construct a concrete instance of `SqlQueryParameterDateInput` via: +// PipelineClusterInitScriptGcsPtrInput is an input type that accepts PipelineClusterInitScriptGcsArgs, PipelineClusterInitScriptGcsPtr and PipelineClusterInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptGcsPtrInput` via: // -// SqlQueryParameterDateArgs{...} -type SqlQueryParameterDateInput interface { +// PipelineClusterInitScriptGcsArgs{...} +// +// or: +// +// nil +type PipelineClusterInitScriptGcsPtrInput interface { pulumi.Input - ToSqlQueryParameterDateOutput() SqlQueryParameterDateOutput - ToSqlQueryParameterDateOutputWithContext(context.Context) SqlQueryParameterDateOutput + ToPipelineClusterInitScriptGcsPtrOutput() PipelineClusterInitScriptGcsPtrOutput + ToPipelineClusterInitScriptGcsPtrOutputWithContext(context.Context) PipelineClusterInitScriptGcsPtrOutput } -type SqlQueryParameterDateArgs struct { - // The default value for this parameter. - Value pulumi.StringInput `pulumi:"value"` +type pipelineClusterInitScriptGcsPtrType PipelineClusterInitScriptGcsArgs + +func PipelineClusterInitScriptGcsPtr(v *PipelineClusterInitScriptGcsArgs) PipelineClusterInitScriptGcsPtrInput { + return (*pipelineClusterInitScriptGcsPtrType)(v) } -func (SqlQueryParameterDateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDate)(nil)).Elem() +func (*pipelineClusterInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptGcs)(nil)).Elem() } -func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDateOutput() SqlQueryParameterDateOutput { - return i.ToSqlQueryParameterDateOutputWithContext(context.Background()) -} - -func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDateOutputWithContext(ctx context.Context) SqlQueryParameterDateOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateOutput) -} - -func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { - return i.ToSqlQueryParameterDatePtrOutputWithContext(context.Background()) -} - -func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateOutput).ToSqlQueryParameterDatePtrOutputWithContext(ctx) -} - -// SqlQueryParameterDatePtrInput is an input type that accepts SqlQueryParameterDateArgs, SqlQueryParameterDatePtr and SqlQueryParameterDatePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatePtrInput` via: -// -// SqlQueryParameterDateArgs{...} -// -// or: -// -// nil -type SqlQueryParameterDatePtrInput interface { - pulumi.Input - - ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput - ToSqlQueryParameterDatePtrOutputWithContext(context.Context) SqlQueryParameterDatePtrOutput -} - -type sqlQueryParameterDatePtrType SqlQueryParameterDateArgs - -func SqlQueryParameterDatePtr(v *SqlQueryParameterDateArgs) SqlQueryParameterDatePtrInput { - return (*sqlQueryParameterDatePtrType)(v) -} - -func (*sqlQueryParameterDatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDate)(nil)).Elem() -} - -func (i *sqlQueryParameterDatePtrType) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { - return i.ToSqlQueryParameterDatePtrOutputWithContext(context.Background()) +func (i *pipelineClusterInitScriptGcsPtrType) ToPipelineClusterInitScriptGcsPtrOutput() PipelineClusterInitScriptGcsPtrOutput { + return i.ToPipelineClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDatePtrType) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatePtrOutput) +func (i *pipelineClusterInitScriptGcsPtrType) ToPipelineClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptGcsPtrOutput) } -type SqlQueryParameterDateOutput struct{ *pulumi.OutputState } +type PipelineClusterInitScriptGcsOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDate)(nil)).Elem() +func (PipelineClusterInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptGcs)(nil)).Elem() } -func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDateOutput() SqlQueryParameterDateOutput { +func (o PipelineClusterInitScriptGcsOutput) ToPipelineClusterInitScriptGcsOutput() PipelineClusterInitScriptGcsOutput { return o } -func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDateOutputWithContext(ctx context.Context) SqlQueryParameterDateOutput { +func (o PipelineClusterInitScriptGcsOutput) ToPipelineClusterInitScriptGcsOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsOutput { return o } -func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { - return o.ToSqlQueryParameterDatePtrOutputWithContext(context.Background()) +func (o PipelineClusterInitScriptGcsOutput) ToPipelineClusterInitScriptGcsPtrOutput() PipelineClusterInitScriptGcsPtrOutput { + return o.ToPipelineClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDate) *SqlQueryParameterDate { +func (o PipelineClusterInitScriptGcsOutput) ToPipelineClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptGcs) *PipelineClusterInitScriptGcs { return &v - }).(SqlQueryParameterDatePtrOutput) + }).(PipelineClusterInitScriptGcsPtrOutput) } -// The default value for this parameter. -func (o SqlQueryParameterDateOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDate) string { return v.Value }).(pulumi.StringOutput) +func (o PipelineClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v PipelineClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) } -type SqlQueryParameterDatePtrOutput struct{ *pulumi.OutputState } +type PipelineClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDate)(nil)).Elem() +func (PipelineClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptGcs)(nil)).Elem() } -func (o SqlQueryParameterDatePtrOutput) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { +func (o PipelineClusterInitScriptGcsPtrOutput) ToPipelineClusterInitScriptGcsPtrOutput() PipelineClusterInitScriptGcsPtrOutput { return o } -func (o SqlQueryParameterDatePtrOutput) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { +func (o PipelineClusterInitScriptGcsPtrOutput) ToPipelineClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsPtrOutput { return o } -func (o SqlQueryParameterDatePtrOutput) Elem() SqlQueryParameterDateOutput { - return o.ApplyT(func(v *SqlQueryParameterDate) SqlQueryParameterDate { +func (o PipelineClusterInitScriptGcsPtrOutput) Elem() PipelineClusterInitScriptGcsOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptGcs) PipelineClusterInitScriptGcs { if v != nil { return *v } - var ret SqlQueryParameterDate + var ret PipelineClusterInitScriptGcs return ret - }).(SqlQueryParameterDateOutput) + }).(PipelineClusterInitScriptGcsOutput) } -// The default value for this parameter. -func (o SqlQueryParameterDatePtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDate) *string { +func (o PipelineClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptGcs) *string { if v == nil { return nil } - return &v.Value + return &v.Destination }).(pulumi.StringPtrOutput) } -type SqlQueryParameterDateRange struct { - Range *SqlQueryParameterDateRangeRange `pulumi:"range"` - // The default value for this parameter. - Value *string `pulumi:"value"` +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"` } -// SqlQueryParameterDateRangeInput is an input type that accepts SqlQueryParameterDateRangeArgs and SqlQueryParameterDateRangeOutput values. -// You can construct a concrete instance of `SqlQueryParameterDateRangeInput` via: +// PipelineClusterInitScriptS3Input is an input type that accepts PipelineClusterInitScriptS3Args and PipelineClusterInitScriptS3Output values. +// You can construct a concrete instance of `PipelineClusterInitScriptS3Input` via: // -// SqlQueryParameterDateRangeArgs{...} -type SqlQueryParameterDateRangeInput interface { +// PipelineClusterInitScriptS3Args{...} +type PipelineClusterInitScriptS3Input interface { pulumi.Input - ToSqlQueryParameterDateRangeOutput() SqlQueryParameterDateRangeOutput - ToSqlQueryParameterDateRangeOutputWithContext(context.Context) SqlQueryParameterDateRangeOutput + ToPipelineClusterInitScriptS3Output() PipelineClusterInitScriptS3Output + ToPipelineClusterInitScriptS3OutputWithContext(context.Context) PipelineClusterInitScriptS3Output } -type SqlQueryParameterDateRangeArgs struct { - Range SqlQueryParameterDateRangeRangePtrInput `pulumi:"range"` - // The default value for this parameter. - Value pulumi.StringPtrInput `pulumi:"value"` +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 (SqlQueryParameterDateRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDateRange)(nil)).Elem() +func (PipelineClusterInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptS3)(nil)).Elem() } -func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangeOutput() SqlQueryParameterDateRangeOutput { - return i.ToSqlQueryParameterDateRangeOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptS3Args) ToPipelineClusterInitScriptS3Output() PipelineClusterInitScriptS3Output { + return i.ToPipelineClusterInitScriptS3OutputWithContext(context.Background()) } -func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeOutput) +func (i PipelineClusterInitScriptS3Args) ToPipelineClusterInitScriptS3OutputWithContext(ctx context.Context) PipelineClusterInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptS3Output) } -func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { - return i.ToSqlQueryParameterDateRangePtrOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptS3Args) ToPipelineClusterInitScriptS3PtrOutput() PipelineClusterInitScriptS3PtrOutput { + return i.ToPipelineClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeOutput).ToSqlQueryParameterDateRangePtrOutputWithContext(ctx) +func (i PipelineClusterInitScriptS3Args) ToPipelineClusterInitScriptS3PtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptS3Output).ToPipelineClusterInitScriptS3PtrOutputWithContext(ctx) } -// SqlQueryParameterDateRangePtrInput is an input type that accepts SqlQueryParameterDateRangeArgs, SqlQueryParameterDateRangePtr and SqlQueryParameterDateRangePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDateRangePtrInput` via: +// PipelineClusterInitScriptS3PtrInput is an input type that accepts PipelineClusterInitScriptS3Args, PipelineClusterInitScriptS3Ptr and PipelineClusterInitScriptS3PtrOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptS3PtrInput` via: // -// SqlQueryParameterDateRangeArgs{...} +// PipelineClusterInitScriptS3Args{...} // // or: // // nil -type SqlQueryParameterDateRangePtrInput interface { +type PipelineClusterInitScriptS3PtrInput interface { pulumi.Input - ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput - ToSqlQueryParameterDateRangePtrOutputWithContext(context.Context) SqlQueryParameterDateRangePtrOutput + ToPipelineClusterInitScriptS3PtrOutput() PipelineClusterInitScriptS3PtrOutput + ToPipelineClusterInitScriptS3PtrOutputWithContext(context.Context) PipelineClusterInitScriptS3PtrOutput } -type sqlQueryParameterDateRangePtrType SqlQueryParameterDateRangeArgs +type pipelineClusterInitScriptS3PtrType PipelineClusterInitScriptS3Args -func SqlQueryParameterDateRangePtr(v *SqlQueryParameterDateRangeArgs) SqlQueryParameterDateRangePtrInput { - return (*sqlQueryParameterDateRangePtrType)(v) +func PipelineClusterInitScriptS3Ptr(v *PipelineClusterInitScriptS3Args) PipelineClusterInitScriptS3PtrInput { + return (*pipelineClusterInitScriptS3PtrType)(v) } -func (*sqlQueryParameterDateRangePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDateRange)(nil)).Elem() +func (*pipelineClusterInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptS3)(nil)).Elem() } -func (i *sqlQueryParameterDateRangePtrType) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { - return i.ToSqlQueryParameterDateRangePtrOutputWithContext(context.Background()) +func (i *pipelineClusterInitScriptS3PtrType) ToPipelineClusterInitScriptS3PtrOutput() PipelineClusterInitScriptS3PtrOutput { + return i.ToPipelineClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDateRangePtrType) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangePtrOutput) +func (i *pipelineClusterInitScriptS3PtrType) ToPipelineClusterInitScriptS3PtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptS3PtrOutput) } -type SqlQueryParameterDateRangeOutput struct{ *pulumi.OutputState } +type PipelineClusterInitScriptS3Output struct{ *pulumi.OutputState } -func (SqlQueryParameterDateRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDateRange)(nil)).Elem() +func (PipelineClusterInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptS3)(nil)).Elem() } -func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangeOutput() SqlQueryParameterDateRangeOutput { +func (o PipelineClusterInitScriptS3Output) ToPipelineClusterInitScriptS3Output() PipelineClusterInitScriptS3Output { return o } -func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeOutput { +func (o PipelineClusterInitScriptS3Output) ToPipelineClusterInitScriptS3OutputWithContext(ctx context.Context) PipelineClusterInitScriptS3Output { return o } -func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { - return o.ToSqlQueryParameterDateRangePtrOutputWithContext(context.Background()) +func (o PipelineClusterInitScriptS3Output) ToPipelineClusterInitScriptS3PtrOutput() PipelineClusterInitScriptS3PtrOutput { + return o.ToPipelineClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDateRange) *SqlQueryParameterDateRange { +func (o PipelineClusterInitScriptS3Output) ToPipelineClusterInitScriptS3PtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptS3) *PipelineClusterInitScriptS3 { return &v - }).(SqlQueryParameterDateRangePtrOutput) + }).(PipelineClusterInitScriptS3PtrOutput) } -func (o SqlQueryParameterDateRangeOutput) Range() SqlQueryParameterDateRangeRangePtrOutput { - return o.ApplyT(func(v SqlQueryParameterDateRange) *SqlQueryParameterDateRangeRange { return v.Range }).(SqlQueryParameterDateRangeRangePtrOutput) +func (o PipelineClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterInitScriptS3) *string { return v.CannedAcl }).(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) +func (o PipelineClusterInitScriptS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v PipelineClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) } -type SqlQueryParameterDateRangePtrOutput struct{ *pulumi.OutputState } +func (o PipelineClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PipelineClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +} -func (SqlQueryParameterDateRangePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDateRange)(nil)).Elem() +func (o PipelineClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterDateRangePtrOutput) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { +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) +} + +type PipelineClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } + +func (PipelineClusterInitScriptS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptS3)(nil)).Elem() +} + +func (o PipelineClusterInitScriptS3PtrOutput) ToPipelineClusterInitScriptS3PtrOutput() PipelineClusterInitScriptS3PtrOutput { return o } -func (o SqlQueryParameterDateRangePtrOutput) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { +func (o PipelineClusterInitScriptS3PtrOutput) ToPipelineClusterInitScriptS3PtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptS3PtrOutput { return o } -func (o SqlQueryParameterDateRangePtrOutput) Elem() SqlQueryParameterDateRangeOutput { - return o.ApplyT(func(v *SqlQueryParameterDateRange) SqlQueryParameterDateRange { +func (o PipelineClusterInitScriptS3PtrOutput) Elem() PipelineClusterInitScriptS3Output { + return o.ApplyT(func(v *PipelineClusterInitScriptS3) PipelineClusterInitScriptS3 { if v != nil { return *v } - var ret SqlQueryParameterDateRange + var ret PipelineClusterInitScriptS3 return ret - }).(SqlQueryParameterDateRangeOutput) + }).(PipelineClusterInitScriptS3Output) } -func (o SqlQueryParameterDateRangePtrOutput) Range() SqlQueryParameterDateRangeRangePtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDateRange) *SqlQueryParameterDateRangeRange { +func (o PipelineClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptS3) *string { if v == nil { return nil } - return v.Range - }).(SqlQueryParameterDateRangeRangePtrOutput) + return v.CannedAcl + }).(pulumi.StringPtrOutput) } -// The default value for this parameter. -func (o SqlQueryParameterDateRangePtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDateRange) *string { +func (o PipelineClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptS3) *string { if v == nil { return nil } - return v.Value + return &v.Destination }).(pulumi.StringPtrOutput) } -type SqlQueryParameterDateRangeRange struct { - End string `pulumi:"end"` - Start string `pulumi:"start"` +func (o PipelineClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -// SqlQueryParameterDateRangeRangeInput is an input type that accepts SqlQueryParameterDateRangeRangeArgs and SqlQueryParameterDateRangeRangeOutput values. -// You can construct a concrete instance of `SqlQueryParameterDateRangeRangeInput` via: +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) +} + +type PipelineClusterInitScriptVolumes struct { + Destination string `pulumi:"destination"` +} + +// PipelineClusterInitScriptVolumesInput is an input type that accepts PipelineClusterInitScriptVolumesArgs and PipelineClusterInitScriptVolumesOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptVolumesInput` via: // -// SqlQueryParameterDateRangeRangeArgs{...} -type SqlQueryParameterDateRangeRangeInput interface { +// PipelineClusterInitScriptVolumesArgs{...} +type PipelineClusterInitScriptVolumesInput interface { pulumi.Input - ToSqlQueryParameterDateRangeRangeOutput() SqlQueryParameterDateRangeRangeOutput - ToSqlQueryParameterDateRangeRangeOutputWithContext(context.Context) SqlQueryParameterDateRangeRangeOutput + ToPipelineClusterInitScriptVolumesOutput() PipelineClusterInitScriptVolumesOutput + ToPipelineClusterInitScriptVolumesOutputWithContext(context.Context) PipelineClusterInitScriptVolumesOutput } -type SqlQueryParameterDateRangeRangeArgs struct { - End pulumi.StringInput `pulumi:"end"` - Start pulumi.StringInput `pulumi:"start"` +type PipelineClusterInitScriptVolumesArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (SqlQueryParameterDateRangeRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDateRangeRange)(nil)).Elem() +func (PipelineClusterInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptVolumes)(nil)).Elem() } -func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangeOutput() SqlQueryParameterDateRangeRangeOutput { - return i.ToSqlQueryParameterDateRangeRangeOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptVolumesArgs) ToPipelineClusterInitScriptVolumesOutput() PipelineClusterInitScriptVolumesOutput { + return i.ToPipelineClusterInitScriptVolumesOutputWithContext(context.Background()) } -func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeRangeOutput) +func (i PipelineClusterInitScriptVolumesArgs) ToPipelineClusterInitScriptVolumesOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptVolumesOutput) } -func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { - return i.ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptVolumesArgs) ToPipelineClusterInitScriptVolumesPtrOutput() PipelineClusterInitScriptVolumesPtrOutput { + return i.ToPipelineClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeRangeOutput).ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx) +func (i PipelineClusterInitScriptVolumesArgs) ToPipelineClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptVolumesOutput).ToPipelineClusterInitScriptVolumesPtrOutputWithContext(ctx) } -// SqlQueryParameterDateRangeRangePtrInput is an input type that accepts SqlQueryParameterDateRangeRangeArgs, SqlQueryParameterDateRangeRangePtr and SqlQueryParameterDateRangeRangePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDateRangeRangePtrInput` via: +// PipelineClusterInitScriptVolumesPtrInput is an input type that accepts PipelineClusterInitScriptVolumesArgs, PipelineClusterInitScriptVolumesPtr and PipelineClusterInitScriptVolumesPtrOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptVolumesPtrInput` via: // -// SqlQueryParameterDateRangeRangeArgs{...} +// PipelineClusterInitScriptVolumesArgs{...} // // or: // // nil -type SqlQueryParameterDateRangeRangePtrInput interface { +type PipelineClusterInitScriptVolumesPtrInput interface { pulumi.Input - ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput - ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Context) SqlQueryParameterDateRangeRangePtrOutput + ToPipelineClusterInitScriptVolumesPtrOutput() PipelineClusterInitScriptVolumesPtrOutput + ToPipelineClusterInitScriptVolumesPtrOutputWithContext(context.Context) PipelineClusterInitScriptVolumesPtrOutput } -type sqlQueryParameterDateRangeRangePtrType SqlQueryParameterDateRangeRangeArgs +type pipelineClusterInitScriptVolumesPtrType PipelineClusterInitScriptVolumesArgs -func SqlQueryParameterDateRangeRangePtr(v *SqlQueryParameterDateRangeRangeArgs) SqlQueryParameterDateRangeRangePtrInput { - return (*sqlQueryParameterDateRangeRangePtrType)(v) +func PipelineClusterInitScriptVolumesPtr(v *PipelineClusterInitScriptVolumesArgs) PipelineClusterInitScriptVolumesPtrInput { + return (*pipelineClusterInitScriptVolumesPtrType)(v) } -func (*sqlQueryParameterDateRangeRangePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDateRangeRange)(nil)).Elem() +func (*pipelineClusterInitScriptVolumesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptVolumes)(nil)).Elem() } -func (i *sqlQueryParameterDateRangeRangePtrType) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { - return i.ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Background()) +func (i *pipelineClusterInitScriptVolumesPtrType) ToPipelineClusterInitScriptVolumesPtrOutput() PipelineClusterInitScriptVolumesPtrOutput { + return i.ToPipelineClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDateRangeRangePtrType) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeRangePtrOutput) +func (i *pipelineClusterInitScriptVolumesPtrType) ToPipelineClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptVolumesPtrOutput) } -type SqlQueryParameterDateRangeRangeOutput struct{ *pulumi.OutputState } +type PipelineClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDateRangeRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDateRangeRange)(nil)).Elem() +func (PipelineClusterInitScriptVolumesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptVolumes)(nil)).Elem() } -func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangeOutput() SqlQueryParameterDateRangeRangeOutput { +func (o PipelineClusterInitScriptVolumesOutput) ToPipelineClusterInitScriptVolumesOutput() PipelineClusterInitScriptVolumesOutput { return o } -func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangeOutput { +func (o PipelineClusterInitScriptVolumesOutput) ToPipelineClusterInitScriptVolumesOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesOutput { return o } -func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { - return o.ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Background()) +func (o PipelineClusterInitScriptVolumesOutput) ToPipelineClusterInitScriptVolumesPtrOutput() PipelineClusterInitScriptVolumesPtrOutput { + return o.ToPipelineClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDateRangeRange) *SqlQueryParameterDateRangeRange { +func (o PipelineClusterInitScriptVolumesOutput) ToPipelineClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptVolumes) *PipelineClusterInitScriptVolumes { return &v - }).(SqlQueryParameterDateRangeRangePtrOutput) -} - -func (o SqlQueryParameterDateRangeRangeOutput) End() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDateRangeRange) string { return v.End }).(pulumi.StringOutput) + }).(PipelineClusterInitScriptVolumesPtrOutput) } -func (o SqlQueryParameterDateRangeRangeOutput) Start() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDateRangeRange) string { return v.Start }).(pulumi.StringOutput) +func (o PipelineClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v PipelineClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) } -type SqlQueryParameterDateRangeRangePtrOutput struct{ *pulumi.OutputState } +type PipelineClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDateRangeRangePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDateRangeRange)(nil)).Elem() +func (PipelineClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptVolumes)(nil)).Elem() } -func (o SqlQueryParameterDateRangeRangePtrOutput) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { +func (o PipelineClusterInitScriptVolumesPtrOutput) ToPipelineClusterInitScriptVolumesPtrOutput() PipelineClusterInitScriptVolumesPtrOutput { return o } -func (o SqlQueryParameterDateRangeRangePtrOutput) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { +func (o PipelineClusterInitScriptVolumesPtrOutput) ToPipelineClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesPtrOutput { return o } -func (o SqlQueryParameterDateRangeRangePtrOutput) Elem() SqlQueryParameterDateRangeRangeOutput { - return o.ApplyT(func(v *SqlQueryParameterDateRangeRange) SqlQueryParameterDateRangeRange { +func (o PipelineClusterInitScriptVolumesPtrOutput) Elem() PipelineClusterInitScriptVolumesOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptVolumes) PipelineClusterInitScriptVolumes { if v != nil { return *v } - var ret SqlQueryParameterDateRangeRange + var ret PipelineClusterInitScriptVolumes return ret - }).(SqlQueryParameterDateRangeRangeOutput) -} - -func (o SqlQueryParameterDateRangeRangePtrOutput) End() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDateRangeRange) *string { - if v == nil { - return nil - } - return &v.End - }).(pulumi.StringPtrOutput) + }).(PipelineClusterInitScriptVolumesOutput) } -func (o SqlQueryParameterDateRangeRangePtrOutput) Start() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDateRangeRange) *string { +func (o PipelineClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptVolumes) *string { if v == nil { return nil } - return &v.Start + return &v.Destination }).(pulumi.StringPtrOutput) } -type SqlQueryParameterDatetime struct { - // The default value for this parameter. - Value string `pulumi:"value"` +type PipelineClusterInitScriptWorkspace struct { + Destination string `pulumi:"destination"` } -// SqlQueryParameterDatetimeInput is an input type that accepts SqlQueryParameterDatetimeArgs and SqlQueryParameterDatetimeOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimeInput` via: +// PipelineClusterInitScriptWorkspaceInput is an input type that accepts PipelineClusterInitScriptWorkspaceArgs and PipelineClusterInitScriptWorkspaceOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptWorkspaceInput` via: // -// SqlQueryParameterDatetimeArgs{...} -type SqlQueryParameterDatetimeInput interface { +// PipelineClusterInitScriptWorkspaceArgs{...} +type PipelineClusterInitScriptWorkspaceInput interface { pulumi.Input - ToSqlQueryParameterDatetimeOutput() SqlQueryParameterDatetimeOutput - ToSqlQueryParameterDatetimeOutputWithContext(context.Context) SqlQueryParameterDatetimeOutput + ToPipelineClusterInitScriptWorkspaceOutput() PipelineClusterInitScriptWorkspaceOutput + ToPipelineClusterInitScriptWorkspaceOutputWithContext(context.Context) PipelineClusterInitScriptWorkspaceOutput } -type SqlQueryParameterDatetimeArgs struct { - // The default value for this parameter. - Value pulumi.StringInput `pulumi:"value"` +type PipelineClusterInitScriptWorkspaceArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (SqlQueryParameterDatetimeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetime)(nil)).Elem() +func (PipelineClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptWorkspace)(nil)).Elem() } -func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimeOutput() SqlQueryParameterDatetimeOutput { - return i.ToSqlQueryParameterDatetimeOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptWorkspaceArgs) ToPipelineClusterInitScriptWorkspaceOutput() PipelineClusterInitScriptWorkspaceOutput { + return i.ToPipelineClusterInitScriptWorkspaceOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeOutput) +func (i PipelineClusterInitScriptWorkspaceArgs) ToPipelineClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptWorkspaceOutput) } -func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { - return i.ToSqlQueryParameterDatetimePtrOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptWorkspaceArgs) ToPipelineClusterInitScriptWorkspacePtrOutput() PipelineClusterInitScriptWorkspacePtrOutput { + return i.ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeOutput).ToSqlQueryParameterDatetimePtrOutputWithContext(ctx) +func (i PipelineClusterInitScriptWorkspaceArgs) ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptWorkspaceOutput).ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(ctx) } -// SqlQueryParameterDatetimePtrInput is an input type that accepts SqlQueryParameterDatetimeArgs, SqlQueryParameterDatetimePtr and SqlQueryParameterDatetimePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimePtrInput` via: +// PipelineClusterInitScriptWorkspacePtrInput is an input type that accepts PipelineClusterInitScriptWorkspaceArgs, PipelineClusterInitScriptWorkspacePtr and PipelineClusterInitScriptWorkspacePtrOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptWorkspacePtrInput` via: // -// SqlQueryParameterDatetimeArgs{...} +// PipelineClusterInitScriptWorkspaceArgs{...} // // or: // // nil -type SqlQueryParameterDatetimePtrInput interface { +type PipelineClusterInitScriptWorkspacePtrInput interface { pulumi.Input - ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput - ToSqlQueryParameterDatetimePtrOutputWithContext(context.Context) SqlQueryParameterDatetimePtrOutput + ToPipelineClusterInitScriptWorkspacePtrOutput() PipelineClusterInitScriptWorkspacePtrOutput + ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(context.Context) PipelineClusterInitScriptWorkspacePtrOutput } -type sqlQueryParameterDatetimePtrType SqlQueryParameterDatetimeArgs +type pipelineClusterInitScriptWorkspacePtrType PipelineClusterInitScriptWorkspaceArgs -func SqlQueryParameterDatetimePtr(v *SqlQueryParameterDatetimeArgs) SqlQueryParameterDatetimePtrInput { - return (*sqlQueryParameterDatetimePtrType)(v) +func PipelineClusterInitScriptWorkspacePtr(v *PipelineClusterInitScriptWorkspaceArgs) PipelineClusterInitScriptWorkspacePtrInput { + return (*pipelineClusterInitScriptWorkspacePtrType)(v) } -func (*sqlQueryParameterDatetimePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetime)(nil)).Elem() +func (*pipelineClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptWorkspace)(nil)).Elem() } -func (i *sqlQueryParameterDatetimePtrType) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { - return i.ToSqlQueryParameterDatetimePtrOutputWithContext(context.Background()) -} +func (i *pipelineClusterInitScriptWorkspacePtrType) ToPipelineClusterInitScriptWorkspacePtrOutput() PipelineClusterInitScriptWorkspacePtrOutput { + return i.ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +} -func (i *sqlQueryParameterDatetimePtrType) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimePtrOutput) +func (i *pipelineClusterInitScriptWorkspacePtrType) ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptWorkspacePtrOutput) } -type SqlQueryParameterDatetimeOutput struct{ *pulumi.OutputState } +type PipelineClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetime)(nil)).Elem() +func (PipelineClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptWorkspace)(nil)).Elem() } -func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimeOutput() SqlQueryParameterDatetimeOutput { +func (o PipelineClusterInitScriptWorkspaceOutput) ToPipelineClusterInitScriptWorkspaceOutput() PipelineClusterInitScriptWorkspaceOutput { return o } -func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeOutput { +func (o PipelineClusterInitScriptWorkspaceOutput) ToPipelineClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspaceOutput { return o } -func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { - return o.ToSqlQueryParameterDatetimePtrOutputWithContext(context.Background()) +func (o PipelineClusterInitScriptWorkspaceOutput) ToPipelineClusterInitScriptWorkspacePtrOutput() PipelineClusterInitScriptWorkspacePtrOutput { + return o.ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetime) *SqlQueryParameterDatetime { +func (o PipelineClusterInitScriptWorkspaceOutput) ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptWorkspace) *PipelineClusterInitScriptWorkspace { return &v - }).(SqlQueryParameterDatetimePtrOutput) + }).(PipelineClusterInitScriptWorkspacePtrOutput) } -// The default value for this parameter. -func (o SqlQueryParameterDatetimeOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDatetime) string { return v.Value }).(pulumi.StringOutput) +func (o PipelineClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v PipelineClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) } -type SqlQueryParameterDatetimePtrOutput struct{ *pulumi.OutputState } +type PipelineClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetime)(nil)).Elem() +func (PipelineClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptWorkspace)(nil)).Elem() } -func (o SqlQueryParameterDatetimePtrOutput) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { +func (o PipelineClusterInitScriptWorkspacePtrOutput) ToPipelineClusterInitScriptWorkspacePtrOutput() PipelineClusterInitScriptWorkspacePtrOutput { return o } -func (o SqlQueryParameterDatetimePtrOutput) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { +func (o PipelineClusterInitScriptWorkspacePtrOutput) ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspacePtrOutput { return o } -func (o SqlQueryParameterDatetimePtrOutput) Elem() SqlQueryParameterDatetimeOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetime) SqlQueryParameterDatetime { +func (o PipelineClusterInitScriptWorkspacePtrOutput) Elem() PipelineClusterInitScriptWorkspaceOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptWorkspace) PipelineClusterInitScriptWorkspace { if v != nil { return *v } - var ret SqlQueryParameterDatetime + var ret PipelineClusterInitScriptWorkspace return ret - }).(SqlQueryParameterDatetimeOutput) + }).(PipelineClusterInitScriptWorkspaceOutput) } -// The default value for this parameter. -func (o SqlQueryParameterDatetimePtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetime) *string { +func (o PipelineClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptWorkspace) *string { if v == nil { return nil } - return &v.Value + return &v.Destination }).(pulumi.StringPtrOutput) } -type SqlQueryParameterDatetimeRange struct { - Range *SqlQueryParameterDatetimeRangeRange `pulumi:"range"` - // The default value for this parameter. - Value *string `pulumi:"value"` +type PipelineFilters struct { + Excludes []string `pulumi:"excludes"` + Includes []string `pulumi:"includes"` } -// SqlQueryParameterDatetimeRangeInput is an input type that accepts SqlQueryParameterDatetimeRangeArgs and SqlQueryParameterDatetimeRangeOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimeRangeInput` via: +// PipelineFiltersInput is an input type that accepts PipelineFiltersArgs and PipelineFiltersOutput values. +// You can construct a concrete instance of `PipelineFiltersInput` via: // -// SqlQueryParameterDatetimeRangeArgs{...} -type SqlQueryParameterDatetimeRangeInput interface { +// PipelineFiltersArgs{...} +type PipelineFiltersInput interface { pulumi.Input - ToSqlQueryParameterDatetimeRangeOutput() SqlQueryParameterDatetimeRangeOutput - ToSqlQueryParameterDatetimeRangeOutputWithContext(context.Context) SqlQueryParameterDatetimeRangeOutput + ToPipelineFiltersOutput() PipelineFiltersOutput + ToPipelineFiltersOutputWithContext(context.Context) PipelineFiltersOutput } -type SqlQueryParameterDatetimeRangeArgs struct { - Range SqlQueryParameterDatetimeRangeRangePtrInput `pulumi:"range"` - // The default value for this parameter. - Value pulumi.StringPtrInput `pulumi:"value"` +type PipelineFiltersArgs struct { + Excludes pulumi.StringArrayInput `pulumi:"excludes"` + Includes pulumi.StringArrayInput `pulumi:"includes"` } -func (SqlQueryParameterDatetimeRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimeRange)(nil)).Elem() +func (PipelineFiltersArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineFilters)(nil)).Elem() } -func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangeOutput() SqlQueryParameterDatetimeRangeOutput { - return i.ToSqlQueryParameterDatetimeRangeOutputWithContext(context.Background()) +func (i PipelineFiltersArgs) ToPipelineFiltersOutput() PipelineFiltersOutput { + return i.ToPipelineFiltersOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeOutput) +func (i PipelineFiltersArgs) ToPipelineFiltersOutputWithContext(ctx context.Context) PipelineFiltersOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineFiltersOutput) } -func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { - return i.ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Background()) +func (i PipelineFiltersArgs) ToPipelineFiltersPtrOutput() PipelineFiltersPtrOutput { + return i.ToPipelineFiltersPtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeOutput).ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx) +func (i PipelineFiltersArgs) ToPipelineFiltersPtrOutputWithContext(ctx context.Context) PipelineFiltersPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineFiltersOutput).ToPipelineFiltersPtrOutputWithContext(ctx) } -// SqlQueryParameterDatetimeRangePtrInput is an input type that accepts SqlQueryParameterDatetimeRangeArgs, SqlQueryParameterDatetimeRangePtr and SqlQueryParameterDatetimeRangePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimeRangePtrInput` via: +// PipelineFiltersPtrInput is an input type that accepts PipelineFiltersArgs, PipelineFiltersPtr and PipelineFiltersPtrOutput values. +// You can construct a concrete instance of `PipelineFiltersPtrInput` via: // -// SqlQueryParameterDatetimeRangeArgs{...} +// PipelineFiltersArgs{...} // // or: // // nil -type SqlQueryParameterDatetimeRangePtrInput interface { +type PipelineFiltersPtrInput interface { pulumi.Input - ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput - ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimeRangePtrOutput + ToPipelineFiltersPtrOutput() PipelineFiltersPtrOutput + ToPipelineFiltersPtrOutputWithContext(context.Context) PipelineFiltersPtrOutput } -type sqlQueryParameterDatetimeRangePtrType SqlQueryParameterDatetimeRangeArgs +type pipelineFiltersPtrType PipelineFiltersArgs -func SqlQueryParameterDatetimeRangePtr(v *SqlQueryParameterDatetimeRangeArgs) SqlQueryParameterDatetimeRangePtrInput { - return (*sqlQueryParameterDatetimeRangePtrType)(v) +func PipelineFiltersPtr(v *PipelineFiltersArgs) PipelineFiltersPtrInput { + return (*pipelineFiltersPtrType)(v) } -func (*sqlQueryParameterDatetimeRangePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimeRange)(nil)).Elem() +func (*pipelineFiltersPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineFilters)(nil)).Elem() } -func (i *sqlQueryParameterDatetimeRangePtrType) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { - return i.ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Background()) +func (i *pipelineFiltersPtrType) ToPipelineFiltersPtrOutput() PipelineFiltersPtrOutput { + return i.ToPipelineFiltersPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDatetimeRangePtrType) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangePtrOutput) +func (i *pipelineFiltersPtrType) ToPipelineFiltersPtrOutputWithContext(ctx context.Context) PipelineFiltersPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineFiltersPtrOutput) } -type SqlQueryParameterDatetimeRangeOutput struct{ *pulumi.OutputState } +type PipelineFiltersOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimeRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimeRange)(nil)).Elem() +func (PipelineFiltersOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineFilters)(nil)).Elem() } -func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangeOutput() SqlQueryParameterDatetimeRangeOutput { +func (o PipelineFiltersOutput) ToPipelineFiltersOutput() PipelineFiltersOutput { return o } -func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeOutput { +func (o PipelineFiltersOutput) ToPipelineFiltersOutputWithContext(ctx context.Context) PipelineFiltersOutput { return o } -func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { - return o.ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Background()) +func (o PipelineFiltersOutput) ToPipelineFiltersPtrOutput() PipelineFiltersPtrOutput { + return o.ToPipelineFiltersPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimeRange) *SqlQueryParameterDatetimeRange { +func (o PipelineFiltersOutput) ToPipelineFiltersPtrOutputWithContext(ctx context.Context) PipelineFiltersPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineFilters) *PipelineFilters { return &v - }).(SqlQueryParameterDatetimeRangePtrOutput) + }).(PipelineFiltersPtrOutput) } -func (o SqlQueryParameterDatetimeRangeOutput) Range() SqlQueryParameterDatetimeRangeRangePtrOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimeRange) *SqlQueryParameterDatetimeRangeRange { return v.Range }).(SqlQueryParameterDatetimeRangeRangePtrOutput) +func (o PipelineFiltersOutput) Excludes() pulumi.StringArrayOutput { + return o.ApplyT(func(v PipelineFilters) []string { return v.Excludes }).(pulumi.StringArrayOutput) } -// 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 PipelineFiltersOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v PipelineFilters) []string { return v.Includes }).(pulumi.StringArrayOutput) } -type SqlQueryParameterDatetimeRangePtrOutput struct{ *pulumi.OutputState } +type PipelineFiltersPtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimeRangePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimeRange)(nil)).Elem() +func (PipelineFiltersPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineFilters)(nil)).Elem() } -func (o SqlQueryParameterDatetimeRangePtrOutput) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { +func (o PipelineFiltersPtrOutput) ToPipelineFiltersPtrOutput() PipelineFiltersPtrOutput { return o } -func (o SqlQueryParameterDatetimeRangePtrOutput) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { +func (o PipelineFiltersPtrOutput) ToPipelineFiltersPtrOutputWithContext(ctx context.Context) PipelineFiltersPtrOutput { return o } -func (o SqlQueryParameterDatetimeRangePtrOutput) Elem() SqlQueryParameterDatetimeRangeOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimeRange) SqlQueryParameterDatetimeRange { +func (o PipelineFiltersPtrOutput) Elem() PipelineFiltersOutput { + return o.ApplyT(func(v *PipelineFilters) PipelineFilters { if v != nil { return *v } - var ret SqlQueryParameterDatetimeRange + var ret PipelineFilters return ret - }).(SqlQueryParameterDatetimeRangeOutput) + }).(PipelineFiltersOutput) } -func (o SqlQueryParameterDatetimeRangePtrOutput) Range() SqlQueryParameterDatetimeRangeRangePtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimeRange) *SqlQueryParameterDatetimeRangeRange { +func (o PipelineFiltersPtrOutput) Excludes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PipelineFilters) []string { if v == nil { return nil } - return v.Range - }).(SqlQueryParameterDatetimeRangeRangePtrOutput) + return v.Excludes + }).(pulumi.StringArrayOutput) } -// The default value for this parameter. -func (o SqlQueryParameterDatetimeRangePtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimeRange) *string { +func (o PipelineFiltersPtrOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PipelineFilters) []string { if v == nil { return nil } - return v.Value - }).(pulumi.StringPtrOutput) + return v.Includes + }).(pulumi.StringArrayOutput) } -type SqlQueryParameterDatetimeRangeRange struct { - End string `pulumi:"end"` - Start string `pulumi:"start"` +type PipelineLibrary struct { + File *PipelineLibraryFile `pulumi:"file"` + Jar *string `pulumi:"jar"` + Maven *PipelineLibraryMaven `pulumi:"maven"` + Notebook *PipelineLibraryNotebook `pulumi:"notebook"` + Whl *string `pulumi:"whl"` } -// SqlQueryParameterDatetimeRangeRangeInput is an input type that accepts SqlQueryParameterDatetimeRangeRangeArgs and SqlQueryParameterDatetimeRangeRangeOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimeRangeRangeInput` via: +// PipelineLibraryInput is an input type that accepts PipelineLibraryArgs and PipelineLibraryOutput values. +// You can construct a concrete instance of `PipelineLibraryInput` via: // -// SqlQueryParameterDatetimeRangeRangeArgs{...} -type SqlQueryParameterDatetimeRangeRangeInput interface { +// PipelineLibraryArgs{...} +type PipelineLibraryInput interface { pulumi.Input - ToSqlQueryParameterDatetimeRangeRangeOutput() SqlQueryParameterDatetimeRangeRangeOutput - ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(context.Context) SqlQueryParameterDatetimeRangeRangeOutput -} - -type SqlQueryParameterDatetimeRangeRangeArgs struct { - End pulumi.StringInput `pulumi:"end"` - Start pulumi.StringInput `pulumi:"start"` -} - -func (SqlQueryParameterDatetimeRangeRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimeRangeRange)(nil)).Elem() + ToPipelineLibraryOutput() PipelineLibraryOutput + ToPipelineLibraryOutputWithContext(context.Context) PipelineLibraryOutput } -func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangeOutput() SqlQueryParameterDatetimeRangeRangeOutput { - return i.ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(context.Background()) +type PipelineLibraryArgs struct { + File PipelineLibraryFilePtrInput `pulumi:"file"` + Jar pulumi.StringPtrInput `pulumi:"jar"` + Maven PipelineLibraryMavenPtrInput `pulumi:"maven"` + Notebook PipelineLibraryNotebookPtrInput `pulumi:"notebook"` + Whl pulumi.StringPtrInput `pulumi:"whl"` } -func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeRangeOutput) +func (PipelineLibraryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineLibrary)(nil)).Elem() } -func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { - return i.ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Background()) +func (i PipelineLibraryArgs) ToPipelineLibraryOutput() PipelineLibraryOutput { + return i.ToPipelineLibraryOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeRangeOutput).ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx) +func (i PipelineLibraryArgs) ToPipelineLibraryOutputWithContext(ctx context.Context) PipelineLibraryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryOutput) } -// SqlQueryParameterDatetimeRangeRangePtrInput is an input type that accepts SqlQueryParameterDatetimeRangeRangeArgs, SqlQueryParameterDatetimeRangeRangePtr and SqlQueryParameterDatetimeRangeRangePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimeRangeRangePtrInput` via: -// -// SqlQueryParameterDatetimeRangeRangeArgs{...} -// -// or: +// PipelineLibraryArrayInput is an input type that accepts PipelineLibraryArray and PipelineLibraryArrayOutput values. +// You can construct a concrete instance of `PipelineLibraryArrayInput` via: // -// nil -type SqlQueryParameterDatetimeRangeRangePtrInput interface { +// PipelineLibraryArray{ PipelineLibraryArgs{...} } +type PipelineLibraryArrayInput interface { pulumi.Input - ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput - ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput + ToPipelineLibraryArrayOutput() PipelineLibraryArrayOutput + ToPipelineLibraryArrayOutputWithContext(context.Context) PipelineLibraryArrayOutput } -type sqlQueryParameterDatetimeRangeRangePtrType SqlQueryParameterDatetimeRangeRangeArgs - -func SqlQueryParameterDatetimeRangeRangePtr(v *SqlQueryParameterDatetimeRangeRangeArgs) SqlQueryParameterDatetimeRangeRangePtrInput { - return (*sqlQueryParameterDatetimeRangeRangePtrType)(v) -} +type PipelineLibraryArray []PipelineLibraryInput -func (*sqlQueryParameterDatetimeRangeRangePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimeRangeRange)(nil)).Elem() +func (PipelineLibraryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PipelineLibrary)(nil)).Elem() } -func (i *sqlQueryParameterDatetimeRangeRangePtrType) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { - return i.ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Background()) +func (i PipelineLibraryArray) ToPipelineLibraryArrayOutput() PipelineLibraryArrayOutput { + return i.ToPipelineLibraryArrayOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDatetimeRangeRangePtrType) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeRangePtrOutput) +func (i PipelineLibraryArray) ToPipelineLibraryArrayOutputWithContext(ctx context.Context) PipelineLibraryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryArrayOutput) } -type SqlQueryParameterDatetimeRangeRangeOutput struct{ *pulumi.OutputState } +type PipelineLibraryOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimeRangeRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimeRangeRange)(nil)).Elem() +func (PipelineLibraryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineLibrary)(nil)).Elem() } -func (o SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangeOutput() SqlQueryParameterDatetimeRangeRangeOutput { +func (o PipelineLibraryOutput) ToPipelineLibraryOutput() PipelineLibraryOutput { return o } -func (o SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangeOutput { +func (o PipelineLibraryOutput) ToPipelineLibraryOutputWithContext(ctx context.Context) PipelineLibraryOutput { return o } -func (o SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { - return o.ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Background()) +func (o PipelineLibraryOutput) File() PipelineLibraryFilePtrOutput { + return o.ApplyT(func(v PipelineLibrary) *PipelineLibraryFile { return v.File }).(PipelineLibraryFilePtrOutput) } -func (o SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimeRangeRange) *SqlQueryParameterDatetimeRangeRange { - return &v - }).(SqlQueryParameterDatetimeRangeRangePtrOutput) +func (o PipelineLibraryOutput) Jar() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterDatetimeRangeRangeOutput) End() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimeRangeRange) string { return v.End }).(pulumi.StringOutput) +func (o PipelineLibraryOutput) Maven() PipelineLibraryMavenPtrOutput { + return o.ApplyT(func(v PipelineLibrary) *PipelineLibraryMaven { return v.Maven }).(PipelineLibraryMavenPtrOutput) } -func (o SqlQueryParameterDatetimeRangeRangeOutput) Start() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimeRangeRange) string { return v.Start }).(pulumi.StringOutput) +func (o PipelineLibraryOutput) Notebook() PipelineLibraryNotebookPtrOutput { + return o.ApplyT(func(v PipelineLibrary) *PipelineLibraryNotebook { return v.Notebook }).(PipelineLibraryNotebookPtrOutput) } -type SqlQueryParameterDatetimeRangeRangePtrOutput struct{ *pulumi.OutputState } - -func (SqlQueryParameterDatetimeRangeRangePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimeRangeRange)(nil)).Elem() +func (o PipelineLibraryOutput) Whl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterDatetimeRangeRangePtrOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { - return o -} +type PipelineLibraryArrayOutput struct{ *pulumi.OutputState } -func (o SqlQueryParameterDatetimeRangeRangePtrOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { - return o +func (PipelineLibraryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PipelineLibrary)(nil)).Elem() } -func (o SqlQueryParameterDatetimeRangeRangePtrOutput) Elem() SqlQueryParameterDatetimeRangeRangeOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimeRangeRange) SqlQueryParameterDatetimeRangeRange { - if v != nil { - return *v - } - var ret SqlQueryParameterDatetimeRangeRange - return ret - }).(SqlQueryParameterDatetimeRangeRangeOutput) +func (o PipelineLibraryArrayOutput) ToPipelineLibraryArrayOutput() PipelineLibraryArrayOutput { + return o } -func (o SqlQueryParameterDatetimeRangeRangePtrOutput) End() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimeRangeRange) *string { - if v == nil { - return nil - } - return &v.End - }).(pulumi.StringPtrOutput) +func (o PipelineLibraryArrayOutput) ToPipelineLibraryArrayOutputWithContext(ctx context.Context) PipelineLibraryArrayOutput { + return o } -func (o SqlQueryParameterDatetimeRangeRangePtrOutput) Start() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimeRangeRange) *string { - if v == nil { - return nil - } - return &v.Start - }).(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 SqlQueryParameterDatetimesec struct { - // The default value for this parameter. - Value string `pulumi:"value"` +type PipelineLibraryFile struct { + Path string `pulumi:"path"` } -// SqlQueryParameterDatetimesecInput is an input type that accepts SqlQueryParameterDatetimesecArgs and SqlQueryParameterDatetimesecOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimesecInput` via: +// PipelineLibraryFileInput is an input type that accepts PipelineLibraryFileArgs and PipelineLibraryFileOutput values. +// You can construct a concrete instance of `PipelineLibraryFileInput` via: // -// SqlQueryParameterDatetimesecArgs{...} -type SqlQueryParameterDatetimesecInput interface { +// PipelineLibraryFileArgs{...} +type PipelineLibraryFileInput interface { pulumi.Input - ToSqlQueryParameterDatetimesecOutput() SqlQueryParameterDatetimesecOutput - ToSqlQueryParameterDatetimesecOutputWithContext(context.Context) SqlQueryParameterDatetimesecOutput + ToPipelineLibraryFileOutput() PipelineLibraryFileOutput + ToPipelineLibraryFileOutputWithContext(context.Context) PipelineLibraryFileOutput } -type SqlQueryParameterDatetimesecArgs struct { - // The default value for this parameter. - Value pulumi.StringInput `pulumi:"value"` +type PipelineLibraryFileArgs struct { + Path pulumi.StringInput `pulumi:"path"` } -func (SqlQueryParameterDatetimesecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimesec)(nil)).Elem() +func (PipelineLibraryFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineLibraryFile)(nil)).Elem() } -func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecOutput() SqlQueryParameterDatetimesecOutput { - return i.ToSqlQueryParameterDatetimesecOutputWithContext(context.Background()) +func (i PipelineLibraryFileArgs) ToPipelineLibraryFileOutput() PipelineLibraryFileOutput { + return i.ToPipelineLibraryFileOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecOutput) +func (i PipelineLibraryFileArgs) ToPipelineLibraryFileOutputWithContext(ctx context.Context) PipelineLibraryFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryFileOutput) } -func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { - return i.ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Background()) +func (i PipelineLibraryFileArgs) ToPipelineLibraryFilePtrOutput() PipelineLibraryFilePtrOutput { + return i.ToPipelineLibraryFilePtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecOutput).ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx) +func (i PipelineLibraryFileArgs) ToPipelineLibraryFilePtrOutputWithContext(ctx context.Context) PipelineLibraryFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryFileOutput).ToPipelineLibraryFilePtrOutputWithContext(ctx) } -// SqlQueryParameterDatetimesecPtrInput is an input type that accepts SqlQueryParameterDatetimesecArgs, SqlQueryParameterDatetimesecPtr and SqlQueryParameterDatetimesecPtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimesecPtrInput` via: +// PipelineLibraryFilePtrInput is an input type that accepts PipelineLibraryFileArgs, PipelineLibraryFilePtr and PipelineLibraryFilePtrOutput values. +// You can construct a concrete instance of `PipelineLibraryFilePtrInput` via: // -// SqlQueryParameterDatetimesecArgs{...} +// PipelineLibraryFileArgs{...} // // or: // // nil -type SqlQueryParameterDatetimesecPtrInput interface { +type PipelineLibraryFilePtrInput interface { pulumi.Input - ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput - ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Context) SqlQueryParameterDatetimesecPtrOutput + ToPipelineLibraryFilePtrOutput() PipelineLibraryFilePtrOutput + ToPipelineLibraryFilePtrOutputWithContext(context.Context) PipelineLibraryFilePtrOutput } -type sqlQueryParameterDatetimesecPtrType SqlQueryParameterDatetimesecArgs +type pipelineLibraryFilePtrType PipelineLibraryFileArgs -func SqlQueryParameterDatetimesecPtr(v *SqlQueryParameterDatetimesecArgs) SqlQueryParameterDatetimesecPtrInput { - return (*sqlQueryParameterDatetimesecPtrType)(v) +func PipelineLibraryFilePtr(v *PipelineLibraryFileArgs) PipelineLibraryFilePtrInput { + return (*pipelineLibraryFilePtrType)(v) } -func (*sqlQueryParameterDatetimesecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimesec)(nil)).Elem() +func (*pipelineLibraryFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineLibraryFile)(nil)).Elem() } -func (i *sqlQueryParameterDatetimesecPtrType) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { - return i.ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Background()) +func (i *pipelineLibraryFilePtrType) ToPipelineLibraryFilePtrOutput() PipelineLibraryFilePtrOutput { + return i.ToPipelineLibraryFilePtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDatetimesecPtrType) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecPtrOutput) +func (i *pipelineLibraryFilePtrType) ToPipelineLibraryFilePtrOutputWithContext(ctx context.Context) PipelineLibraryFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryFilePtrOutput) } -type SqlQueryParameterDatetimesecOutput struct{ *pulumi.OutputState } +type PipelineLibraryFileOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimesecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimesec)(nil)).Elem() +func (PipelineLibraryFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineLibraryFile)(nil)).Elem() } -func (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecOutput() SqlQueryParameterDatetimesecOutput { +func (o PipelineLibraryFileOutput) ToPipelineLibraryFileOutput() PipelineLibraryFileOutput { return o } -func (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecOutput { +func (o PipelineLibraryFileOutput) ToPipelineLibraryFileOutputWithContext(ctx context.Context) PipelineLibraryFileOutput { return o } -func (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { - return o.ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Background()) +func (o PipelineLibraryFileOutput) ToPipelineLibraryFilePtrOutput() PipelineLibraryFilePtrOutput { + return o.ToPipelineLibraryFilePtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimesec) *SqlQueryParameterDatetimesec { +func (o PipelineLibraryFileOutput) ToPipelineLibraryFilePtrOutputWithContext(ctx context.Context) PipelineLibraryFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineLibraryFile) *PipelineLibraryFile { return &v - }).(SqlQueryParameterDatetimesecPtrOutput) + }).(PipelineLibraryFilePtrOutput) } -// The default value for this parameter. -func (o SqlQueryParameterDatetimesecOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimesec) string { return v.Value }).(pulumi.StringOutput) +func (o PipelineLibraryFileOutput) Path() pulumi.StringOutput { + return o.ApplyT(func(v PipelineLibraryFile) string { return v.Path }).(pulumi.StringOutput) } -type SqlQueryParameterDatetimesecPtrOutput struct{ *pulumi.OutputState } +type PipelineLibraryFilePtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimesecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimesec)(nil)).Elem() +func (PipelineLibraryFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineLibraryFile)(nil)).Elem() } -func (o SqlQueryParameterDatetimesecPtrOutput) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { +func (o PipelineLibraryFilePtrOutput) ToPipelineLibraryFilePtrOutput() PipelineLibraryFilePtrOutput { return o } -func (o SqlQueryParameterDatetimesecPtrOutput) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { +func (o PipelineLibraryFilePtrOutput) ToPipelineLibraryFilePtrOutputWithContext(ctx context.Context) PipelineLibraryFilePtrOutput { return o } -func (o SqlQueryParameterDatetimesecPtrOutput) Elem() SqlQueryParameterDatetimesecOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesec) SqlQueryParameterDatetimesec { +func (o PipelineLibraryFilePtrOutput) Elem() PipelineLibraryFileOutput { + return o.ApplyT(func(v *PipelineLibraryFile) PipelineLibraryFile { if v != nil { return *v } - var ret SqlQueryParameterDatetimesec + var ret PipelineLibraryFile return ret - }).(SqlQueryParameterDatetimesecOutput) + }).(PipelineLibraryFileOutput) } -// The default value for this parameter. -func (o SqlQueryParameterDatetimesecPtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesec) *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 SqlQueryParameterDatetimesecRange struct { - Range *SqlQueryParameterDatetimesecRangeRange `pulumi:"range"` - // The default value for this parameter. - Value *string `pulumi:"value"` +type PipelineLibraryMaven struct { + Coordinates string `pulumi:"coordinates"` + Exclusions []string `pulumi:"exclusions"` + Repo *string `pulumi:"repo"` } -// SqlQueryParameterDatetimesecRangeInput is an input type that accepts SqlQueryParameterDatetimesecRangeArgs and SqlQueryParameterDatetimesecRangeOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangeInput` via: +// PipelineLibraryMavenInput is an input type that accepts PipelineLibraryMavenArgs and PipelineLibraryMavenOutput values. +// You can construct a concrete instance of `PipelineLibraryMavenInput` via: // -// SqlQueryParameterDatetimesecRangeArgs{...} -type SqlQueryParameterDatetimesecRangeInput interface { +// PipelineLibraryMavenArgs{...} +type PipelineLibraryMavenInput interface { pulumi.Input - ToSqlQueryParameterDatetimesecRangeOutput() SqlQueryParameterDatetimesecRangeOutput - ToSqlQueryParameterDatetimesecRangeOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangeOutput + ToPipelineLibraryMavenOutput() PipelineLibraryMavenOutput + ToPipelineLibraryMavenOutputWithContext(context.Context) PipelineLibraryMavenOutput } -type SqlQueryParameterDatetimesecRangeArgs struct { - Range SqlQueryParameterDatetimesecRangeRangePtrInput `pulumi:"range"` - // The default value for this parameter. - Value pulumi.StringPtrInput `pulumi:"value"` +type PipelineLibraryMavenArgs struct { + Coordinates pulumi.StringInput `pulumi:"coordinates"` + Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (SqlQueryParameterDatetimesecRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimesecRange)(nil)).Elem() +func (PipelineLibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineLibraryMaven)(nil)).Elem() } -func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangeOutput() SqlQueryParameterDatetimesecRangeOutput { - return i.ToSqlQueryParameterDatetimesecRangeOutputWithContext(context.Background()) +func (i PipelineLibraryMavenArgs) ToPipelineLibraryMavenOutput() PipelineLibraryMavenOutput { + return i.ToPipelineLibraryMavenOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeOutput) +func (i PipelineLibraryMavenArgs) ToPipelineLibraryMavenOutputWithContext(ctx context.Context) PipelineLibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryMavenOutput) } -func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { - return i.ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Background()) +func (i PipelineLibraryMavenArgs) ToPipelineLibraryMavenPtrOutput() PipelineLibraryMavenPtrOutput { + return i.ToPipelineLibraryMavenPtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeOutput).ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx) +func (i PipelineLibraryMavenArgs) ToPipelineLibraryMavenPtrOutputWithContext(ctx context.Context) PipelineLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryMavenOutput).ToPipelineLibraryMavenPtrOutputWithContext(ctx) } -// SqlQueryParameterDatetimesecRangePtrInput is an input type that accepts SqlQueryParameterDatetimesecRangeArgs, SqlQueryParameterDatetimesecRangePtr and SqlQueryParameterDatetimesecRangePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangePtrInput` via: +// PipelineLibraryMavenPtrInput is an input type that accepts PipelineLibraryMavenArgs, PipelineLibraryMavenPtr and PipelineLibraryMavenPtrOutput values. +// You can construct a concrete instance of `PipelineLibraryMavenPtrInput` via: // -// SqlQueryParameterDatetimesecRangeArgs{...} +// PipelineLibraryMavenArgs{...} // // or: // // nil -type SqlQueryParameterDatetimesecRangePtrInput interface { +type PipelineLibraryMavenPtrInput interface { pulumi.Input - ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput - ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangePtrOutput + ToPipelineLibraryMavenPtrOutput() PipelineLibraryMavenPtrOutput + ToPipelineLibraryMavenPtrOutputWithContext(context.Context) PipelineLibraryMavenPtrOutput } -type sqlQueryParameterDatetimesecRangePtrType SqlQueryParameterDatetimesecRangeArgs +type pipelineLibraryMavenPtrType PipelineLibraryMavenArgs -func SqlQueryParameterDatetimesecRangePtr(v *SqlQueryParameterDatetimesecRangeArgs) SqlQueryParameterDatetimesecRangePtrInput { - return (*sqlQueryParameterDatetimesecRangePtrType)(v) +func PipelineLibraryMavenPtr(v *PipelineLibraryMavenArgs) PipelineLibraryMavenPtrInput { + return (*pipelineLibraryMavenPtrType)(v) } -func (*sqlQueryParameterDatetimesecRangePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimesecRange)(nil)).Elem() +func (*pipelineLibraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineLibraryMaven)(nil)).Elem() } -func (i *sqlQueryParameterDatetimesecRangePtrType) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { - return i.ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Background()) +func (i *pipelineLibraryMavenPtrType) ToPipelineLibraryMavenPtrOutput() PipelineLibraryMavenPtrOutput { + return i.ToPipelineLibraryMavenPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDatetimesecRangePtrType) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangePtrOutput) +func (i *pipelineLibraryMavenPtrType) ToPipelineLibraryMavenPtrOutputWithContext(ctx context.Context) PipelineLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryMavenPtrOutput) } -type SqlQueryParameterDatetimesecRangeOutput struct{ *pulumi.OutputState } +type PipelineLibraryMavenOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimesecRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimesecRange)(nil)).Elem() +func (PipelineLibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineLibraryMaven)(nil)).Elem() } -func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangeOutput() SqlQueryParameterDatetimesecRangeOutput { +func (o PipelineLibraryMavenOutput) ToPipelineLibraryMavenOutput() PipelineLibraryMavenOutput { return o } -func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeOutput { +func (o PipelineLibraryMavenOutput) ToPipelineLibraryMavenOutputWithContext(ctx context.Context) PipelineLibraryMavenOutput { return o } -func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { - return o.ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Background()) +func (o PipelineLibraryMavenOutput) ToPipelineLibraryMavenPtrOutput() PipelineLibraryMavenPtrOutput { + return o.ToPipelineLibraryMavenPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimesecRange) *SqlQueryParameterDatetimesecRange { +func (o PipelineLibraryMavenOutput) ToPipelineLibraryMavenPtrOutputWithContext(ctx context.Context) PipelineLibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineLibraryMaven) *PipelineLibraryMaven { return &v - }).(SqlQueryParameterDatetimesecRangePtrOutput) + }).(PipelineLibraryMavenPtrOutput) } -func (o SqlQueryParameterDatetimesecRangeOutput) Range() SqlQueryParameterDatetimesecRangeRangePtrOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimesecRange) *SqlQueryParameterDatetimesecRangeRange { return v.Range }).(SqlQueryParameterDatetimesecRangeRangePtrOutput) +func (o PipelineLibraryMavenOutput) Coordinates() pulumi.StringOutput { + return o.ApplyT(func(v PipelineLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) } -// 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 PipelineLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v PipelineLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) } -type SqlQueryParameterDatetimesecRangePtrOutput struct{ *pulumi.OutputState } +func (o PipelineLibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +} -func (SqlQueryParameterDatetimesecRangePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimesecRange)(nil)).Elem() +type PipelineLibraryMavenPtrOutput struct{ *pulumi.OutputState } + +func (PipelineLibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineLibraryMaven)(nil)).Elem() } -func (o SqlQueryParameterDatetimesecRangePtrOutput) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { +func (o PipelineLibraryMavenPtrOutput) ToPipelineLibraryMavenPtrOutput() PipelineLibraryMavenPtrOutput { return o } -func (o SqlQueryParameterDatetimesecRangePtrOutput) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { +func (o PipelineLibraryMavenPtrOutput) ToPipelineLibraryMavenPtrOutputWithContext(ctx context.Context) PipelineLibraryMavenPtrOutput { return o } -func (o SqlQueryParameterDatetimesecRangePtrOutput) Elem() SqlQueryParameterDatetimesecRangeOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesecRange) SqlQueryParameterDatetimesecRange { +func (o PipelineLibraryMavenPtrOutput) Elem() PipelineLibraryMavenOutput { + return o.ApplyT(func(v *PipelineLibraryMaven) PipelineLibraryMaven { if v != nil { return *v } - var ret SqlQueryParameterDatetimesecRange + var ret PipelineLibraryMaven return ret - }).(SqlQueryParameterDatetimesecRangeOutput) + }).(PipelineLibraryMavenOutput) } -func (o SqlQueryParameterDatetimesecRangePtrOutput) Range() SqlQueryParameterDatetimesecRangeRangePtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesecRange) *SqlQueryParameterDatetimesecRangeRange { +func (o PipelineLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineLibraryMaven) *string { if v == nil { return nil } - return v.Range - }).(SqlQueryParameterDatetimesecRangeRangePtrOutput) + return &v.Coordinates + }).(pulumi.StringPtrOutput) } -// The default value for this parameter. -func (o SqlQueryParameterDatetimesecRangePtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesecRange) *string { +func (o PipelineLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PipelineLibraryMaven) []string { if v == nil { return nil } - return v.Value + return v.Exclusions + }).(pulumi.StringArrayOutput) +} + +func (o PipelineLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineLibraryMaven) *string { + if v == nil { + return nil + } + return v.Repo }).(pulumi.StringPtrOutput) } -type SqlQueryParameterDatetimesecRangeRange struct { - End string `pulumi:"end"` - Start string `pulumi:"start"` +type PipelineLibraryNotebook struct { + Path string `pulumi:"path"` } -// SqlQueryParameterDatetimesecRangeRangeInput is an input type that accepts SqlQueryParameterDatetimesecRangeRangeArgs and SqlQueryParameterDatetimesecRangeRangeOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangeRangeInput` via: +// PipelineLibraryNotebookInput is an input type that accepts PipelineLibraryNotebookArgs and PipelineLibraryNotebookOutput values. +// You can construct a concrete instance of `PipelineLibraryNotebookInput` via: // -// SqlQueryParameterDatetimesecRangeRangeArgs{...} -type SqlQueryParameterDatetimesecRangeRangeInput interface { +// PipelineLibraryNotebookArgs{...} +type PipelineLibraryNotebookInput interface { pulumi.Input - ToSqlQueryParameterDatetimesecRangeRangeOutput() SqlQueryParameterDatetimesecRangeRangeOutput - ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangeRangeOutput + ToPipelineLibraryNotebookOutput() PipelineLibraryNotebookOutput + ToPipelineLibraryNotebookOutputWithContext(context.Context) PipelineLibraryNotebookOutput } -type SqlQueryParameterDatetimesecRangeRangeArgs struct { - End pulumi.StringInput `pulumi:"end"` - Start pulumi.StringInput `pulumi:"start"` +type PipelineLibraryNotebookArgs struct { + Path pulumi.StringInput `pulumi:"path"` } -func (SqlQueryParameterDatetimesecRangeRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() +func (PipelineLibraryNotebookArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineLibraryNotebook)(nil)).Elem() } -func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangeOutput() SqlQueryParameterDatetimesecRangeRangeOutput { - return i.ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(context.Background()) +func (i PipelineLibraryNotebookArgs) ToPipelineLibraryNotebookOutput() PipelineLibraryNotebookOutput { + return i.ToPipelineLibraryNotebookOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeRangeOutput) +func (i PipelineLibraryNotebookArgs) ToPipelineLibraryNotebookOutputWithContext(ctx context.Context) PipelineLibraryNotebookOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryNotebookOutput) } -func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { - return i.ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Background()) +func (i PipelineLibraryNotebookArgs) ToPipelineLibraryNotebookPtrOutput() PipelineLibraryNotebookPtrOutput { + return i.ToPipelineLibraryNotebookPtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeRangeOutput).ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx) +func (i PipelineLibraryNotebookArgs) ToPipelineLibraryNotebookPtrOutputWithContext(ctx context.Context) PipelineLibraryNotebookPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryNotebookOutput).ToPipelineLibraryNotebookPtrOutputWithContext(ctx) } -// SqlQueryParameterDatetimesecRangeRangePtrInput is an input type that accepts SqlQueryParameterDatetimesecRangeRangeArgs, SqlQueryParameterDatetimesecRangeRangePtr and SqlQueryParameterDatetimesecRangeRangePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangeRangePtrInput` via: +// PipelineLibraryNotebookPtrInput is an input type that accepts PipelineLibraryNotebookArgs, PipelineLibraryNotebookPtr and PipelineLibraryNotebookPtrOutput values. +// You can construct a concrete instance of `PipelineLibraryNotebookPtrInput` via: // -// SqlQueryParameterDatetimesecRangeRangeArgs{...} +// PipelineLibraryNotebookArgs{...} // // or: // // nil -type SqlQueryParameterDatetimesecRangeRangePtrInput interface { +type PipelineLibraryNotebookPtrInput interface { pulumi.Input - ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput - ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput + ToPipelineLibraryNotebookPtrOutput() PipelineLibraryNotebookPtrOutput + ToPipelineLibraryNotebookPtrOutputWithContext(context.Context) PipelineLibraryNotebookPtrOutput } -type sqlQueryParameterDatetimesecRangeRangePtrType SqlQueryParameterDatetimesecRangeRangeArgs +type pipelineLibraryNotebookPtrType PipelineLibraryNotebookArgs -func SqlQueryParameterDatetimesecRangeRangePtr(v *SqlQueryParameterDatetimesecRangeRangeArgs) SqlQueryParameterDatetimesecRangeRangePtrInput { - return (*sqlQueryParameterDatetimesecRangeRangePtrType)(v) +func PipelineLibraryNotebookPtr(v *PipelineLibraryNotebookArgs) PipelineLibraryNotebookPtrInput { + return (*pipelineLibraryNotebookPtrType)(v) } -func (*sqlQueryParameterDatetimesecRangeRangePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() +func (*pipelineLibraryNotebookPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineLibraryNotebook)(nil)).Elem() } -func (i *sqlQueryParameterDatetimesecRangeRangePtrType) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { - return i.ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Background()) +func (i *pipelineLibraryNotebookPtrType) ToPipelineLibraryNotebookPtrOutput() PipelineLibraryNotebookPtrOutput { + return i.ToPipelineLibraryNotebookPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDatetimesecRangeRangePtrType) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeRangePtrOutput) +func (i *pipelineLibraryNotebookPtrType) ToPipelineLibraryNotebookPtrOutputWithContext(ctx context.Context) PipelineLibraryNotebookPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryNotebookPtrOutput) } -type SqlQueryParameterDatetimesecRangeRangeOutput struct{ *pulumi.OutputState } +type PipelineLibraryNotebookOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimesecRangeRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() +func (PipelineLibraryNotebookOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineLibraryNotebook)(nil)).Elem() } -func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangeOutput() SqlQueryParameterDatetimesecRangeRangeOutput { +func (o PipelineLibraryNotebookOutput) ToPipelineLibraryNotebookOutput() PipelineLibraryNotebookOutput { return o } -func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangeOutput { +func (o PipelineLibraryNotebookOutput) ToPipelineLibraryNotebookOutputWithContext(ctx context.Context) PipelineLibraryNotebookOutput { return o } -func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { - return o.ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Background()) +func (o PipelineLibraryNotebookOutput) ToPipelineLibraryNotebookPtrOutput() PipelineLibraryNotebookPtrOutput { + return o.ToPipelineLibraryNotebookPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimesecRangeRange) *SqlQueryParameterDatetimesecRangeRange { +func (o PipelineLibraryNotebookOutput) ToPipelineLibraryNotebookPtrOutputWithContext(ctx context.Context) PipelineLibraryNotebookPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineLibraryNotebook) *PipelineLibraryNotebook { return &v - }).(SqlQueryParameterDatetimesecRangeRangePtrOutput) -} - -func (o SqlQueryParameterDatetimesecRangeRangeOutput) End() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimesecRangeRange) string { return v.End }).(pulumi.StringOutput) + }).(PipelineLibraryNotebookPtrOutput) } -func (o SqlQueryParameterDatetimesecRangeRangeOutput) Start() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimesecRangeRange) string { return v.Start }).(pulumi.StringOutput) +func (o PipelineLibraryNotebookOutput) Path() pulumi.StringOutput { + return o.ApplyT(func(v PipelineLibraryNotebook) string { return v.Path }).(pulumi.StringOutput) } -type SqlQueryParameterDatetimesecRangeRangePtrOutput struct{ *pulumi.OutputState } +type PipelineLibraryNotebookPtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimesecRangeRangePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() +func (PipelineLibraryNotebookPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineLibraryNotebook)(nil)).Elem() } -func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { +func (o PipelineLibraryNotebookPtrOutput) ToPipelineLibraryNotebookPtrOutput() PipelineLibraryNotebookPtrOutput { return o } -func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { +func (o PipelineLibraryNotebookPtrOutput) ToPipelineLibraryNotebookPtrOutputWithContext(ctx context.Context) PipelineLibraryNotebookPtrOutput { return o } -func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) Elem() SqlQueryParameterDatetimesecRangeRangeOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesecRangeRange) SqlQueryParameterDatetimesecRangeRange { +func (o PipelineLibraryNotebookPtrOutput) Elem() PipelineLibraryNotebookOutput { + return o.ApplyT(func(v *PipelineLibraryNotebook) PipelineLibraryNotebook { if v != nil { return *v } - var ret SqlQueryParameterDatetimesecRangeRange + var ret PipelineLibraryNotebook 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) + }).(PipelineLibraryNotebookOutput) } -func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) Start() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesecRangeRange) *string { +func (o PipelineLibraryNotebookPtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineLibraryNotebook) *string { if v == nil { return nil } - return &v.Start + return &v.Path }).(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"` +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"` } -// SqlQueryParameterEnumInput is an input type that accepts SqlQueryParameterEnumArgs and SqlQueryParameterEnumOutput values. -// You can construct a concrete instance of `SqlQueryParameterEnumInput` via: +// PipelineNotificationInput is an input type that accepts PipelineNotificationArgs and PipelineNotificationOutput values. +// You can construct a concrete instance of `PipelineNotificationInput` via: // -// SqlQueryParameterEnumArgs{...} -type SqlQueryParameterEnumInput interface { +// PipelineNotificationArgs{...} +type PipelineNotificationInput 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() + ToPipelineNotificationOutput() PipelineNotificationOutput + ToPipelineNotificationOutputWithContext(context.Context) PipelineNotificationOutput } -func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumOutput() SqlQueryParameterEnumOutput { - return i.ToSqlQueryParameterEnumOutputWithContext(context.Background()) +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 (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumOutputWithContext(ctx context.Context) SqlQueryParameterEnumOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumOutput) +func (PipelineNotificationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineNotification)(nil)).Elem() } -func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { - return i.ToSqlQueryParameterEnumPtrOutputWithContext(context.Background()) +func (i PipelineNotificationArgs) ToPipelineNotificationOutput() PipelineNotificationOutput { + return i.ToPipelineNotificationOutputWithContext(context.Background()) } -func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumOutput).ToSqlQueryParameterEnumPtrOutputWithContext(ctx) +func (i PipelineNotificationArgs) ToPipelineNotificationOutputWithContext(ctx context.Context) PipelineNotificationOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineNotificationOutput) } -// SqlQueryParameterEnumPtrInput is an input type that accepts SqlQueryParameterEnumArgs, SqlQueryParameterEnumPtr and SqlQueryParameterEnumPtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterEnumPtrInput` via: -// -// SqlQueryParameterEnumArgs{...} -// -// or: +// PipelineNotificationArrayInput is an input type that accepts PipelineNotificationArray and PipelineNotificationArrayOutput values. +// You can construct a concrete instance of `PipelineNotificationArrayInput` via: // -// nil -type SqlQueryParameterEnumPtrInput interface { +// PipelineNotificationArray{ PipelineNotificationArgs{...} } +type PipelineNotificationArrayInput interface { pulumi.Input - ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput - ToSqlQueryParameterEnumPtrOutputWithContext(context.Context) SqlQueryParameterEnumPtrOutput + ToPipelineNotificationArrayOutput() PipelineNotificationArrayOutput + ToPipelineNotificationArrayOutputWithContext(context.Context) PipelineNotificationArrayOutput } -type sqlQueryParameterEnumPtrType SqlQueryParameterEnumArgs - -func SqlQueryParameterEnumPtr(v *SqlQueryParameterEnumArgs) SqlQueryParameterEnumPtrInput { - return (*sqlQueryParameterEnumPtrType)(v) -} +type PipelineNotificationArray []PipelineNotificationInput -func (*sqlQueryParameterEnumPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterEnum)(nil)).Elem() +func (PipelineNotificationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PipelineNotification)(nil)).Elem() } -func (i *sqlQueryParameterEnumPtrType) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { - return i.ToSqlQueryParameterEnumPtrOutputWithContext(context.Background()) +func (i PipelineNotificationArray) ToPipelineNotificationArrayOutput() PipelineNotificationArrayOutput { + return i.ToPipelineNotificationArrayOutputWithContext(context.Background()) } -func (i *sqlQueryParameterEnumPtrType) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumPtrOutput) +func (i PipelineNotificationArray) ToPipelineNotificationArrayOutputWithContext(ctx context.Context) PipelineNotificationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineNotificationArrayOutput) } -type SqlQueryParameterEnumOutput struct{ *pulumi.OutputState } +type PipelineNotificationOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterEnumOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterEnum)(nil)).Elem() +func (PipelineNotificationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineNotification)(nil)).Elem() } -func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumOutput() SqlQueryParameterEnumOutput { +func (o PipelineNotificationOutput) ToPipelineNotificationOutput() PipelineNotificationOutput { return o } -func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumOutputWithContext(ctx context.Context) SqlQueryParameterEnumOutput { +func (o PipelineNotificationOutput) ToPipelineNotificationOutputWithContext(ctx context.Context) PipelineNotificationOutput { return o } -func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { - return o.ToSqlQueryParameterEnumPtrOutputWithContext(context.Background()) -} - -func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterEnum) *SqlQueryParameterEnum { - return &v - }).(SqlQueryParameterEnumPtrOutput) -} - -func (o SqlQueryParameterEnumOutput) Multiple() SqlQueryParameterEnumMultiplePtrOutput { - return o.ApplyT(func(v SqlQueryParameterEnum) *SqlQueryParameterEnumMultiple { return v.Multiple }).(SqlQueryParameterEnumMultiplePtrOutput) -} - -func (o SqlQueryParameterEnumOutput) Options() pulumi.StringArrayOutput { - return o.ApplyT(func(v SqlQueryParameterEnum) []string { return v.Options }).(pulumi.StringArrayOutput) -} - -// The default value for this parameter. -func (o SqlQueryParameterEnumOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterEnum) *string { return v.Value }).(pulumi.StringPtrOutput) +// 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 SqlQueryParameterEnumOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v SqlQueryParameterEnum) []string { return v.Values }).(pulumi.StringArrayOutput) +// 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 SqlQueryParameterEnumPtrOutput struct{ *pulumi.OutputState } +type PipelineNotificationArrayOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterEnumPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterEnum)(nil)).Elem() +func (PipelineNotificationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PipelineNotification)(nil)).Elem() } -func (o SqlQueryParameterEnumPtrOutput) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { +func (o PipelineNotificationArrayOutput) ToPipelineNotificationArrayOutput() PipelineNotificationArrayOutput { return o } -func (o SqlQueryParameterEnumPtrOutput) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { +func (o PipelineNotificationArrayOutput) ToPipelineNotificationArrayOutputWithContext(ctx context.Context) PipelineNotificationArrayOutput { return o } -func (o SqlQueryParameterEnumPtrOutput) Elem() SqlQueryParameterEnumOutput { - return o.ApplyT(func(v *SqlQueryParameterEnum) SqlQueryParameterEnum { - if v != nil { - return *v - } - var ret SqlQueryParameterEnum - return ret - }).(SqlQueryParameterEnumOutput) -} - -func (o SqlQueryParameterEnumPtrOutput) Multiple() SqlQueryParameterEnumMultiplePtrOutput { - return o.ApplyT(func(v *SqlQueryParameterEnum) *SqlQueryParameterEnumMultiple { - if v == nil { - return nil - } - return v.Multiple - }).(SqlQueryParameterEnumMultiplePtrOutput) -} - -func (o SqlQueryParameterEnumPtrOutput) Options() pulumi.StringArrayOutput { - return o.ApplyT(func(v *SqlQueryParameterEnum) []string { - if v == nil { - return nil - } - return v.Options - }).(pulumi.StringArrayOutput) -} - -// 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 SqlQueryParameterEnumPtrOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v *SqlQueryParameterEnum) []string { - if v == nil { - return nil - } - return v.Values - }).(pulumi.StringArrayOutput) +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 SqlQueryParameterEnumMultiple struct { - Prefix *string `pulumi:"prefix"` - Separator string `pulumi:"separator"` - Suffix *string `pulumi:"suffix"` +type RecipientIpAccessList struct { + // Allowed IP Addresses in CIDR notation. Limit of 100. + AllowedIpAddresses []string `pulumi:"allowedIpAddresses"` } -// SqlQueryParameterEnumMultipleInput is an input type that accepts SqlQueryParameterEnumMultipleArgs and SqlQueryParameterEnumMultipleOutput values. -// You can construct a concrete instance of `SqlQueryParameterEnumMultipleInput` via: +// RecipientIpAccessListInput is an input type that accepts RecipientIpAccessListArgs and RecipientIpAccessListOutput values. +// You can construct a concrete instance of `RecipientIpAccessListInput` via: // -// SqlQueryParameterEnumMultipleArgs{...} -type SqlQueryParameterEnumMultipleInput interface { +// RecipientIpAccessListArgs{...} +type RecipientIpAccessListInput interface { pulumi.Input - ToSqlQueryParameterEnumMultipleOutput() SqlQueryParameterEnumMultipleOutput - ToSqlQueryParameterEnumMultipleOutputWithContext(context.Context) SqlQueryParameterEnumMultipleOutput + ToRecipientIpAccessListOutput() RecipientIpAccessListOutput + ToRecipientIpAccessListOutputWithContext(context.Context) RecipientIpAccessListOutput } -type SqlQueryParameterEnumMultipleArgs struct { - Prefix pulumi.StringPtrInput `pulumi:"prefix"` - Separator pulumi.StringInput `pulumi:"separator"` - Suffix pulumi.StringPtrInput `pulumi:"suffix"` +type RecipientIpAccessListArgs struct { + // Allowed IP Addresses in CIDR notation. Limit of 100. + AllowedIpAddresses pulumi.StringArrayInput `pulumi:"allowedIpAddresses"` } -func (SqlQueryParameterEnumMultipleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterEnumMultiple)(nil)).Elem() +func (RecipientIpAccessListArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RecipientIpAccessList)(nil)).Elem() } -func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultipleOutput() SqlQueryParameterEnumMultipleOutput { - return i.ToSqlQueryParameterEnumMultipleOutputWithContext(context.Background()) +func (i RecipientIpAccessListArgs) ToRecipientIpAccessListOutput() RecipientIpAccessListOutput { + return i.ToRecipientIpAccessListOutputWithContext(context.Background()) } -func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultipleOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultipleOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumMultipleOutput) +func (i RecipientIpAccessListArgs) ToRecipientIpAccessListOutputWithContext(ctx context.Context) RecipientIpAccessListOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecipientIpAccessListOutput) } -func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { - return i.ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Background()) +func (i RecipientIpAccessListArgs) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { + return i.ToRecipientIpAccessListPtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumMultipleOutput).ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx) +func (i RecipientIpAccessListArgs) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecipientIpAccessListOutput).ToRecipientIpAccessListPtrOutputWithContext(ctx) } -// SqlQueryParameterEnumMultiplePtrInput is an input type that accepts SqlQueryParameterEnumMultipleArgs, SqlQueryParameterEnumMultiplePtr and SqlQueryParameterEnumMultiplePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterEnumMultiplePtrInput` via: +// RecipientIpAccessListPtrInput is an input type that accepts RecipientIpAccessListArgs, RecipientIpAccessListPtr and RecipientIpAccessListPtrOutput values. +// You can construct a concrete instance of `RecipientIpAccessListPtrInput` via: // -// SqlQueryParameterEnumMultipleArgs{...} +// RecipientIpAccessListArgs{...} // // or: // // nil -type SqlQueryParameterEnumMultiplePtrInput interface { +type RecipientIpAccessListPtrInput interface { pulumi.Input - ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput - ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Context) SqlQueryParameterEnumMultiplePtrOutput + ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput + ToRecipientIpAccessListPtrOutputWithContext(context.Context) RecipientIpAccessListPtrOutput } -type sqlQueryParameterEnumMultiplePtrType SqlQueryParameterEnumMultipleArgs +type recipientIpAccessListPtrType RecipientIpAccessListArgs -func SqlQueryParameterEnumMultiplePtr(v *SqlQueryParameterEnumMultipleArgs) SqlQueryParameterEnumMultiplePtrInput { - return (*sqlQueryParameterEnumMultiplePtrType)(v) +func RecipientIpAccessListPtr(v *RecipientIpAccessListArgs) RecipientIpAccessListPtrInput { + return (*recipientIpAccessListPtrType)(v) } -func (*sqlQueryParameterEnumMultiplePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterEnumMultiple)(nil)).Elem() +func (*recipientIpAccessListPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RecipientIpAccessList)(nil)).Elem() } -func (i *sqlQueryParameterEnumMultiplePtrType) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { - return i.ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Background()) +func (i *recipientIpAccessListPtrType) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { + return i.ToRecipientIpAccessListPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterEnumMultiplePtrType) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumMultiplePtrOutput) +func (i *recipientIpAccessListPtrType) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecipientIpAccessListPtrOutput) } -type SqlQueryParameterEnumMultipleOutput struct{ *pulumi.OutputState } +type RecipientIpAccessListOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterEnumMultipleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterEnumMultiple)(nil)).Elem() +func (RecipientIpAccessListOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RecipientIpAccessList)(nil)).Elem() } -func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultipleOutput() SqlQueryParameterEnumMultipleOutput { +func (o RecipientIpAccessListOutput) ToRecipientIpAccessListOutput() RecipientIpAccessListOutput { return o } -func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultipleOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultipleOutput { +func (o RecipientIpAccessListOutput) ToRecipientIpAccessListOutputWithContext(ctx context.Context) RecipientIpAccessListOutput { return o } -func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { - return o.ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Background()) +func (o RecipientIpAccessListOutput) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { + return o.ToRecipientIpAccessListPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterEnumMultiple) *SqlQueryParameterEnumMultiple { +func (o RecipientIpAccessListOutput) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RecipientIpAccessList) *RecipientIpAccessList { 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) + }).(RecipientIpAccessListPtrOutput) } -func (o SqlQueryParameterEnumMultipleOutput) Suffix() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterEnumMultiple) *string { return v.Suffix }).(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 SqlQueryParameterEnumMultiplePtrOutput struct{ *pulumi.OutputState } +type RecipientIpAccessListPtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterEnumMultiplePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterEnumMultiple)(nil)).Elem() +func (RecipientIpAccessListPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RecipientIpAccessList)(nil)).Elem() } -func (o SqlQueryParameterEnumMultiplePtrOutput) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { +func (o RecipientIpAccessListPtrOutput) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { return o } -func (o SqlQueryParameterEnumMultiplePtrOutput) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { +func (o RecipientIpAccessListPtrOutput) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { return o } -func (o SqlQueryParameterEnumMultiplePtrOutput) Elem() SqlQueryParameterEnumMultipleOutput { - return o.ApplyT(func(v *SqlQueryParameterEnumMultiple) SqlQueryParameterEnumMultiple { +func (o RecipientIpAccessListPtrOutput) Elem() RecipientIpAccessListOutput { + return o.ApplyT(func(v *RecipientIpAccessList) RecipientIpAccessList { if v != nil { return *v } - var ret SqlQueryParameterEnumMultiple + var ret RecipientIpAccessList 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) + }).(RecipientIpAccessListOutput) } -func (o SqlQueryParameterEnumMultiplePtrOutput) Suffix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterEnumMultiple) *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.Suffix - }).(pulumi.StringPtrOutput) + return v.AllowedIpAddresses + }).(pulumi.StringArrayOutput) } -type SqlQueryParameterNumber struct { - // The default value for this parameter. - Value float64 `pulumi:"value"` +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 Token was created, in epoch milliseconds. + CreatedAt *int `pulumi:"createdAt"` + // Username of recipient token creator. + CreatedBy *string `pulumi:"createdBy"` + // Expiration timestamp of the token in epoch milliseconds. + ExpirationTime *int `pulumi:"expirationTime"` + // ID of this recipient - same as the `name`. + Id *string `pulumi:"id"` + // Time at which this recipient Token was updated, in epoch milliseconds. + UpdatedAt *int `pulumi:"updatedAt"` + // Username of recipient Token updater. + UpdatedBy *string `pulumi:"updatedBy"` } -// SqlQueryParameterNumberInput is an input type that accepts SqlQueryParameterNumberArgs and SqlQueryParameterNumberOutput values. -// You can construct a concrete instance of `SqlQueryParameterNumberInput` via: +// RecipientTokenInput is an input type that accepts RecipientTokenArgs and RecipientTokenOutput values. +// You can construct a concrete instance of `RecipientTokenInput` via: // -// SqlQueryParameterNumberArgs{...} -type SqlQueryParameterNumberInput interface { +// RecipientTokenArgs{...} +type RecipientTokenInput interface { pulumi.Input - ToSqlQueryParameterNumberOutput() SqlQueryParameterNumberOutput - ToSqlQueryParameterNumberOutputWithContext(context.Context) SqlQueryParameterNumberOutput -} - -type SqlQueryParameterNumberArgs struct { - // The default value for this parameter. - Value pulumi.Float64Input `pulumi:"value"` -} - -func (SqlQueryParameterNumberArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterNumber)(nil)).Elem() + ToRecipientTokenOutput() RecipientTokenOutput + ToRecipientTokenOutputWithContext(context.Context) RecipientTokenOutput } -func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberOutput() SqlQueryParameterNumberOutput { - return i.ToSqlQueryParameterNumberOutputWithContext(context.Background()) +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 Token was created, in epoch milliseconds. + CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` + // Username of recipient token creator. + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + // Expiration timestamp of the token in epoch milliseconds. + ExpirationTime pulumi.IntPtrInput `pulumi:"expirationTime"` + // ID of this recipient - same as the `name`. + Id pulumi.StringPtrInput `pulumi:"id"` + // Time at which this recipient Token was updated, in epoch milliseconds. + UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` + // Username of recipient Token updater. + UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` } -func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberOutputWithContext(ctx context.Context) SqlQueryParameterNumberOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterNumberOutput) +func (RecipientTokenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RecipientToken)(nil)).Elem() } -func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { - return i.ToSqlQueryParameterNumberPtrOutputWithContext(context.Background()) +func (i RecipientTokenArgs) ToRecipientTokenOutput() RecipientTokenOutput { + return i.ToRecipientTokenOutputWithContext(context.Background()) } -func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterNumberOutput).ToSqlQueryParameterNumberPtrOutputWithContext(ctx) +func (i RecipientTokenArgs) ToRecipientTokenOutputWithContext(ctx context.Context) RecipientTokenOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecipientTokenOutput) } -// SqlQueryParameterNumberPtrInput is an input type that accepts SqlQueryParameterNumberArgs, SqlQueryParameterNumberPtr and SqlQueryParameterNumberPtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterNumberPtrInput` via: -// -// SqlQueryParameterNumberArgs{...} -// -// or: +// RecipientTokenArrayInput is an input type that accepts RecipientTokenArray and RecipientTokenArrayOutput values. +// You can construct a concrete instance of `RecipientTokenArrayInput` via: // -// nil -type SqlQueryParameterNumberPtrInput interface { +// RecipientTokenArray{ RecipientTokenArgs{...} } +type RecipientTokenArrayInput interface { pulumi.Input - ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput - ToSqlQueryParameterNumberPtrOutputWithContext(context.Context) SqlQueryParameterNumberPtrOutput + ToRecipientTokenArrayOutput() RecipientTokenArrayOutput + ToRecipientTokenArrayOutputWithContext(context.Context) RecipientTokenArrayOutput } -type sqlQueryParameterNumberPtrType SqlQueryParameterNumberArgs - -func SqlQueryParameterNumberPtr(v *SqlQueryParameterNumberArgs) SqlQueryParameterNumberPtrInput { - return (*sqlQueryParameterNumberPtrType)(v) -} +type RecipientTokenArray []RecipientTokenInput -func (*sqlQueryParameterNumberPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterNumber)(nil)).Elem() +func (RecipientTokenArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RecipientToken)(nil)).Elem() } -func (i *sqlQueryParameterNumberPtrType) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { - return i.ToSqlQueryParameterNumberPtrOutputWithContext(context.Background()) +func (i RecipientTokenArray) ToRecipientTokenArrayOutput() RecipientTokenArrayOutput { + return i.ToRecipientTokenArrayOutputWithContext(context.Background()) } -func (i *sqlQueryParameterNumberPtrType) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterNumberPtrOutput) +func (i RecipientTokenArray) ToRecipientTokenArrayOutputWithContext(ctx context.Context) RecipientTokenArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecipientTokenArrayOutput) } -type SqlQueryParameterNumberOutput struct{ *pulumi.OutputState } +type RecipientTokenOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterNumberOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterNumber)(nil)).Elem() +func (RecipientTokenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RecipientToken)(nil)).Elem() } -func (o SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberOutput() SqlQueryParameterNumberOutput { +func (o RecipientTokenOutput) ToRecipientTokenOutput() RecipientTokenOutput { return o } -func (o SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberOutputWithContext(ctx context.Context) SqlQueryParameterNumberOutput { +func (o RecipientTokenOutput) ToRecipientTokenOutputWithContext(ctx context.Context) RecipientTokenOutput { return o } -func (o SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { - return o.ToSqlQueryParameterNumberPtrOutputWithContext(context.Background()) +// 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 SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterNumber) *SqlQueryParameterNumber { - return &v - }).(SqlQueryParameterNumberPtrOutput) +// Time at which this recipient Token was created, in epoch milliseconds. +func (o RecipientTokenOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v RecipientToken) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) } -// The default value for this parameter. -func (o SqlQueryParameterNumberOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v SqlQueryParameterNumber) float64 { return v.Value }).(pulumi.Float64Output) +// Username of recipient token creator. +func (o RecipientTokenOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v RecipientToken) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) } -type SqlQueryParameterNumberPtrOutput struct{ *pulumi.OutputState } +// 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 (SqlQueryParameterNumberPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterNumber)(nil)).Elem() +// ID of this recipient - same as the `name`. +func (o RecipientTokenOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v RecipientToken) *string { return v.Id }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterNumberPtrOutput) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { - return o +// Time at which this recipient Token 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 SqlQueryParameterNumberPtrOutput) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { +// Username of recipient Token updater. +func (o RecipientTokenOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v RecipientToken) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +} + +type RecipientTokenArrayOutput struct{ *pulumi.OutputState } + +func (RecipientTokenArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RecipientToken)(nil)).Elem() +} + +func (o RecipientTokenArrayOutput) ToRecipientTokenArrayOutput() RecipientTokenArrayOutput { return o } -func (o SqlQueryParameterNumberPtrOutput) Elem() SqlQueryParameterNumberOutput { - return o.ApplyT(func(v *SqlQueryParameterNumber) SqlQueryParameterNumber { - if v != nil { - return *v - } - var ret SqlQueryParameterNumber - return ret - }).(SqlQueryParameterNumberOutput) +func (o RecipientTokenArrayOutput) ToRecipientTokenArrayOutputWithContext(ctx context.Context) RecipientTokenArrayOutput { + return o } -// 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) +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 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 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 repo. + Patterns []string `pulumi:"patterns"` } -// SqlQueryParameterQueryInput is an input type that accepts SqlQueryParameterQueryArgs and SqlQueryParameterQueryOutput values. -// You can construct a concrete instance of `SqlQueryParameterQueryInput` via: +// RepoSparseCheckoutInput is an input type that accepts RepoSparseCheckoutArgs and RepoSparseCheckoutOutput values. +// You can construct a concrete instance of `RepoSparseCheckoutInput` via: // -// SqlQueryParameterQueryArgs{...} -type SqlQueryParameterQueryInput interface { +// RepoSparseCheckoutArgs{...} +type RepoSparseCheckoutInput interface { pulumi.Input - ToSqlQueryParameterQueryOutput() SqlQueryParameterQueryOutput - ToSqlQueryParameterQueryOutputWithContext(context.Context) SqlQueryParameterQueryOutput + ToRepoSparseCheckoutOutput() RepoSparseCheckoutOutput + ToRepoSparseCheckoutOutputWithContext(context.Context) RepoSparseCheckoutOutput } -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 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 repo. + Patterns pulumi.StringArrayInput `pulumi:"patterns"` } -func (SqlQueryParameterQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterQuery)(nil)).Elem() +func (RepoSparseCheckoutArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RepoSparseCheckout)(nil)).Elem() } -func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryOutput() SqlQueryParameterQueryOutput { - return i.ToSqlQueryParameterQueryOutputWithContext(context.Background()) +func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutOutput() RepoSparseCheckoutOutput { + return i.ToRepoSparseCheckoutOutputWithContext(context.Background()) } -func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryOutputWithContext(ctx context.Context) SqlQueryParameterQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryOutput) +func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutOutputWithContext(ctx context.Context) RepoSparseCheckoutOutput { + return pulumi.ToOutputWithContext(ctx, i).(RepoSparseCheckoutOutput) } -func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { - return i.ToSqlQueryParameterQueryPtrOutputWithContext(context.Background()) +func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { + return i.ToRepoSparseCheckoutPtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryOutput).ToSqlQueryParameterQueryPtrOutputWithContext(ctx) +func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RepoSparseCheckoutOutput).ToRepoSparseCheckoutPtrOutputWithContext(ctx) } -// SqlQueryParameterQueryPtrInput is an input type that accepts SqlQueryParameterQueryArgs, SqlQueryParameterQueryPtr and SqlQueryParameterQueryPtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterQueryPtrInput` via: +// RepoSparseCheckoutPtrInput is an input type that accepts RepoSparseCheckoutArgs, RepoSparseCheckoutPtr and RepoSparseCheckoutPtrOutput values. +// You can construct a concrete instance of `RepoSparseCheckoutPtrInput` via: // -// SqlQueryParameterQueryArgs{...} +// RepoSparseCheckoutArgs{...} // // or: // // nil -type SqlQueryParameterQueryPtrInput interface { +type RepoSparseCheckoutPtrInput interface { pulumi.Input - ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput - ToSqlQueryParameterQueryPtrOutputWithContext(context.Context) SqlQueryParameterQueryPtrOutput + ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput + ToRepoSparseCheckoutPtrOutputWithContext(context.Context) RepoSparseCheckoutPtrOutput } -type sqlQueryParameterQueryPtrType SqlQueryParameterQueryArgs +type repoSparseCheckoutPtrType RepoSparseCheckoutArgs -func SqlQueryParameterQueryPtr(v *SqlQueryParameterQueryArgs) SqlQueryParameterQueryPtrInput { - return (*sqlQueryParameterQueryPtrType)(v) +func RepoSparseCheckoutPtr(v *RepoSparseCheckoutArgs) RepoSparseCheckoutPtrInput { + return (*repoSparseCheckoutPtrType)(v) } -func (*sqlQueryParameterQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterQuery)(nil)).Elem() +func (*repoSparseCheckoutPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RepoSparseCheckout)(nil)).Elem() } -func (i *sqlQueryParameterQueryPtrType) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { - return i.ToSqlQueryParameterQueryPtrOutputWithContext(context.Background()) +func (i *repoSparseCheckoutPtrType) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { + return i.ToRepoSparseCheckoutPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterQueryPtrType) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryPtrOutput) +func (i *repoSparseCheckoutPtrType) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RepoSparseCheckoutPtrOutput) } -type SqlQueryParameterQueryOutput struct{ *pulumi.OutputState } +type RepoSparseCheckoutOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterQuery)(nil)).Elem() +func (RepoSparseCheckoutOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RepoSparseCheckout)(nil)).Elem() } -func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryOutput() SqlQueryParameterQueryOutput { +func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutOutput() RepoSparseCheckoutOutput { return o } -func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryOutputWithContext(ctx context.Context) SqlQueryParameterQueryOutput { +func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutOutputWithContext(ctx context.Context) RepoSparseCheckoutOutput { return o } -func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { - return o.ToSqlQueryParameterQueryPtrOutputWithContext(context.Background()) +func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { + return o.ToRepoSparseCheckoutPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterQuery) *SqlQueryParameterQuery { +func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RepoSparseCheckout) *RepoSparseCheckout { 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) -} - -// The default value for this parameter. -func (o SqlQueryParameterQueryOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterQuery) *string { return v.Value }).(pulumi.StringPtrOutput) + }).(RepoSparseCheckoutPtrOutput) } -func (o SqlQueryParameterQueryOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v SqlQueryParameterQuery) []string { return v.Values }).(pulumi.StringArrayOutput) +// 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 repo. +func (o RepoSparseCheckoutOutput) Patterns() pulumi.StringArrayOutput { + return o.ApplyT(func(v RepoSparseCheckout) []string { return v.Patterns }).(pulumi.StringArrayOutput) } -type SqlQueryParameterQueryPtrOutput struct{ *pulumi.OutputState } +type RepoSparseCheckoutPtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterQuery)(nil)).Elem() +func (RepoSparseCheckoutPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RepoSparseCheckout)(nil)).Elem() } -func (o SqlQueryParameterQueryPtrOutput) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { +func (o RepoSparseCheckoutPtrOutput) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { return o } -func (o SqlQueryParameterQueryPtrOutput) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { +func (o RepoSparseCheckoutPtrOutput) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { return o } -func (o SqlQueryParameterQueryPtrOutput) Elem() SqlQueryParameterQueryOutput { - return o.ApplyT(func(v *SqlQueryParameterQuery) SqlQueryParameterQuery { +func (o RepoSparseCheckoutPtrOutput) Elem() RepoSparseCheckoutOutput { + return o.ApplyT(func(v *RepoSparseCheckout) RepoSparseCheckout { if v != nil { return *v } - var ret SqlQueryParameterQuery + var ret RepoSparseCheckout return ret - }).(SqlQueryParameterQueryOutput) -} - -func (o SqlQueryParameterQueryPtrOutput) Multiple() SqlQueryParameterQueryMultiplePtrOutput { - return o.ApplyT(func(v *SqlQueryParameterQuery) *SqlQueryParameterQueryMultiple { - if v == nil { - return nil - } - return v.Multiple - }).(SqlQueryParameterQueryMultiplePtrOutput) -} - -func (o SqlQueryParameterQueryPtrOutput) QueryId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterQuery) *string { - if v == nil { - return nil - } - return &v.QueryId - }).(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) + }).(RepoSparseCheckoutOutput) } -func (o SqlQueryParameterQueryPtrOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v *SqlQueryParameterQuery) []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 repo. +func (o RepoSparseCheckoutPtrOutput) Patterns() pulumi.StringArrayOutput { + return o.ApplyT(func(v *RepoSparseCheckout) []string { if v == nil { return nil } - return v.Values + return v.Patterns }).(pulumi.StringArrayOutput) } -type SqlQueryParameterQueryMultiple struct { - Prefix *string `pulumi:"prefix"` - Separator string `pulumi:"separator"` - Suffix *string `pulumi:"suffix"` +type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins struct { + // The restrict workspace admins status for the workspace. + Status string `pulumi:"status"` } -// SqlQueryParameterQueryMultipleInput is an input type that accepts SqlQueryParameterQueryMultipleArgs and SqlQueryParameterQueryMultipleOutput values. -// You can construct a concrete instance of `SqlQueryParameterQueryMultipleInput` via: +// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsInput is an input type that accepts RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs and RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput values. +// You can construct a concrete instance of `RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsInput` via: // -// SqlQueryParameterQueryMultipleArgs{...} -type SqlQueryParameterQueryMultipleInput interface { +// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs{...} +type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsInput interface { pulumi.Input - ToSqlQueryParameterQueryMultipleOutput() SqlQueryParameterQueryMultipleOutput - ToSqlQueryParameterQueryMultipleOutputWithContext(context.Context) SqlQueryParameterQueryMultipleOutput + ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput + ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput } -type SqlQueryParameterQueryMultipleArgs struct { - Prefix pulumi.StringPtrInput `pulumi:"prefix"` - Separator pulumi.StringInput `pulumi:"separator"` - Suffix pulumi.StringPtrInput `pulumi:"suffix"` +type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs struct { + // The restrict workspace admins status for the workspace. + Status pulumi.StringInput `pulumi:"status"` } -func (SqlQueryParameterQueryMultipleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterQueryMultiple)(nil)).Elem() +func (RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() } -func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultipleOutput() SqlQueryParameterQueryMultipleOutput { - return i.ToSqlQueryParameterQueryMultipleOutputWithContext(context.Background()) +func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { + return i.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(context.Background()) } -func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultipleOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultipleOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryMultipleOutput) +func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { + return pulumi.ToOutputWithContext(ctx, i).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) } -func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { - return i.ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Background()) +func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { + return i.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryMultipleOutput).ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx) +func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput).ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx) } -// SqlQueryParameterQueryMultiplePtrInput is an input type that accepts SqlQueryParameterQueryMultipleArgs, SqlQueryParameterQueryMultiplePtr and SqlQueryParameterQueryMultiplePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterQueryMultiplePtrInput` via: +// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput is an input type that accepts RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs, RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtr and RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput values. +// You can construct a concrete instance of `RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput` via: // -// SqlQueryParameterQueryMultipleArgs{...} +// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs{...} // // or: // // nil -type SqlQueryParameterQueryMultiplePtrInput interface { +type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput interface { pulumi.Input - ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput - ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Context) SqlQueryParameterQueryMultiplePtrOutput + ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput + ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput } -type sqlQueryParameterQueryMultiplePtrType SqlQueryParameterQueryMultipleArgs +type restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs -func SqlQueryParameterQueryMultiplePtr(v *SqlQueryParameterQueryMultipleArgs) SqlQueryParameterQueryMultiplePtrInput { - return (*sqlQueryParameterQueryMultiplePtrType)(v) +func RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtr(v *RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput { + return (*restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType)(v) } -func (*sqlQueryParameterQueryMultiplePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterQueryMultiple)(nil)).Elem() +func (*restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() } -func (i *sqlQueryParameterQueryMultiplePtrType) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { - return i.ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Background()) +func (i *restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { + return i.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterQueryMultiplePtrType) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryMultiplePtrOutput) +func (i *restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) } -type SqlQueryParameterQueryMultipleOutput struct{ *pulumi.OutputState } +type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterQueryMultipleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterQueryMultiple)(nil)).Elem() +func (RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() } -func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultipleOutput() SqlQueryParameterQueryMultipleOutput { +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { return o } -func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultipleOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultipleOutput { +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { return o } -func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { - return o.ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Background()) +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { + return o.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterQueryMultiple) *SqlQueryParameterQueryMultiple { +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins) *RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins { return &v - }).(SqlQueryParameterQueryMultiplePtrOutput) -} - -func (o SqlQueryParameterQueryMultipleOutput) Prefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterQueryMultiple) *string { return v.Prefix }).(pulumi.StringPtrOutput) -} - -func (o SqlQueryParameterQueryMultipleOutput) Separator() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterQueryMultiple) string { return v.Separator }).(pulumi.StringOutput) + }).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) } -func (o SqlQueryParameterQueryMultipleOutput) Suffix() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterQueryMultiple) *string { return v.Suffix }).(pulumi.StringPtrOutput) +// 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 SqlQueryParameterQueryMultiplePtrOutput struct{ *pulumi.OutputState } +type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterQueryMultiplePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterQueryMultiple)(nil)).Elem() +func (RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() } -func (o SqlQueryParameterQueryMultiplePtrOutput) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { return o } -func (o SqlQueryParameterQueryMultiplePtrOutput) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { return o } -func (o SqlQueryParameterQueryMultiplePtrOutput) Elem() SqlQueryParameterQueryMultipleOutput { - return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) SqlQueryParameterQueryMultiple { +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) Elem() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { + return o.ApplyT(func(v *RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins { if v != nil { return *v } - var ret SqlQueryParameterQueryMultiple + var ret RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins return ret - }).(SqlQueryParameterQueryMultipleOutput) -} - -func (o SqlQueryParameterQueryMultiplePtrOutput) Prefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) *string { - if v == nil { - return nil - } - return v.Prefix - }).(pulumi.StringPtrOutput) -} - -func (o SqlQueryParameterQueryMultiplePtrOutput) Separator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) *string { - if v == nil { - return nil - } - return &v.Separator - }).(pulumi.StringPtrOutput) + }).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) } -func (o SqlQueryParameterQueryMultiplePtrOutput) Suffix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) *string { +// 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.Suffix + return &v.Status }).(pulumi.StringPtrOutput) } -type SqlQueryParameterText struct { - // The default value for this parameter. - Value string `pulumi:"value"` +type SecretScopeKeyvaultMetadata struct { + DnsName string `pulumi:"dnsName"` + ResourceId string `pulumi:"resourceId"` } -// SqlQueryParameterTextInput is an input type that accepts SqlQueryParameterTextArgs and SqlQueryParameterTextOutput values. -// You can construct a concrete instance of `SqlQueryParameterTextInput` via: +// SecretScopeKeyvaultMetadataInput is an input type that accepts SecretScopeKeyvaultMetadataArgs and SecretScopeKeyvaultMetadataOutput values. +// You can construct a concrete instance of `SecretScopeKeyvaultMetadataInput` via: // -// SqlQueryParameterTextArgs{...} -type SqlQueryParameterTextInput interface { +// SecretScopeKeyvaultMetadataArgs{...} +type SecretScopeKeyvaultMetadataInput interface { pulumi.Input - ToSqlQueryParameterTextOutput() SqlQueryParameterTextOutput - ToSqlQueryParameterTextOutputWithContext(context.Context) SqlQueryParameterTextOutput + ToSecretScopeKeyvaultMetadataOutput() SecretScopeKeyvaultMetadataOutput + ToSecretScopeKeyvaultMetadataOutputWithContext(context.Context) SecretScopeKeyvaultMetadataOutput } -type SqlQueryParameterTextArgs struct { - // The default value for this parameter. - Value pulumi.StringInput `pulumi:"value"` +type SecretScopeKeyvaultMetadataArgs struct { + DnsName pulumi.StringInput `pulumi:"dnsName"` + ResourceId pulumi.StringInput `pulumi:"resourceId"` } -func (SqlQueryParameterTextArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterText)(nil)).Elem() +func (SecretScopeKeyvaultMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecretScopeKeyvaultMetadata)(nil)).Elem() } -func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextOutput() SqlQueryParameterTextOutput { - return i.ToSqlQueryParameterTextOutputWithContext(context.Background()) +func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataOutput() SecretScopeKeyvaultMetadataOutput { + return i.ToSecretScopeKeyvaultMetadataOutputWithContext(context.Background()) } -func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextOutputWithContext(ctx context.Context) SqlQueryParameterTextOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterTextOutput) +func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretScopeKeyvaultMetadataOutput) } -func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { - return i.ToSqlQueryParameterTextPtrOutputWithContext(context.Background()) +func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { + return i.ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterTextOutput).ToSqlQueryParameterTextPtrOutputWithContext(ctx) +func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretScopeKeyvaultMetadataOutput).ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx) } -// SqlQueryParameterTextPtrInput is an input type that accepts SqlQueryParameterTextArgs, SqlQueryParameterTextPtr and SqlQueryParameterTextPtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterTextPtrInput` via: +// SecretScopeKeyvaultMetadataPtrInput is an input type that accepts SecretScopeKeyvaultMetadataArgs, SecretScopeKeyvaultMetadataPtr and SecretScopeKeyvaultMetadataPtrOutput values. +// You can construct a concrete instance of `SecretScopeKeyvaultMetadataPtrInput` via: // -// SqlQueryParameterTextArgs{...} +// SecretScopeKeyvaultMetadataArgs{...} // // or: // // nil -type SqlQueryParameterTextPtrInput interface { +type SecretScopeKeyvaultMetadataPtrInput interface { pulumi.Input - ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput - ToSqlQueryParameterTextPtrOutputWithContext(context.Context) SqlQueryParameterTextPtrOutput + ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput + ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Context) SecretScopeKeyvaultMetadataPtrOutput } -type sqlQueryParameterTextPtrType SqlQueryParameterTextArgs +type secretScopeKeyvaultMetadataPtrType SecretScopeKeyvaultMetadataArgs -func SqlQueryParameterTextPtr(v *SqlQueryParameterTextArgs) SqlQueryParameterTextPtrInput { - return (*sqlQueryParameterTextPtrType)(v) +func SecretScopeKeyvaultMetadataPtr(v *SecretScopeKeyvaultMetadataArgs) SecretScopeKeyvaultMetadataPtrInput { + return (*secretScopeKeyvaultMetadataPtrType)(v) } -func (*sqlQueryParameterTextPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterText)(nil)).Elem() +func (*secretScopeKeyvaultMetadataPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SecretScopeKeyvaultMetadata)(nil)).Elem() } -func (i *sqlQueryParameterTextPtrType) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { - return i.ToSqlQueryParameterTextPtrOutputWithContext(context.Background()) +func (i *secretScopeKeyvaultMetadataPtrType) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { + return i.ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterTextPtrType) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterTextPtrOutput) +func (i *secretScopeKeyvaultMetadataPtrType) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretScopeKeyvaultMetadataPtrOutput) } -type SqlQueryParameterTextOutput struct{ *pulumi.OutputState } +type SecretScopeKeyvaultMetadataOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterTextOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterText)(nil)).Elem() +func (SecretScopeKeyvaultMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecretScopeKeyvaultMetadata)(nil)).Elem() } -func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextOutput() SqlQueryParameterTextOutput { +func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataOutput() SecretScopeKeyvaultMetadataOutput { return o } -func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextOutputWithContext(ctx context.Context) SqlQueryParameterTextOutput { +func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataOutput { return o } -func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { - return o.ToSqlQueryParameterTextPtrOutputWithContext(context.Background()) +func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { + return o.ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterText) *SqlQueryParameterText { +func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretScopeKeyvaultMetadata) *SecretScopeKeyvaultMetadata { return &v - }).(SqlQueryParameterTextPtrOutput) + }).(SecretScopeKeyvaultMetadataPtrOutput) } -// The default value for this parameter. -func (o SqlQueryParameterTextOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterText) string { return v.Value }).(pulumi.StringOutput) +func (o SecretScopeKeyvaultMetadataOutput) DnsName() pulumi.StringOutput { + return o.ApplyT(func(v SecretScopeKeyvaultMetadata) string { return v.DnsName }).(pulumi.StringOutput) } -type SqlQueryParameterTextPtrOutput struct{ *pulumi.OutputState } +func (o SecretScopeKeyvaultMetadataOutput) ResourceId() pulumi.StringOutput { + return o.ApplyT(func(v SecretScopeKeyvaultMetadata) string { return v.ResourceId }).(pulumi.StringOutput) +} -func (SqlQueryParameterTextPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterText)(nil)).Elem() +type SecretScopeKeyvaultMetadataPtrOutput struct{ *pulumi.OutputState } + +func (SecretScopeKeyvaultMetadataPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SecretScopeKeyvaultMetadata)(nil)).Elem() } -func (o SqlQueryParameterTextPtrOutput) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { +func (o SecretScopeKeyvaultMetadataPtrOutput) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { return o } -func (o SqlQueryParameterTextPtrOutput) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { +func (o SecretScopeKeyvaultMetadataPtrOutput) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { return o } -func (o SqlQueryParameterTextPtrOutput) Elem() SqlQueryParameterTextOutput { - return o.ApplyT(func(v *SqlQueryParameterText) SqlQueryParameterText { +func (o SecretScopeKeyvaultMetadataPtrOutput) Elem() SecretScopeKeyvaultMetadataOutput { + return o.ApplyT(func(v *SecretScopeKeyvaultMetadata) SecretScopeKeyvaultMetadata { if v != nil { return *v } - var ret SqlQueryParameterText + var ret SecretScopeKeyvaultMetadata return ret - }).(SqlQueryParameterTextOutput) + }).(SecretScopeKeyvaultMetadataOutput) } -// The default value for this parameter. -func (o SqlQueryParameterTextPtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterText) *string { +func (o SecretScopeKeyvaultMetadataPtrOutput) DnsName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretScopeKeyvaultMetadata) *string { if v == nil { return nil } - return &v.Value + return &v.DnsName }).(pulumi.StringPtrOutput) } -type SqlQuerySchedule struct { - Continuous *SqlQueryScheduleContinuous `pulumi:"continuous"` - Daily *SqlQueryScheduleDaily `pulumi:"daily"` - Weekly *SqlQueryScheduleWeekly `pulumi:"weekly"` +func (o SecretScopeKeyvaultMetadataPtrOutput) ResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretScopeKeyvaultMetadata) *string { + if v == nil { + return nil + } + return &v.ResourceId + }).(pulumi.StringPtrOutput) } -// SqlQueryScheduleInput is an input type that accepts SqlQueryScheduleArgs and SqlQueryScheduleOutput values. -// You can construct a concrete instance of `SqlQueryScheduleInput` via: -// -// SqlQueryScheduleArgs{...} -type SqlQueryScheduleInput interface { - pulumi.Input - - ToSqlQueryScheduleOutput() SqlQueryScheduleOutput - ToSqlQueryScheduleOutputWithContext(context.Context) SqlQueryScheduleOutput +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"` + // 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"` } -type SqlQueryScheduleArgs struct { - Continuous SqlQueryScheduleContinuousPtrInput `pulumi:"continuous"` - Daily SqlQueryScheduleDailyPtrInput `pulumi:"daily"` - Weekly SqlQueryScheduleWeeklyPtrInput `pulumi:"weekly"` -} +// 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 -func (SqlQueryScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQuerySchedule)(nil)).Elem() + ToShareObjectOutput() ShareObjectOutput + ToShareObjectOutputWithContext(context.Context) ShareObjectOutput } -func (i SqlQueryScheduleArgs) ToSqlQueryScheduleOutput() SqlQueryScheduleOutput { - return i.ToSqlQueryScheduleOutputWithContext(context.Background()) +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"` + // 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"` } -func (i SqlQueryScheduleArgs) ToSqlQueryScheduleOutputWithContext(ctx context.Context) SqlQueryScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleOutput) +func (ShareObjectArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ShareObject)(nil)).Elem() } -func (i SqlQueryScheduleArgs) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { - return i.ToSqlQuerySchedulePtrOutputWithContext(context.Background()) +func (i ShareObjectArgs) ToShareObjectOutput() ShareObjectOutput { + return i.ToShareObjectOutputWithContext(context.Background()) } -func (i SqlQueryScheduleArgs) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleOutput).ToSqlQuerySchedulePtrOutputWithContext(ctx) +func (i ShareObjectArgs) ToShareObjectOutputWithContext(ctx context.Context) ShareObjectOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShareObjectOutput) } -// SqlQuerySchedulePtrInput is an input type that accepts SqlQueryScheduleArgs, SqlQuerySchedulePtr and SqlQuerySchedulePtrOutput values. -// You can construct a concrete instance of `SqlQuerySchedulePtrInput` via: -// -// SqlQueryScheduleArgs{...} -// -// or: +// ShareObjectArrayInput is an input type that accepts ShareObjectArray and ShareObjectArrayOutput values. +// You can construct a concrete instance of `ShareObjectArrayInput` via: // -// nil -type SqlQuerySchedulePtrInput interface { +// ShareObjectArray{ ShareObjectArgs{...} } +type ShareObjectArrayInput interface { pulumi.Input - ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput - ToSqlQuerySchedulePtrOutputWithContext(context.Context) SqlQuerySchedulePtrOutput + ToShareObjectArrayOutput() ShareObjectArrayOutput + ToShareObjectArrayOutputWithContext(context.Context) ShareObjectArrayOutput } -type sqlQuerySchedulePtrType SqlQueryScheduleArgs - -func SqlQuerySchedulePtr(v *SqlQueryScheduleArgs) SqlQuerySchedulePtrInput { - return (*sqlQuerySchedulePtrType)(v) -} +type ShareObjectArray []ShareObjectInput -func (*sqlQuerySchedulePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQuerySchedule)(nil)).Elem() +func (ShareObjectArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShareObject)(nil)).Elem() } -func (i *sqlQuerySchedulePtrType) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { - return i.ToSqlQuerySchedulePtrOutputWithContext(context.Background()) +func (i ShareObjectArray) ToShareObjectArrayOutput() ShareObjectArrayOutput { + return i.ToShareObjectArrayOutputWithContext(context.Background()) } -func (i *sqlQuerySchedulePtrType) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQuerySchedulePtrOutput) +func (i ShareObjectArray) ToShareObjectArrayOutputWithContext(ctx context.Context) ShareObjectArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShareObjectArrayOutput) } -type SqlQueryScheduleOutput struct{ *pulumi.OutputState } +type ShareObjectOutput struct{ *pulumi.OutputState } -func (SqlQueryScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQuerySchedule)(nil)).Elem() +func (ShareObjectOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ShareObject)(nil)).Elem() } -func (o SqlQueryScheduleOutput) ToSqlQueryScheduleOutput() SqlQueryScheduleOutput { +func (o ShareObjectOutput) ToShareObjectOutput() ShareObjectOutput { return o } -func (o SqlQueryScheduleOutput) ToSqlQueryScheduleOutputWithContext(ctx context.Context) SqlQueryScheduleOutput { +func (o ShareObjectOutput) ToShareObjectOutputWithContext(ctx context.Context) ShareObjectOutput { return o } -func (o SqlQueryScheduleOutput) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { - return o.ToSqlQuerySchedulePtrOutputWithContext(context.Background()) +func (o ShareObjectOutput) AddedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v ShareObject) *int { return v.AddedAt }).(pulumi.IntPtrOutput) } -func (o SqlQueryScheduleOutput) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQuerySchedule) *SqlQuerySchedule { - return &v - }).(SqlQuerySchedulePtrOutput) +func (o ShareObjectOutput) AddedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShareObject) *string { return v.AddedBy }).(pulumi.StringPtrOutput) } -func (o SqlQueryScheduleOutput) Continuous() SqlQueryScheduleContinuousPtrOutput { - return o.ApplyT(func(v SqlQuerySchedule) *SqlQueryScheduleContinuous { return v.Continuous }).(SqlQueryScheduleContinuousPtrOutput) +// 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 SqlQueryScheduleOutput) Daily() SqlQueryScheduleDailyPtrOutput { - return o.ApplyT(func(v SqlQuerySchedule) *SqlQueryScheduleDaily { return v.Daily }).(SqlQueryScheduleDailyPtrOutput) +// Description about the object. +func (o ShareObjectOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShareObject) *string { return v.Comment }).(pulumi.StringPtrOutput) } -func (o SqlQueryScheduleOutput) Weekly() SqlQueryScheduleWeeklyPtrOutput { - return o.ApplyT(func(v SqlQuerySchedule) *SqlQueryScheduleWeekly { return v.Weekly }).(SqlQueryScheduleWeeklyPtrOutput) +// 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) } -type SqlQuerySchedulePtrOutput struct{ *pulumi.OutputState } - -func (SqlQuerySchedulePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQuerySchedule)(nil)).Elem() +// 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 SqlQuerySchedulePtrOutput) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { - return o +// 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 SqlQuerySchedulePtrOutput) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { - return o +func (o ShareObjectOutput) Partitions() ShareObjectPartitionArrayOutput { + return o.ApplyT(func(v ShareObject) []ShareObjectPartition { return v.Partitions }).(ShareObjectPartitionArrayOutput) } -func (o SqlQuerySchedulePtrOutput) Elem() SqlQueryScheduleOutput { - return o.ApplyT(func(v *SqlQuerySchedule) SqlQuerySchedule { - if v != nil { - return *v - } - var ret SqlQuerySchedule - return ret - }).(SqlQueryScheduleOutput) +// 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 SqlQuerySchedulePtrOutput) Continuous() SqlQueryScheduleContinuousPtrOutput { - return o.ApplyT(func(v *SqlQuerySchedule) *SqlQueryScheduleContinuous { - if v == nil { - return nil - } - return v.Continuous - }).(SqlQueryScheduleContinuousPtrOutput) +// 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 SqlQuerySchedulePtrOutput) Daily() SqlQueryScheduleDailyPtrOutput { - return o.ApplyT(func(v *SqlQuerySchedule) *SqlQueryScheduleDaily { - if v == nil { - return nil - } - return v.Daily - }).(SqlQueryScheduleDailyPtrOutput) +// 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 SqlQuerySchedulePtrOutput) Weekly() SqlQueryScheduleWeeklyPtrOutput { - return o.ApplyT(func(v *SqlQuerySchedule) *SqlQueryScheduleWeekly { - if v == nil { - return nil - } - return v.Weekly - }).(SqlQueryScheduleWeeklyPtrOutput) +type ShareObjectArrayOutput struct{ *pulumi.OutputState } + +func (ShareObjectArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShareObject)(nil)).Elem() } -type SqlQueryScheduleContinuous struct { - IntervalSeconds int `pulumi:"intervalSeconds"` - UntilDate *string `pulumi:"untilDate"` +func (o ShareObjectArrayOutput) ToShareObjectArrayOutput() ShareObjectArrayOutput { + return o } -// SqlQueryScheduleContinuousInput is an input type that accepts SqlQueryScheduleContinuousArgs and SqlQueryScheduleContinuousOutput values. -// You can construct a concrete instance of `SqlQueryScheduleContinuousInput` via: -// -// SqlQueryScheduleContinuousArgs{...} -type SqlQueryScheduleContinuousInput interface { - pulumi.Input +func (o ShareObjectArrayOutput) ToShareObjectArrayOutputWithContext(ctx context.Context) ShareObjectArrayOutput { + return o +} - ToSqlQueryScheduleContinuousOutput() SqlQueryScheduleContinuousOutput - ToSqlQueryScheduleContinuousOutputWithContext(context.Context) SqlQueryScheduleContinuousOutput +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) } -type SqlQueryScheduleContinuousArgs struct { - IntervalSeconds pulumi.IntInput `pulumi:"intervalSeconds"` - UntilDate pulumi.StringPtrInput `pulumi:"untilDate"` +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 (SqlQueryScheduleContinuousArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryScheduleContinuous)(nil)).Elem() +// 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 (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousOutput() SqlQueryScheduleContinuousOutput { - return i.ToSqlQueryScheduleContinuousOutputWithContext(context.Background()) +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"` } -func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleContinuousOutput) +func (ShareObjectPartitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ShareObjectPartition)(nil)).Elem() } -func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { - return i.ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Background()) +func (i ShareObjectPartitionArgs) ToShareObjectPartitionOutput() ShareObjectPartitionOutput { + return i.ToShareObjectPartitionOutputWithContext(context.Background()) } -func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleContinuousOutput).ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx) +func (i ShareObjectPartitionArgs) ToShareObjectPartitionOutputWithContext(ctx context.Context) ShareObjectPartitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionOutput) } -// SqlQueryScheduleContinuousPtrInput is an input type that accepts SqlQueryScheduleContinuousArgs, SqlQueryScheduleContinuousPtr and SqlQueryScheduleContinuousPtrOutput values. -// You can construct a concrete instance of `SqlQueryScheduleContinuousPtrInput` via: -// -// SqlQueryScheduleContinuousArgs{...} -// -// or: +// ShareObjectPartitionArrayInput is an input type that accepts ShareObjectPartitionArray and ShareObjectPartitionArrayOutput values. +// You can construct a concrete instance of `ShareObjectPartitionArrayInput` via: // -// nil -type SqlQueryScheduleContinuousPtrInput interface { +// ShareObjectPartitionArray{ ShareObjectPartitionArgs{...} } +type ShareObjectPartitionArrayInput interface { pulumi.Input - ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput - ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Context) SqlQueryScheduleContinuousPtrOutput + ToShareObjectPartitionArrayOutput() ShareObjectPartitionArrayOutput + ToShareObjectPartitionArrayOutputWithContext(context.Context) ShareObjectPartitionArrayOutput } -type sqlQueryScheduleContinuousPtrType SqlQueryScheduleContinuousArgs +type ShareObjectPartitionArray []ShareObjectPartitionInput -func SqlQueryScheduleContinuousPtr(v *SqlQueryScheduleContinuousArgs) SqlQueryScheduleContinuousPtrInput { - return (*sqlQueryScheduleContinuousPtrType)(v) +func (ShareObjectPartitionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShareObjectPartition)(nil)).Elem() } -func (*sqlQueryScheduleContinuousPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryScheduleContinuous)(nil)).Elem() +func (i ShareObjectPartitionArray) ToShareObjectPartitionArrayOutput() ShareObjectPartitionArrayOutput { + return i.ToShareObjectPartitionArrayOutputWithContext(context.Background()) } -func (i *sqlQueryScheduleContinuousPtrType) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { - return i.ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Background()) -} - -func (i *sqlQueryScheduleContinuousPtrType) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleContinuousPtrOutput) +func (i ShareObjectPartitionArray) ToShareObjectPartitionArrayOutputWithContext(ctx context.Context) ShareObjectPartitionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionArrayOutput) } -type SqlQueryScheduleContinuousOutput struct{ *pulumi.OutputState } +type ShareObjectPartitionOutput struct{ *pulumi.OutputState } -func (SqlQueryScheduleContinuousOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryScheduleContinuous)(nil)).Elem() +func (ShareObjectPartitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ShareObjectPartition)(nil)).Elem() } -func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousOutput() SqlQueryScheduleContinuousOutput { +func (o ShareObjectPartitionOutput) ToShareObjectPartitionOutput() ShareObjectPartitionOutput { return o } -func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousOutput { +func (o ShareObjectPartitionOutput) ToShareObjectPartitionOutputWithContext(ctx context.Context) ShareObjectPartitionOutput { return o } -func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { - return o.ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Background()) -} - -func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryScheduleContinuous) *SqlQueryScheduleContinuous { - return &v - }).(SqlQueryScheduleContinuousPtrOutput) -} - -func (o SqlQueryScheduleContinuousOutput) IntervalSeconds() pulumi.IntOutput { - return o.ApplyT(func(v SqlQueryScheduleContinuous) int { return v.IntervalSeconds }).(pulumi.IntOutput) -} - -func (o SqlQueryScheduleContinuousOutput) UntilDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryScheduleContinuous) *string { return v.UntilDate }).(pulumi.StringPtrOutput) +// 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 SqlQueryScheduleContinuousPtrOutput struct{ *pulumi.OutputState } +type ShareObjectPartitionArrayOutput struct{ *pulumi.OutputState } -func (SqlQueryScheduleContinuousPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryScheduleContinuous)(nil)).Elem() +func (ShareObjectPartitionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShareObjectPartition)(nil)).Elem() } -func (o SqlQueryScheduleContinuousPtrOutput) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { +func (o ShareObjectPartitionArrayOutput) ToShareObjectPartitionArrayOutput() ShareObjectPartitionArrayOutput { return o } -func (o SqlQueryScheduleContinuousPtrOutput) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { +func (o ShareObjectPartitionArrayOutput) ToShareObjectPartitionArrayOutputWithContext(ctx context.Context) ShareObjectPartitionArrayOutput { return o } -func (o SqlQueryScheduleContinuousPtrOutput) Elem() SqlQueryScheduleContinuousOutput { - return o.ApplyT(func(v *SqlQueryScheduleContinuous) SqlQueryScheduleContinuous { - if v != nil { - return *v - } - var ret SqlQueryScheduleContinuous - return ret - }).(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 SqlQueryScheduleContinuousPtrOutput) UntilDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleContinuous) *string { - if v == nil { - return nil - } - return v.UntilDate - }).(pulumi.StringPtrOutput) +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 SqlQueryScheduleDaily struct { - IntervalDays int `pulumi:"intervalDays"` - TimeOfDay string `pulumi:"timeOfDay"` - UntilDate *string `pulumi:"untilDate"` +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"` } -// SqlQueryScheduleDailyInput is an input type that accepts SqlQueryScheduleDailyArgs and SqlQueryScheduleDailyOutput values. -// You can construct a concrete instance of `SqlQueryScheduleDailyInput` via: +// ShareObjectPartitionValueInput is an input type that accepts ShareObjectPartitionValueArgs and ShareObjectPartitionValueOutput values. +// You can construct a concrete instance of `ShareObjectPartitionValueInput` via: // -// SqlQueryScheduleDailyArgs{...} -type SqlQueryScheduleDailyInput interface { +// ShareObjectPartitionValueArgs{...} +type ShareObjectPartitionValueInput 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() + ToShareObjectPartitionValueOutput() ShareObjectPartitionValueOutput + ToShareObjectPartitionValueOutputWithContext(context.Context) ShareObjectPartitionValueOutput } -func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyOutput() SqlQueryScheduleDailyOutput { - return i.ToSqlQueryScheduleDailyOutputWithContext(context.Background()) +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 (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyOutputWithContext(ctx context.Context) SqlQueryScheduleDailyOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleDailyOutput) +func (ShareObjectPartitionValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ShareObjectPartitionValue)(nil)).Elem() } -func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { - return i.ToSqlQueryScheduleDailyPtrOutputWithContext(context.Background()) +func (i ShareObjectPartitionValueArgs) ToShareObjectPartitionValueOutput() ShareObjectPartitionValueOutput { + return i.ToShareObjectPartitionValueOutputWithContext(context.Background()) } -func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleDailyOutput).ToSqlQueryScheduleDailyPtrOutputWithContext(ctx) +func (i ShareObjectPartitionValueArgs) ToShareObjectPartitionValueOutputWithContext(ctx context.Context) ShareObjectPartitionValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionValueOutput) } -// SqlQueryScheduleDailyPtrInput is an input type that accepts SqlQueryScheduleDailyArgs, SqlQueryScheduleDailyPtr and SqlQueryScheduleDailyPtrOutput values. -// You can construct a concrete instance of `SqlQueryScheduleDailyPtrInput` via: -// -// SqlQueryScheduleDailyArgs{...} -// -// or: +// ShareObjectPartitionValueArrayInput is an input type that accepts ShareObjectPartitionValueArray and ShareObjectPartitionValueArrayOutput values. +// You can construct a concrete instance of `ShareObjectPartitionValueArrayInput` via: // -// nil -type SqlQueryScheduleDailyPtrInput interface { +// ShareObjectPartitionValueArray{ ShareObjectPartitionValueArgs{...} } +type ShareObjectPartitionValueArrayInput interface { pulumi.Input - ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput - ToSqlQueryScheduleDailyPtrOutputWithContext(context.Context) SqlQueryScheduleDailyPtrOutput + ToShareObjectPartitionValueArrayOutput() ShareObjectPartitionValueArrayOutput + ToShareObjectPartitionValueArrayOutputWithContext(context.Context) ShareObjectPartitionValueArrayOutput } -type sqlQueryScheduleDailyPtrType SqlQueryScheduleDailyArgs - -func SqlQueryScheduleDailyPtr(v *SqlQueryScheduleDailyArgs) SqlQueryScheduleDailyPtrInput { - return (*sqlQueryScheduleDailyPtrType)(v) -} +type ShareObjectPartitionValueArray []ShareObjectPartitionValueInput -func (*sqlQueryScheduleDailyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryScheduleDaily)(nil)).Elem() +func (ShareObjectPartitionValueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShareObjectPartitionValue)(nil)).Elem() } -func (i *sqlQueryScheduleDailyPtrType) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { - return i.ToSqlQueryScheduleDailyPtrOutputWithContext(context.Background()) +func (i ShareObjectPartitionValueArray) ToShareObjectPartitionValueArrayOutput() ShareObjectPartitionValueArrayOutput { + return i.ToShareObjectPartitionValueArrayOutputWithContext(context.Background()) } -func (i *sqlQueryScheduleDailyPtrType) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleDailyPtrOutput) +func (i ShareObjectPartitionValueArray) ToShareObjectPartitionValueArrayOutputWithContext(ctx context.Context) ShareObjectPartitionValueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionValueArrayOutput) } -type SqlQueryScheduleDailyOutput struct{ *pulumi.OutputState } +type ShareObjectPartitionValueOutput struct{ *pulumi.OutputState } -func (SqlQueryScheduleDailyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryScheduleDaily)(nil)).Elem() +func (ShareObjectPartitionValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ShareObjectPartitionValue)(nil)).Elem() } -func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyOutput() SqlQueryScheduleDailyOutput { +func (o ShareObjectPartitionValueOutput) ToShareObjectPartitionValueOutput() ShareObjectPartitionValueOutput { return o } -func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyOutputWithContext(ctx context.Context) SqlQueryScheduleDailyOutput { +func (o ShareObjectPartitionValueOutput) ToShareObjectPartitionValueOutputWithContext(ctx context.Context) ShareObjectPartitionValueOutput { return o } -func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { - return o.ToSqlQueryScheduleDailyPtrOutputWithContext(context.Background()) -} - -func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryScheduleDaily) *SqlQueryScheduleDaily { - return &v - }).(SqlQueryScheduleDailyPtrOutput) +// 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 SqlQueryScheduleDailyOutput) IntervalDays() pulumi.IntOutput { - return o.ApplyT(func(v SqlQueryScheduleDaily) int { return v.IntervalDays }).(pulumi.IntOutput) +// 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 SqlQueryScheduleDailyOutput) TimeOfDay() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryScheduleDaily) string { return v.TimeOfDay }).(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) } -func (o SqlQueryScheduleDailyOutput) UntilDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryScheduleDaily) *string { return v.UntilDate }).(pulumi.StringPtrOutput) +// 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 SqlQueryScheduleDailyPtrOutput struct{ *pulumi.OutputState } +type ShareObjectPartitionValueArrayOutput struct{ *pulumi.OutputState } -func (SqlQueryScheduleDailyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryScheduleDaily)(nil)).Elem() +func (ShareObjectPartitionValueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShareObjectPartitionValue)(nil)).Elem() } -func (o SqlQueryScheduleDailyPtrOutput) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { +func (o ShareObjectPartitionValueArrayOutput) ToShareObjectPartitionValueArrayOutput() ShareObjectPartitionValueArrayOutput { return o } -func (o SqlQueryScheduleDailyPtrOutput) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { +func (o ShareObjectPartitionValueArrayOutput) ToShareObjectPartitionValueArrayOutputWithContext(ctx context.Context) ShareObjectPartitionValueArrayOutput { 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 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 SqlQueryScheduleWeekly struct { - DayOfWeek string `pulumi:"dayOfWeek"` - IntervalWeeks int `pulumi:"intervalWeeks"` - TimeOfDay string `pulumi:"timeOfDay"` - UntilDate *string `pulumi:"untilDate"` +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"` } -// SqlQueryScheduleWeeklyInput is an input type that accepts SqlQueryScheduleWeeklyArgs and SqlQueryScheduleWeeklyOutput values. -// You can construct a concrete instance of `SqlQueryScheduleWeeklyInput` via: +// SqlAlertOptionsInput is an input type that accepts SqlAlertOptionsArgs and SqlAlertOptionsOutput values. +// You can construct a concrete instance of `SqlAlertOptionsInput` via: // -// SqlQueryScheduleWeeklyArgs{...} -type SqlQueryScheduleWeeklyInput interface { +// SqlAlertOptionsArgs{...} +type SqlAlertOptionsInput interface { pulumi.Input - ToSqlQueryScheduleWeeklyOutput() SqlQueryScheduleWeeklyOutput - ToSqlQueryScheduleWeeklyOutputWithContext(context.Context) SqlQueryScheduleWeeklyOutput + ToSqlAlertOptionsOutput() SqlAlertOptionsOutput + ToSqlAlertOptionsOutputWithContext(context.Context) SqlAlertOptionsOutput } -type SqlQueryScheduleWeeklyArgs struct { - DayOfWeek pulumi.StringInput `pulumi:"dayOfWeek"` - IntervalWeeks pulumi.IntInput `pulumi:"intervalWeeks"` - TimeOfDay pulumi.StringInput `pulumi:"timeOfDay"` - UntilDate pulumi.StringPtrInput `pulumi:"untilDate"` +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 (SqlQueryScheduleWeeklyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryScheduleWeekly)(nil)).Elem() +func (SqlAlertOptionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlAlertOptions)(nil)).Elem() } -func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyOutput() SqlQueryScheduleWeeklyOutput { - return i.ToSqlQueryScheduleWeeklyOutputWithContext(context.Background()) +func (i SqlAlertOptionsArgs) ToSqlAlertOptionsOutput() SqlAlertOptionsOutput { + return i.ToSqlAlertOptionsOutputWithContext(context.Background()) } -func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleWeeklyOutput) +func (i SqlAlertOptionsArgs) ToSqlAlertOptionsOutputWithContext(ctx context.Context) SqlAlertOptionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlAlertOptionsOutput) } -func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { - return i.ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Background()) +func (i SqlAlertOptionsArgs) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { + return i.ToSqlAlertOptionsPtrOutputWithContext(context.Background()) } -func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleWeeklyOutput).ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx) +func (i SqlAlertOptionsArgs) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlAlertOptionsOutput).ToSqlAlertOptionsPtrOutputWithContext(ctx) } -// SqlQueryScheduleWeeklyPtrInput is an input type that accepts SqlQueryScheduleWeeklyArgs, SqlQueryScheduleWeeklyPtr and SqlQueryScheduleWeeklyPtrOutput values. -// You can construct a concrete instance of `SqlQueryScheduleWeeklyPtrInput` via: +// SqlAlertOptionsPtrInput is an input type that accepts SqlAlertOptionsArgs, SqlAlertOptionsPtr and SqlAlertOptionsPtrOutput values. +// You can construct a concrete instance of `SqlAlertOptionsPtrInput` via: // -// SqlQueryScheduleWeeklyArgs{...} +// SqlAlertOptionsArgs{...} // // or: // // nil -type SqlQueryScheduleWeeklyPtrInput interface { +type SqlAlertOptionsPtrInput interface { pulumi.Input - ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput - ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Context) SqlQueryScheduleWeeklyPtrOutput + ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput + ToSqlAlertOptionsPtrOutputWithContext(context.Context) SqlAlertOptionsPtrOutput } -type sqlQueryScheduleWeeklyPtrType SqlQueryScheduleWeeklyArgs +type sqlAlertOptionsPtrType SqlAlertOptionsArgs -func SqlQueryScheduleWeeklyPtr(v *SqlQueryScheduleWeeklyArgs) SqlQueryScheduleWeeklyPtrInput { - return (*sqlQueryScheduleWeeklyPtrType)(v) +func SqlAlertOptionsPtr(v *SqlAlertOptionsArgs) SqlAlertOptionsPtrInput { + return (*sqlAlertOptionsPtrType)(v) } -func (*sqlQueryScheduleWeeklyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryScheduleWeekly)(nil)).Elem() +func (*sqlAlertOptionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlAlertOptions)(nil)).Elem() } -func (i *sqlQueryScheduleWeeklyPtrType) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { - return i.ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Background()) +func (i *sqlAlertOptionsPtrType) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { + return i.ToSqlAlertOptionsPtrOutputWithContext(context.Background()) } -func (i *sqlQueryScheduleWeeklyPtrType) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleWeeklyPtrOutput) +func (i *sqlAlertOptionsPtrType) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlAlertOptionsPtrOutput) } -type SqlQueryScheduleWeeklyOutput struct{ *pulumi.OutputState } +type SqlAlertOptionsOutput struct{ *pulumi.OutputState } -func (SqlQueryScheduleWeeklyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryScheduleWeekly)(nil)).Elem() +func (SqlAlertOptionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlAlertOptions)(nil)).Elem() } -func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyOutput() SqlQueryScheduleWeeklyOutput { +func (o SqlAlertOptionsOutput) ToSqlAlertOptionsOutput() SqlAlertOptionsOutput { return o } -func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyOutput { +func (o SqlAlertOptionsOutput) ToSqlAlertOptionsOutputWithContext(ctx context.Context) SqlAlertOptionsOutput { return o } -func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { - return o.ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Background()) +func (o SqlAlertOptionsOutput) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { + return o.ToSqlAlertOptionsPtrOutputWithContext(context.Background()) } -func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryScheduleWeekly) *SqlQueryScheduleWeekly { +func (o SqlAlertOptionsOutput) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlAlertOptions) *SqlAlertOptions { return &v - }).(SqlQueryScheduleWeeklyPtrOutput) + }).(SqlAlertOptionsPtrOutput) } -func (o SqlQueryScheduleWeeklyOutput) DayOfWeek() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryScheduleWeekly) string { return v.DayOfWeek }).(pulumi.StringOutput) +// 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 SqlQueryScheduleWeeklyOutput) IntervalWeeks() pulumi.IntOutput { - return o.ApplyT(func(v SqlQueryScheduleWeekly) int { return v.IntervalWeeks }).(pulumi.IntOutput) +// 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 SqlQueryScheduleWeeklyOutput) TimeOfDay() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryScheduleWeekly) string { return v.TimeOfDay }).(pulumi.StringOutput) +// 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) } -func (o SqlQueryScheduleWeeklyOutput) UntilDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryScheduleWeekly) *string { return v.UntilDate }).(pulumi.StringPtrOutput) +// State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. +func (o SqlAlertOptionsOutput) EmptyResultState() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlAlertOptions) *string { return v.EmptyResultState }).(pulumi.StringPtrOutput) } -type SqlQueryScheduleWeeklyPtrOutput struct{ *pulumi.OutputState } +// 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 (SqlQueryScheduleWeeklyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryScheduleWeekly)(nil)).Elem() +// 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) } -func (o SqlQueryScheduleWeeklyPtrOutput) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { +// 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 SqlQueryScheduleWeeklyPtrOutput) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { +func (o SqlAlertOptionsPtrOutput) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { return o } -func (o SqlQueryScheduleWeeklyPtrOutput) Elem() SqlQueryScheduleWeeklyOutput { - return o.ApplyT(func(v *SqlQueryScheduleWeekly) SqlQueryScheduleWeekly { +func (o SqlAlertOptionsPtrOutput) Elem() SqlAlertOptionsOutput { + return o.ApplyT(func(v *SqlAlertOptions) SqlAlertOptions { if v != nil { return *v } - var ret SqlQueryScheduleWeekly + var ret SqlAlertOptions return ret - }).(SqlQueryScheduleWeeklyOutput) + }).(SqlAlertOptionsOutput) } -func (o SqlQueryScheduleWeeklyPtrOutput) DayOfWeek() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleWeekly) *string { +// 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.DayOfWeek + return &v.Column }).(pulumi.StringPtrOutput) } -func (o SqlQueryScheduleWeeklyPtrOutput) IntervalWeeks() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleWeekly) *int { +// 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.IntervalWeeks - }).(pulumi.IntPtrOutput) + return v.CustomBody + }).(pulumi.StringPtrOutput) } -func (o SqlQueryScheduleWeeklyPtrOutput) TimeOfDay() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleWeekly) *string { +// 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.TimeOfDay + return v.CustomSubject }).(pulumi.StringPtrOutput) } -func (o SqlQueryScheduleWeeklyPtrOutput) UntilDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleWeekly) *string { +// State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. +func (o SqlAlertOptionsPtrOutput) EmptyResultState() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlAlertOptions) *string { if v == nil { return nil } - return v.UntilDate + return v.EmptyResultState }).(pulumi.StringPtrOutput) } -type SqlTableColumn struct { - // User-supplied free-form text. - Comment *string `pulumi:"comment"` - // 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"` +// 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) } -// 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 +// 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) } -type SqlTableColumnArgs struct { - // User-supplied free-form text. - Comment pulumi.StringPtrInput `pulumi:"comment"` - // 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"` +// 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) } -func (SqlTableColumnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlTableColumn)(nil)).Elem() +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"` } -func (i SqlTableColumnArgs) ToSqlTableColumnOutput() SqlTableColumnOutput { - return i.ToSqlTableColumnOutputWithContext(context.Background()) +// SqlEndpointChannelInput is an input type that accepts SqlEndpointChannelArgs and SqlEndpointChannelOutput values. +// You can construct a concrete instance of `SqlEndpointChannelInput` via: +// +// SqlEndpointChannelArgs{...} +type SqlEndpointChannelInput interface { + pulumi.Input + + ToSqlEndpointChannelOutput() SqlEndpointChannelOutput + ToSqlEndpointChannelOutputWithContext(context.Context) SqlEndpointChannelOutput } -func (i SqlTableColumnArgs) ToSqlTableColumnOutputWithContext(ctx context.Context) SqlTableColumnOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlTableColumnOutput) +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"` } -// SqlTableColumnArrayInput is an input type that accepts SqlTableColumnArray and SqlTableColumnArrayOutput values. -// You can construct a concrete instance of `SqlTableColumnArrayInput` via: +func (SqlEndpointChannelArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointChannel)(nil)).Elem() +} + +func (i SqlEndpointChannelArgs) ToSqlEndpointChannelOutput() SqlEndpointChannelOutput { + return i.ToSqlEndpointChannelOutputWithContext(context.Background()) +} + +func (i SqlEndpointChannelArgs) ToSqlEndpointChannelOutputWithContext(ctx context.Context) SqlEndpointChannelOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointChannelOutput) +} + +func (i SqlEndpointChannelArgs) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { + return i.ToSqlEndpointChannelPtrOutputWithContext(context.Background()) +} + +func (i SqlEndpointChannelArgs) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointChannelOutput).ToSqlEndpointChannelPtrOutputWithContext(ctx) +} + +// SqlEndpointChannelPtrInput is an input type that accepts SqlEndpointChannelArgs, SqlEndpointChannelPtr and SqlEndpointChannelPtrOutput values. +// You can construct a concrete instance of `SqlEndpointChannelPtrInput` via: // -// SqlTableColumnArray{ SqlTableColumnArgs{...} } -type SqlTableColumnArrayInput interface { +// SqlEndpointChannelArgs{...} +// +// or: +// +// nil +type SqlEndpointChannelPtrInput interface { pulumi.Input - ToSqlTableColumnArrayOutput() SqlTableColumnArrayOutput - ToSqlTableColumnArrayOutputWithContext(context.Context) SqlTableColumnArrayOutput + ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput + ToSqlEndpointChannelPtrOutputWithContext(context.Context) SqlEndpointChannelPtrOutput } -type SqlTableColumnArray []SqlTableColumnInput +type sqlEndpointChannelPtrType SqlEndpointChannelArgs -func (SqlTableColumnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlTableColumn)(nil)).Elem() +func SqlEndpointChannelPtr(v *SqlEndpointChannelArgs) SqlEndpointChannelPtrInput { + return (*sqlEndpointChannelPtrType)(v) } -func (i SqlTableColumnArray) ToSqlTableColumnArrayOutput() SqlTableColumnArrayOutput { - return i.ToSqlTableColumnArrayOutputWithContext(context.Background()) +func (*sqlEndpointChannelPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointChannel)(nil)).Elem() } -func (i SqlTableColumnArray) ToSqlTableColumnArrayOutputWithContext(ctx context.Context) SqlTableColumnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlTableColumnArrayOutput) +func (i *sqlEndpointChannelPtrType) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { + return i.ToSqlEndpointChannelPtrOutputWithContext(context.Background()) } -type SqlTableColumnOutput struct{ *pulumi.OutputState } +func (i *sqlEndpointChannelPtrType) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointChannelPtrOutput) +} -func (SqlTableColumnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlTableColumn)(nil)).Elem() +type SqlEndpointChannelOutput struct{ *pulumi.OutputState } + +func (SqlEndpointChannelOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointChannel)(nil)).Elem() } -func (o SqlTableColumnOutput) ToSqlTableColumnOutput() SqlTableColumnOutput { +func (o SqlEndpointChannelOutput) ToSqlEndpointChannelOutput() SqlEndpointChannelOutput { return o } -func (o SqlTableColumnOutput) ToSqlTableColumnOutputWithContext(ctx context.Context) SqlTableColumnOutput { +func (o SqlEndpointChannelOutput) ToSqlEndpointChannelOutputWithContext(ctx context.Context) SqlEndpointChannelOutput { return o } -// User-supplied free-form text. -func (o SqlTableColumnOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlTableColumn) *string { return v.Comment }).(pulumi.StringPtrOutput) +func (o SqlEndpointChannelOutput) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { + return o.ToSqlEndpointChannelPtrOutputWithContext(context.Background()) } -// 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 SqlEndpointChannelOutput) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointChannel) *SqlEndpointChannel { + return &v + }).(SqlEndpointChannelPtrOutput) } -// 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 SqlEndpointChannelOutput) DbsqlVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointChannel) *string { return v.DbsqlVersion }).(pulumi.StringPtrOutput) } -// 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) +// 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 SqlTableColumnArrayOutput struct{ *pulumi.OutputState } +type SqlEndpointChannelPtrOutput struct{ *pulumi.OutputState } -func (SqlTableColumnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlTableColumn)(nil)).Elem() +func (SqlEndpointChannelPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointChannel)(nil)).Elem() } -func (o SqlTableColumnArrayOutput) ToSqlTableColumnArrayOutput() SqlTableColumnArrayOutput { +func (o SqlEndpointChannelPtrOutput) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { return o } -func (o SqlTableColumnArrayOutput) ToSqlTableColumnArrayOutputWithContext(ctx context.Context) SqlTableColumnArrayOutput { +func (o SqlEndpointChannelPtrOutput) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { 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) +func (o SqlEndpointChannelPtrOutput) Elem() SqlEndpointChannelOutput { + return o.ApplyT(func(v *SqlEndpointChannel) SqlEndpointChannel { + if v != nil { + return *v + } + var ret SqlEndpointChannel + return ret + }).(SqlEndpointChannelOutput) } -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 SqlEndpointChannelPtrOutput) DbsqlVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlEndpointChannel) *string { + if v == nil { + return nil + } + return v.DbsqlVersion + }).(pulumi.StringPtrOutput) } -// SqlWidgetParameterInput is an input type that accepts SqlWidgetParameterArgs and SqlWidgetParameterOutput values. -// You can construct a concrete instance of `SqlWidgetParameterInput` via: +// 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.Name + }).(pulumi.StringPtrOutput) +} + +type SqlEndpointHealth struct { + Details *string `pulumi:"details"` + FailureReason *SqlEndpointHealthFailureReason `pulumi:"failureReason"` + Message *string `pulumi:"message"` + Status *string `pulumi:"status"` + Summary *string `pulumi:"summary"` +} + +// SqlEndpointHealthInput is an input type that accepts SqlEndpointHealthArgs and SqlEndpointHealthOutput values. +// You can construct a concrete instance of `SqlEndpointHealthInput` via: // -// SqlWidgetParameterArgs{...} -type SqlWidgetParameterInput interface { +// SqlEndpointHealthArgs{...} +type SqlEndpointHealthInput interface { pulumi.Input - ToSqlWidgetParameterOutput() SqlWidgetParameterOutput - ToSqlWidgetParameterOutputWithContext(context.Context) SqlWidgetParameterOutput + ToSqlEndpointHealthOutput() SqlEndpointHealthOutput + ToSqlEndpointHealthOutputWithContext(context.Context) SqlEndpointHealthOutput } -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"` +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 (SqlWidgetParameterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlWidgetParameter)(nil)).Elem() +func (SqlEndpointHealthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointHealth)(nil)).Elem() } -func (i SqlWidgetParameterArgs) ToSqlWidgetParameterOutput() SqlWidgetParameterOutput { - return i.ToSqlWidgetParameterOutputWithContext(context.Background()) +func (i SqlEndpointHealthArgs) ToSqlEndpointHealthOutput() SqlEndpointHealthOutput { + return i.ToSqlEndpointHealthOutputWithContext(context.Background()) } -func (i SqlWidgetParameterArgs) ToSqlWidgetParameterOutputWithContext(ctx context.Context) SqlWidgetParameterOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetParameterOutput) +func (i SqlEndpointHealthArgs) ToSqlEndpointHealthOutputWithContext(ctx context.Context) SqlEndpointHealthOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthOutput) } -// SqlWidgetParameterArrayInput is an input type that accepts SqlWidgetParameterArray and SqlWidgetParameterArrayOutput values. -// You can construct a concrete instance of `SqlWidgetParameterArrayInput` via: +// SqlEndpointHealthArrayInput is an input type that accepts SqlEndpointHealthArray and SqlEndpointHealthArrayOutput values. +// You can construct a concrete instance of `SqlEndpointHealthArrayInput` via: // -// SqlWidgetParameterArray{ SqlWidgetParameterArgs{...} } -type SqlWidgetParameterArrayInput interface { +// SqlEndpointHealthArray{ SqlEndpointHealthArgs{...} } +type SqlEndpointHealthArrayInput interface { pulumi.Input - ToSqlWidgetParameterArrayOutput() SqlWidgetParameterArrayOutput - ToSqlWidgetParameterArrayOutputWithContext(context.Context) SqlWidgetParameterArrayOutput + ToSqlEndpointHealthArrayOutput() SqlEndpointHealthArrayOutput + ToSqlEndpointHealthArrayOutputWithContext(context.Context) SqlEndpointHealthArrayOutput } -type SqlWidgetParameterArray []SqlWidgetParameterInput +type SqlEndpointHealthArray []SqlEndpointHealthInput -func (SqlWidgetParameterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlWidgetParameter)(nil)).Elem() +func (SqlEndpointHealthArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlEndpointHealth)(nil)).Elem() } -func (i SqlWidgetParameterArray) ToSqlWidgetParameterArrayOutput() SqlWidgetParameterArrayOutput { - return i.ToSqlWidgetParameterArrayOutputWithContext(context.Background()) +func (i SqlEndpointHealthArray) ToSqlEndpointHealthArrayOutput() SqlEndpointHealthArrayOutput { + return i.ToSqlEndpointHealthArrayOutputWithContext(context.Background()) } -func (i SqlWidgetParameterArray) ToSqlWidgetParameterArrayOutputWithContext(ctx context.Context) SqlWidgetParameterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetParameterArrayOutput) +func (i SqlEndpointHealthArray) ToSqlEndpointHealthArrayOutputWithContext(ctx context.Context) SqlEndpointHealthArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthArrayOutput) } -type SqlWidgetParameterOutput struct{ *pulumi.OutputState } +type SqlEndpointHealthOutput struct{ *pulumi.OutputState } -func (SqlWidgetParameterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlWidgetParameter)(nil)).Elem() +func (SqlEndpointHealthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointHealth)(nil)).Elem() } -func (o SqlWidgetParameterOutput) ToSqlWidgetParameterOutput() SqlWidgetParameterOutput { +func (o SqlEndpointHealthOutput) ToSqlEndpointHealthOutput() SqlEndpointHealthOutput { return o } -func (o SqlWidgetParameterOutput) ToSqlWidgetParameterOutputWithContext(ctx context.Context) SqlWidgetParameterOutput { +func (o SqlEndpointHealthOutput) ToSqlEndpointHealthOutputWithContext(ctx context.Context) SqlEndpointHealthOutput { 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 SqlEndpointHealthOutput) Details() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Details }).(pulumi.StringPtrOutput) } -func (o SqlWidgetParameterOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlWidgetParameter) *string { return v.Title }).(pulumi.StringPtrOutput) +func (o SqlEndpointHealthOutput) FailureReason() SqlEndpointHealthFailureReasonPtrOutput { + return o.ApplyT(func(v SqlEndpointHealth) *SqlEndpointHealthFailureReason { return v.FailureReason }).(SqlEndpointHealthFailureReasonPtrOutput) } -func (o SqlWidgetParameterOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v SqlWidgetParameter) string { return v.Type }).(pulumi.StringOutput) +func (o SqlEndpointHealthOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Message }).(pulumi.StringPtrOutput) } -func (o SqlWidgetParameterOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlWidgetParameter) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o SqlEndpointHealthOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Status }).(pulumi.StringPtrOutput) } -func (o SqlWidgetParameterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v SqlWidgetParameter) []string { return v.Values }).(pulumi.StringArrayOutput) +func (o SqlEndpointHealthOutput) Summary() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Summary }).(pulumi.StringPtrOutput) } -type SqlWidgetParameterArrayOutput struct{ *pulumi.OutputState } +type SqlEndpointHealthArrayOutput struct{ *pulumi.OutputState } -func (SqlWidgetParameterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlWidgetParameter)(nil)).Elem() +func (SqlEndpointHealthArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlEndpointHealth)(nil)).Elem() } -func (o SqlWidgetParameterArrayOutput) ToSqlWidgetParameterArrayOutput() SqlWidgetParameterArrayOutput { +func (o SqlEndpointHealthArrayOutput) ToSqlEndpointHealthArrayOutput() SqlEndpointHealthArrayOutput { return o } -func (o SqlWidgetParameterArrayOutput) ToSqlWidgetParameterArrayOutputWithContext(ctx context.Context) SqlWidgetParameterArrayOutput { +func (o SqlEndpointHealthArrayOutput) ToSqlEndpointHealthArrayOutputWithContext(ctx context.Context) SqlEndpointHealthArrayOutput { return o } -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 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 SqlWidgetPosition struct { - AutoHeight *bool `pulumi:"autoHeight"` - PosX *int `pulumi:"posX"` - PosY *int `pulumi:"posY"` - SizeX int `pulumi:"sizeX"` - SizeY int `pulumi:"sizeY"` +type SqlEndpointHealthFailureReason struct { + Code *string `pulumi:"code"` + Parameters map[string]interface{} `pulumi:"parameters"` + Type *string `pulumi:"type"` } -// SqlWidgetPositionInput is an input type that accepts SqlWidgetPositionArgs and SqlWidgetPositionOutput values. -// You can construct a concrete instance of `SqlWidgetPositionInput` via: +// SqlEndpointHealthFailureReasonInput is an input type that accepts SqlEndpointHealthFailureReasonArgs and SqlEndpointHealthFailureReasonOutput values. +// You can construct a concrete instance of `SqlEndpointHealthFailureReasonInput` via: // -// SqlWidgetPositionArgs{...} -type SqlWidgetPositionInput interface { +// SqlEndpointHealthFailureReasonArgs{...} +type SqlEndpointHealthFailureReasonInput interface { pulumi.Input - ToSqlWidgetPositionOutput() SqlWidgetPositionOutput - ToSqlWidgetPositionOutputWithContext(context.Context) SqlWidgetPositionOutput + ToSqlEndpointHealthFailureReasonOutput() SqlEndpointHealthFailureReasonOutput + ToSqlEndpointHealthFailureReasonOutputWithContext(context.Context) SqlEndpointHealthFailureReasonOutput } -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 SqlEndpointHealthFailureReasonArgs struct { + Code pulumi.StringPtrInput `pulumi:"code"` + Parameters pulumi.MapInput `pulumi:"parameters"` + Type pulumi.StringPtrInput `pulumi:"type"` } -func (SqlWidgetPositionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlWidgetPosition)(nil)).Elem() +func (SqlEndpointHealthFailureReasonArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointHealthFailureReason)(nil)).Elem() } -func (i SqlWidgetPositionArgs) ToSqlWidgetPositionOutput() SqlWidgetPositionOutput { - return i.ToSqlWidgetPositionOutputWithContext(context.Background()) +func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonOutput() SqlEndpointHealthFailureReasonOutput { + return i.ToSqlEndpointHealthFailureReasonOutputWithContext(context.Background()) } -func (i SqlWidgetPositionArgs) ToSqlWidgetPositionOutputWithContext(ctx context.Context) SqlWidgetPositionOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetPositionOutput) +func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthFailureReasonOutput) } -func (i SqlWidgetPositionArgs) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { - return i.ToSqlWidgetPositionPtrOutputWithContext(context.Background()) +func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { + return i.ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Background()) } -func (i SqlWidgetPositionArgs) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetPositionOutput).ToSqlWidgetPositionPtrOutputWithContext(ctx) +func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthFailureReasonOutput).ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx) } -// SqlWidgetPositionPtrInput is an input type that accepts SqlWidgetPositionArgs, SqlWidgetPositionPtr and SqlWidgetPositionPtrOutput values. -// You can construct a concrete instance of `SqlWidgetPositionPtrInput` via: +// SqlEndpointHealthFailureReasonPtrInput is an input type that accepts SqlEndpointHealthFailureReasonArgs, SqlEndpointHealthFailureReasonPtr and SqlEndpointHealthFailureReasonPtrOutput values. +// You can construct a concrete instance of `SqlEndpointHealthFailureReasonPtrInput` via: // -// SqlWidgetPositionArgs{...} +// SqlEndpointHealthFailureReasonArgs{...} // // or: // // nil -type SqlWidgetPositionPtrInput interface { +type SqlEndpointHealthFailureReasonPtrInput interface { pulumi.Input - ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput - ToSqlWidgetPositionPtrOutputWithContext(context.Context) SqlWidgetPositionPtrOutput + ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput + ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Context) SqlEndpointHealthFailureReasonPtrOutput } -type sqlWidgetPositionPtrType SqlWidgetPositionArgs +type sqlEndpointHealthFailureReasonPtrType SqlEndpointHealthFailureReasonArgs -func SqlWidgetPositionPtr(v *SqlWidgetPositionArgs) SqlWidgetPositionPtrInput { - return (*sqlWidgetPositionPtrType)(v) +func SqlEndpointHealthFailureReasonPtr(v *SqlEndpointHealthFailureReasonArgs) SqlEndpointHealthFailureReasonPtrInput { + return (*sqlEndpointHealthFailureReasonPtrType)(v) } -func (*sqlWidgetPositionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlWidgetPosition)(nil)).Elem() +func (*sqlEndpointHealthFailureReasonPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointHealthFailureReason)(nil)).Elem() } -func (i *sqlWidgetPositionPtrType) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { - return i.ToSqlWidgetPositionPtrOutputWithContext(context.Background()) +func (i *sqlEndpointHealthFailureReasonPtrType) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { + return i.ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Background()) } -func (i *sqlWidgetPositionPtrType) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetPositionPtrOutput) +func (i *sqlEndpointHealthFailureReasonPtrType) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthFailureReasonPtrOutput) } -type SqlWidgetPositionOutput struct{ *pulumi.OutputState } +type SqlEndpointHealthFailureReasonOutput struct{ *pulumi.OutputState } -func (SqlWidgetPositionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlWidgetPosition)(nil)).Elem() +func (SqlEndpointHealthFailureReasonOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointHealthFailureReason)(nil)).Elem() } -func (o SqlWidgetPositionOutput) ToSqlWidgetPositionOutput() SqlWidgetPositionOutput { +func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonOutput() SqlEndpointHealthFailureReasonOutput { return o } -func (o SqlWidgetPositionOutput) ToSqlWidgetPositionOutputWithContext(ctx context.Context) SqlWidgetPositionOutput { +func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonOutput { return o } -func (o SqlWidgetPositionOutput) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { - return o.ToSqlWidgetPositionPtrOutputWithContext(context.Background()) +func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { + return o.ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Background()) } -func (o SqlWidgetPositionOutput) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlWidgetPosition) *SqlWidgetPosition { +func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointHealthFailureReason) *SqlEndpointHealthFailureReason { 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) + }).(SqlEndpointHealthFailureReasonPtrOutput) } -func (o SqlWidgetPositionOutput) PosY() pulumi.IntPtrOutput { - return o.ApplyT(func(v SqlWidgetPosition) *int { return v.PosY }).(pulumi.IntPtrOutput) +func (o SqlEndpointHealthFailureReasonOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointHealthFailureReason) *string { return v.Code }).(pulumi.StringPtrOutput) } -func (o SqlWidgetPositionOutput) SizeX() pulumi.IntOutput { - return o.ApplyT(func(v SqlWidgetPosition) int { return v.SizeX }).(pulumi.IntOutput) +func (o SqlEndpointHealthFailureReasonOutput) Parameters() pulumi.MapOutput { + return o.ApplyT(func(v SqlEndpointHealthFailureReason) map[string]interface{} { return v.Parameters }).(pulumi.MapOutput) } -func (o SqlWidgetPositionOutput) SizeY() pulumi.IntOutput { - return o.ApplyT(func(v SqlWidgetPosition) int { return v.SizeY }).(pulumi.IntOutput) +func (o SqlEndpointHealthFailureReasonOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointHealthFailureReason) *string { return v.Type }).(pulumi.StringPtrOutput) } -type SqlWidgetPositionPtrOutput struct{ *pulumi.OutputState } +type SqlEndpointHealthFailureReasonPtrOutput struct{ *pulumi.OutputState } -func (SqlWidgetPositionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlWidgetPosition)(nil)).Elem() +func (SqlEndpointHealthFailureReasonPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointHealthFailureReason)(nil)).Elem() } -func (o SqlWidgetPositionPtrOutput) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { +func (o SqlEndpointHealthFailureReasonPtrOutput) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { return o } -func (o SqlWidgetPositionPtrOutput) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { +func (o SqlEndpointHealthFailureReasonPtrOutput) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { return o } -func (o SqlWidgetPositionPtrOutput) Elem() SqlWidgetPositionOutput { - return o.ApplyT(func(v *SqlWidgetPosition) SqlWidgetPosition { +func (o SqlEndpointHealthFailureReasonPtrOutput) Elem() SqlEndpointHealthFailureReasonOutput { + return o.ApplyT(func(v *SqlEndpointHealthFailureReason) SqlEndpointHealthFailureReason { if v != nil { return *v } - var ret SqlWidgetPosition + var ret SqlEndpointHealthFailureReason return ret - }).(SqlWidgetPositionOutput) -} - -func (o SqlWidgetPositionPtrOutput) AutoHeight() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *SqlWidgetPosition) *bool { - if v == nil { - return nil - } - 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) + }).(SqlEndpointHealthFailureReasonOutput) } -func (o SqlWidgetPositionPtrOutput) PosY() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SqlWidgetPosition) *int { +func (o SqlEndpointHealthFailureReasonPtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlEndpointHealthFailureReason) *string { if v == nil { return nil } - return v.PosY - }).(pulumi.IntPtrOutput) + return v.Code + }).(pulumi.StringPtrOutput) } -func (o SqlWidgetPositionPtrOutput) SizeX() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SqlWidgetPosition) *int { +func (o SqlEndpointHealthFailureReasonPtrOutput) Parameters() pulumi.MapOutput { + return o.ApplyT(func(v *SqlEndpointHealthFailureReason) map[string]interface{} { if v == nil { return nil } - return &v.SizeX - }).(pulumi.IntPtrOutput) + return v.Parameters + }).(pulumi.MapOutput) } -func (o SqlWidgetPositionPtrOutput) SizeY() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SqlWidgetPosition) *int { +func (o SqlEndpointHealthFailureReasonPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlEndpointHealthFailureReason) *string { if v == nil { return nil } - return &v.SizeY - }).(pulumi.IntPtrOutput) + return v.Type + }).(pulumi.StringPtrOutput) } -type StorageCredentialAwsIamRole struct { - // The external ID used in role assumption to prevent confused deputy problem. - 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` - RoleArn string `pulumi:"roleArn"` - // The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. - // - // `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): - UnityCatalogIamArn *string `pulumi:"unityCatalogIamArn"` +type SqlEndpointOdbcParams struct { + Hostname *string `pulumi:"hostname"` + Path *string `pulumi:"path"` + Port *int `pulumi:"port"` + Protocol *string `pulumi:"protocol"` } -// StorageCredentialAwsIamRoleInput is an input type that accepts StorageCredentialAwsIamRoleArgs and StorageCredentialAwsIamRoleOutput values. -// You can construct a concrete instance of `StorageCredentialAwsIamRoleInput` via: +// SqlEndpointOdbcParamsInput is an input type that accepts SqlEndpointOdbcParamsArgs and SqlEndpointOdbcParamsOutput values. +// You can construct a concrete instance of `SqlEndpointOdbcParamsInput` via: // -// StorageCredentialAwsIamRoleArgs{...} -type StorageCredentialAwsIamRoleInput interface { +// SqlEndpointOdbcParamsArgs{...} +type SqlEndpointOdbcParamsInput interface { pulumi.Input - ToStorageCredentialAwsIamRoleOutput() StorageCredentialAwsIamRoleOutput - ToStorageCredentialAwsIamRoleOutputWithContext(context.Context) StorageCredentialAwsIamRoleOutput + ToSqlEndpointOdbcParamsOutput() SqlEndpointOdbcParamsOutput + ToSqlEndpointOdbcParamsOutputWithContext(context.Context) SqlEndpointOdbcParamsOutput } -type StorageCredentialAwsIamRoleArgs struct { - // The external ID used in role assumption to prevent confused deputy problem. - 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` - RoleArn pulumi.StringInput `pulumi:"roleArn"` - // The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. - // - // `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): - UnityCatalogIamArn pulumi.StringPtrInput `pulumi:"unityCatalogIamArn"` +type SqlEndpointOdbcParamsArgs struct { + Hostname pulumi.StringPtrInput `pulumi:"hostname"` + Path pulumi.StringPtrInput `pulumi:"path"` + Port pulumi.IntPtrInput `pulumi:"port"` + Protocol pulumi.StringPtrInput `pulumi:"protocol"` } -func (StorageCredentialAwsIamRoleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialAwsIamRole)(nil)).Elem() +func (SqlEndpointOdbcParamsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointOdbcParams)(nil)).Elem() } -func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRoleOutput() StorageCredentialAwsIamRoleOutput { - return i.ToStorageCredentialAwsIamRoleOutputWithContext(context.Background()) +func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsOutput() SqlEndpointOdbcParamsOutput { + return i.ToSqlEndpointOdbcParamsOutputWithContext(context.Background()) } -func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRoleOutputWithContext(ctx context.Context) StorageCredentialAwsIamRoleOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAwsIamRoleOutput) +func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointOdbcParamsOutput) } -func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { - return i.ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Background()) +func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { + return i.ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Background()) } -func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAwsIamRoleOutput).ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx) +func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointOdbcParamsOutput).ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx) } -// StorageCredentialAwsIamRolePtrInput is an input type that accepts StorageCredentialAwsIamRoleArgs, StorageCredentialAwsIamRolePtr and StorageCredentialAwsIamRolePtrOutput values. -// You can construct a concrete instance of `StorageCredentialAwsIamRolePtrInput` via: +// SqlEndpointOdbcParamsPtrInput is an input type that accepts SqlEndpointOdbcParamsArgs, SqlEndpointOdbcParamsPtr and SqlEndpointOdbcParamsPtrOutput values. +// You can construct a concrete instance of `SqlEndpointOdbcParamsPtrInput` via: // -// StorageCredentialAwsIamRoleArgs{...} +// SqlEndpointOdbcParamsArgs{...} // // or: // // nil -type StorageCredentialAwsIamRolePtrInput interface { +type SqlEndpointOdbcParamsPtrInput interface { pulumi.Input - ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput - ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Context) StorageCredentialAwsIamRolePtrOutput + ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput + ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Context) SqlEndpointOdbcParamsPtrOutput } -type storageCredentialAwsIamRolePtrType StorageCredentialAwsIamRoleArgs +type sqlEndpointOdbcParamsPtrType SqlEndpointOdbcParamsArgs -func StorageCredentialAwsIamRolePtr(v *StorageCredentialAwsIamRoleArgs) StorageCredentialAwsIamRolePtrInput { - return (*storageCredentialAwsIamRolePtrType)(v) +func SqlEndpointOdbcParamsPtr(v *SqlEndpointOdbcParamsArgs) SqlEndpointOdbcParamsPtrInput { + return (*sqlEndpointOdbcParamsPtrType)(v) } -func (*storageCredentialAwsIamRolePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialAwsIamRole)(nil)).Elem() +func (*sqlEndpointOdbcParamsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointOdbcParams)(nil)).Elem() } -func (i *storageCredentialAwsIamRolePtrType) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { - return i.ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Background()) +func (i *sqlEndpointOdbcParamsPtrType) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { + return i.ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Background()) } -func (i *storageCredentialAwsIamRolePtrType) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAwsIamRolePtrOutput) +func (i *sqlEndpointOdbcParamsPtrType) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointOdbcParamsPtrOutput) } -type StorageCredentialAwsIamRoleOutput struct{ *pulumi.OutputState } +type SqlEndpointOdbcParamsOutput struct{ *pulumi.OutputState } -func (StorageCredentialAwsIamRoleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialAwsIamRole)(nil)).Elem() +func (SqlEndpointOdbcParamsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointOdbcParams)(nil)).Elem() } -func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRoleOutput() StorageCredentialAwsIamRoleOutput { +func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsOutput() SqlEndpointOdbcParamsOutput { return o } -func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRoleOutputWithContext(ctx context.Context) StorageCredentialAwsIamRoleOutput { +func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsOutput { return o } -func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { - return o.ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Background()) +func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { + return o.ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Background()) } -func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialAwsIamRole) *StorageCredentialAwsIamRole { +func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointOdbcParams) *SqlEndpointOdbcParams { return &v - }).(StorageCredentialAwsIamRolePtrOutput) + }).(SqlEndpointOdbcParamsPtrOutput) } -// The external ID used in role assumption to prevent confused deputy problem. -func (o StorageCredentialAwsIamRoleOutput) ExternalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v StorageCredentialAwsIamRole) *string { return v.ExternalId }).(pulumi.StringPtrOutput) +func (o SqlEndpointOdbcParamsOutput) Hostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointOdbcParams) *string { return v.Hostname }).(pulumi.StringPtrOutput) } -// The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` -func (o StorageCredentialAwsIamRoleOutput) RoleArn() pulumi.StringOutput { - return o.ApplyT(func(v StorageCredentialAwsIamRole) string { return v.RoleArn }).(pulumi.StringOutput) +func (o SqlEndpointOdbcParamsOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointOdbcParams) *string { return v.Path }).(pulumi.StringPtrOutput) } -// The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. -// -// `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): -func (o StorageCredentialAwsIamRoleOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v StorageCredentialAwsIamRole) *string { return v.UnityCatalogIamArn }).(pulumi.StringPtrOutput) +func (o SqlEndpointOdbcParamsOutput) Port() pulumi.IntPtrOutput { + return o.ApplyT(func(v SqlEndpointOdbcParams) *int { return v.Port }).(pulumi.IntPtrOutput) } -type StorageCredentialAwsIamRolePtrOutput struct{ *pulumi.OutputState } +func (o SqlEndpointOdbcParamsOutput) Protocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointOdbcParams) *string { return v.Protocol }).(pulumi.StringPtrOutput) +} -func (StorageCredentialAwsIamRolePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialAwsIamRole)(nil)).Elem() +type SqlEndpointOdbcParamsPtrOutput struct{ *pulumi.OutputState } + +func (SqlEndpointOdbcParamsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointOdbcParams)(nil)).Elem() } -func (o StorageCredentialAwsIamRolePtrOutput) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { +func (o SqlEndpointOdbcParamsPtrOutput) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { return o } -func (o StorageCredentialAwsIamRolePtrOutput) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { +func (o SqlEndpointOdbcParamsPtrOutput) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { return o } -func (o StorageCredentialAwsIamRolePtrOutput) Elem() StorageCredentialAwsIamRoleOutput { - return o.ApplyT(func(v *StorageCredentialAwsIamRole) StorageCredentialAwsIamRole { +func (o SqlEndpointOdbcParamsPtrOutput) Elem() SqlEndpointOdbcParamsOutput { + return o.ApplyT(func(v *SqlEndpointOdbcParams) SqlEndpointOdbcParams { if v != nil { return *v } - var ret StorageCredentialAwsIamRole + var ret SqlEndpointOdbcParams return ret - }).(StorageCredentialAwsIamRoleOutput) + }).(SqlEndpointOdbcParamsOutput) } -// The external ID used in role assumption to prevent confused deputy problem. -func (o StorageCredentialAwsIamRolePtrOutput) ExternalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialAwsIamRole) *string { +func (o SqlEndpointOdbcParamsPtrOutput) Hostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlEndpointOdbcParams) *string { if v == nil { return nil } - return v.ExternalId + return v.Hostname }).(pulumi.StringPtrOutput) } -// The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` -func (o StorageCredentialAwsIamRolePtrOutput) RoleArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialAwsIamRole) *string { +func (o SqlEndpointOdbcParamsPtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlEndpointOdbcParams) *string { if v == nil { return nil } - return &v.RoleArn + return v.Path }).(pulumi.StringPtrOutput) } -// The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. -// -// `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): -func (o StorageCredentialAwsIamRolePtrOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialAwsIamRole) *string { +func (o SqlEndpointOdbcParamsPtrOutput) Port() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SqlEndpointOdbcParams) *int { if v == nil { return nil } - return v.UnityCatalogIamArn + 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) } -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"` +type SqlEndpointTags struct { + CustomTags []SqlEndpointTagsCustomTag `pulumi:"customTags"` } -// StorageCredentialAzureManagedIdentityInput is an input type that accepts StorageCredentialAzureManagedIdentityArgs and StorageCredentialAzureManagedIdentityOutput values. -// You can construct a concrete instance of `StorageCredentialAzureManagedIdentityInput` via: +// SqlEndpointTagsInput is an input type that accepts SqlEndpointTagsArgs and SqlEndpointTagsOutput values. +// You can construct a concrete instance of `SqlEndpointTagsInput` via: // -// StorageCredentialAzureManagedIdentityArgs{...} -type StorageCredentialAzureManagedIdentityInput interface { +// SqlEndpointTagsArgs{...} +type SqlEndpointTagsInput interface { pulumi.Input - ToStorageCredentialAzureManagedIdentityOutput() StorageCredentialAzureManagedIdentityOutput - ToStorageCredentialAzureManagedIdentityOutputWithContext(context.Context) StorageCredentialAzureManagedIdentityOutput + ToSqlEndpointTagsOutput() SqlEndpointTagsOutput + ToSqlEndpointTagsOutputWithContext(context.Context) SqlEndpointTagsOutput } -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"` +type SqlEndpointTagsArgs struct { + CustomTags SqlEndpointTagsCustomTagArrayInput `pulumi:"customTags"` } -func (StorageCredentialAzureManagedIdentityArgs) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialAzureManagedIdentity)(nil)).Elem() +func (SqlEndpointTagsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointTags)(nil)).Elem() } -func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityOutput() StorageCredentialAzureManagedIdentityOutput { - return i.ToStorageCredentialAzureManagedIdentityOutputWithContext(context.Background()) +func (i SqlEndpointTagsArgs) ToSqlEndpointTagsOutput() SqlEndpointTagsOutput { + return i.ToSqlEndpointTagsOutputWithContext(context.Background()) } -func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureManagedIdentityOutput) +func (i SqlEndpointTagsArgs) ToSqlEndpointTagsOutputWithContext(ctx context.Context) SqlEndpointTagsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsOutput) } -func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { - return i.ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Background()) +func (i SqlEndpointTagsArgs) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { + return i.ToSqlEndpointTagsPtrOutputWithContext(context.Background()) } -func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureManagedIdentityOutput).ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx) +func (i SqlEndpointTagsArgs) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsOutput).ToSqlEndpointTagsPtrOutputWithContext(ctx) } -// StorageCredentialAzureManagedIdentityPtrInput is an input type that accepts StorageCredentialAzureManagedIdentityArgs, StorageCredentialAzureManagedIdentityPtr and StorageCredentialAzureManagedIdentityPtrOutput values. -// You can construct a concrete instance of `StorageCredentialAzureManagedIdentityPtrInput` via: +// SqlEndpointTagsPtrInput is an input type that accepts SqlEndpointTagsArgs, SqlEndpointTagsPtr and SqlEndpointTagsPtrOutput values. +// You can construct a concrete instance of `SqlEndpointTagsPtrInput` via: // -// StorageCredentialAzureManagedIdentityArgs{...} +// SqlEndpointTagsArgs{...} // // or: // // nil -type StorageCredentialAzureManagedIdentityPtrInput interface { +type SqlEndpointTagsPtrInput interface { pulumi.Input - ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput - ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Context) StorageCredentialAzureManagedIdentityPtrOutput + ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput + ToSqlEndpointTagsPtrOutputWithContext(context.Context) SqlEndpointTagsPtrOutput } -type storageCredentialAzureManagedIdentityPtrType StorageCredentialAzureManagedIdentityArgs +type sqlEndpointTagsPtrType SqlEndpointTagsArgs -func StorageCredentialAzureManagedIdentityPtr(v *StorageCredentialAzureManagedIdentityArgs) StorageCredentialAzureManagedIdentityPtrInput { - return (*storageCredentialAzureManagedIdentityPtrType)(v) +func SqlEndpointTagsPtr(v *SqlEndpointTagsArgs) SqlEndpointTagsPtrInput { + return (*sqlEndpointTagsPtrType)(v) } -func (*storageCredentialAzureManagedIdentityPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialAzureManagedIdentity)(nil)).Elem() +func (*sqlEndpointTagsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointTags)(nil)).Elem() } -func (i *storageCredentialAzureManagedIdentityPtrType) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { - return i.ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Background()) +func (i *sqlEndpointTagsPtrType) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { + return i.ToSqlEndpointTagsPtrOutputWithContext(context.Background()) } -func (i *storageCredentialAzureManagedIdentityPtrType) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureManagedIdentityPtrOutput) +func (i *sqlEndpointTagsPtrType) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsPtrOutput) } -type StorageCredentialAzureManagedIdentityOutput struct{ *pulumi.OutputState } +type SqlEndpointTagsOutput struct{ *pulumi.OutputState } -func (StorageCredentialAzureManagedIdentityOutput) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialAzureManagedIdentity)(nil)).Elem() +func (SqlEndpointTagsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointTags)(nil)).Elem() } -func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityOutput() StorageCredentialAzureManagedIdentityOutput { +func (o SqlEndpointTagsOutput) ToSqlEndpointTagsOutput() SqlEndpointTagsOutput { return o } -func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityOutput { +func (o SqlEndpointTagsOutput) ToSqlEndpointTagsOutputWithContext(ctx context.Context) SqlEndpointTagsOutput { return o } -func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { - return o.ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Background()) +func (o SqlEndpointTagsOutput) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { + return o.ToSqlEndpointTagsPtrOutputWithContext(context.Background()) } -func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialAzureManagedIdentity) *StorageCredentialAzureManagedIdentity { +func (o SqlEndpointTagsOutput) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointTags) *SqlEndpointTags { return &v - }).(StorageCredentialAzureManagedIdentityPtrOutput) -} - -// 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 StorageCredentialAzureManagedIdentityOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v StorageCredentialAzureManagedIdentity) *string { return v.CredentialId }).(pulumi.StringPtrOutput) + }).(SqlEndpointTagsPtrOutput) } -// 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) +func (o SqlEndpointTagsOutput) CustomTags() SqlEndpointTagsCustomTagArrayOutput { + return o.ApplyT(func(v SqlEndpointTags) []SqlEndpointTagsCustomTag { return v.CustomTags }).(SqlEndpointTagsCustomTagArrayOutput) } -type StorageCredentialAzureManagedIdentityPtrOutput struct{ *pulumi.OutputState } +type SqlEndpointTagsPtrOutput struct{ *pulumi.OutputState } -func (StorageCredentialAzureManagedIdentityPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialAzureManagedIdentity)(nil)).Elem() +func (SqlEndpointTagsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointTags)(nil)).Elem() } -func (o StorageCredentialAzureManagedIdentityPtrOutput) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { +func (o SqlEndpointTagsPtrOutput) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { return o } -func (o StorageCredentialAzureManagedIdentityPtrOutput) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { +func (o SqlEndpointTagsPtrOutput) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { return o } -func (o StorageCredentialAzureManagedIdentityPtrOutput) Elem() StorageCredentialAzureManagedIdentityOutput { - return o.ApplyT(func(v *StorageCredentialAzureManagedIdentity) StorageCredentialAzureManagedIdentity { +func (o SqlEndpointTagsPtrOutput) Elem() SqlEndpointTagsOutput { + return o.ApplyT(func(v *SqlEndpointTags) SqlEndpointTags { if v != nil { return *v } - var ret StorageCredentialAzureManagedIdentity + var ret SqlEndpointTags return ret - }).(StorageCredentialAzureManagedIdentityOutput) -} - -// 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 StorageCredentialAzureManagedIdentityPtrOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialAzureManagedIdentity) *string { - if v == nil { - return nil - } - return v.CredentialId - }).(pulumi.StringPtrOutput) + }).(SqlEndpointTagsOutput) } -// 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 { +func (o SqlEndpointTagsPtrOutput) CustomTags() SqlEndpointTagsCustomTagArrayOutput { + return o.ApplyT(func(v *SqlEndpointTags) []SqlEndpointTagsCustomTag { if v == nil { return nil } - return v.ManagedIdentityId - }).(pulumi.StringPtrOutput) + return v.CustomTags + }).(SqlEndpointTagsCustomTagArrayOutput) } -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 SqlEndpointTagsCustomTag struct { + Key string `pulumi:"key"` + Value string `pulumi:"value"` } -// StorageCredentialAzureServicePrincipalInput is an input type that accepts StorageCredentialAzureServicePrincipalArgs and StorageCredentialAzureServicePrincipalOutput values. -// You can construct a concrete instance of `StorageCredentialAzureServicePrincipalInput` via: +// SqlEndpointTagsCustomTagInput is an input type that accepts SqlEndpointTagsCustomTagArgs and SqlEndpointTagsCustomTagOutput values. +// You can construct a concrete instance of `SqlEndpointTagsCustomTagInput` via: // -// StorageCredentialAzureServicePrincipalArgs{...} -type StorageCredentialAzureServicePrincipalInput interface { +// SqlEndpointTagsCustomTagArgs{...} +type SqlEndpointTagsCustomTagInput interface { pulumi.Input - ToStorageCredentialAzureServicePrincipalOutput() StorageCredentialAzureServicePrincipalOutput - ToStorageCredentialAzureServicePrincipalOutputWithContext(context.Context) StorageCredentialAzureServicePrincipalOutput -} - -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 (StorageCredentialAzureServicePrincipalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialAzureServicePrincipal)(nil)).Elem() + ToSqlEndpointTagsCustomTagOutput() SqlEndpointTagsCustomTagOutput + ToSqlEndpointTagsCustomTagOutputWithContext(context.Context) SqlEndpointTagsCustomTagOutput } -func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalOutput() StorageCredentialAzureServicePrincipalOutput { - return i.ToStorageCredentialAzureServicePrincipalOutputWithContext(context.Background()) +type SqlEndpointTagsCustomTagArgs struct { + Key pulumi.StringInput `pulumi:"key"` + Value pulumi.StringInput `pulumi:"value"` } -func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureServicePrincipalOutput) +func (SqlEndpointTagsCustomTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointTagsCustomTag)(nil)).Elem() } -func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { - return i.ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Background()) +func (i SqlEndpointTagsCustomTagArgs) ToSqlEndpointTagsCustomTagOutput() SqlEndpointTagsCustomTagOutput { + return i.ToSqlEndpointTagsCustomTagOutputWithContext(context.Background()) } -func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureServicePrincipalOutput).ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx) +func (i SqlEndpointTagsCustomTagArgs) ToSqlEndpointTagsCustomTagOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsCustomTagOutput) } -// StorageCredentialAzureServicePrincipalPtrInput is an input type that accepts StorageCredentialAzureServicePrincipalArgs, StorageCredentialAzureServicePrincipalPtr and StorageCredentialAzureServicePrincipalPtrOutput values. -// You can construct a concrete instance of `StorageCredentialAzureServicePrincipalPtrInput` via: -// -// StorageCredentialAzureServicePrincipalArgs{...} -// -// or: +// SqlEndpointTagsCustomTagArrayInput is an input type that accepts SqlEndpointTagsCustomTagArray and SqlEndpointTagsCustomTagArrayOutput values. +// You can construct a concrete instance of `SqlEndpointTagsCustomTagArrayInput` via: // -// nil -type StorageCredentialAzureServicePrincipalPtrInput interface { +// SqlEndpointTagsCustomTagArray{ SqlEndpointTagsCustomTagArgs{...} } +type SqlEndpointTagsCustomTagArrayInput interface { pulumi.Input - ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput - ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Context) StorageCredentialAzureServicePrincipalPtrOutput + ToSqlEndpointTagsCustomTagArrayOutput() SqlEndpointTagsCustomTagArrayOutput + ToSqlEndpointTagsCustomTagArrayOutputWithContext(context.Context) SqlEndpointTagsCustomTagArrayOutput } -type storageCredentialAzureServicePrincipalPtrType StorageCredentialAzureServicePrincipalArgs - -func StorageCredentialAzureServicePrincipalPtr(v *StorageCredentialAzureServicePrincipalArgs) StorageCredentialAzureServicePrincipalPtrInput { - return (*storageCredentialAzureServicePrincipalPtrType)(v) -} +type SqlEndpointTagsCustomTagArray []SqlEndpointTagsCustomTagInput -func (*storageCredentialAzureServicePrincipalPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialAzureServicePrincipal)(nil)).Elem() +func (SqlEndpointTagsCustomTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlEndpointTagsCustomTag)(nil)).Elem() } -func (i *storageCredentialAzureServicePrincipalPtrType) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { - return i.ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Background()) +func (i SqlEndpointTagsCustomTagArray) ToSqlEndpointTagsCustomTagArrayOutput() SqlEndpointTagsCustomTagArrayOutput { + return i.ToSqlEndpointTagsCustomTagArrayOutputWithContext(context.Background()) } -func (i *storageCredentialAzureServicePrincipalPtrType) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureServicePrincipalPtrOutput) +func (i SqlEndpointTagsCustomTagArray) ToSqlEndpointTagsCustomTagArrayOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsCustomTagArrayOutput) } -type StorageCredentialAzureServicePrincipalOutput struct{ *pulumi.OutputState } +type SqlEndpointTagsCustomTagOutput struct{ *pulumi.OutputState } -func (StorageCredentialAzureServicePrincipalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialAzureServicePrincipal)(nil)).Elem() +func (SqlEndpointTagsCustomTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointTagsCustomTag)(nil)).Elem() } -func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalOutput() StorageCredentialAzureServicePrincipalOutput { +func (o SqlEndpointTagsCustomTagOutput) ToSqlEndpointTagsCustomTagOutput() SqlEndpointTagsCustomTagOutput { return o } -func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalOutput { +func (o SqlEndpointTagsCustomTagOutput) ToSqlEndpointTagsCustomTagOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagOutput { return o } -func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { - return o.ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Background()) +func (o SqlEndpointTagsCustomTagOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v SqlEndpointTagsCustomTag) string { return v.Key }).(pulumi.StringOutput) } -func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialAzureServicePrincipal) *StorageCredentialAzureServicePrincipal { - return &v - }).(StorageCredentialAzureServicePrincipalPtrOutput) +func (o SqlEndpointTagsCustomTagOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v SqlEndpointTagsCustomTag) string { return v.Value }).(pulumi.StringOutput) } -// 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) -} +type SqlEndpointTagsCustomTagArrayOutput struct{ *pulumi.OutputState } -// 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 (SqlEndpointTagsCustomTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlEndpointTagsCustomTag)(nil)).Elem() } -// 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) +func (o SqlEndpointTagsCustomTagArrayOutput) ToSqlEndpointTagsCustomTagArrayOutput() SqlEndpointTagsCustomTagArrayOutput { + return o } -type StorageCredentialAzureServicePrincipalPtrOutput struct{ *pulumi.OutputState } - -func (StorageCredentialAzureServicePrincipalPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialAzureServicePrincipal)(nil)).Elem() +func (o SqlEndpointTagsCustomTagArrayOutput) ToSqlEndpointTagsCustomTagArrayOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagArrayOutput { + return o } -func (o StorageCredentialAzureServicePrincipalPtrOutput) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { - 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 StorageCredentialAzureServicePrincipalPtrOutput) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { - return o +type SqlPermissionsPrivilegeAssignment struct { + // `displayName` for a Group or databricks_user, `applicationId` for a databricks_service_principal. + Principal string `pulumi:"principal"` + // set of available privilege names in upper case. + // + // [Available](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html) privilege names are: + Privileges []string `pulumi:"privileges"` } -func (o StorageCredentialAzureServicePrincipalPtrOutput) Elem() StorageCredentialAzureServicePrincipalOutput { - return o.ApplyT(func(v *StorageCredentialAzureServicePrincipal) StorageCredentialAzureServicePrincipal { - if v != nil { - return *v - } - var ret StorageCredentialAzureServicePrincipal - return ret - }).(StorageCredentialAzureServicePrincipalOutput) +// 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 } -// 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) +type SqlPermissionsPrivilegeAssignmentArgs struct { + // `displayName` for a Group or databricks_user, `applicationId` for a databricks_service_principal. + Principal pulumi.StringInput `pulumi:"principal"` + // set of available privilege names in upper case. + // + // [Available](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html) privilege names are: + Privileges pulumi.StringArrayInput `pulumi:"privileges"` } -// 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) +func (SqlPermissionsPrivilegeAssignmentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlPermissionsPrivilegeAssignment)(nil)).Elem() } -// 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.DirectoryId - }).(pulumi.StringPtrOutput) +func (i SqlPermissionsPrivilegeAssignmentArgs) ToSqlPermissionsPrivilegeAssignmentOutput() SqlPermissionsPrivilegeAssignmentOutput { + return i.ToSqlPermissionsPrivilegeAssignmentOutputWithContext(context.Background()) } -type StorageCredentialDatabricksGcpServiceAccount struct { - CredentialId *string `pulumi:"credentialId"` - // The email of the GCP service account created, to be granted access to relevant buckets. - // - // `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): - Email *string `pulumi:"email"` +func (i SqlPermissionsPrivilegeAssignmentArgs) ToSqlPermissionsPrivilegeAssignmentOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlPermissionsPrivilegeAssignmentOutput) } -// StorageCredentialDatabricksGcpServiceAccountInput is an input type that accepts StorageCredentialDatabricksGcpServiceAccountArgs and StorageCredentialDatabricksGcpServiceAccountOutput values. -// You can construct a concrete instance of `StorageCredentialDatabricksGcpServiceAccountInput` via: +// SqlPermissionsPrivilegeAssignmentArrayInput is an input type that accepts SqlPermissionsPrivilegeAssignmentArray and SqlPermissionsPrivilegeAssignmentArrayOutput values. +// You can construct a concrete instance of `SqlPermissionsPrivilegeAssignmentArrayInput` via: // -// StorageCredentialDatabricksGcpServiceAccountArgs{...} -type StorageCredentialDatabricksGcpServiceAccountInput interface { +// SqlPermissionsPrivilegeAssignmentArray{ SqlPermissionsPrivilegeAssignmentArgs{...} } +type SqlPermissionsPrivilegeAssignmentArrayInput interface { pulumi.Input - ToStorageCredentialDatabricksGcpServiceAccountOutput() StorageCredentialDatabricksGcpServiceAccountOutput - ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(context.Context) StorageCredentialDatabricksGcpServiceAccountOutput + ToSqlPermissionsPrivilegeAssignmentArrayOutput() SqlPermissionsPrivilegeAssignmentArrayOutput + ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(context.Context) SqlPermissionsPrivilegeAssignmentArrayOutput } -type StorageCredentialDatabricksGcpServiceAccountArgs struct { - CredentialId pulumi.StringPtrInput `pulumi:"credentialId"` - // The email of the GCP service account created, to be granted access to relevant buckets. - // - // `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): - Email pulumi.StringPtrInput `pulumi:"email"` -} +type SqlPermissionsPrivilegeAssignmentArray []SqlPermissionsPrivilegeAssignmentInput -func (StorageCredentialDatabricksGcpServiceAccountArgs) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() +func (SqlPermissionsPrivilegeAssignmentArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlPermissionsPrivilegeAssignment)(nil)).Elem() } -func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountOutput() StorageCredentialDatabricksGcpServiceAccountOutput { - return i.ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(context.Background()) +func (i SqlPermissionsPrivilegeAssignmentArray) ToSqlPermissionsPrivilegeAssignmentArrayOutput() SqlPermissionsPrivilegeAssignmentArrayOutput { + return i.ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(context.Background()) } -func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialDatabricksGcpServiceAccountOutput) +func (i SqlPermissionsPrivilegeAssignmentArray) ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlPermissionsPrivilegeAssignmentArrayOutput) } -func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { - return i.ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) +type SqlPermissionsPrivilegeAssignmentOutput struct{ *pulumi.OutputState } + +func (SqlPermissionsPrivilegeAssignmentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlPermissionsPrivilegeAssignment)(nil)).Elem() } -func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialDatabricksGcpServiceAccountOutput).ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx) +func (o SqlPermissionsPrivilegeAssignmentOutput) ToSqlPermissionsPrivilegeAssignmentOutput() SqlPermissionsPrivilegeAssignmentOutput { + return o } -// StorageCredentialDatabricksGcpServiceAccountPtrInput is an input type that accepts StorageCredentialDatabricksGcpServiceAccountArgs, StorageCredentialDatabricksGcpServiceAccountPtr and StorageCredentialDatabricksGcpServiceAccountPtrOutput values. -// You can construct a concrete instance of `StorageCredentialDatabricksGcpServiceAccountPtrInput` via: -// -// StorageCredentialDatabricksGcpServiceAccountArgs{...} +func (o SqlPermissionsPrivilegeAssignmentOutput) ToSqlPermissionsPrivilegeAssignmentOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentOutput { + 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) +} + +// set of available privilege names in upper case. // -// or: +// [Available](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html) privilege names are: +func (o SqlPermissionsPrivilegeAssignmentOutput) Privileges() pulumi.StringArrayOutput { + return o.ApplyT(func(v SqlPermissionsPrivilegeAssignment) []string { return v.Privileges }).(pulumi.StringArrayOutput) +} + +type SqlPermissionsPrivilegeAssignmentArrayOutput struct{ *pulumi.OutputState } + +func (SqlPermissionsPrivilegeAssignmentArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlPermissionsPrivilegeAssignment)(nil)).Elem() +} + +func (o SqlPermissionsPrivilegeAssignmentArrayOutput) ToSqlPermissionsPrivilegeAssignmentArrayOutput() SqlPermissionsPrivilegeAssignmentArrayOutput { + return o +} + +func (o SqlPermissionsPrivilegeAssignmentArrayOutput) ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentArrayOutput { + return o +} + +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 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"` +} + +// SqlQueryParameterInput is an input type that accepts SqlQueryParameterArgs and SqlQueryParameterOutput values. +// You can construct a concrete instance of `SqlQueryParameterInput` via: // -// nil -type StorageCredentialDatabricksGcpServiceAccountPtrInput interface { +// SqlQueryParameterArgs{...} +type SqlQueryParameterInput interface { pulumi.Input - ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput - ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput + ToSqlQueryParameterOutput() SqlQueryParameterOutput + ToSqlQueryParameterOutputWithContext(context.Context) SqlQueryParameterOutput } -type storageCredentialDatabricksGcpServiceAccountPtrType StorageCredentialDatabricksGcpServiceAccountArgs +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 StorageCredentialDatabricksGcpServiceAccountPtr(v *StorageCredentialDatabricksGcpServiceAccountArgs) StorageCredentialDatabricksGcpServiceAccountPtrInput { - return (*storageCredentialDatabricksGcpServiceAccountPtrType)(v) +func (SqlQueryParameterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameter)(nil)).Elem() } -func (*storageCredentialDatabricksGcpServiceAccountPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() +func (i SqlQueryParameterArgs) ToSqlQueryParameterOutput() SqlQueryParameterOutput { + return i.ToSqlQueryParameterOutputWithContext(context.Background()) } -func (i *storageCredentialDatabricksGcpServiceAccountPtrType) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { - return i.ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterArgs) ToSqlQueryParameterOutputWithContext(ctx context.Context) SqlQueryParameterOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterOutput) } -func (i *storageCredentialDatabricksGcpServiceAccountPtrType) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialDatabricksGcpServiceAccountPtrOutput) +// SqlQueryParameterArrayInput is an input type that accepts SqlQueryParameterArray and SqlQueryParameterArrayOutput values. +// You can construct a concrete instance of `SqlQueryParameterArrayInput` via: +// +// SqlQueryParameterArray{ SqlQueryParameterArgs{...} } +type SqlQueryParameterArrayInput interface { + pulumi.Input + + ToSqlQueryParameterArrayOutput() SqlQueryParameterArrayOutput + ToSqlQueryParameterArrayOutputWithContext(context.Context) SqlQueryParameterArrayOutput } -type StorageCredentialDatabricksGcpServiceAccountOutput struct{ *pulumi.OutputState } +type SqlQueryParameterArray []SqlQueryParameterInput -func (StorageCredentialDatabricksGcpServiceAccountOutput) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() +func (SqlQueryParameterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlQueryParameter)(nil)).Elem() } -func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountOutput() StorageCredentialDatabricksGcpServiceAccountOutput { +func (i SqlQueryParameterArray) ToSqlQueryParameterArrayOutput() SqlQueryParameterArrayOutput { + return i.ToSqlQueryParameterArrayOutputWithContext(context.Background()) +} + +func (i SqlQueryParameterArray) ToSqlQueryParameterArrayOutputWithContext(ctx context.Context) SqlQueryParameterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterArrayOutput) +} + +type SqlQueryParameterOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameter)(nil)).Elem() +} + +func (o SqlQueryParameterOutput) ToSqlQueryParameterOutput() SqlQueryParameterOutput { return o } -func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountOutput { +func (o SqlQueryParameterOutput) ToSqlQueryParameterOutputWithContext(ctx context.Context) SqlQueryParameterOutput { return o } -func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { - return o.ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterOutput) Date() SqlQueryParameterDatePtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDate { return v.Date }).(SqlQueryParameterDatePtrOutput) } -func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialDatabricksGcpServiceAccount) *StorageCredentialDatabricksGcpServiceAccount { - return &v - }).(StorageCredentialDatabricksGcpServiceAccountPtrOutput) +func (o SqlQueryParameterOutput) DateRange() SqlQueryParameterDateRangePtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDateRange { return v.DateRange }).(SqlQueryParameterDateRangePtrOutput) } -func (o StorageCredentialDatabricksGcpServiceAccountOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v StorageCredentialDatabricksGcpServiceAccount) *string { return v.CredentialId }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterOutput) Datetime() SqlQueryParameterDatetimePtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDatetime { return v.Datetime }).(SqlQueryParameterDatetimePtrOutput) } -// The email of the GCP service account created, to be granted access to relevant buckets. +func (o SqlQueryParameterOutput) DatetimeRange() SqlQueryParameterDatetimeRangePtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDatetimeRange { return v.DatetimeRange }).(SqlQueryParameterDatetimeRangePtrOutput) +} + +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`. // -// `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): -func (o StorageCredentialDatabricksGcpServiceAccountOutput) Email() pulumi.StringPtrOutput { - return o.ApplyT(func(v StorageCredentialDatabricksGcpServiceAccount) *string { return v.Email }).(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 StorageCredentialDatabricksGcpServiceAccountPtrOutput struct{ *pulumi.OutputState } +func (o SqlQueryParameterOutput) Number() SqlQueryParameterNumberPtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterNumber { return v.Number }).(SqlQueryParameterNumberPtrOutput) +} -func (StorageCredentialDatabricksGcpServiceAccountPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialDatabricksGcpServiceAccount)(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 StorageCredentialDatabricksGcpServiceAccountPtrOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { - return o +func (o SqlQueryParameterOutput) Text() SqlQueryParameterTextPtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterText { return v.Text }).(SqlQueryParameterTextPtrOutput) } -func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { - 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 StorageCredentialDatabricksGcpServiceAccountPtrOutput) Elem() StorageCredentialDatabricksGcpServiceAccountOutput { - return o.ApplyT(func(v *StorageCredentialDatabricksGcpServiceAccount) StorageCredentialDatabricksGcpServiceAccount { - if v != nil { - return *v - } - var ret StorageCredentialDatabricksGcpServiceAccount - return ret - }).(StorageCredentialDatabricksGcpServiceAccountOutput) +type SqlQueryParameterArrayOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlQueryParameter)(nil)).Elem() } -func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialDatabricksGcpServiceAccount) *string { - if v == nil { - return nil - } - return v.CredentialId - }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterArrayOutput) ToSqlQueryParameterArrayOutput() SqlQueryParameterArrayOutput { + return o } -// The email of the GCP service account created, to be granted access to relevant buckets. -// -// `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): -func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) Email() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialDatabricksGcpServiceAccount) *string { - if v == nil { - return nil - } - return v.Email - }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterArrayOutput) ToSqlQueryParameterArrayOutputWithContext(ctx context.Context) SqlQueryParameterArrayOutput { + return o } -type StorageCredentialGcpServiceAccountKey struct { - // The email of the GCP service account created, to be granted access to relevant buckets. - // - // `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): - Email string `pulumi:"email"` - PrivateKey string `pulumi:"privateKey"` - PrivateKeyId string `pulumi:"privateKeyId"` +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) } -// StorageCredentialGcpServiceAccountKeyInput is an input type that accepts StorageCredentialGcpServiceAccountKeyArgs and StorageCredentialGcpServiceAccountKeyOutput values. -// You can construct a concrete instance of `StorageCredentialGcpServiceAccountKeyInput` via: +type SqlQueryParameterDate struct { + // The default value for this parameter. + Value string `pulumi:"value"` +} + +// SqlQueryParameterDateInput is an input type that accepts SqlQueryParameterDateArgs and SqlQueryParameterDateOutput values. +// You can construct a concrete instance of `SqlQueryParameterDateInput` via: // -// StorageCredentialGcpServiceAccountKeyArgs{...} -type StorageCredentialGcpServiceAccountKeyInput interface { +// SqlQueryParameterDateArgs{...} +type SqlQueryParameterDateInput interface { pulumi.Input - ToStorageCredentialGcpServiceAccountKeyOutput() StorageCredentialGcpServiceAccountKeyOutput - ToStorageCredentialGcpServiceAccountKeyOutputWithContext(context.Context) StorageCredentialGcpServiceAccountKeyOutput + ToSqlQueryParameterDateOutput() SqlQueryParameterDateOutput + ToSqlQueryParameterDateOutputWithContext(context.Context) SqlQueryParameterDateOutput } -type StorageCredentialGcpServiceAccountKeyArgs struct { - // The email of the GCP service account created, to be granted access to relevant buckets. - // - // `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): - Email pulumi.StringInput `pulumi:"email"` - PrivateKey pulumi.StringInput `pulumi:"privateKey"` - PrivateKeyId pulumi.StringInput `pulumi:"privateKeyId"` +type SqlQueryParameterDateArgs struct { + // The default value for this parameter. + Value pulumi.StringInput `pulumi:"value"` } -func (StorageCredentialGcpServiceAccountKeyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialGcpServiceAccountKey)(nil)).Elem() +func (SqlQueryParameterDateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDate)(nil)).Elem() } -func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyOutput() StorageCredentialGcpServiceAccountKeyOutput { - return i.ToStorageCredentialGcpServiceAccountKeyOutputWithContext(context.Background()) +func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDateOutput() SqlQueryParameterDateOutput { + return i.ToSqlQueryParameterDateOutputWithContext(context.Background()) } -func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialGcpServiceAccountKeyOutput) +func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDateOutputWithContext(ctx context.Context) SqlQueryParameterDateOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateOutput) } -func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { - return i.ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { + return i.ToSqlQueryParameterDatePtrOutputWithContext(context.Background()) } -func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialGcpServiceAccountKeyOutput).ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx) +func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateOutput).ToSqlQueryParameterDatePtrOutputWithContext(ctx) } -// StorageCredentialGcpServiceAccountKeyPtrInput is an input type that accepts StorageCredentialGcpServiceAccountKeyArgs, StorageCredentialGcpServiceAccountKeyPtr and StorageCredentialGcpServiceAccountKeyPtrOutput values. -// You can construct a concrete instance of `StorageCredentialGcpServiceAccountKeyPtrInput` via: +// SqlQueryParameterDatePtrInput is an input type that accepts SqlQueryParameterDateArgs, SqlQueryParameterDatePtr and SqlQueryParameterDatePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatePtrInput` via: // -// StorageCredentialGcpServiceAccountKeyArgs{...} +// SqlQueryParameterDateArgs{...} // // or: // // nil -type StorageCredentialGcpServiceAccountKeyPtrInput interface { +type SqlQueryParameterDatePtrInput interface { pulumi.Input - ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput - ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput + ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput + ToSqlQueryParameterDatePtrOutputWithContext(context.Context) SqlQueryParameterDatePtrOutput } -type storageCredentialGcpServiceAccountKeyPtrType StorageCredentialGcpServiceAccountKeyArgs +type sqlQueryParameterDatePtrType SqlQueryParameterDateArgs -func StorageCredentialGcpServiceAccountKeyPtr(v *StorageCredentialGcpServiceAccountKeyArgs) StorageCredentialGcpServiceAccountKeyPtrInput { - return (*storageCredentialGcpServiceAccountKeyPtrType)(v) +func SqlQueryParameterDatePtr(v *SqlQueryParameterDateArgs) SqlQueryParameterDatePtrInput { + return (*sqlQueryParameterDatePtrType)(v) } -func (*storageCredentialGcpServiceAccountKeyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialGcpServiceAccountKey)(nil)).Elem() +func (*sqlQueryParameterDatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDate)(nil)).Elem() } -func (i *storageCredentialGcpServiceAccountKeyPtrType) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { - return i.ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterDatePtrType) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { + return i.ToSqlQueryParameterDatePtrOutputWithContext(context.Background()) } -func (i *storageCredentialGcpServiceAccountKeyPtrType) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialGcpServiceAccountKeyPtrOutput) +func (i *sqlQueryParameterDatePtrType) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatePtrOutput) } -type StorageCredentialGcpServiceAccountKeyOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDateOutput struct{ *pulumi.OutputState } -func (StorageCredentialGcpServiceAccountKeyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialGcpServiceAccountKey)(nil)).Elem() +func (SqlQueryParameterDateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDate)(nil)).Elem() } -func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyOutput() StorageCredentialGcpServiceAccountKeyOutput { +func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDateOutput() SqlQueryParameterDateOutput { return o } -func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyOutput { +func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDateOutputWithContext(ctx context.Context) SqlQueryParameterDateOutput { return o } -func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { - return o.ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { + return o.ToSqlQueryParameterDatePtrOutputWithContext(context.Background()) } -func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialGcpServiceAccountKey) *StorageCredentialGcpServiceAccountKey { +func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDate) *SqlQueryParameterDate { return &v - }).(StorageCredentialGcpServiceAccountKeyPtrOutput) -} - -// The email of the GCP service account created, to be granted access to relevant buckets. -// -// `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): -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) + }).(SqlQueryParameterDatePtrOutput) } -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 SqlQueryParameterDateOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDate) string { return v.Value }).(pulumi.StringOutput) } -type StorageCredentialGcpServiceAccountKeyPtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatePtrOutput struct{ *pulumi.OutputState } -func (StorageCredentialGcpServiceAccountKeyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialGcpServiceAccountKey)(nil)).Elem() +func (SqlQueryParameterDatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDate)(nil)).Elem() } -func (o StorageCredentialGcpServiceAccountKeyPtrOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { +func (o SqlQueryParameterDatePtrOutput) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { return o } -func (o StorageCredentialGcpServiceAccountKeyPtrOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { +func (o SqlQueryParameterDatePtrOutput) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { return o } -func (o StorageCredentialGcpServiceAccountKeyPtrOutput) Elem() StorageCredentialGcpServiceAccountKeyOutput { - return o.ApplyT(func(v *StorageCredentialGcpServiceAccountKey) StorageCredentialGcpServiceAccountKey { +func (o SqlQueryParameterDatePtrOutput) Elem() SqlQueryParameterDateOutput { + return o.ApplyT(func(v *SqlQueryParameterDate) SqlQueryParameterDate { if v != nil { return *v } - var ret StorageCredentialGcpServiceAccountKey + var ret SqlQueryParameterDate return ret - }).(StorageCredentialGcpServiceAccountKeyOutput) + }).(SqlQueryParameterDateOutput) } -// The email of the GCP service account created, to be granted access to relevant buckets. -// -// `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): -func (o StorageCredentialGcpServiceAccountKeyPtrOutput) Email() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialGcpServiceAccountKey) *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.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 SqlQueryParameterDateRange struct { + Range *SqlQueryParameterDateRangeRange `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) -} +// SqlQueryParameterDateRangeInput is an input type that accepts SqlQueryParameterDateRangeArgs and SqlQueryParameterDateRangeOutput values. +// You can construct a concrete instance of `SqlQueryParameterDateRangeInput` via: +// +// SqlQueryParameterDateRangeArgs{...} +type SqlQueryParameterDateRangeInput 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"` + ToSqlQueryParameterDateRangeOutput() SqlQueryParameterDateRangeOutput + ToSqlQueryParameterDateRangeOutputWithContext(context.Context) SqlQueryParameterDateRangeOutput } -// 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 SqlQueryParameterDateRangeArgs struct { + Range SqlQueryParameterDateRangeRangePtrInput `pulumi:"range"` + // The default value for this parameter. + Value pulumi.StringPtrInput `pulumi:"value"` +} - ToTableColumnOutput() TableColumnOutput - ToTableColumnOutputWithContext(context.Context) TableColumnOutput +func (SqlQueryParameterDateRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDateRange)(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 SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangeOutput() SqlQueryParameterDateRangeOutput { + return i.ToSqlQueryParameterDateRangeOutputWithContext(context.Background()) } -func (TableColumnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*TableColumn)(nil)).Elem() +func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeOutput) } -func (i TableColumnArgs) ToTableColumnOutput() TableColumnOutput { - return i.ToTableColumnOutputWithContext(context.Background()) +func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { + return i.ToSqlQueryParameterDateRangePtrOutputWithContext(context.Background()) } -func (i TableColumnArgs) ToTableColumnOutputWithContext(ctx context.Context) TableColumnOutput { - return pulumi.ToOutputWithContext(ctx, i).(TableColumnOutput) +func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeOutput).ToSqlQueryParameterDateRangePtrOutputWithContext(ctx) } -// TableColumnArrayInput is an input type that accepts TableColumnArray and TableColumnArrayOutput values. -// You can construct a concrete instance of `TableColumnArrayInput` via: +// SqlQueryParameterDateRangePtrInput is an input type that accepts SqlQueryParameterDateRangeArgs, SqlQueryParameterDateRangePtr and SqlQueryParameterDateRangePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDateRangePtrInput` via: // -// TableColumnArray{ TableColumnArgs{...} } -type TableColumnArrayInput interface { +// SqlQueryParameterDateRangeArgs{...} +// +// or: +// +// nil +type SqlQueryParameterDateRangePtrInput interface { pulumi.Input - ToTableColumnArrayOutput() TableColumnArrayOutput - ToTableColumnArrayOutputWithContext(context.Context) TableColumnArrayOutput + ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput + ToSqlQueryParameterDateRangePtrOutputWithContext(context.Context) SqlQueryParameterDateRangePtrOutput } -type TableColumnArray []TableColumnInput +type sqlQueryParameterDateRangePtrType SqlQueryParameterDateRangeArgs -func (TableColumnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]TableColumn)(nil)).Elem() +func SqlQueryParameterDateRangePtr(v *SqlQueryParameterDateRangeArgs) SqlQueryParameterDateRangePtrInput { + return (*sqlQueryParameterDateRangePtrType)(v) } -func (i TableColumnArray) ToTableColumnArrayOutput() TableColumnArrayOutput { - return i.ToTableColumnArrayOutputWithContext(context.Background()) +func (*sqlQueryParameterDateRangePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDateRange)(nil)).Elem() } -func (i TableColumnArray) ToTableColumnArrayOutputWithContext(ctx context.Context) TableColumnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(TableColumnArrayOutput) +func (i *sqlQueryParameterDateRangePtrType) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { + return i.ToSqlQueryParameterDateRangePtrOutputWithContext(context.Background()) } -type TableColumnOutput struct{ *pulumi.OutputState } - -func (TableColumnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*TableColumn)(nil)).Elem() +func (i *sqlQueryParameterDateRangePtrType) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangePtrOutput) } -func (o TableColumnOutput) ToTableColumnOutput() TableColumnOutput { - return o +type SqlQueryParameterDateRangeOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterDateRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDateRange)(nil)).Elem() } -func (o TableColumnOutput) ToTableColumnOutputWithContext(ctx context.Context) TableColumnOutput { +func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangeOutput() SqlQueryParameterDateRangeOutput { return o } -func (o TableColumnOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v TableColumn) *string { return v.Comment }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeOutput { + return o } -func (o TableColumnOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v TableColumn) string { return v.Name }).(pulumi.StringOutput) +func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { + return o.ToSqlQueryParameterDateRangePtrOutputWithContext(context.Background()) } -func (o TableColumnOutput) Nullable() pulumi.BoolPtrOutput { - return o.ApplyT(func(v TableColumn) *bool { return v.Nullable }).(pulumi.BoolPtrOutput) +func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDateRange) *SqlQueryParameterDateRange { + return &v + }).(SqlQueryParameterDateRangePtrOutput) } -func (o TableColumnOutput) PartitionIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v TableColumn) *int { return v.PartitionIndex }).(pulumi.IntPtrOutput) +func (o SqlQueryParameterDateRangeOutput) Range() SqlQueryParameterDateRangeRangePtrOutput { + return o.ApplyT(func(v SqlQueryParameterDateRange) *SqlQueryParameterDateRangeRange { return v.Range }).(SqlQueryParameterDateRangeRangePtrOutput) } -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 SqlQueryParameterDateRangeOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterDateRange) *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 SqlQueryParameterDateRangePtrOutput struct{ *pulumi.OutputState } -func (o TableColumnOutput) TypeJson() pulumi.StringPtrOutput { - return o.ApplyT(func(v TableColumn) *string { return v.TypeJson }).(pulumi.StringPtrOutput) +func (SqlQueryParameterDateRangePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDateRange)(nil)).Elem() } -func (o TableColumnOutput) TypeName() pulumi.StringOutput { - return o.ApplyT(func(v TableColumn) string { return v.TypeName }).(pulumi.StringOutput) +func (o SqlQueryParameterDateRangePtrOutput) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { + return o } -func (o TableColumnOutput) TypePrecision() pulumi.IntPtrOutput { - return o.ApplyT(func(v TableColumn) *int { return v.TypePrecision }).(pulumi.IntPtrOutput) +func (o SqlQueryParameterDateRangePtrOutput) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { + return o } -func (o TableColumnOutput) TypeScale() pulumi.IntPtrOutput { - return o.ApplyT(func(v TableColumn) *int { return v.TypeScale }).(pulumi.IntPtrOutput) +func (o SqlQueryParameterDateRangePtrOutput) Elem() SqlQueryParameterDateRangeOutput { + return o.ApplyT(func(v *SqlQueryParameterDateRange) SqlQueryParameterDateRange { + if v != nil { + return *v + } + var ret SqlQueryParameterDateRange + return ret + }).(SqlQueryParameterDateRangeOutput) } -func (o TableColumnOutput) TypeText() pulumi.StringOutput { - return o.ApplyT(func(v TableColumn) string { return v.TypeText }).(pulumi.StringOutput) +func (o SqlQueryParameterDateRangePtrOutput) Range() SqlQueryParameterDateRangeRangePtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDateRange) *SqlQueryParameterDateRangeRange { + if v == nil { + return nil + } + return v.Range + }).(SqlQueryParameterDateRangeRangePtrOutput) } -type TableColumnArrayOutput struct{ *pulumi.OutputState } - -func (TableColumnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]TableColumn)(nil)).Elem() +// 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.Value + }).(pulumi.StringPtrOutput) } -func (o TableColumnArrayOutput) ToTableColumnArrayOutput() TableColumnArrayOutput { - return o +type SqlQueryParameterDateRangeRange struct { + End string `pulumi:"end"` + Start string `pulumi:"start"` } -func (o TableColumnArrayOutput) ToTableColumnArrayOutputWithContext(ctx context.Context) TableColumnArrayOutput { - return o -} +// SqlQueryParameterDateRangeRangeInput is an input type that accepts SqlQueryParameterDateRangeRangeArgs and SqlQueryParameterDateRangeRangeOutput values. +// You can construct a concrete instance of `SqlQueryParameterDateRangeRangeInput` via: +// +// SqlQueryParameterDateRangeRangeArgs{...} +type SqlQueryParameterDateRangeRangeInput 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) + ToSqlQueryParameterDateRangeRangeOutput() SqlQueryParameterDateRangeRangeOutput + ToSqlQueryParameterDateRangeRangeOutputWithContext(context.Context) SqlQueryParameterDateRangeRangeOutput } -type VectorSearchEndpointEndpointStatus struct { - // Additional status message. - Message *string `pulumi:"message"` - // Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, `OFFLINE`. - State *string `pulumi:"state"` +type SqlQueryParameterDateRangeRangeArgs 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 (SqlQueryParameterDateRangeRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDateRangeRange)(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`, `OFFLINE`. - State pulumi.StringPtrInput `pulumi:"state"` +func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangeOutput() SqlQueryParameterDateRangeRangeOutput { + return i.ToSqlQueryParameterDateRangeRangeOutputWithContext(context.Background()) } -func (VectorSearchEndpointEndpointStatusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchEndpointEndpointStatus)(nil)).Elem() +func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeRangeOutput) } -func (i VectorSearchEndpointEndpointStatusArgs) ToVectorSearchEndpointEndpointStatusOutput() VectorSearchEndpointEndpointStatusOutput { - return i.ToVectorSearchEndpointEndpointStatusOutputWithContext(context.Background()) +func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { + return i.ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Background()) } -func (i VectorSearchEndpointEndpointStatusArgs) ToVectorSearchEndpointEndpointStatusOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchEndpointEndpointStatusOutput) +func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeRangeOutput).ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx) } -// VectorSearchEndpointEndpointStatusArrayInput is an input type that accepts VectorSearchEndpointEndpointStatusArray and VectorSearchEndpointEndpointStatusArrayOutput values. -// You can construct a concrete instance of `VectorSearchEndpointEndpointStatusArrayInput` via: +// SqlQueryParameterDateRangeRangePtrInput is an input type that accepts SqlQueryParameterDateRangeRangeArgs, SqlQueryParameterDateRangeRangePtr and SqlQueryParameterDateRangeRangePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDateRangeRangePtrInput` via: // -// VectorSearchEndpointEndpointStatusArray{ VectorSearchEndpointEndpointStatusArgs{...} } -type VectorSearchEndpointEndpointStatusArrayInput interface { +// SqlQueryParameterDateRangeRangeArgs{...} +// +// or: +// +// nil +type SqlQueryParameterDateRangeRangePtrInput interface { pulumi.Input - ToVectorSearchEndpointEndpointStatusArrayOutput() VectorSearchEndpointEndpointStatusArrayOutput - ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(context.Context) VectorSearchEndpointEndpointStatusArrayOutput + ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput + ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Context) SqlQueryParameterDateRangeRangePtrOutput } -type VectorSearchEndpointEndpointStatusArray []VectorSearchEndpointEndpointStatusInput +type sqlQueryParameterDateRangeRangePtrType SqlQueryParameterDateRangeRangeArgs -func (VectorSearchEndpointEndpointStatusArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchEndpointEndpointStatus)(nil)).Elem() +func SqlQueryParameterDateRangeRangePtr(v *SqlQueryParameterDateRangeRangeArgs) SqlQueryParameterDateRangeRangePtrInput { + return (*sqlQueryParameterDateRangeRangePtrType)(v) } -func (i VectorSearchEndpointEndpointStatusArray) ToVectorSearchEndpointEndpointStatusArrayOutput() VectorSearchEndpointEndpointStatusArrayOutput { - return i.ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(context.Background()) +func (*sqlQueryParameterDateRangeRangePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDateRangeRange)(nil)).Elem() } -func (i VectorSearchEndpointEndpointStatusArray) ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchEndpointEndpointStatusArrayOutput) +func (i *sqlQueryParameterDateRangeRangePtrType) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { + return i.ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Background()) } -type VectorSearchEndpointEndpointStatusOutput struct{ *pulumi.OutputState } +func (i *sqlQueryParameterDateRangeRangePtrType) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeRangePtrOutput) +} -func (VectorSearchEndpointEndpointStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchEndpointEndpointStatus)(nil)).Elem() +type SqlQueryParameterDateRangeRangeOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterDateRangeRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDateRangeRange)(nil)).Elem() } -func (o VectorSearchEndpointEndpointStatusOutput) ToVectorSearchEndpointEndpointStatusOutput() VectorSearchEndpointEndpointStatusOutput { +func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangeOutput() SqlQueryParameterDateRangeRangeOutput { return o } -func (o VectorSearchEndpointEndpointStatusOutput) ToVectorSearchEndpointEndpointStatusOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusOutput { +func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangeOutput { 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 SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { + return o.ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Background()) } -// Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, `OFFLINE`. -func (o VectorSearchEndpointEndpointStatusOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchEndpointEndpointStatus) *string { return v.State }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDateRangeRange) *SqlQueryParameterDateRangeRange { + return &v + }).(SqlQueryParameterDateRangeRangePtrOutput) } -type VectorSearchEndpointEndpointStatusArrayOutput struct{ *pulumi.OutputState } +func (o SqlQueryParameterDateRangeRangeOutput) End() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDateRangeRange) string { return v.End }).(pulumi.StringOutput) +} -func (VectorSearchEndpointEndpointStatusArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchEndpointEndpointStatus)(nil)).Elem() +func (o SqlQueryParameterDateRangeRangeOutput) Start() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDateRangeRange) string { return v.Start }).(pulumi.StringOutput) } -func (o VectorSearchEndpointEndpointStatusArrayOutput) ToVectorSearchEndpointEndpointStatusArrayOutput() VectorSearchEndpointEndpointStatusArrayOutput { +type SqlQueryParameterDateRangeRangePtrOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterDateRangeRangePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDateRangeRange)(nil)).Elem() +} + +func (o SqlQueryParameterDateRangeRangePtrOutput) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { return o } -func (o VectorSearchEndpointEndpointStatusArrayOutput) ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusArrayOutput { +func (o SqlQueryParameterDateRangeRangePtrOutput) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { 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 SqlQueryParameterDateRangeRangePtrOutput) Elem() SqlQueryParameterDateRangeRangeOutput { + return o.ApplyT(func(v *SqlQueryParameterDateRangeRange) SqlQueryParameterDateRangeRange { + if v != nil { + return *v + } + var ret SqlQueryParameterDateRangeRange + return ret + }).(SqlQueryParameterDateRangeRangeOutput) } -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]interface{} `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]interface{} `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"` - LastActivityTime *int `pulumi:"lastActivityTime"` - 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]interface{} `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]interface{} `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"` - StartTime *int `pulumi:"startTime"` - State string `pulumi:"state"` - StateMessage *string `pulumi:"stateMessage"` - TerminateTime *int `pulumi:"terminateTime"` - TerminationReason *GetClusterClusterInfoTerminationReason `pulumi:"terminationReason"` +func (o SqlQueryParameterDateRangeRangePtrOutput) End() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDateRangeRange) *string { + if v == nil { + return nil + } + return &v.End + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoInput is an input type that accepts GetClusterClusterInfoArgs and GetClusterClusterInfoOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInput` via: +func (o SqlQueryParameterDateRangeRangePtrOutput) Start() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDateRangeRange) *string { + if v == nil { + return nil + } + return &v.Start + }).(pulumi.StringPtrOutput) +} + +type SqlQueryParameterDatetime struct { + // The default value for this parameter. + Value string `pulumi:"value"` +} + +// SqlQueryParameterDatetimeInput is an input type that accepts SqlQueryParameterDatetimeArgs and SqlQueryParameterDatetimeOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimeInput` via: // -// GetClusterClusterInfoArgs{...} -type GetClusterClusterInfoInput interface { +// SqlQueryParameterDatetimeArgs{...} +type SqlQueryParameterDatetimeInput interface { pulumi.Input - ToGetClusterClusterInfoOutput() GetClusterClusterInfoOutput - ToGetClusterClusterInfoOutputWithContext(context.Context) GetClusterClusterInfoOutput + ToSqlQueryParameterDatetimeOutput() SqlQueryParameterDatetimeOutput + ToSqlQueryParameterDatetimeOutputWithContext(context.Context) SqlQueryParameterDatetimeOutput } -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.StringInput `pulumi:"clusterSource"` - CreatorUserName pulumi.StringPtrInput `pulumi:"creatorUserName"` - // Additional tags for cluster resources. - CustomTags pulumi.MapInput `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.MapInput `pulumi:"defaultTags"` - DockerImage GetClusterClusterInfoDockerImagePtrInput `pulumi:"dockerImage"` - Driver GetClusterClusterInfoDriverPtrInput `pulumi:"driver"` - // similar to `instancePoolId`, but for driver node. - DriverInstancePoolId pulumi.StringInput `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"` - LastActivityTime pulumi.IntPtrInput `pulumi:"lastActivityTime"` - 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.MapInput `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.MapInput `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"` - StartTime pulumi.IntPtrInput `pulumi:"startTime"` - State pulumi.StringInput `pulumi:"state"` - StateMessage pulumi.StringPtrInput `pulumi:"stateMessage"` - TerminateTime pulumi.IntPtrInput `pulumi:"terminateTime"` - TerminationReason GetClusterClusterInfoTerminationReasonPtrInput `pulumi:"terminationReason"` +type SqlQueryParameterDatetimeArgs struct { + // The default value for this parameter. + Value pulumi.StringInput `pulumi:"value"` } -func (GetClusterClusterInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfo)(nil)).Elem() +func (SqlQueryParameterDatetimeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetime)(nil)).Elem() } -func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoOutput() GetClusterClusterInfoOutput { - return i.ToGetClusterClusterInfoOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimeOutput() SqlQueryParameterDatetimeOutput { + return i.ToSqlQueryParameterDatetimeOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoOutput) +func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeOutput) } -func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { - return i.ToGetClusterClusterInfoPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { + return i.ToSqlQueryParameterDatetimePtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoOutput).ToGetClusterClusterInfoPtrOutputWithContext(ctx) +func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeOutput).ToSqlQueryParameterDatetimePtrOutputWithContext(ctx) } -// GetClusterClusterInfoPtrInput is an input type that accepts GetClusterClusterInfoArgs, GetClusterClusterInfoPtr and GetClusterClusterInfoPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoPtrInput` via: +// SqlQueryParameterDatetimePtrInput is an input type that accepts SqlQueryParameterDatetimeArgs, SqlQueryParameterDatetimePtr and SqlQueryParameterDatetimePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimePtrInput` via: // -// GetClusterClusterInfoArgs{...} +// SqlQueryParameterDatetimeArgs{...} // // or: // // nil -type GetClusterClusterInfoPtrInput interface { +type SqlQueryParameterDatetimePtrInput interface { pulumi.Input - ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput - ToGetClusterClusterInfoPtrOutputWithContext(context.Context) GetClusterClusterInfoPtrOutput + ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput + ToSqlQueryParameterDatetimePtrOutputWithContext(context.Context) SqlQueryParameterDatetimePtrOutput } -type getClusterClusterInfoPtrType GetClusterClusterInfoArgs +type sqlQueryParameterDatetimePtrType SqlQueryParameterDatetimeArgs -func GetClusterClusterInfoPtr(v *GetClusterClusterInfoArgs) GetClusterClusterInfoPtrInput { - return (*getClusterClusterInfoPtrType)(v) +func SqlQueryParameterDatetimePtr(v *SqlQueryParameterDatetimeArgs) SqlQueryParameterDatetimePtrInput { + return (*sqlQueryParameterDatetimePtrType)(v) } -func (*getClusterClusterInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfo)(nil)).Elem() +func (*sqlQueryParameterDatetimePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetime)(nil)).Elem() } -func (i *getClusterClusterInfoPtrType) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { - return i.ToGetClusterClusterInfoPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterDatetimePtrType) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { + return i.ToSqlQueryParameterDatetimePtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoPtrType) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoPtrOutput) +func (i *sqlQueryParameterDatetimePtrType) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimePtrOutput) } -type GetClusterClusterInfoOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatetimeOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfo)(nil)).Elem() +func (SqlQueryParameterDatetimeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetime)(nil)).Elem() } -func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoOutput() GetClusterClusterInfoOutput { +func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimeOutput() SqlQueryParameterDatetimeOutput { return o } -func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoOutput { +func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeOutput { return o } -func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { - return o.ToGetClusterClusterInfoPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { + return o.ToSqlQueryParameterDatetimePtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfo) *GetClusterClusterInfo { +func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetime) *SqlQueryParameterDatetime { return &v - }).(GetClusterClusterInfoPtrOutput) + }).(SqlQueryParameterDatetimePtrOutput) } -func (o GetClusterClusterInfoOutput) Autoscale() GetClusterClusterInfoAutoscalePtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoAutoscale { return v.Autoscale }).(GetClusterClusterInfoAutoscalePtrOutput) +// The default value for this parameter. +func (o SqlQueryParameterDatetimeOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDatetime) string { return v.Value }).(pulumi.StringOutput) } -// 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) -} +type SqlQueryParameterDatetimePtrOutput struct{ *pulumi.OutputState } -func (o GetClusterClusterInfoOutput) AwsAttributes() GetClusterClusterInfoAwsAttributesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoAwsAttributes { return v.AwsAttributes }).(GetClusterClusterInfoAwsAttributesPtrOutput) +func (SqlQueryParameterDatetimePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetime)(nil)).Elem() } -func (o GetClusterClusterInfoOutput) AzureAttributes() GetClusterClusterInfoAzureAttributesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoAzureAttributes { return v.AzureAttributes }).(GetClusterClusterInfoAzureAttributesPtrOutput) +func (o SqlQueryParameterDatetimePtrOutput) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { + return o } -func (o GetClusterClusterInfoOutput) ClusterCores() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *float64 { return v.ClusterCores }).(pulumi.Float64PtrOutput) +func (o SqlQueryParameterDatetimePtrOutput) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { + return o } -// 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 SqlQueryParameterDatetimePtrOutput) Elem() SqlQueryParameterDatetimeOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetime) SqlQueryParameterDatetime { + if v != nil { + return *v + } + var ret SqlQueryParameterDatetime + return ret + }).(SqlQueryParameterDatetimeOutput) } -func (o GetClusterClusterInfoOutput) ClusterLogConf() GetClusterClusterInfoClusterLogConfPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoClusterLogConf { return v.ClusterLogConf }).(GetClusterClusterInfoClusterLogConfPtrOutput) +// 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.Value + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoOutput) ClusterLogStatus() GetClusterClusterInfoClusterLogStatusPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoClusterLogStatus { return v.ClusterLogStatus }).(GetClusterClusterInfoClusterLogStatusPtrOutput) +type SqlQueryParameterDatetimeRange struct { + Range *SqlQueryParameterDatetimeRangeRange `pulumi:"range"` + // The default value for this parameter. + Value *string `pulumi:"value"` } -func (o GetClusterClusterInfoOutput) ClusterMemoryMb() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.ClusterMemoryMb }).(pulumi.IntPtrOutput) +// 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 + + ToSqlQueryParameterDatetimeRangeOutput() SqlQueryParameterDatetimeRangeOutput + ToSqlQueryParameterDatetimeRangeOutputWithContext(context.Context) SqlQueryParameterDatetimeRangeOutput } -// 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) +type SqlQueryParameterDatetimeRangeArgs struct { + Range SqlQueryParameterDatetimeRangeRangePtrInput `pulumi:"range"` + // The default value for this parameter. + Value pulumi.StringPtrInput `pulumi:"value"` } -func (o GetClusterClusterInfoOutput) ClusterSource() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfo) string { return v.ClusterSource }).(pulumi.StringOutput) +func (SqlQueryParameterDatetimeRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimeRange)(nil)).Elem() } -func (o GetClusterClusterInfoOutput) CreatorUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.CreatorUserName }).(pulumi.StringPtrOutput) +func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangeOutput() SqlQueryParameterDatetimeRangeOutput { + return i.ToSqlQueryParameterDatetimeRangeOutputWithContext(context.Background()) } -// Additional tags for cluster resources. -func (o GetClusterClusterInfoOutput) CustomTags() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterClusterInfo) map[string]interface{} { return v.CustomTags }).(pulumi.MapOutput) +func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeOutput) } -// 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 (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { + return i.ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoOutput) DefaultTags() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterClusterInfo) map[string]interface{} { return v.DefaultTags }).(pulumi.MapOutput) +func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeOutput).ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx) } -func (o GetClusterClusterInfoOutput) DockerImage() GetClusterClusterInfoDockerImagePtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoDockerImage { return v.DockerImage }).(GetClusterClusterInfoDockerImagePtrOutput) +// SqlQueryParameterDatetimeRangePtrInput is an input type that accepts SqlQueryParameterDatetimeRangeArgs, SqlQueryParameterDatetimeRangePtr and SqlQueryParameterDatetimeRangePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimeRangePtrInput` via: +// +// SqlQueryParameterDatetimeRangeArgs{...} +// +// or: +// +// nil +type SqlQueryParameterDatetimeRangePtrInput interface { + pulumi.Input + + ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput + ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimeRangePtrOutput } -func (o GetClusterClusterInfoOutput) Driver() GetClusterClusterInfoDriverPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoDriver { return v.Driver }).(GetClusterClusterInfoDriverPtrOutput) +type sqlQueryParameterDatetimeRangePtrType SqlQueryParameterDatetimeRangeArgs + +func SqlQueryParameterDatetimeRangePtr(v *SqlQueryParameterDatetimeRangeArgs) SqlQueryParameterDatetimeRangePtrInput { + return (*sqlQueryParameterDatetimeRangePtrType)(v) } -// similar to `instancePoolId`, but for driver node. -func (o GetClusterClusterInfoOutput) DriverInstancePoolId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfo) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) +func (*sqlQueryParameterDatetimeRangePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimeRange)(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 *sqlQueryParameterDatetimeRangePtrType) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { + return i.ToSqlQueryParameterDatetimeRangePtrOutputWithContext(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 *sqlQueryParameterDatetimeRangePtrType) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangePtrOutput) } -// Enable local disk encryption. -func (o GetClusterClusterInfoOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolPtrOutput) +type SqlQueryParameterDatetimeRangeOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterDatetimeRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimeRange)(nil)).Elem() } -func (o GetClusterClusterInfoOutput) Executors() GetClusterClusterInfoExecutorArrayOutput { - return o.ApplyT(func(v GetClusterClusterInfo) []GetClusterClusterInfoExecutor { return v.Executors }).(GetClusterClusterInfoExecutorArrayOutput) +func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangeOutput() SqlQueryParameterDatetimeRangeOutput { + return o } -func (o GetClusterClusterInfoOutput) GcpAttributes() GetClusterClusterInfoGcpAttributesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoGcpAttributes { return v.GcpAttributes }).(GetClusterClusterInfoGcpAttributesPtrOutput) +func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeOutput { + return o } -func (o GetClusterClusterInfoOutput) InitScripts() GetClusterClusterInfoInitScriptArrayOutput { - return o.ApplyT(func(v GetClusterClusterInfo) []GetClusterClusterInfoInitScript { return v.InitScripts }).(GetClusterClusterInfoInitScriptArrayOutput) +func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { + return o.ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Background()) } -// 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) +func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimeRange) *SqlQueryParameterDatetimeRange { + return &v + }).(SqlQueryParameterDatetimeRangePtrOutput) } -func (o GetClusterClusterInfoOutput) JdbcPort() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.JdbcPort }).(pulumi.IntPtrOutput) +func (o SqlQueryParameterDatetimeRangeOutput) Range() SqlQueryParameterDatetimeRangeRangePtrOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimeRange) *SqlQueryParameterDatetimeRangeRange { return v.Range }).(SqlQueryParameterDatetimeRangeRangePtrOutput) } -func (o GetClusterClusterInfoOutput) LastActivityTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.LastActivityTime }).(pulumi.IntPtrOutput) +// 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 GetClusterClusterInfoOutput) LastStateLossTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.LastStateLossTime }).(pulumi.IntPtrOutput) +type SqlQueryParameterDatetimeRangePtrOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterDatetimeRangePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimeRange)(nil)).Elem() } -// Any supported getNodeType id. -func (o GetClusterClusterInfoOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterDatetimeRangePtrOutput) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { + return o } -func (o GetClusterClusterInfoOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.NumWorkers }).(pulumi.IntPtrOutput) +func (o SqlQueryParameterDatetimeRangePtrOutput) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { + return o } -// 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 SqlQueryParameterDatetimeRangePtrOutput) Elem() SqlQueryParameterDatetimeRangeOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimeRange) SqlQueryParameterDatetimeRange { + if v != nil { + return *v + } + var ret SqlQueryParameterDatetimeRange + return ret + }).(SqlQueryParameterDatetimeRangeOutput) } -// 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 SqlQueryParameterDatetimeRangePtrOutput) Range() SqlQueryParameterDatetimeRangeRangePtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimeRange) *SqlQueryParameterDatetimeRangeRange { + if v == nil { + return nil + } + return v.Range + }).(SqlQueryParameterDatetimeRangeRangePtrOutput) } -// 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) +// 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) } -// Map with key-value pairs to fine-tune Spark clusters. -func (o GetClusterClusterInfoOutput) SparkConf() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterClusterInfo) map[string]interface{} { return v.SparkConf }).(pulumi.MapOutput) +type SqlQueryParameterDatetimeRangeRange struct { + End string `pulumi:"end"` + Start string `pulumi:"start"` } -func (o GetClusterClusterInfoOutput) SparkContextId() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.SparkContextId }).(pulumi.IntPtrOutput) +// 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 + + ToSqlQueryParameterDatetimeRangeRangeOutput() SqlQueryParameterDatetimeRangeRangeOutput + ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(context.Context) SqlQueryParameterDatetimeRangeRangeOutput } -// 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.MapOutput { - return o.ApplyT(func(v GetClusterClusterInfo) map[string]interface{} { return v.SparkEnvVars }).(pulumi.MapOutput) +type SqlQueryParameterDatetimeRangeRangeArgs struct { + End pulumi.StringInput `pulumi:"end"` + Start pulumi.StringInput `pulumi:"start"` } -// [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. -func (o GetClusterClusterInfoOutput) SparkVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfo) string { return v.SparkVersion }).(pulumi.StringOutput) +func (SqlQueryParameterDatetimeRangeRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimeRangeRange)(nil)).Elem() } -// 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 (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangeOutput() SqlQueryParameterDatetimeRangeRangeOutput { + return i.ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoOutput) StartTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.StartTime }).(pulumi.IntPtrOutput) +func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeRangeOutput) } -func (o GetClusterClusterInfoOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfo) string { return v.State }).(pulumi.StringOutput) +func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { + return i.ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoOutput) StateMessage() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.StateMessage }).(pulumi.StringPtrOutput) +func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeRangeOutput).ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx) } -func (o GetClusterClusterInfoOutput) TerminateTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.TerminateTime }).(pulumi.IntPtrOutput) +// SqlQueryParameterDatetimeRangeRangePtrInput is an input type that accepts SqlQueryParameterDatetimeRangeRangeArgs, SqlQueryParameterDatetimeRangeRangePtr and SqlQueryParameterDatetimeRangeRangePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimeRangeRangePtrInput` via: +// +// SqlQueryParameterDatetimeRangeRangeArgs{...} +// +// or: +// +// nil +type SqlQueryParameterDatetimeRangeRangePtrInput interface { + pulumi.Input + + ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput + ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput } -func (o GetClusterClusterInfoOutput) TerminationReason() GetClusterClusterInfoTerminationReasonPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoTerminationReason { return v.TerminationReason }).(GetClusterClusterInfoTerminationReasonPtrOutput) +type sqlQueryParameterDatetimeRangeRangePtrType SqlQueryParameterDatetimeRangeRangeArgs + +func SqlQueryParameterDatetimeRangeRangePtr(v *SqlQueryParameterDatetimeRangeRangeArgs) SqlQueryParameterDatetimeRangeRangePtrInput { + return (*sqlQueryParameterDatetimeRangeRangePtrType)(v) } -type GetClusterClusterInfoPtrOutput struct{ *pulumi.OutputState } +func (*sqlQueryParameterDatetimeRangeRangePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimeRangeRange)(nil)).Elem() +} -func (GetClusterClusterInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfo)(nil)).Elem() +func (i *sqlQueryParameterDatetimeRangeRangePtrType) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { + return i.ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoPtrOutput) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { - return o +func (i *sqlQueryParameterDatetimeRangeRangePtrType) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeRangePtrOutput) } -func (o GetClusterClusterInfoPtrOutput) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { - return o +type SqlQueryParameterDatetimeRangeRangeOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterDatetimeRangeRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimeRangeRange)(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 SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangeOutput() SqlQueryParameterDatetimeRangeRangeOutput { + 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 SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangeOutput { + 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 SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { + return o.ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(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 SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimeRangeRange) *SqlQueryParameterDatetimeRangeRange { + return &v + }).(SqlQueryParameterDatetimeRangeRangePtrOutput) } -func (o GetClusterClusterInfoPtrOutput) AzureAttributes() GetClusterClusterInfoAzureAttributesPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoAzureAttributes { - if v == nil { - return nil - } - return v.AzureAttributes - }).(GetClusterClusterInfoAzureAttributesPtrOutput) +func (o SqlQueryParameterDatetimeRangeRangeOutput) End() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimeRangeRange) string { return v.End }).(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) +func (o SqlQueryParameterDatetimeRangeRangeOutput) Start() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimeRangeRange) string { return v.Start }).(pulumi.StringOutput) } -// 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) +type SqlQueryParameterDatetimeRangeRangePtrOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterDatetimeRangeRangePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimeRangeRange)(nil)).Elem() } -func (o GetClusterClusterInfoPtrOutput) ClusterLogConf() GetClusterClusterInfoClusterLogConfPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoClusterLogConf { - if v == nil { - return nil - } - return v.ClusterLogConf - }).(GetClusterClusterInfoClusterLogConfPtrOutput) +func (o SqlQueryParameterDatetimeRangeRangePtrOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { + 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 SqlQueryParameterDatetimeRangeRangePtrOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { + return o } -func (o GetClusterClusterInfoPtrOutput) ClusterMemoryMb() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { - if v == nil { - return nil +func (o SqlQueryParameterDatetimeRangeRangePtrOutput) Elem() SqlQueryParameterDatetimeRangeRangeOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimeRangeRange) SqlQueryParameterDatetimeRangeRange { + if v != nil { + return *v } - return v.ClusterMemoryMb - }).(pulumi.IntPtrOutput) + var ret SqlQueryParameterDatetimeRangeRange + return ret + }).(SqlQueryParameterDatetimeRangeRangeOutput) } -// The exact name of the cluster to search -func (o GetClusterClusterInfoPtrOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { +func (o SqlQueryParameterDatetimeRangeRangePtrOutput) End() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimeRangeRange) *string { if v == nil { return nil } - return v.ClusterName + return &v.End }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoPtrOutput) ClusterSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { +func (o SqlQueryParameterDatetimeRangeRangePtrOutput) Start() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimeRangeRange) *string { if v == nil { return nil } - return &v.ClusterSource + return &v.Start }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoPtrOutput) CreatorUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return v.CreatorUserName - }).(pulumi.StringPtrOutput) +type SqlQueryParameterDatetimesec struct { + // The default value for this parameter. + Value string `pulumi:"value"` } -// Additional tags for cluster resources. -func (o GetClusterClusterInfoPtrOutput) CustomTags() pulumi.MapOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) map[string]interface{} { - if v == nil { - return nil - } - return v.CustomTags - }).(pulumi.MapOutput) +// SqlQueryParameterDatetimesecInput is an input type that accepts SqlQueryParameterDatetimesecArgs and SqlQueryParameterDatetimesecOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimesecInput` via: +// +// SqlQueryParameterDatetimesecArgs{...} +type SqlQueryParameterDatetimesecInput interface { + pulumi.Input + + ToSqlQueryParameterDatetimesecOutput() SqlQueryParameterDatetimesecOutput + ToSqlQueryParameterDatetimesecOutputWithContext(context.Context) SqlQueryParameterDatetimesecOutput } -// 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) +type SqlQueryParameterDatetimesecArgs struct { + // The default value for this parameter. + Value pulumi.StringInput `pulumi:"value"` } -func (o GetClusterClusterInfoPtrOutput) DefaultTags() pulumi.MapOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) map[string]interface{} { - if v == nil { - return nil - } - return v.DefaultTags - }).(pulumi.MapOutput) +func (SqlQueryParameterDatetimesecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimesec)(nil)).Elem() } -func (o GetClusterClusterInfoPtrOutput) DockerImage() GetClusterClusterInfoDockerImagePtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoDockerImage { - if v == nil { - return nil - } - return v.DockerImage - }).(GetClusterClusterInfoDockerImagePtrOutput) +func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecOutput() SqlQueryParameterDatetimesecOutput { + return i.ToSqlQueryParameterDatetimesecOutputWithContext(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 SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecOutput) } -// 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 (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { + return i.ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Background()) } -// 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) +func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecOutput).ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx) } -// 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) +// SqlQueryParameterDatetimesecPtrInput is an input type that accepts SqlQueryParameterDatetimesecArgs, SqlQueryParameterDatetimesecPtr and SqlQueryParameterDatetimesecPtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimesecPtrInput` via: +// +// SqlQueryParameterDatetimesecArgs{...} +// +// or: +// +// nil +type SqlQueryParameterDatetimesecPtrInput interface { + pulumi.Input + + ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput + ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Context) SqlQueryParameterDatetimesecPtrOutput } -// 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) +type sqlQueryParameterDatetimesecPtrType SqlQueryParameterDatetimesecArgs + +func SqlQueryParameterDatetimesecPtr(v *SqlQueryParameterDatetimesecArgs) SqlQueryParameterDatetimesecPtrInput { + return (*sqlQueryParameterDatetimesecPtrType)(v) } -func (o GetClusterClusterInfoPtrOutput) Executors() GetClusterClusterInfoExecutorArrayOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) []GetClusterClusterInfoExecutor { - if v == nil { - return nil - } - return v.Executors - }).(GetClusterClusterInfoExecutorArrayOutput) +func (*sqlQueryParameterDatetimesecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimesec)(nil)).Elem() } -func (o GetClusterClusterInfoPtrOutput) GcpAttributes() GetClusterClusterInfoGcpAttributesPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoGcpAttributes { - if v == nil { - return nil - } - return v.GcpAttributes - }).(GetClusterClusterInfoGcpAttributesPtrOutput) +func (i *sqlQueryParameterDatetimesecPtrType) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { + return i.ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoPtrOutput) InitScripts() GetClusterClusterInfoInitScriptArrayOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) []GetClusterClusterInfoInitScript { - if v == nil { - return nil - } - return v.InitScripts - }).(GetClusterClusterInfoInitScriptArrayOutput) +func (i *sqlQueryParameterDatetimesecPtrType) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecPtrOutput) } -// 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 SqlQueryParameterDatetimesecOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterDatetimesecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimesec)(nil)).Elem() } -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 SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecOutput() SqlQueryParameterDatetimesecOutput { + return o } -func (o GetClusterClusterInfoPtrOutput) LastActivityTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { - if v == nil { - return nil - } - return v.LastActivityTime - }).(pulumi.IntPtrOutput) -} - -func (o GetClusterClusterInfoPtrOutput) LastStateLossTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { - if v == nil { - return nil - } - return v.LastStateLossTime - }).(pulumi.IntPtrOutput) -} - -// 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 GetClusterClusterInfoPtrOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { - if v == nil { - return nil - } - return v.NumWorkers - }).(pulumi.IntPtrOutput) -} - -// 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) -} - -// 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 (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecOutput { + return o } -// 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 (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { + return o.ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Background()) } -// Map with key-value pairs to fine-tune Spark clusters. -func (o GetClusterClusterInfoPtrOutput) SparkConf() pulumi.MapOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) map[string]interface{} { - if v == nil { - return nil - } - return v.SparkConf - }).(pulumi.MapOutput) +func (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimesec) *SqlQueryParameterDatetimesec { + return &v + }).(SqlQueryParameterDatetimesecPtrOutput) } -func (o GetClusterClusterInfoPtrOutput) SparkContextId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { - if v == nil { - return nil - } - return v.SparkContextId - }).(pulumi.IntPtrOutput) +// The default value for this parameter. +func (o SqlQueryParameterDatetimesecOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimesec) string { return v.Value }).(pulumi.StringOutput) } -// 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.MapOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) map[string]interface{} { - if v == nil { - return nil - } - return v.SparkEnvVars - }).(pulumi.MapOutput) -} +type SqlQueryParameterDatetimesecPtrOutput struct{ *pulumi.OutputState } -// [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 (SqlQueryParameterDatetimesecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimesec)(nil)).Elem() } -// 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 SqlQueryParameterDatetimesecPtrOutput) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { + return o } -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 SqlQueryParameterDatetimesecPtrOutput) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { + return o } -func (o GetClusterClusterInfoPtrOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil +func (o SqlQueryParameterDatetimesecPtrOutput) Elem() SqlQueryParameterDatetimesecOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesec) SqlQueryParameterDatetimesec { + if v != nil { + return *v } - return &v.State - }).(pulumi.StringPtrOutput) + var ret SqlQueryParameterDatetimesec + return ret + }).(SqlQueryParameterDatetimesecOutput) } -func (o GetClusterClusterInfoPtrOutput) StateMessage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { +// 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.StateMessage + return &v.Value }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoPtrOutput) TerminateTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { - if v == nil { - return nil - } - return v.TerminateTime - }).(pulumi.IntPtrOutput) -} - -func (o GetClusterClusterInfoPtrOutput) TerminationReason() GetClusterClusterInfoTerminationReasonPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoTerminationReason { - if v == nil { - return nil - } - return v.TerminationReason - }).(GetClusterClusterInfoTerminationReasonPtrOutput) -} - -type GetClusterClusterInfoAutoscale struct { - MaxWorkers *int `pulumi:"maxWorkers"` - MinWorkers *int `pulumi:"minWorkers"` +type SqlQueryParameterDatetimesecRange struct { + Range *SqlQueryParameterDatetimesecRangeRange `pulumi:"range"` + // The default value for this parameter. + Value *string `pulumi:"value"` } -// GetClusterClusterInfoAutoscaleInput is an input type that accepts GetClusterClusterInfoAutoscaleArgs and GetClusterClusterInfoAutoscaleOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoAutoscaleInput` via: +// SqlQueryParameterDatetimesecRangeInput is an input type that accepts SqlQueryParameterDatetimesecRangeArgs and SqlQueryParameterDatetimesecRangeOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangeInput` via: // -// GetClusterClusterInfoAutoscaleArgs{...} -type GetClusterClusterInfoAutoscaleInput interface { +// SqlQueryParameterDatetimesecRangeArgs{...} +type SqlQueryParameterDatetimesecRangeInput interface { pulumi.Input - ToGetClusterClusterInfoAutoscaleOutput() GetClusterClusterInfoAutoscaleOutput - ToGetClusterClusterInfoAutoscaleOutputWithContext(context.Context) GetClusterClusterInfoAutoscaleOutput + ToSqlQueryParameterDatetimesecRangeOutput() SqlQueryParameterDatetimesecRangeOutput + ToSqlQueryParameterDatetimesecRangeOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangeOutput } -type GetClusterClusterInfoAutoscaleArgs struct { - MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` - MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +type SqlQueryParameterDatetimesecRangeArgs struct { + Range SqlQueryParameterDatetimesecRangeRangePtrInput `pulumi:"range"` + // The default value for this parameter. + Value pulumi.StringPtrInput `pulumi:"value"` } -func (GetClusterClusterInfoAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoAutoscale)(nil)).Elem() +func (SqlQueryParameterDatetimesecRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimesecRange)(nil)).Elem() } -func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscaleOutput() GetClusterClusterInfoAutoscaleOutput { - return i.ToGetClusterClusterInfoAutoscaleOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangeOutput() SqlQueryParameterDatetimesecRangeOutput { + return i.ToSqlQueryParameterDatetimesecRangeOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscaleOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAutoscaleOutput) +func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeOutput) } -func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { - return i.ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { + return i.ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAutoscaleOutput).ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx) +func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeOutput).ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx) } -// GetClusterClusterInfoAutoscalePtrInput is an input type that accepts GetClusterClusterInfoAutoscaleArgs, GetClusterClusterInfoAutoscalePtr and GetClusterClusterInfoAutoscalePtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoAutoscalePtrInput` via: +// SqlQueryParameterDatetimesecRangePtrInput is an input type that accepts SqlQueryParameterDatetimesecRangeArgs, SqlQueryParameterDatetimesecRangePtr and SqlQueryParameterDatetimesecRangePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangePtrInput` via: // -// GetClusterClusterInfoAutoscaleArgs{...} +// SqlQueryParameterDatetimesecRangeArgs{...} // // or: // // nil -type GetClusterClusterInfoAutoscalePtrInput interface { +type SqlQueryParameterDatetimesecRangePtrInput interface { pulumi.Input - ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput - ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Context) GetClusterClusterInfoAutoscalePtrOutput + ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput + ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangePtrOutput } -type getClusterClusterInfoAutoscalePtrType GetClusterClusterInfoAutoscaleArgs +type sqlQueryParameterDatetimesecRangePtrType SqlQueryParameterDatetimesecRangeArgs -func GetClusterClusterInfoAutoscalePtr(v *GetClusterClusterInfoAutoscaleArgs) GetClusterClusterInfoAutoscalePtrInput { - return (*getClusterClusterInfoAutoscalePtrType)(v) +func SqlQueryParameterDatetimesecRangePtr(v *SqlQueryParameterDatetimesecRangeArgs) SqlQueryParameterDatetimesecRangePtrInput { + return (*sqlQueryParameterDatetimesecRangePtrType)(v) } -func (*getClusterClusterInfoAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoAutoscale)(nil)).Elem() +func (*sqlQueryParameterDatetimesecRangePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimesecRange)(nil)).Elem() } -func (i *getClusterClusterInfoAutoscalePtrType) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { - return i.ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterDatetimesecRangePtrType) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { + return i.ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoAutoscalePtrType) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAutoscalePtrOutput) +func (i *sqlQueryParameterDatetimesecRangePtrType) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangePtrOutput) } -type GetClusterClusterInfoAutoscaleOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatetimesecRangeOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoAutoscale)(nil)).Elem() +func (SqlQueryParameterDatetimesecRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimesecRange)(nil)).Elem() } -func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscaleOutput() GetClusterClusterInfoAutoscaleOutput { +func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangeOutput() SqlQueryParameterDatetimesecRangeOutput { return o } -func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscaleOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscaleOutput { +func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeOutput { return o } -func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { - return o.ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Background()) +func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { + return o.ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoAutoscale) *GetClusterClusterInfoAutoscale { +func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimesecRange) *SqlQueryParameterDatetimesecRange { return &v - }).(GetClusterClusterInfoAutoscalePtrOutput) + }).(SqlQueryParameterDatetimesecRangePtrOutput) } -func (o GetClusterClusterInfoAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +func (o SqlQueryParameterDatetimesecRangeOutput) Range() SqlQueryParameterDatetimesecRangeRangePtrOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimesecRange) *SqlQueryParameterDatetimesecRangeRange { return v.Range }).(SqlQueryParameterDatetimesecRangeRangePtrOutput) } -func (o GetClusterClusterInfoAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +// The default value for this parameter. +func (o SqlQueryParameterDatetimesecRangeOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimesecRange) *string { return v.Value }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoAutoscalePtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatetimesecRangePtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoAutoscale)(nil)).Elem() +func (SqlQueryParameterDatetimesecRangePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimesecRange)(nil)).Elem() } -func (o GetClusterClusterInfoAutoscalePtrOutput) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { +func (o SqlQueryParameterDatetimesecRangePtrOutput) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { return o } -func (o GetClusterClusterInfoAutoscalePtrOutput) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { +func (o SqlQueryParameterDatetimesecRangePtrOutput) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { return o } -func (o GetClusterClusterInfoAutoscalePtrOutput) Elem() GetClusterClusterInfoAutoscaleOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAutoscale) GetClusterClusterInfoAutoscale { +func (o SqlQueryParameterDatetimesecRangePtrOutput) Elem() SqlQueryParameterDatetimesecRangeOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesecRange) SqlQueryParameterDatetimesecRange { if v != nil { return *v } - var ret GetClusterClusterInfoAutoscale + var ret SqlQueryParameterDatetimesecRange return ret - }).(GetClusterClusterInfoAutoscaleOutput) + }).(SqlQueryParameterDatetimesecRangeOutput) } -func (o GetClusterClusterInfoAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAutoscale) *int { +func (o SqlQueryParameterDatetimesecRangePtrOutput) Range() SqlQueryParameterDatetimesecRangeRangePtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesecRange) *SqlQueryParameterDatetimesecRangeRange { if v == nil { return nil } - return v.MaxWorkers - }).(pulumi.IntPtrOutput) + return v.Range + }).(SqlQueryParameterDatetimesecRangeRangePtrOutput) } -func (o GetClusterClusterInfoAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAutoscale) *int { +// 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.MinWorkers - }).(pulumi.IntPtrOutput) + return v.Value + }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoAwsAttributes 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 SqlQueryParameterDatetimesecRangeRange struct { + End string `pulumi:"end"` + Start string `pulumi:"start"` } -// GetClusterClusterInfoAwsAttributesInput is an input type that accepts GetClusterClusterInfoAwsAttributesArgs and GetClusterClusterInfoAwsAttributesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoAwsAttributesInput` via: +// SqlQueryParameterDatetimesecRangeRangeInput is an input type that accepts SqlQueryParameterDatetimesecRangeRangeArgs and SqlQueryParameterDatetimesecRangeRangeOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangeRangeInput` via: // -// GetClusterClusterInfoAwsAttributesArgs{...} -type GetClusterClusterInfoAwsAttributesInput interface { +// SqlQueryParameterDatetimesecRangeRangeArgs{...} +type SqlQueryParameterDatetimesecRangeRangeInput interface { pulumi.Input - ToGetClusterClusterInfoAwsAttributesOutput() GetClusterClusterInfoAwsAttributesOutput - ToGetClusterClusterInfoAwsAttributesOutputWithContext(context.Context) GetClusterClusterInfoAwsAttributesOutput + ToSqlQueryParameterDatetimesecRangeRangeOutput() SqlQueryParameterDatetimesecRangeRangeOutput + ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangeRangeOutput } -type GetClusterClusterInfoAwsAttributesArgs 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 SqlQueryParameterDatetimesecRangeRangeArgs struct { + End pulumi.StringInput `pulumi:"end"` + Start pulumi.StringInput `pulumi:"start"` } -func (GetClusterClusterInfoAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoAwsAttributes)(nil)).Elem() +func (SqlQueryParameterDatetimesecRangeRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() } -func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesOutput() GetClusterClusterInfoAwsAttributesOutput { - return i.ToGetClusterClusterInfoAwsAttributesOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangeOutput() SqlQueryParameterDatetimesecRangeRangeOutput { + return i.ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAwsAttributesOutput) +func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeRangeOutput) } -func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { - return i.ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { + return i.ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAwsAttributesOutput).ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx) +func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeRangeOutput).ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx) } -// GetClusterClusterInfoAwsAttributesPtrInput is an input type that accepts GetClusterClusterInfoAwsAttributesArgs, GetClusterClusterInfoAwsAttributesPtr and GetClusterClusterInfoAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoAwsAttributesPtrInput` via: +// SqlQueryParameterDatetimesecRangeRangePtrInput is an input type that accepts SqlQueryParameterDatetimesecRangeRangeArgs, SqlQueryParameterDatetimesecRangeRangePtr and SqlQueryParameterDatetimesecRangeRangePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangeRangePtrInput` via: // -// GetClusterClusterInfoAwsAttributesArgs{...} +// SqlQueryParameterDatetimesecRangeRangeArgs{...} // // or: // // nil -type GetClusterClusterInfoAwsAttributesPtrInput interface { +type SqlQueryParameterDatetimesecRangeRangePtrInput interface { pulumi.Input - ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput - ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoAwsAttributesPtrOutput + ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput + ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput } -type getClusterClusterInfoAwsAttributesPtrType GetClusterClusterInfoAwsAttributesArgs +type sqlQueryParameterDatetimesecRangeRangePtrType SqlQueryParameterDatetimesecRangeRangeArgs -func GetClusterClusterInfoAwsAttributesPtr(v *GetClusterClusterInfoAwsAttributesArgs) GetClusterClusterInfoAwsAttributesPtrInput { - return (*getClusterClusterInfoAwsAttributesPtrType)(v) +func SqlQueryParameterDatetimesecRangeRangePtr(v *SqlQueryParameterDatetimesecRangeRangeArgs) SqlQueryParameterDatetimesecRangeRangePtrInput { + return (*sqlQueryParameterDatetimesecRangeRangePtrType)(v) } -func (*getClusterClusterInfoAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoAwsAttributes)(nil)).Elem() +func (*sqlQueryParameterDatetimesecRangeRangePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() } -func (i *getClusterClusterInfoAwsAttributesPtrType) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { - return i.ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterDatetimesecRangeRangePtrType) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { + return i.ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoAwsAttributesPtrType) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAwsAttributesPtrOutput) +func (i *sqlQueryParameterDatetimesecRangeRangePtrType) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeRangePtrOutput) } -type GetClusterClusterInfoAwsAttributesOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatetimesecRangeRangeOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoAwsAttributes)(nil)).Elem() +func (SqlQueryParameterDatetimesecRangeRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() } -func (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesOutput() GetClusterClusterInfoAwsAttributesOutput { +func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangeOutput() SqlQueryParameterDatetimesecRangeRangeOutput { return o } -func (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesOutput { +func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangeOutput { return o } -func (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { - return o.ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { + return o.ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoAwsAttributes) *GetClusterClusterInfoAwsAttributes { +func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimesecRangeRange) *SqlQueryParameterDatetimesecRangeRange { 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) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) -} - -func (o GetClusterClusterInfoAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) -} - -func (o GetClusterClusterInfoAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) + }).(SqlQueryParameterDatetimesecRangeRangePtrOutput) } -func (o GetClusterClusterInfoAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +func (o SqlQueryParameterDatetimesecRangeRangeOutput) End() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimesecRangeRange) string { return v.End }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterDatetimesecRangeRangeOutput) Start() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimesecRangeRange) string { return v.Start }).(pulumi.StringOutput) } -type GetClusterClusterInfoAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatetimesecRangeRangePtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoAwsAttributes)(nil)).Elem() +func (SqlQueryParameterDatetimesecRangeRangePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() } -func (o GetClusterClusterInfoAwsAttributesPtrOutput) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { +func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { return o } -func (o GetClusterClusterInfoAwsAttributesPtrOutput) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { +func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { return o } -func (o GetClusterClusterInfoAwsAttributesPtrOutput) Elem() GetClusterClusterInfoAwsAttributesOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) GetClusterClusterInfoAwsAttributes { +func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) Elem() SqlQueryParameterDatetimesecRangeRangeOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesecRangeRange) SqlQueryParameterDatetimesecRangeRange { if v != nil { return *v } - var ret GetClusterClusterInfoAwsAttributes + var ret SqlQueryParameterDatetimesecRangeRange return ret - }).(GetClusterClusterInfoAwsAttributesOutput) + }).(SqlQueryParameterDatetimesecRangeRangeOutput) } -func (o GetClusterClusterInfoAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *string { +func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) End() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesecRangeRange) *string { if v == nil { return nil } - return v.Availability + return &v.End }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { +func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) Start() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesecRangeRange) *string { if v == nil { return nil } - return v.EbsVolumeCount - }).(pulumi.IntPtrOutput) + return &v.Start + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeSize - }).(pulumi.IntPtrOutput) +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"` } -func (o GetClusterClusterInfoAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *string { - if v == nil { - return nil - } - return v.EbsVolumeType - }).(pulumi.StringPtrOutput) -} +// 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 -func (o GetClusterClusterInfoAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) + ToSqlQueryParameterEnumOutput() SqlQueryParameterEnumOutput + ToSqlQueryParameterEnumOutputWithContext(context.Context) SqlQueryParameterEnumOutput } -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 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 { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) -} - -type GetClusterClusterInfoAzureAttributes struct { - Availability *string `pulumi:"availability"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` -} - -// GetClusterClusterInfoAzureAttributesInput is an input type that accepts GetClusterClusterInfoAzureAttributesArgs and GetClusterClusterInfoAzureAttributesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoAzureAttributesInput` via: -// -// GetClusterClusterInfoAzureAttributesArgs{...} -type GetClusterClusterInfoAzureAttributesInput interface { - pulumi.Input - - ToGetClusterClusterInfoAzureAttributesOutput() GetClusterClusterInfoAzureAttributesOutput - ToGetClusterClusterInfoAzureAttributesOutputWithContext(context.Context) GetClusterClusterInfoAzureAttributesOutput -} - -type GetClusterClusterInfoAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +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 (GetClusterClusterInfoAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoAzureAttributes)(nil)).Elem() +func (SqlQueryParameterEnumArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterEnum)(nil)).Elem() } -func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesOutput() GetClusterClusterInfoAzureAttributesOutput { - return i.ToGetClusterClusterInfoAzureAttributesOutputWithContext(context.Background()) +func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumOutput() SqlQueryParameterEnumOutput { + return i.ToSqlQueryParameterEnumOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesOutput) +func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumOutputWithContext(ctx context.Context) SqlQueryParameterEnumOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumOutput) } -func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { - return i.ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { + return i.ToSqlQueryParameterEnumPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesOutput).ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx) +func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumOutput).ToSqlQueryParameterEnumPtrOutputWithContext(ctx) } -// GetClusterClusterInfoAzureAttributesPtrInput is an input type that accepts GetClusterClusterInfoAzureAttributesArgs, GetClusterClusterInfoAzureAttributesPtr and GetClusterClusterInfoAzureAttributesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoAzureAttributesPtrInput` via: +// SqlQueryParameterEnumPtrInput is an input type that accepts SqlQueryParameterEnumArgs, SqlQueryParameterEnumPtr and SqlQueryParameterEnumPtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterEnumPtrInput` via: // -// GetClusterClusterInfoAzureAttributesArgs{...} +// SqlQueryParameterEnumArgs{...} // // or: // // nil -type GetClusterClusterInfoAzureAttributesPtrInput interface { +type SqlQueryParameterEnumPtrInput interface { pulumi.Input - ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput - ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoAzureAttributesPtrOutput + ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput + ToSqlQueryParameterEnumPtrOutputWithContext(context.Context) SqlQueryParameterEnumPtrOutput } -type getClusterClusterInfoAzureAttributesPtrType GetClusterClusterInfoAzureAttributesArgs +type sqlQueryParameterEnumPtrType SqlQueryParameterEnumArgs -func GetClusterClusterInfoAzureAttributesPtr(v *GetClusterClusterInfoAzureAttributesArgs) GetClusterClusterInfoAzureAttributesPtrInput { - return (*getClusterClusterInfoAzureAttributesPtrType)(v) +func SqlQueryParameterEnumPtr(v *SqlQueryParameterEnumArgs) SqlQueryParameterEnumPtrInput { + return (*sqlQueryParameterEnumPtrType)(v) } -func (*getClusterClusterInfoAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoAzureAttributes)(nil)).Elem() +func (*sqlQueryParameterEnumPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterEnum)(nil)).Elem() } -func (i *getClusterClusterInfoAzureAttributesPtrType) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { - return i.ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterEnumPtrType) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { + return i.ToSqlQueryParameterEnumPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoAzureAttributesPtrType) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesPtrOutput) +func (i *sqlQueryParameterEnumPtrType) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumPtrOutput) } -type GetClusterClusterInfoAzureAttributesOutput struct{ *pulumi.OutputState } +type SqlQueryParameterEnumOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoAzureAttributes)(nil)).Elem() +func (SqlQueryParameterEnumOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterEnum)(nil)).Elem() } -func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesOutput() GetClusterClusterInfoAzureAttributesOutput { +func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumOutput() SqlQueryParameterEnumOutput { return o } -func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesOutput { +func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumOutputWithContext(ctx context.Context) SqlQueryParameterEnumOutput { return o } -func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { - return o.ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { + return o.ToSqlQueryParameterEnumPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoAzureAttributes) *GetClusterClusterInfoAzureAttributes { +func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterEnum) *SqlQueryParameterEnum { return &v - }).(GetClusterClusterInfoAzureAttributesPtrOutput) + }).(SqlQueryParameterEnumPtrOutput) } -func (o GetClusterClusterInfoAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterEnumOutput) Multiple() SqlQueryParameterEnumMultiplePtrOutput { + return o.ApplyT(func(v SqlQueryParameterEnum) *SqlQueryParameterEnumMultiple { return v.Multiple }).(SqlQueryParameterEnumMultiplePtrOutput) } -func (o GetClusterClusterInfoAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +func (o SqlQueryParameterEnumOutput) Options() pulumi.StringArrayOutput { + return o.ApplyT(func(v SqlQueryParameterEnum) []string { return v.Options }).(pulumi.StringArrayOutput) } -func (o GetClusterClusterInfoAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +// 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 GetClusterClusterInfoAzureAttributesPtrOutput struct{ *pulumi.OutputState } +func (o SqlQueryParameterEnumOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v SqlQueryParameterEnum) []string { return v.Values }).(pulumi.StringArrayOutput) +} -func (GetClusterClusterInfoAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoAzureAttributes)(nil)).Elem() +type SqlQueryParameterEnumPtrOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterEnumPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterEnum)(nil)).Elem() } -func (o GetClusterClusterInfoAzureAttributesPtrOutput) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { +func (o SqlQueryParameterEnumPtrOutput) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { return o } -func (o GetClusterClusterInfoAzureAttributesPtrOutput) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { +func (o SqlQueryParameterEnumPtrOutput) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { return o } -func (o GetClusterClusterInfoAzureAttributesPtrOutput) Elem() GetClusterClusterInfoAzureAttributesOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) GetClusterClusterInfoAzureAttributes { +func (o SqlQueryParameterEnumPtrOutput) Elem() SqlQueryParameterEnumOutput { + return o.ApplyT(func(v *SqlQueryParameterEnum) SqlQueryParameterEnum { if v != nil { return *v } - var ret GetClusterClusterInfoAzureAttributes + var ret SqlQueryParameterEnum return ret - }).(GetClusterClusterInfoAzureAttributesOutput) + }).(SqlQueryParameterEnumOutput) } -func (o GetClusterClusterInfoAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) *string { +func (o SqlQueryParameterEnumPtrOutput) Multiple() SqlQueryParameterEnumMultiplePtrOutput { + return o.ApplyT(func(v *SqlQueryParameterEnum) *SqlQueryParameterEnumMultiple { if v == nil { return nil } - return v.Availability - }).(pulumi.StringPtrOutput) + return v.Multiple + }).(SqlQueryParameterEnumMultiplePtrOutput) } -func (o GetClusterClusterInfoAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) *int { +func (o SqlQueryParameterEnumPtrOutput) Options() pulumi.StringArrayOutput { + return o.ApplyT(func(v *SqlQueryParameterEnum) []string { if v == nil { return nil } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) + return v.Options + }).(pulumi.StringArrayOutput) } -func (o GetClusterClusterInfoAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) *float64 { +// 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.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) + return v.Value + }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoClusterLogConf struct { - Dbfs *GetClusterClusterInfoClusterLogConfDbfs `pulumi:"dbfs"` - S3 *GetClusterClusterInfoClusterLogConfS3 `pulumi:"s3"` +func (o SqlQueryParameterEnumPtrOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v *SqlQueryParameterEnum) []string { + if v == nil { + return nil + } + return v.Values + }).(pulumi.StringArrayOutput) } -// GetClusterClusterInfoClusterLogConfInput is an input type that accepts GetClusterClusterInfoClusterLogConfArgs and GetClusterClusterInfoClusterLogConfOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfInput` 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: // -// GetClusterClusterInfoClusterLogConfArgs{...} -type GetClusterClusterInfoClusterLogConfInput interface { +// SqlQueryParameterEnumMultipleArgs{...} +type SqlQueryParameterEnumMultipleInput interface { pulumi.Input - ToGetClusterClusterInfoClusterLogConfOutput() GetClusterClusterInfoClusterLogConfOutput - ToGetClusterClusterInfoClusterLogConfOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfOutput + ToSqlQueryParameterEnumMultipleOutput() SqlQueryParameterEnumMultipleOutput + ToSqlQueryParameterEnumMultipleOutputWithContext(context.Context) SqlQueryParameterEnumMultipleOutput } -type GetClusterClusterInfoClusterLogConfArgs struct { - Dbfs GetClusterClusterInfoClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 GetClusterClusterInfoClusterLogConfS3PtrInput `pulumi:"s3"` +type SqlQueryParameterEnumMultipleArgs struct { + Prefix pulumi.StringPtrInput `pulumi:"prefix"` + Separator pulumi.StringInput `pulumi:"separator"` + Suffix pulumi.StringPtrInput `pulumi:"suffix"` } -func (GetClusterClusterInfoClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogConf)(nil)).Elem() +func (SqlQueryParameterEnumMultipleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterEnumMultiple)(nil)).Elem() } -func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfOutput() GetClusterClusterInfoClusterLogConfOutput { - return i.ToGetClusterClusterInfoClusterLogConfOutputWithContext(context.Background()) +func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultipleOutput() SqlQueryParameterEnumMultipleOutput { + return i.ToSqlQueryParameterEnumMultipleOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfOutput) +func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultipleOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultipleOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumMultipleOutput) } -func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { - return i.ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { + return i.ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfOutput).ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx) +func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumMultipleOutput).ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx) } -// GetClusterClusterInfoClusterLogConfPtrInput is an input type that accepts GetClusterClusterInfoClusterLogConfArgs, GetClusterClusterInfoClusterLogConfPtr and GetClusterClusterInfoClusterLogConfPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfPtrInput` via: +// SqlQueryParameterEnumMultiplePtrInput is an input type that accepts SqlQueryParameterEnumMultipleArgs, SqlQueryParameterEnumMultiplePtr and SqlQueryParameterEnumMultiplePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterEnumMultiplePtrInput` via: // -// GetClusterClusterInfoClusterLogConfArgs{...} +// SqlQueryParameterEnumMultipleArgs{...} // // or: // // nil -type GetClusterClusterInfoClusterLogConfPtrInput interface { +type SqlQueryParameterEnumMultiplePtrInput interface { pulumi.Input - ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput - ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfPtrOutput + ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput + ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Context) SqlQueryParameterEnumMultiplePtrOutput } -type getClusterClusterInfoClusterLogConfPtrType GetClusterClusterInfoClusterLogConfArgs +type sqlQueryParameterEnumMultiplePtrType SqlQueryParameterEnumMultipleArgs -func GetClusterClusterInfoClusterLogConfPtr(v *GetClusterClusterInfoClusterLogConfArgs) GetClusterClusterInfoClusterLogConfPtrInput { - return (*getClusterClusterInfoClusterLogConfPtrType)(v) +func SqlQueryParameterEnumMultiplePtr(v *SqlQueryParameterEnumMultipleArgs) SqlQueryParameterEnumMultiplePtrInput { + return (*sqlQueryParameterEnumMultiplePtrType)(v) } -func (*getClusterClusterInfoClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogConf)(nil)).Elem() +func (*sqlQueryParameterEnumMultiplePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterEnumMultiple)(nil)).Elem() } -func (i *getClusterClusterInfoClusterLogConfPtrType) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { - return i.ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterEnumMultiplePtrType) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { + return i.ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoClusterLogConfPtrType) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfPtrOutput) +func (i *sqlQueryParameterEnumMultiplePtrType) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumMultiplePtrOutput) } -type GetClusterClusterInfoClusterLogConfOutput struct{ *pulumi.OutputState } +type SqlQueryParameterEnumMultipleOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogConf)(nil)).Elem() +func (SqlQueryParameterEnumMultipleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterEnumMultiple)(nil)).Elem() } -func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfOutput() GetClusterClusterInfoClusterLogConfOutput { +func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultipleOutput() SqlQueryParameterEnumMultipleOutput { return o } -func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfOutput { +func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultipleOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultipleOutput { return o } -func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { - return o.ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { + return o.ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConf { +func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterEnumMultiple) *SqlQueryParameterEnumMultiple { return &v - }).(GetClusterClusterInfoClusterLogConfPtrOutput) + }).(SqlQueryParameterEnumMultiplePtrOutput) } -func (o GetClusterClusterInfoClusterLogConfOutput) Dbfs() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfDbfs { return v.Dbfs }).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) +func (o SqlQueryParameterEnumMultipleOutput) Prefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterEnumMultiple) *string { return v.Prefix }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfOutput) S3() GetClusterClusterInfoClusterLogConfS3PtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfS3 { return v.S3 }).(GetClusterClusterInfoClusterLogConfS3PtrOutput) +func (o SqlQueryParameterEnumMultipleOutput) Separator() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterEnumMultiple) string { return v.Separator }).(pulumi.StringOutput) } -type GetClusterClusterInfoClusterLogConfPtrOutput struct{ *pulumi.OutputState } +func (o SqlQueryParameterEnumMultipleOutput) Suffix() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterEnumMultiple) *string { return v.Suffix }).(pulumi.StringPtrOutput) +} -func (GetClusterClusterInfoClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogConf)(nil)).Elem() +type SqlQueryParameterEnumMultiplePtrOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterEnumMultiplePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterEnumMultiple)(nil)).Elem() } -func (o GetClusterClusterInfoClusterLogConfPtrOutput) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { +func (o SqlQueryParameterEnumMultiplePtrOutput) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { return o } -func (o GetClusterClusterInfoClusterLogConfPtrOutput) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { +func (o SqlQueryParameterEnumMultiplePtrOutput) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { return o } -func (o GetClusterClusterInfoClusterLogConfPtrOutput) Elem() GetClusterClusterInfoClusterLogConfOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConf) GetClusterClusterInfoClusterLogConf { +func (o SqlQueryParameterEnumMultiplePtrOutput) Elem() SqlQueryParameterEnumMultipleOutput { + return o.ApplyT(func(v *SqlQueryParameterEnumMultiple) SqlQueryParameterEnumMultiple { if v != nil { return *v } - var ret GetClusterClusterInfoClusterLogConf + var ret SqlQueryParameterEnumMultiple return ret - }).(GetClusterClusterInfoClusterLogConfOutput) + }).(SqlQueryParameterEnumMultipleOutput) } -func (o GetClusterClusterInfoClusterLogConfPtrOutput) Dbfs() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfDbfs { +func (o SqlQueryParameterEnumMultiplePtrOutput) Prefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterEnumMultiple) *string { if v == nil { return nil } - return v.Dbfs - }).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) + return v.Prefix + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfPtrOutput) S3() GetClusterClusterInfoClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfS3 { +func (o SqlQueryParameterEnumMultiplePtrOutput) Separator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterEnumMultiple) *string { if v == nil { return nil } - return v.S3 - }).(GetClusterClusterInfoClusterLogConfS3PtrOutput) + return &v.Separator + }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoClusterLogConfDbfs struct { - Destination string `pulumi:"destination"` +func (o SqlQueryParameterEnumMultiplePtrOutput) Suffix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterEnumMultiple) *string { + if v == nil { + return nil + } + return v.Suffix + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoClusterLogConfDbfsInput is an input type that accepts GetClusterClusterInfoClusterLogConfDbfsArgs and GetClusterClusterInfoClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfDbfsInput` via: +type SqlQueryParameterNumber struct { + // The default value for this parameter. + Value float64 `pulumi:"value"` +} + +// SqlQueryParameterNumberInput is an input type that accepts SqlQueryParameterNumberArgs and SqlQueryParameterNumberOutput values. +// You can construct a concrete instance of `SqlQueryParameterNumberInput` via: // -// GetClusterClusterInfoClusterLogConfDbfsArgs{...} -type GetClusterClusterInfoClusterLogConfDbfsInput interface { +// SqlQueryParameterNumberArgs{...} +type SqlQueryParameterNumberInput interface { pulumi.Input - ToGetClusterClusterInfoClusterLogConfDbfsOutput() GetClusterClusterInfoClusterLogConfDbfsOutput - ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfDbfsOutput + ToSqlQueryParameterNumberOutput() SqlQueryParameterNumberOutput + ToSqlQueryParameterNumberOutputWithContext(context.Context) SqlQueryParameterNumberOutput } -type GetClusterClusterInfoClusterLogConfDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type SqlQueryParameterNumberArgs struct { + // The default value for this parameter. + Value pulumi.Float64Input `pulumi:"value"` } -func (GetClusterClusterInfoClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() +func (SqlQueryParameterNumberArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterNumber)(nil)).Elem() } -func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsOutput() GetClusterClusterInfoClusterLogConfDbfsOutput { - return i.ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(context.Background()) +func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberOutput() SqlQueryParameterNumberOutput { + return i.ToSqlQueryParameterNumberOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfDbfsOutput) +func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberOutputWithContext(ctx context.Context) SqlQueryParameterNumberOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterNumberOutput) } -func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return i.ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { + return i.ToSqlQueryParameterNumberPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfDbfsOutput).ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx) +func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterNumberOutput).ToSqlQueryParameterNumberPtrOutputWithContext(ctx) } -// GetClusterClusterInfoClusterLogConfDbfsPtrInput is an input type that accepts GetClusterClusterInfoClusterLogConfDbfsArgs, GetClusterClusterInfoClusterLogConfDbfsPtr and GetClusterClusterInfoClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfDbfsPtrInput` via: +// SqlQueryParameterNumberPtrInput is an input type that accepts SqlQueryParameterNumberArgs, SqlQueryParameterNumberPtr and SqlQueryParameterNumberPtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterNumberPtrInput` via: // -// GetClusterClusterInfoClusterLogConfDbfsArgs{...} +// SqlQueryParameterNumberArgs{...} // // or: // // nil -type GetClusterClusterInfoClusterLogConfDbfsPtrInput interface { +type SqlQueryParameterNumberPtrInput interface { pulumi.Input - ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput - ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput + ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput + ToSqlQueryParameterNumberPtrOutputWithContext(context.Context) SqlQueryParameterNumberPtrOutput } -type getClusterClusterInfoClusterLogConfDbfsPtrType GetClusterClusterInfoClusterLogConfDbfsArgs +type sqlQueryParameterNumberPtrType SqlQueryParameterNumberArgs -func GetClusterClusterInfoClusterLogConfDbfsPtr(v *GetClusterClusterInfoClusterLogConfDbfsArgs) GetClusterClusterInfoClusterLogConfDbfsPtrInput { - return (*getClusterClusterInfoClusterLogConfDbfsPtrType)(v) +func SqlQueryParameterNumberPtr(v *SqlQueryParameterNumberArgs) SqlQueryParameterNumberPtrInput { + return (*sqlQueryParameterNumberPtrType)(v) } -func (*getClusterClusterInfoClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() +func (*sqlQueryParameterNumberPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterNumber)(nil)).Elem() } -func (i *getClusterClusterInfoClusterLogConfDbfsPtrType) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return i.ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterNumberPtrType) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { + return i.ToSqlQueryParameterNumberPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoClusterLogConfDbfsPtrType) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) +func (i *sqlQueryParameterNumberPtrType) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterNumberPtrOutput) } -type GetClusterClusterInfoClusterLogConfDbfsOutput struct{ *pulumi.OutputState } +type SqlQueryParameterNumberOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() +func (SqlQueryParameterNumberOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterNumber)(nil)).Elem() } -func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsOutput() GetClusterClusterInfoClusterLogConfDbfsOutput { +func (o SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberOutput() SqlQueryParameterNumberOutput { return o } -func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsOutput { +func (o SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberOutputWithContext(ctx context.Context) SqlQueryParameterNumberOutput { return o } -func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return o.ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { + return o.ToSqlQueryParameterNumberPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogConfDbfs) *GetClusterClusterInfoClusterLogConfDbfs { +func (o SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterNumber) *SqlQueryParameterNumber { return &v - }).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) + }).(SqlQueryParameterNumberPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) +// The default value for this parameter. +func (o SqlQueryParameterNumberOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v SqlQueryParameterNumber) float64 { return v.Value }).(pulumi.Float64Output) } -type GetClusterClusterInfoClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterNumberPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() +func (SqlQueryParameterNumberPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterNumber)(nil)).Elem() } -func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { +func (o SqlQueryParameterNumberPtrOutput) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { return o } -func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { +func (o SqlQueryParameterNumberPtrOutput) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { return o } -func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) Elem() GetClusterClusterInfoClusterLogConfDbfsOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfDbfs) GetClusterClusterInfoClusterLogConfDbfs { +func (o SqlQueryParameterNumberPtrOutput) Elem() SqlQueryParameterNumberOutput { + return o.ApplyT(func(v *SqlQueryParameterNumber) SqlQueryParameterNumber { if v != nil { return *v } - var ret GetClusterClusterInfoClusterLogConfDbfs + var ret SqlQueryParameterNumber return ret - }).(GetClusterClusterInfoClusterLogConfDbfsOutput) + }).(SqlQueryParameterNumberOutput) } -func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfDbfs) *string { +// 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.Destination - }).(pulumi.StringPtrOutput) + return &v.Value + }).(pulumi.Float64PtrOutput) } -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"` +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"` } -// GetClusterClusterInfoClusterLogConfS3Input is an input type that accepts GetClusterClusterInfoClusterLogConfS3Args and GetClusterClusterInfoClusterLogConfS3Output values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfS3Input` via: +// SqlQueryParameterQueryInput is an input type that accepts SqlQueryParameterQueryArgs and SqlQueryParameterQueryOutput values. +// You can construct a concrete instance of `SqlQueryParameterQueryInput` via: // -// GetClusterClusterInfoClusterLogConfS3Args{...} -type GetClusterClusterInfoClusterLogConfS3Input interface { +// SqlQueryParameterQueryArgs{...} +type SqlQueryParameterQueryInput interface { pulumi.Input - ToGetClusterClusterInfoClusterLogConfS3Output() GetClusterClusterInfoClusterLogConfS3Output - ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfS3Output + ToSqlQueryParameterQueryOutput() SqlQueryParameterQueryOutput + ToSqlQueryParameterQueryOutputWithContext(context.Context) SqlQueryParameterQueryOutput } -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 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 (GetClusterClusterInfoClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() +func (SqlQueryParameterQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterQuery)(nil)).Elem() } -func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3Output() GetClusterClusterInfoClusterLogConfS3Output { - return i.ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(context.Background()) +func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryOutput() SqlQueryParameterQueryOutput { + return i.ToSqlQueryParameterQueryOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfS3Output) +func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryOutputWithContext(ctx context.Context) SqlQueryParameterQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryOutput) } -func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { - return i.ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { + return i.ToSqlQueryParameterQueryPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfS3Output).ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx) +func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryOutput).ToSqlQueryParameterQueryPtrOutputWithContext(ctx) } -// GetClusterClusterInfoClusterLogConfS3PtrInput is an input type that accepts GetClusterClusterInfoClusterLogConfS3Args, GetClusterClusterInfoClusterLogConfS3Ptr and GetClusterClusterInfoClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfS3PtrInput` via: +// SqlQueryParameterQueryPtrInput is an input type that accepts SqlQueryParameterQueryArgs, SqlQueryParameterQueryPtr and SqlQueryParameterQueryPtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterQueryPtrInput` via: // -// GetClusterClusterInfoClusterLogConfS3Args{...} +// SqlQueryParameterQueryArgs{...} // // or: // // nil -type GetClusterClusterInfoClusterLogConfS3PtrInput interface { +type SqlQueryParameterQueryPtrInput interface { pulumi.Input - ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput - ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput + ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput + ToSqlQueryParameterQueryPtrOutputWithContext(context.Context) SqlQueryParameterQueryPtrOutput } -type getClusterClusterInfoClusterLogConfS3PtrType GetClusterClusterInfoClusterLogConfS3Args +type sqlQueryParameterQueryPtrType SqlQueryParameterQueryArgs -func GetClusterClusterInfoClusterLogConfS3Ptr(v *GetClusterClusterInfoClusterLogConfS3Args) GetClusterClusterInfoClusterLogConfS3PtrInput { - return (*getClusterClusterInfoClusterLogConfS3PtrType)(v) +func SqlQueryParameterQueryPtr(v *SqlQueryParameterQueryArgs) SqlQueryParameterQueryPtrInput { + return (*sqlQueryParameterQueryPtrType)(v) } -func (*getClusterClusterInfoClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() +func (*sqlQueryParameterQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterQuery)(nil)).Elem() } -func (i *getClusterClusterInfoClusterLogConfS3PtrType) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { - return i.ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterQueryPtrType) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { + return i.ToSqlQueryParameterQueryPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoClusterLogConfS3PtrType) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfS3PtrOutput) +func (i *sqlQueryParameterQueryPtrType) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryPtrOutput) } -type GetClusterClusterInfoClusterLogConfS3Output struct{ *pulumi.OutputState } +type SqlQueryParameterQueryOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() +func (SqlQueryParameterQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterQuery)(nil)).Elem() } -func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3Output() GetClusterClusterInfoClusterLogConfS3Output { +func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryOutput() SqlQueryParameterQueryOutput { return o } -func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3Output { +func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryOutputWithContext(ctx context.Context) SqlQueryParameterQueryOutput { return o } -func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { - return o.ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Background()) +func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { + return o.ToSqlQueryParameterQueryPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogConfS3) *GetClusterClusterInfoClusterLogConfS3 { +func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterQuery) *SqlQueryParameterQuery { 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) + }).(SqlQueryParameterQueryPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterQueryOutput) Multiple() SqlQueryParameterQueryMultiplePtrOutput { + return o.ApplyT(func(v SqlQueryParameterQuery) *SqlQueryParameterQueryMultiple { return v.Multiple }).(SqlQueryParameterQueryMultiplePtrOutput) } -func (o GetClusterClusterInfoClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterQueryOutput) QueryId() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterQuery) string { return v.QueryId }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +// 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 GetClusterClusterInfoClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterQueryOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v SqlQueryParameterQuery) []string { return v.Values }).(pulumi.StringArrayOutput) } -type GetClusterClusterInfoClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterQueryPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() +func (SqlQueryParameterQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterQuery)(nil)).Elem() } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { +func (o SqlQueryParameterQueryPtrOutput) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { return o } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { +func (o SqlQueryParameterQueryPtrOutput) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { return o } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) Elem() GetClusterClusterInfoClusterLogConfS3Output { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) GetClusterClusterInfoClusterLogConfS3 { +func (o SqlQueryParameterQueryPtrOutput) Elem() SqlQueryParameterQueryOutput { + return o.ApplyT(func(v *SqlQueryParameterQuery) SqlQueryParameterQuery { if v != nil { return *v } - var ret GetClusterClusterInfoClusterLogConfS3 + var ret SqlQueryParameterQuery return ret - }).(GetClusterClusterInfoClusterLogConfS3Output) -} - -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) + }).(SqlQueryParameterQueryOutput) } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { +func (o SqlQueryParameterQueryPtrOutput) Multiple() SqlQueryParameterQueryMultiplePtrOutput { + return o.ApplyT(func(v *SqlQueryParameterQuery) *SqlQueryParameterQueryMultiple { if v == nil { return nil } - return v.EncryptionType - }).(pulumi.StringPtrOutput) + return v.Multiple + }).(SqlQueryParameterQueryMultiplePtrOutput) } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { +func (o SqlQueryParameterQueryPtrOutput) QueryId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterQuery) *string { if v == nil { return nil } - return v.Endpoint + return &v.QueryId }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { +// 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.KmsKey + return v.Value }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { +func (o SqlQueryParameterQueryPtrOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v *SqlQueryParameterQuery) []string { if v == nil { return nil } - return v.Region - }).(pulumi.StringPtrOutput) + return v.Values + }).(pulumi.StringArrayOutput) } -type GetClusterClusterInfoClusterLogStatus struct { - LastAttempted *int `pulumi:"lastAttempted"` - LastException *string `pulumi:"lastException"` +type SqlQueryParameterQueryMultiple struct { + Prefix *string `pulumi:"prefix"` + Separator string `pulumi:"separator"` + Suffix *string `pulumi:"suffix"` } -// GetClusterClusterInfoClusterLogStatusInput is an input type that accepts GetClusterClusterInfoClusterLogStatusArgs and GetClusterClusterInfoClusterLogStatusOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogStatusInput` via: +// SqlQueryParameterQueryMultipleInput is an input type that accepts SqlQueryParameterQueryMultipleArgs and SqlQueryParameterQueryMultipleOutput values. +// You can construct a concrete instance of `SqlQueryParameterQueryMultipleInput` via: // -// GetClusterClusterInfoClusterLogStatusArgs{...} -type GetClusterClusterInfoClusterLogStatusInput interface { +// SqlQueryParameterQueryMultipleArgs{...} +type SqlQueryParameterQueryMultipleInput interface { pulumi.Input - ToGetClusterClusterInfoClusterLogStatusOutput() GetClusterClusterInfoClusterLogStatusOutput - ToGetClusterClusterInfoClusterLogStatusOutputWithContext(context.Context) GetClusterClusterInfoClusterLogStatusOutput + ToSqlQueryParameterQueryMultipleOutput() SqlQueryParameterQueryMultipleOutput + ToSqlQueryParameterQueryMultipleOutputWithContext(context.Context) SqlQueryParameterQueryMultipleOutput } -type GetClusterClusterInfoClusterLogStatusArgs struct { - LastAttempted pulumi.IntPtrInput `pulumi:"lastAttempted"` - LastException pulumi.StringPtrInput `pulumi:"lastException"` +type SqlQueryParameterQueryMultipleArgs struct { + Prefix pulumi.StringPtrInput `pulumi:"prefix"` + Separator pulumi.StringInput `pulumi:"separator"` + Suffix pulumi.StringPtrInput `pulumi:"suffix"` } -func (GetClusterClusterInfoClusterLogStatusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogStatus)(nil)).Elem() +func (SqlQueryParameterQueryMultipleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterQueryMultiple)(nil)).Elem() } -func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusOutput() GetClusterClusterInfoClusterLogStatusOutput { - return i.ToGetClusterClusterInfoClusterLogStatusOutputWithContext(context.Background()) +func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultipleOutput() SqlQueryParameterQueryMultipleOutput { + return i.ToSqlQueryParameterQueryMultipleOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogStatusOutput) +func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultipleOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultipleOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryMultipleOutput) } -func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { - return i.ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { + return i.ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogStatusOutput).ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx) +func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryMultipleOutput).ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx) } -// GetClusterClusterInfoClusterLogStatusPtrInput is an input type that accepts GetClusterClusterInfoClusterLogStatusArgs, GetClusterClusterInfoClusterLogStatusPtr and GetClusterClusterInfoClusterLogStatusPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogStatusPtrInput` via: +// SqlQueryParameterQueryMultiplePtrInput is an input type that accepts SqlQueryParameterQueryMultipleArgs, SqlQueryParameterQueryMultiplePtr and SqlQueryParameterQueryMultiplePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterQueryMultiplePtrInput` via: // -// GetClusterClusterInfoClusterLogStatusArgs{...} +// SqlQueryParameterQueryMultipleArgs{...} // // or: // // nil -type GetClusterClusterInfoClusterLogStatusPtrInput interface { +type SqlQueryParameterQueryMultiplePtrInput interface { pulumi.Input - ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput - ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput + ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput + ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Context) SqlQueryParameterQueryMultiplePtrOutput } -type getClusterClusterInfoClusterLogStatusPtrType GetClusterClusterInfoClusterLogStatusArgs +type sqlQueryParameterQueryMultiplePtrType SqlQueryParameterQueryMultipleArgs -func GetClusterClusterInfoClusterLogStatusPtr(v *GetClusterClusterInfoClusterLogStatusArgs) GetClusterClusterInfoClusterLogStatusPtrInput { - return (*getClusterClusterInfoClusterLogStatusPtrType)(v) +func SqlQueryParameterQueryMultiplePtr(v *SqlQueryParameterQueryMultipleArgs) SqlQueryParameterQueryMultiplePtrInput { + return (*sqlQueryParameterQueryMultiplePtrType)(v) } -func (*getClusterClusterInfoClusterLogStatusPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogStatus)(nil)).Elem() +func (*sqlQueryParameterQueryMultiplePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterQueryMultiple)(nil)).Elem() } -func (i *getClusterClusterInfoClusterLogStatusPtrType) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { - return i.ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterQueryMultiplePtrType) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { + return i.ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoClusterLogStatusPtrType) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogStatusPtrOutput) +func (i *sqlQueryParameterQueryMultiplePtrType) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryMultiplePtrOutput) } -type GetClusterClusterInfoClusterLogStatusOutput struct{ *pulumi.OutputState } +type SqlQueryParameterQueryMultipleOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoClusterLogStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogStatus)(nil)).Elem() +func (SqlQueryParameterQueryMultipleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterQueryMultiple)(nil)).Elem() } -func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusOutput() GetClusterClusterInfoClusterLogStatusOutput { +func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultipleOutput() SqlQueryParameterQueryMultipleOutput { return o } -func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusOutput { +func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultipleOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultipleOutput { return o } -func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { - return o.ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { + return o.ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogStatus) *GetClusterClusterInfoClusterLogStatus { +func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterQueryMultiple) *SqlQueryParameterQueryMultiple { return &v - }).(GetClusterClusterInfoClusterLogStatusPtrOutput) + }).(SqlQueryParameterQueryMultiplePtrOutput) } -func (o GetClusterClusterInfoClusterLogStatusOutput) LastAttempted() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogStatus) *int { return v.LastAttempted }).(pulumi.IntPtrOutput) +func (o SqlQueryParameterQueryMultipleOutput) Prefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterQueryMultiple) *string { return v.Prefix }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogStatusOutput) LastException() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogStatus) *string { return v.LastException }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterQueryMultipleOutput) Separator() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterQueryMultiple) string { return v.Separator }).(pulumi.StringOutput) } -type GetClusterClusterInfoClusterLogStatusPtrOutput struct{ *pulumi.OutputState } +func (o SqlQueryParameterQueryMultipleOutput) Suffix() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterQueryMultiple) *string { return v.Suffix }).(pulumi.StringPtrOutput) +} -func (GetClusterClusterInfoClusterLogStatusPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogStatus)(nil)).Elem() +type SqlQueryParameterQueryMultiplePtrOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterQueryMultiplePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterQueryMultiple)(nil)).Elem() } -func (o GetClusterClusterInfoClusterLogStatusPtrOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { +func (o SqlQueryParameterQueryMultiplePtrOutput) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { return o } -func (o GetClusterClusterInfoClusterLogStatusPtrOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { +func (o SqlQueryParameterQueryMultiplePtrOutput) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { return o } -func (o GetClusterClusterInfoClusterLogStatusPtrOutput) Elem() GetClusterClusterInfoClusterLogStatusOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogStatus) GetClusterClusterInfoClusterLogStatus { +func (o SqlQueryParameterQueryMultiplePtrOutput) Elem() SqlQueryParameterQueryMultipleOutput { + return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) SqlQueryParameterQueryMultiple { if v != nil { return *v } - var ret GetClusterClusterInfoClusterLogStatus + var ret SqlQueryParameterQueryMultiple return ret - }).(GetClusterClusterInfoClusterLogStatusOutput) + }).(SqlQueryParameterQueryMultipleOutput) } -func (o GetClusterClusterInfoClusterLogStatusPtrOutput) LastAttempted() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogStatus) *int { +func (o SqlQueryParameterQueryMultiplePtrOutput) Prefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) *string { if v == nil { return nil } - return v.LastAttempted - }).(pulumi.IntPtrOutput) + return v.Prefix + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogStatusPtrOutput) LastException() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogStatus) *string { +func (o SqlQueryParameterQueryMultiplePtrOutput) Separator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) *string { if v == nil { return nil } - return v.LastException + return &v.Separator }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoDockerImage struct { - BasicAuth *GetClusterClusterInfoDockerImageBasicAuth `pulumi:"basicAuth"` - Url string `pulumi:"url"` +func (o SqlQueryParameterQueryMultiplePtrOutput) Suffix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) *string { + if v == nil { + return nil + } + return v.Suffix + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoDockerImageInput is an input type that accepts GetClusterClusterInfoDockerImageArgs and GetClusterClusterInfoDockerImageOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDockerImageInput` via: +type SqlQueryParameterText struct { + // The default value for this parameter. + Value string `pulumi:"value"` +} + +// SqlQueryParameterTextInput is an input type that accepts SqlQueryParameterTextArgs and SqlQueryParameterTextOutput values. +// You can construct a concrete instance of `SqlQueryParameterTextInput` via: // -// GetClusterClusterInfoDockerImageArgs{...} -type GetClusterClusterInfoDockerImageInput interface { +// SqlQueryParameterTextArgs{...} +type SqlQueryParameterTextInput interface { pulumi.Input - ToGetClusterClusterInfoDockerImageOutput() GetClusterClusterInfoDockerImageOutput - ToGetClusterClusterInfoDockerImageOutputWithContext(context.Context) GetClusterClusterInfoDockerImageOutput + ToSqlQueryParameterTextOutput() SqlQueryParameterTextOutput + ToSqlQueryParameterTextOutputWithContext(context.Context) SqlQueryParameterTextOutput } -type GetClusterClusterInfoDockerImageArgs struct { - BasicAuth GetClusterClusterInfoDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - Url pulumi.StringInput `pulumi:"url"` +type SqlQueryParameterTextArgs struct { + // The default value for this parameter. + Value pulumi.StringInput `pulumi:"value"` } -func (GetClusterClusterInfoDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDockerImage)(nil)).Elem() +func (SqlQueryParameterTextArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterText)(nil)).Elem() } -func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImageOutput() GetClusterClusterInfoDockerImageOutput { - return i.ToGetClusterClusterInfoDockerImageOutputWithContext(context.Background()) +func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextOutput() SqlQueryParameterTextOutput { + return i.ToSqlQueryParameterTextOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImageOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageOutput) +func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextOutputWithContext(ctx context.Context) SqlQueryParameterTextOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterTextOutput) } -func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { - return i.ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Background()) +func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { + return i.ToSqlQueryParameterTextPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageOutput).ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx) +func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterTextOutput).ToSqlQueryParameterTextPtrOutputWithContext(ctx) } -// GetClusterClusterInfoDockerImagePtrInput is an input type that accepts GetClusterClusterInfoDockerImageArgs, GetClusterClusterInfoDockerImagePtr and GetClusterClusterInfoDockerImagePtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDockerImagePtrInput` via: +// SqlQueryParameterTextPtrInput is an input type that accepts SqlQueryParameterTextArgs, SqlQueryParameterTextPtr and SqlQueryParameterTextPtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterTextPtrInput` via: // -// GetClusterClusterInfoDockerImageArgs{...} +// SqlQueryParameterTextArgs{...} // // or: // // nil -type GetClusterClusterInfoDockerImagePtrInput interface { +type SqlQueryParameterTextPtrInput interface { pulumi.Input - ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput - ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Context) GetClusterClusterInfoDockerImagePtrOutput + ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput + ToSqlQueryParameterTextPtrOutputWithContext(context.Context) SqlQueryParameterTextPtrOutput } -type getClusterClusterInfoDockerImagePtrType GetClusterClusterInfoDockerImageArgs +type sqlQueryParameterTextPtrType SqlQueryParameterTextArgs -func GetClusterClusterInfoDockerImagePtr(v *GetClusterClusterInfoDockerImageArgs) GetClusterClusterInfoDockerImagePtrInput { - return (*getClusterClusterInfoDockerImagePtrType)(v) +func SqlQueryParameterTextPtr(v *SqlQueryParameterTextArgs) SqlQueryParameterTextPtrInput { + return (*sqlQueryParameterTextPtrType)(v) } -func (*getClusterClusterInfoDockerImagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDockerImage)(nil)).Elem() +func (*sqlQueryParameterTextPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterText)(nil)).Elem() } -func (i *getClusterClusterInfoDockerImagePtrType) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { - return i.ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterTextPtrType) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { + return i.ToSqlQueryParameterTextPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoDockerImagePtrType) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImagePtrOutput) +func (i *sqlQueryParameterTextPtrType) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterTextPtrOutput) } -type GetClusterClusterInfoDockerImageOutput struct{ *pulumi.OutputState } +type SqlQueryParameterTextOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDockerImage)(nil)).Elem() +func (SqlQueryParameterTextOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterText)(nil)).Elem() } -func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImageOutput() GetClusterClusterInfoDockerImageOutput { +func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextOutput() SqlQueryParameterTextOutput { return o } -func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImageOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageOutput { +func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextOutputWithContext(ctx context.Context) SqlQueryParameterTextOutput { return o } -func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { - return o.ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Background()) +func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { + return o.ToSqlQueryParameterTextPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDockerImage) *GetClusterClusterInfoDockerImage { +func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterText) *SqlQueryParameterText { return &v - }).(GetClusterClusterInfoDockerImagePtrOutput) -} - -func (o GetClusterClusterInfoDockerImageOutput) BasicAuth() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDockerImage) *GetClusterClusterInfoDockerImageBasicAuth { - return v.BasicAuth - }).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) + }).(SqlQueryParameterTextPtrOutput) } -func (o GetClusterClusterInfoDockerImageOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoDockerImage) string { return v.Url }).(pulumi.StringOutput) +// The default value for this parameter. +func (o SqlQueryParameterTextOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterText) string { return v.Value }).(pulumi.StringOutput) } -type GetClusterClusterInfoDockerImagePtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterTextPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoDockerImagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDockerImage)(nil)).Elem() +func (SqlQueryParameterTextPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterText)(nil)).Elem() } -func (o GetClusterClusterInfoDockerImagePtrOutput) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { +func (o SqlQueryParameterTextPtrOutput) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { return o } -func (o GetClusterClusterInfoDockerImagePtrOutput) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { +func (o SqlQueryParameterTextPtrOutput) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { return o } -func (o GetClusterClusterInfoDockerImagePtrOutput) Elem() GetClusterClusterInfoDockerImageOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDockerImage) GetClusterClusterInfoDockerImage { +func (o SqlQueryParameterTextPtrOutput) Elem() SqlQueryParameterTextOutput { + return o.ApplyT(func(v *SqlQueryParameterText) SqlQueryParameterText { if v != nil { return *v } - var ret GetClusterClusterInfoDockerImage + var ret SqlQueryParameterText return ret - }).(GetClusterClusterInfoDockerImageOutput) -} - -func (o GetClusterClusterInfoDockerImagePtrOutput) BasicAuth() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDockerImage) *GetClusterClusterInfoDockerImageBasicAuth { - if v == nil { - return nil - } - return v.BasicAuth - }).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) + }).(SqlQueryParameterTextOutput) } -func (o GetClusterClusterInfoDockerImagePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDockerImage) *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.Url + return &v.Value }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +type SqlQuerySchedule struct { + Continuous *SqlQueryScheduleContinuous `pulumi:"continuous"` + Daily *SqlQueryScheduleDaily `pulumi:"daily"` + Weekly *SqlQueryScheduleWeekly `pulumi:"weekly"` } -// GetClusterClusterInfoDockerImageBasicAuthInput is an input type that accepts GetClusterClusterInfoDockerImageBasicAuthArgs and GetClusterClusterInfoDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDockerImageBasicAuthInput` via: +// SqlQueryScheduleInput is an input type that accepts SqlQueryScheduleArgs and SqlQueryScheduleOutput values. +// You can construct a concrete instance of `SqlQueryScheduleInput` via: // -// GetClusterClusterInfoDockerImageBasicAuthArgs{...} -type GetClusterClusterInfoDockerImageBasicAuthInput interface { +// SqlQueryScheduleArgs{...} +type SqlQueryScheduleInput interface { pulumi.Input - ToGetClusterClusterInfoDockerImageBasicAuthOutput() GetClusterClusterInfoDockerImageBasicAuthOutput - ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(context.Context) GetClusterClusterInfoDockerImageBasicAuthOutput + ToSqlQueryScheduleOutput() SqlQueryScheduleOutput + ToSqlQueryScheduleOutputWithContext(context.Context) SqlQueryScheduleOutput } -type GetClusterClusterInfoDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` +type SqlQueryScheduleArgs struct { + Continuous SqlQueryScheduleContinuousPtrInput `pulumi:"continuous"` + Daily SqlQueryScheduleDailyPtrInput `pulumi:"daily"` + Weekly SqlQueryScheduleWeeklyPtrInput `pulumi:"weekly"` } -func (GetClusterClusterInfoDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() +func (SqlQueryScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQuerySchedule)(nil)).Elem() } -func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthOutput() GetClusterClusterInfoDockerImageBasicAuthOutput { - return i.ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(context.Background()) +func (i SqlQueryScheduleArgs) ToSqlQueryScheduleOutput() SqlQueryScheduleOutput { + return i.ToSqlQueryScheduleOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageBasicAuthOutput) +func (i SqlQueryScheduleArgs) ToSqlQueryScheduleOutputWithContext(ctx context.Context) SqlQueryScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleOutput) } -func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return i.ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i SqlQueryScheduleArgs) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { + return i.ToSqlQuerySchedulePtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageBasicAuthOutput).ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i SqlQueryScheduleArgs) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleOutput).ToSqlQuerySchedulePtrOutputWithContext(ctx) } -// GetClusterClusterInfoDockerImageBasicAuthPtrInput is an input type that accepts GetClusterClusterInfoDockerImageBasicAuthArgs, GetClusterClusterInfoDockerImageBasicAuthPtr and GetClusterClusterInfoDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDockerImageBasicAuthPtrInput` via: +// SqlQuerySchedulePtrInput is an input type that accepts SqlQueryScheduleArgs, SqlQuerySchedulePtr and SqlQuerySchedulePtrOutput values. +// You can construct a concrete instance of `SqlQuerySchedulePtrInput` via: // -// GetClusterClusterInfoDockerImageBasicAuthArgs{...} +// SqlQueryScheduleArgs{...} // // or: // // nil -type GetClusterClusterInfoDockerImageBasicAuthPtrInput interface { +type SqlQuerySchedulePtrInput interface { pulumi.Input - ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput - ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput + ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput + ToSqlQuerySchedulePtrOutputWithContext(context.Context) SqlQuerySchedulePtrOutput } -type getClusterClusterInfoDockerImageBasicAuthPtrType GetClusterClusterInfoDockerImageBasicAuthArgs +type sqlQuerySchedulePtrType SqlQueryScheduleArgs -func GetClusterClusterInfoDockerImageBasicAuthPtr(v *GetClusterClusterInfoDockerImageBasicAuthArgs) GetClusterClusterInfoDockerImageBasicAuthPtrInput { - return (*getClusterClusterInfoDockerImageBasicAuthPtrType)(v) +func SqlQuerySchedulePtr(v *SqlQueryScheduleArgs) SqlQuerySchedulePtrInput { + return (*sqlQuerySchedulePtrType)(v) } -func (*getClusterClusterInfoDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() +func (*sqlQuerySchedulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQuerySchedule)(nil)).Elem() } -func (i *getClusterClusterInfoDockerImageBasicAuthPtrType) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return i.ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i *sqlQuerySchedulePtrType) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { + return i.ToSqlQuerySchedulePtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoDockerImageBasicAuthPtrType) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) +func (i *sqlQuerySchedulePtrType) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQuerySchedulePtrOutput) } -type GetClusterClusterInfoDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type SqlQueryScheduleOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() +func (SqlQueryScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQuerySchedule)(nil)).Elem() } -func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthOutput() GetClusterClusterInfoDockerImageBasicAuthOutput { +func (o SqlQueryScheduleOutput) ToSqlQueryScheduleOutput() SqlQueryScheduleOutput { return o } -func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthOutput { +func (o SqlQueryScheduleOutput) ToSqlQueryScheduleOutputWithContext(ctx context.Context) SqlQueryScheduleOutput { return o } -func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return o.ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o SqlQueryScheduleOutput) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { + return o.ToSqlQuerySchedulePtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDockerImageBasicAuth) *GetClusterClusterInfoDockerImageBasicAuth { +func (o SqlQueryScheduleOutput) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQuerySchedule) *SqlQuerySchedule { return &v - }).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) + }).(SqlQuerySchedulePtrOutput) } -func (o GetClusterClusterInfoDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) +func (o SqlQueryScheduleOutput) Continuous() SqlQueryScheduleContinuousPtrOutput { + return o.ApplyT(func(v SqlQuerySchedule) *SqlQueryScheduleContinuous { return v.Continuous }).(SqlQueryScheduleContinuousPtrOutput) } -func (o GetClusterClusterInfoDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +func (o SqlQueryScheduleOutput) Daily() SqlQueryScheduleDailyPtrOutput { + return o.ApplyT(func(v SqlQuerySchedule) *SqlQueryScheduleDaily { return v.Daily }).(SqlQueryScheduleDailyPtrOutput) } -type GetClusterClusterInfoDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } +func (o SqlQueryScheduleOutput) Weekly() SqlQueryScheduleWeeklyPtrOutput { + return o.ApplyT(func(v SqlQuerySchedule) *SqlQueryScheduleWeekly { return v.Weekly }).(SqlQueryScheduleWeeklyPtrOutput) +} -func (GetClusterClusterInfoDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() +type SqlQuerySchedulePtrOutput struct{ *pulumi.OutputState } + +func (SqlQuerySchedulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQuerySchedule)(nil)).Elem() } -func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { +func (o SqlQuerySchedulePtrOutput) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { return o } -func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { +func (o SqlQuerySchedulePtrOutput) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { return o } -func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) Elem() GetClusterClusterInfoDockerImageBasicAuthOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDockerImageBasicAuth) GetClusterClusterInfoDockerImageBasicAuth { +func (o SqlQuerySchedulePtrOutput) Elem() SqlQueryScheduleOutput { + return o.ApplyT(func(v *SqlQuerySchedule) SqlQuerySchedule { if v != nil { return *v } - var ret GetClusterClusterInfoDockerImageBasicAuth + var ret SqlQuerySchedule return ret - }).(GetClusterClusterInfoDockerImageBasicAuthOutput) + }).(SqlQueryScheduleOutput) } -func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDockerImageBasicAuth) *string { +func (o SqlQuerySchedulePtrOutput) Continuous() SqlQueryScheduleContinuousPtrOutput { + return o.ApplyT(func(v *SqlQuerySchedule) *SqlQueryScheduleContinuous { if v == nil { return nil } - return &v.Password - }).(pulumi.StringPtrOutput) + return v.Continuous + }).(SqlQueryScheduleContinuousPtrOutput) } -func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDockerImageBasicAuth) *string { +func (o SqlQuerySchedulePtrOutput) Daily() SqlQueryScheduleDailyPtrOutput { + return o.ApplyT(func(v *SqlQuerySchedule) *SqlQueryScheduleDaily { if v == nil { return nil } - return &v.Username - }).(pulumi.StringPtrOutput) + return v.Daily + }).(SqlQueryScheduleDailyPtrOutput) } -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"` +func (o SqlQuerySchedulePtrOutput) Weekly() SqlQueryScheduleWeeklyPtrOutput { + return o.ApplyT(func(v *SqlQuerySchedule) *SqlQueryScheduleWeekly { + if v == nil { + return nil + } + return v.Weekly + }).(SqlQueryScheduleWeeklyPtrOutput) } -// GetClusterClusterInfoDriverInput is an input type that accepts GetClusterClusterInfoDriverArgs and GetClusterClusterInfoDriverOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDriverInput` via: +type SqlQueryScheduleContinuous struct { + IntervalSeconds int `pulumi:"intervalSeconds"` + UntilDate *string `pulumi:"untilDate"` +} + +// SqlQueryScheduleContinuousInput is an input type that accepts SqlQueryScheduleContinuousArgs and SqlQueryScheduleContinuousOutput values. +// You can construct a concrete instance of `SqlQueryScheduleContinuousInput` via: // -// GetClusterClusterInfoDriverArgs{...} -type GetClusterClusterInfoDriverInput interface { +// SqlQueryScheduleContinuousArgs{...} +type SqlQueryScheduleContinuousInput interface { pulumi.Input - ToGetClusterClusterInfoDriverOutput() GetClusterClusterInfoDriverOutput - ToGetClusterClusterInfoDriverOutputWithContext(context.Context) GetClusterClusterInfoDriverOutput + ToSqlQueryScheduleContinuousOutput() SqlQueryScheduleContinuousOutput + ToSqlQueryScheduleContinuousOutputWithContext(context.Context) SqlQueryScheduleContinuousOutput } -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 SqlQueryScheduleContinuousArgs struct { + IntervalSeconds pulumi.IntInput `pulumi:"intervalSeconds"` + UntilDate pulumi.StringPtrInput `pulumi:"untilDate"` } -func (GetClusterClusterInfoDriverArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDriver)(nil)).Elem() +func (SqlQueryScheduleContinuousArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryScheduleContinuous)(nil)).Elem() } -func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverOutput() GetClusterClusterInfoDriverOutput { - return i.ToGetClusterClusterInfoDriverOutputWithContext(context.Background()) +func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousOutput() SqlQueryScheduleContinuousOutput { + return i.ToSqlQueryScheduleContinuousOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverOutput) +func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleContinuousOutput) } -func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { - return i.ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Background()) +func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { + return i.ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverOutput).ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx) +func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleContinuousOutput).ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx) } -// GetClusterClusterInfoDriverPtrInput is an input type that accepts GetClusterClusterInfoDriverArgs, GetClusterClusterInfoDriverPtr and GetClusterClusterInfoDriverPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDriverPtrInput` via: +// SqlQueryScheduleContinuousPtrInput is an input type that accepts SqlQueryScheduleContinuousArgs, SqlQueryScheduleContinuousPtr and SqlQueryScheduleContinuousPtrOutput values. +// You can construct a concrete instance of `SqlQueryScheduleContinuousPtrInput` via: // -// GetClusterClusterInfoDriverArgs{...} +// SqlQueryScheduleContinuousArgs{...} // // or: // // nil -type GetClusterClusterInfoDriverPtrInput interface { +type SqlQueryScheduleContinuousPtrInput interface { pulumi.Input - ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput - ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Context) GetClusterClusterInfoDriverPtrOutput + ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput + ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Context) SqlQueryScheduleContinuousPtrOutput } -type getClusterClusterInfoDriverPtrType GetClusterClusterInfoDriverArgs +type sqlQueryScheduleContinuousPtrType SqlQueryScheduleContinuousArgs -func GetClusterClusterInfoDriverPtr(v *GetClusterClusterInfoDriverArgs) GetClusterClusterInfoDriverPtrInput { - return (*getClusterClusterInfoDriverPtrType)(v) +func SqlQueryScheduleContinuousPtr(v *SqlQueryScheduleContinuousArgs) SqlQueryScheduleContinuousPtrInput { + return (*sqlQueryScheduleContinuousPtrType)(v) } -func (*getClusterClusterInfoDriverPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDriver)(nil)).Elem() +func (*sqlQueryScheduleContinuousPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryScheduleContinuous)(nil)).Elem() } -func (i *getClusterClusterInfoDriverPtrType) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { - return i.ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Background()) +func (i *sqlQueryScheduleContinuousPtrType) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { + return i.ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoDriverPtrType) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverPtrOutput) +func (i *sqlQueryScheduleContinuousPtrType) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleContinuousPtrOutput) } -type GetClusterClusterInfoDriverOutput struct{ *pulumi.OutputState } +type SqlQueryScheduleContinuousOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoDriverOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDriver)(nil)).Elem() +func (SqlQueryScheduleContinuousOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryScheduleContinuous)(nil)).Elem() } -func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverOutput() GetClusterClusterInfoDriverOutput { +func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousOutput() SqlQueryScheduleContinuousOutput { return o } -func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverOutput { +func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousOutput { return o } -func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { - return o.ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Background()) +func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { + return o.ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDriver) *GetClusterClusterInfoDriver { +func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryScheduleContinuous) *SqlQueryScheduleContinuous { return &v - }).(GetClusterClusterInfoDriverPtrOutput) -} - -func (o GetClusterClusterInfoDriverOutput) HostPrivateIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.HostPrivateIp }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoDriverOutput) InstanceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.InstanceId }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoDriverOutput) NodeAwsAttributes() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriver) *GetClusterClusterInfoDriverNodeAwsAttributes { - return v.NodeAwsAttributes - }).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) -} - -func (o GetClusterClusterInfoDriverOutput) NodeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.NodeId }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoDriverOutput) PrivateIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.PrivateIp }).(pulumi.StringPtrOutput) + }).(SqlQueryScheduleContinuousPtrOutput) } -func (o GetClusterClusterInfoDriverOutput) PublicDns() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.PublicDns }).(pulumi.StringPtrOutput) +func (o SqlQueryScheduleContinuousOutput) IntervalSeconds() pulumi.IntOutput { + return o.ApplyT(func(v SqlQueryScheduleContinuous) int { return v.IntervalSeconds }).(pulumi.IntOutput) } -func (o GetClusterClusterInfoDriverOutput) StartTimestamp() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriver) *int { return v.StartTimestamp }).(pulumi.IntPtrOutput) +func (o SqlQueryScheduleContinuousOutput) UntilDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryScheduleContinuous) *string { return v.UntilDate }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoDriverPtrOutput struct{ *pulumi.OutputState } +type SqlQueryScheduleContinuousPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoDriverPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDriver)(nil)).Elem() +func (SqlQueryScheduleContinuousPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryScheduleContinuous)(nil)).Elem() } -func (o GetClusterClusterInfoDriverPtrOutput) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { +func (o SqlQueryScheduleContinuousPtrOutput) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { return o } -func (o GetClusterClusterInfoDriverPtrOutput) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { +func (o SqlQueryScheduleContinuousPtrOutput) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { return o } -func (o GetClusterClusterInfoDriverPtrOutput) Elem() GetClusterClusterInfoDriverOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriver) GetClusterClusterInfoDriver { +func (o SqlQueryScheduleContinuousPtrOutput) Elem() SqlQueryScheduleContinuousOutput { + return o.ApplyT(func(v *SqlQueryScheduleContinuous) SqlQueryScheduleContinuous { if v != nil { return *v } - var ret GetClusterClusterInfoDriver + var ret SqlQueryScheduleContinuous return ret - }).(GetClusterClusterInfoDriverOutput) -} - -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 GetClusterClusterInfoDriverPtrOutput) InstanceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { - if v == nil { - return nil - } - return v.InstanceId - }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoDriverPtrOutput) NodeAwsAttributes() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriver) *GetClusterClusterInfoDriverNodeAwsAttributes { - if v == nil { - return nil - } - 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) + }).(SqlQueryScheduleContinuousOutput) } -func (o GetClusterClusterInfoDriverPtrOutput) PrivateIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { +func (o SqlQueryScheduleContinuousPtrOutput) IntervalSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleContinuous) *int { if v == nil { return nil } - return v.PrivateIp - }).(pulumi.StringPtrOutput) + return &v.IntervalSeconds + }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoDriverPtrOutput) PublicDns() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { +func (o SqlQueryScheduleContinuousPtrOutput) UntilDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleContinuous) *string { if v == nil { return nil } - return v.PublicDns + return v.UntilDate }).(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"` +type SqlQueryScheduleDaily struct { + IntervalDays int `pulumi:"intervalDays"` + TimeOfDay string `pulumi:"timeOfDay"` + UntilDate *string `pulumi:"untilDate"` } -// GetClusterClusterInfoDriverNodeAwsAttributesInput is an input type that accepts GetClusterClusterInfoDriverNodeAwsAttributesArgs and GetClusterClusterInfoDriverNodeAwsAttributesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDriverNodeAwsAttributesInput` via: +// SqlQueryScheduleDailyInput is an input type that accepts SqlQueryScheduleDailyArgs and SqlQueryScheduleDailyOutput values. +// You can construct a concrete instance of `SqlQueryScheduleDailyInput` via: // -// GetClusterClusterInfoDriverNodeAwsAttributesArgs{...} -type GetClusterClusterInfoDriverNodeAwsAttributesInput interface { +// SqlQueryScheduleDailyArgs{...} +type SqlQueryScheduleDailyInput interface { pulumi.Input - ToGetClusterClusterInfoDriverNodeAwsAttributesOutput() GetClusterClusterInfoDriverNodeAwsAttributesOutput - ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(context.Context) GetClusterClusterInfoDriverNodeAwsAttributesOutput + ToSqlQueryScheduleDailyOutput() SqlQueryScheduleDailyOutput + ToSqlQueryScheduleDailyOutputWithContext(context.Context) SqlQueryScheduleDailyOutput } -type GetClusterClusterInfoDriverNodeAwsAttributesArgs struct { - IsSpot pulumi.BoolPtrInput `pulumi:"isSpot"` +type SqlQueryScheduleDailyArgs struct { + IntervalDays pulumi.IntInput `pulumi:"intervalDays"` + TimeOfDay pulumi.StringInput `pulumi:"timeOfDay"` + UntilDate pulumi.StringPtrInput `pulumi:"untilDate"` } -func (GetClusterClusterInfoDriverNodeAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() +func (SqlQueryScheduleDailyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryScheduleDaily)(nil)).Elem() } -func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesOutput() GetClusterClusterInfoDriverNodeAwsAttributesOutput { - return i.ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(context.Background()) +func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyOutput() SqlQueryScheduleDailyOutput { + return i.ToSqlQueryScheduleDailyOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverNodeAwsAttributesOutput) +func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyOutputWithContext(ctx context.Context) SqlQueryScheduleDailyOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleDailyOutput) } -func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return i.ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Background()) +func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { + return i.ToSqlQueryScheduleDailyPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverNodeAwsAttributesOutput).ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx) +func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleDailyOutput).ToSqlQueryScheduleDailyPtrOutputWithContext(ctx) } -// GetClusterClusterInfoDriverNodeAwsAttributesPtrInput is an input type that accepts GetClusterClusterInfoDriverNodeAwsAttributesArgs, GetClusterClusterInfoDriverNodeAwsAttributesPtr and GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDriverNodeAwsAttributesPtrInput` via: +// SqlQueryScheduleDailyPtrInput is an input type that accepts SqlQueryScheduleDailyArgs, SqlQueryScheduleDailyPtr and SqlQueryScheduleDailyPtrOutput values. +// You can construct a concrete instance of `SqlQueryScheduleDailyPtrInput` via: // -// GetClusterClusterInfoDriverNodeAwsAttributesArgs{...} +// SqlQueryScheduleDailyArgs{...} // // or: // // nil -type GetClusterClusterInfoDriverNodeAwsAttributesPtrInput interface { +type SqlQueryScheduleDailyPtrInput interface { pulumi.Input - ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput - ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput + ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput + ToSqlQueryScheduleDailyPtrOutputWithContext(context.Context) SqlQueryScheduleDailyPtrOutput } -type getClusterClusterInfoDriverNodeAwsAttributesPtrType GetClusterClusterInfoDriverNodeAwsAttributesArgs +type sqlQueryScheduleDailyPtrType SqlQueryScheduleDailyArgs -func GetClusterClusterInfoDriverNodeAwsAttributesPtr(v *GetClusterClusterInfoDriverNodeAwsAttributesArgs) GetClusterClusterInfoDriverNodeAwsAttributesPtrInput { - return (*getClusterClusterInfoDriverNodeAwsAttributesPtrType)(v) +func SqlQueryScheduleDailyPtr(v *SqlQueryScheduleDailyArgs) SqlQueryScheduleDailyPtrInput { + return (*sqlQueryScheduleDailyPtrType)(v) } -func (*getClusterClusterInfoDriverNodeAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() +func (*sqlQueryScheduleDailyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryScheduleDaily)(nil)).Elem() } -func (i *getClusterClusterInfoDriverNodeAwsAttributesPtrType) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return i.ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Background()) +func (i *sqlQueryScheduleDailyPtrType) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { + return i.ToSqlQueryScheduleDailyPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoDriverNodeAwsAttributesPtrType) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) +func (i *sqlQueryScheduleDailyPtrType) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleDailyPtrOutput) } -type GetClusterClusterInfoDriverNodeAwsAttributesOutput struct{ *pulumi.OutputState } +type SqlQueryScheduleDailyOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoDriverNodeAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() +func (SqlQueryScheduleDailyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryScheduleDaily)(nil)).Elem() } -func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesOutput() GetClusterClusterInfoDriverNodeAwsAttributesOutput { +func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyOutput() SqlQueryScheduleDailyOutput { return o } -func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesOutput { +func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyOutputWithContext(ctx context.Context) SqlQueryScheduleDailyOutput { return o } -func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return o.ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Background()) +func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { + return o.ToSqlQueryScheduleDailyPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDriverNodeAwsAttributes) *GetClusterClusterInfoDriverNodeAwsAttributes { +func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryScheduleDaily) *SqlQueryScheduleDaily { return &v - }).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) + }).(SqlQueryScheduleDailyPtrOutput) } -func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) IsSpot() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriverNodeAwsAttributes) *bool { return v.IsSpot }).(pulumi.BoolPtrOutput) +func (o SqlQueryScheduleDailyOutput) IntervalDays() pulumi.IntOutput { + return o.ApplyT(func(v SqlQueryScheduleDaily) int { return v.IntervalDays }).(pulumi.IntOutput) } -type GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput struct{ *pulumi.OutputState } +func (o SqlQueryScheduleDailyOutput) TimeOfDay() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryScheduleDaily) string { return v.TimeOfDay }).(pulumi.StringOutput) +} -func (GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() +func (o SqlQueryScheduleDailyOutput) UntilDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryScheduleDaily) *string { return v.UntilDate }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { +type SqlQueryScheduleDailyPtrOutput struct{ *pulumi.OutputState } + +func (SqlQueryScheduleDailyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryScheduleDaily)(nil)).Elem() +} + +func (o SqlQueryScheduleDailyPtrOutput) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { return o } -func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { +func (o SqlQueryScheduleDailyPtrOutput) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { return o } -func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) Elem() GetClusterClusterInfoDriverNodeAwsAttributesOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriverNodeAwsAttributes) GetClusterClusterInfoDriverNodeAwsAttributes { +func (o SqlQueryScheduleDailyPtrOutput) Elem() SqlQueryScheduleDailyOutput { + return o.ApplyT(func(v *SqlQueryScheduleDaily) SqlQueryScheduleDaily { if v != nil { return *v } - var ret GetClusterClusterInfoDriverNodeAwsAttributes + var ret SqlQueryScheduleDaily return ret - }).(GetClusterClusterInfoDriverNodeAwsAttributesOutput) + }).(SqlQueryScheduleDailyOutput) } -func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) IsSpot() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriverNodeAwsAttributes) *bool { +func (o SqlQueryScheduleDailyPtrOutput) IntervalDays() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleDaily) *int { if v == nil { return nil } - return v.IsSpot - }).(pulumi.BoolPtrOutput) + return &v.IntervalDays + }).(pulumi.IntPtrOutput) } -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"` +func (o SqlQueryScheduleDailyPtrOutput) TimeOfDay() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleDaily) *string { + if v == nil { + return nil + } + return &v.TimeOfDay + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoExecutorInput is an input type that accepts GetClusterClusterInfoExecutorArgs and GetClusterClusterInfoExecutorOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoExecutorInput` via: +func (o SqlQueryScheduleDailyPtrOutput) UntilDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleDaily) *string { + if v == nil { + return nil + } + return v.UntilDate + }).(pulumi.StringPtrOutput) +} + +type SqlQueryScheduleWeekly struct { + DayOfWeek string `pulumi:"dayOfWeek"` + IntervalWeeks int `pulumi:"intervalWeeks"` + TimeOfDay string `pulumi:"timeOfDay"` + UntilDate *string `pulumi:"untilDate"` +} + +// SqlQueryScheduleWeeklyInput is an input type that accepts SqlQueryScheduleWeeklyArgs and SqlQueryScheduleWeeklyOutput values. +// You can construct a concrete instance of `SqlQueryScheduleWeeklyInput` via: // -// GetClusterClusterInfoExecutorArgs{...} -type GetClusterClusterInfoExecutorInput interface { +// SqlQueryScheduleWeeklyArgs{...} +type SqlQueryScheduleWeeklyInput interface { pulumi.Input - ToGetClusterClusterInfoExecutorOutput() GetClusterClusterInfoExecutorOutput - ToGetClusterClusterInfoExecutorOutputWithContext(context.Context) GetClusterClusterInfoExecutorOutput + ToSqlQueryScheduleWeeklyOutput() SqlQueryScheduleWeeklyOutput + ToSqlQueryScheduleWeeklyOutputWithContext(context.Context) SqlQueryScheduleWeeklyOutput } -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 SqlQueryScheduleWeeklyArgs struct { + DayOfWeek pulumi.StringInput `pulumi:"dayOfWeek"` + IntervalWeeks pulumi.IntInput `pulumi:"intervalWeeks"` + TimeOfDay pulumi.StringInput `pulumi:"timeOfDay"` + UntilDate pulumi.StringPtrInput `pulumi:"untilDate"` } -func (GetClusterClusterInfoExecutorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoExecutor)(nil)).Elem() +func (SqlQueryScheduleWeeklyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryScheduleWeekly)(nil)).Elem() } -func (i GetClusterClusterInfoExecutorArgs) ToGetClusterClusterInfoExecutorOutput() GetClusterClusterInfoExecutorOutput { - return i.ToGetClusterClusterInfoExecutorOutputWithContext(context.Background()) +func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyOutput() SqlQueryScheduleWeeklyOutput { + return i.ToSqlQueryScheduleWeeklyOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoExecutorArgs) ToGetClusterClusterInfoExecutorOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorOutput) +func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleWeeklyOutput) } -// 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 +func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { + return i.ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Background()) +} - ToGetClusterClusterInfoExecutorArrayOutput() GetClusterClusterInfoExecutorArrayOutput - ToGetClusterClusterInfoExecutorArrayOutputWithContext(context.Context) GetClusterClusterInfoExecutorArrayOutput +func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleWeeklyOutput).ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx) } -type GetClusterClusterInfoExecutorArray []GetClusterClusterInfoExecutorInput +// 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 -func (GetClusterClusterInfoExecutorArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterClusterInfoExecutor)(nil)).Elem() + ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput + ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Context) SqlQueryScheduleWeeklyPtrOutput } -func (i GetClusterClusterInfoExecutorArray) ToGetClusterClusterInfoExecutorArrayOutput() GetClusterClusterInfoExecutorArrayOutput { - return i.ToGetClusterClusterInfoExecutorArrayOutputWithContext(context.Background()) +type sqlQueryScheduleWeeklyPtrType SqlQueryScheduleWeeklyArgs + +func SqlQueryScheduleWeeklyPtr(v *SqlQueryScheduleWeeklyArgs) SqlQueryScheduleWeeklyPtrInput { + return (*sqlQueryScheduleWeeklyPtrType)(v) } -func (i GetClusterClusterInfoExecutorArray) ToGetClusterClusterInfoExecutorArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorArrayOutput) +func (*sqlQueryScheduleWeeklyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryScheduleWeekly)(nil)).Elem() } -type GetClusterClusterInfoExecutorOutput struct{ *pulumi.OutputState } +func (i *sqlQueryScheduleWeeklyPtrType) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { + return i.ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Background()) +} -func (GetClusterClusterInfoExecutorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoExecutor)(nil)).Elem() +func (i *sqlQueryScheduleWeeklyPtrType) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleWeeklyPtrOutput) } -func (o GetClusterClusterInfoExecutorOutput) ToGetClusterClusterInfoExecutorOutput() GetClusterClusterInfoExecutorOutput { - return o +type SqlQueryScheduleWeeklyOutput struct{ *pulumi.OutputState } + +func (SqlQueryScheduleWeeklyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryScheduleWeekly)(nil)).Elem() } -func (o GetClusterClusterInfoExecutorOutput) ToGetClusterClusterInfoExecutorOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorOutput { +func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyOutput() SqlQueryScheduleWeeklyOutput { return o } -func (o GetClusterClusterInfoExecutorOutput) HostPrivateIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.HostPrivateIp }).(pulumi.StringPtrOutput) +func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyOutput { + return o } -func (o GetClusterClusterInfoExecutorOutput) InstanceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.InstanceId }).(pulumi.StringPtrOutput) +func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { + return o.ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoExecutorOutput) NodeAwsAttributes() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutor) *GetClusterClusterInfoExecutorNodeAwsAttributes { - return v.NodeAwsAttributes - }).(GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) +func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryScheduleWeekly) *SqlQueryScheduleWeekly { + return &v + }).(SqlQueryScheduleWeeklyPtrOutput) } -func (o GetClusterClusterInfoExecutorOutput) NodeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.NodeId }).(pulumi.StringPtrOutput) +func (o SqlQueryScheduleWeeklyOutput) DayOfWeek() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryScheduleWeekly) string { return v.DayOfWeek }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoExecutorOutput) PrivateIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.PrivateIp }).(pulumi.StringPtrOutput) +func (o SqlQueryScheduleWeeklyOutput) IntervalWeeks() pulumi.IntOutput { + return o.ApplyT(func(v SqlQueryScheduleWeekly) int { return v.IntervalWeeks }).(pulumi.IntOutput) } -func (o GetClusterClusterInfoExecutorOutput) PublicDns() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.PublicDns }).(pulumi.StringPtrOutput) +func (o SqlQueryScheduleWeeklyOutput) TimeOfDay() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryScheduleWeekly) string { return v.TimeOfDay }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoExecutorOutput) StartTimestamp() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutor) *int { return v.StartTimestamp }).(pulumi.IntPtrOutput) +func (o SqlQueryScheduleWeeklyOutput) UntilDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryScheduleWeekly) *string { return v.UntilDate }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoExecutorArrayOutput struct{ *pulumi.OutputState } +type SqlQueryScheduleWeeklyPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoExecutorArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterClusterInfoExecutor)(nil)).Elem() +func (SqlQueryScheduleWeeklyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryScheduleWeekly)(nil)).Elem() } -func (o GetClusterClusterInfoExecutorArrayOutput) ToGetClusterClusterInfoExecutorArrayOutput() GetClusterClusterInfoExecutorArrayOutput { +func (o SqlQueryScheduleWeeklyPtrOutput) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { return o } -func (o GetClusterClusterInfoExecutorArrayOutput) ToGetClusterClusterInfoExecutorArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorArrayOutput { +func (o SqlQueryScheduleWeeklyPtrOutput) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { 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 SqlQueryScheduleWeeklyPtrOutput) Elem() SqlQueryScheduleWeeklyOutput { + return o.ApplyT(func(v *SqlQueryScheduleWeekly) SqlQueryScheduleWeekly { + if v != nil { + return *v + } + var ret SqlQueryScheduleWeekly + return ret + }).(SqlQueryScheduleWeeklyOutput) } -type GetClusterClusterInfoExecutorNodeAwsAttributes struct { - IsSpot *bool `pulumi:"isSpot"` +func (o SqlQueryScheduleWeeklyPtrOutput) DayOfWeek() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleWeekly) *string { + if v == nil { + return nil + } + return &v.DayOfWeek + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoExecutorNodeAwsAttributesInput is an input type that accepts GetClusterClusterInfoExecutorNodeAwsAttributesArgs and GetClusterClusterInfoExecutorNodeAwsAttributesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoExecutorNodeAwsAttributesInput` via: -// -// GetClusterClusterInfoExecutorNodeAwsAttributesArgs{...} -type GetClusterClusterInfoExecutorNodeAwsAttributesInput interface { - pulumi.Input +func (o SqlQueryScheduleWeeklyPtrOutput) IntervalWeeks() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleWeekly) *int { + if v == nil { + return nil + } + return &v.IntervalWeeks + }).(pulumi.IntPtrOutput) +} - ToGetClusterClusterInfoExecutorNodeAwsAttributesOutput() GetClusterClusterInfoExecutorNodeAwsAttributesOutput - ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesOutput +func (o SqlQueryScheduleWeeklyPtrOutput) TimeOfDay() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleWeekly) *string { + if v == nil { + return nil + } + return &v.TimeOfDay + }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoExecutorNodeAwsAttributesArgs struct { - IsSpot pulumi.BoolPtrInput `pulumi:"isSpot"` +func (o SqlQueryScheduleWeeklyPtrOutput) UntilDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleWeekly) *string { + if v == nil { + return nil + } + return v.UntilDate + }).(pulumi.StringPtrOutput) } -func (GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() +type SqlTableColumn struct { + // User-supplied free-form text. + Comment *string `pulumi:"comment"` + // 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"` } -func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutput() GetClusterClusterInfoExecutorNodeAwsAttributesOutput { - return i.ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(context.Background()) +// 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 (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorNodeAwsAttributesOutput) +type SqlTableColumnArgs struct { + // User-supplied free-form text. + Comment pulumi.StringPtrInput `pulumi:"comment"` + // 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"` } -func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return i.ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Background()) +func (SqlTableColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlTableColumn)(nil)).Elem() } -func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorNodeAwsAttributesOutput).ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx) +func (i SqlTableColumnArgs) ToSqlTableColumnOutput() SqlTableColumnOutput { + return i.ToSqlTableColumnOutputWithContext(context.Background()) } -// GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput is an input type that accepts GetClusterClusterInfoExecutorNodeAwsAttributesArgs, GetClusterClusterInfoExecutorNodeAwsAttributesPtr and GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput` via: -// -// GetClusterClusterInfoExecutorNodeAwsAttributesArgs{...} -// -// or: +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: // -// nil -type GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput interface { +// SqlTableColumnArray{ SqlTableColumnArgs{...} } +type SqlTableColumnArrayInput interface { pulumi.Input - ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput - ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput + ToSqlTableColumnArrayOutput() SqlTableColumnArrayOutput + ToSqlTableColumnArrayOutputWithContext(context.Context) SqlTableColumnArrayOutput } -type getClusterClusterInfoExecutorNodeAwsAttributesPtrType GetClusterClusterInfoExecutorNodeAwsAttributesArgs - -func GetClusterClusterInfoExecutorNodeAwsAttributesPtr(v *GetClusterClusterInfoExecutorNodeAwsAttributesArgs) GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput { - return (*getClusterClusterInfoExecutorNodeAwsAttributesPtrType)(v) -} +type SqlTableColumnArray []SqlTableColumnInput -func (*getClusterClusterInfoExecutorNodeAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() +func (SqlTableColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlTableColumn)(nil)).Elem() } -func (i *getClusterClusterInfoExecutorNodeAwsAttributesPtrType) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return i.ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Background()) +func (i SqlTableColumnArray) ToSqlTableColumnArrayOutput() SqlTableColumnArrayOutput { + return i.ToSqlTableColumnArrayOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoExecutorNodeAwsAttributesPtrType) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) +func (i SqlTableColumnArray) ToSqlTableColumnArrayOutputWithContext(ctx context.Context) SqlTableColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlTableColumnArrayOutput) } -type GetClusterClusterInfoExecutorNodeAwsAttributesOutput struct{ *pulumi.OutputState } +type SqlTableColumnOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() +func (SqlTableColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlTableColumn)(nil)).Elem() } -func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutput() GetClusterClusterInfoExecutorNodeAwsAttributesOutput { +func (o SqlTableColumnOutput) ToSqlTableColumnOutput() SqlTableColumnOutput { return o } -func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesOutput { +func (o SqlTableColumnOutput) ToSqlTableColumnOutputWithContext(ctx context.Context) SqlTableColumnOutput { return o } -func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return o.ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Background()) +// User-supplied free-form text. +func (o SqlTableColumnOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlTableColumn) *string { return v.Comment }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoExecutorNodeAwsAttributes) *GetClusterClusterInfoExecutorNodeAwsAttributes { - return &v - }).(GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) +// 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 GetClusterClusterInfoExecutorNodeAwsAttributesOutput) IsSpot() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutorNodeAwsAttributes) *bool { return v.IsSpot }).(pulumi.BoolPtrOutput) +// Whether field is nullable (Default: `true`) +func (o SqlTableColumnOutput) Nullable() pulumi.BoolPtrOutput { + return o.ApplyT(func(v SqlTableColumn) *bool { return v.Nullable }).(pulumi.BoolPtrOutput) } -type GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoExecutorNodeAwsAttributes)(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 (o GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return o +type SqlTableColumnArrayOutput struct{ *pulumi.OutputState } + +func (SqlTableColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlTableColumn)(nil)).Elem() } -func (o GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { +func (o SqlTableColumnArrayOutput) ToSqlTableColumnArrayOutput() SqlTableColumnArrayOutput { 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 SqlTableColumnArrayOutput) ToSqlTableColumnArrayOutputWithContext(ctx context.Context) SqlTableColumnArrayOutput { + return o } -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 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 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 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"` } -// GetClusterClusterInfoGcpAttributesInput is an input type that accepts GetClusterClusterInfoGcpAttributesArgs and GetClusterClusterInfoGcpAttributesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoGcpAttributesInput` via: +// SqlWidgetParameterInput is an input type that accepts SqlWidgetParameterArgs and SqlWidgetParameterOutput values. +// You can construct a concrete instance of `SqlWidgetParameterInput` via: // -// GetClusterClusterInfoGcpAttributesArgs{...} -type GetClusterClusterInfoGcpAttributesInput interface { +// SqlWidgetParameterArgs{...} +type SqlWidgetParameterInput 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() + ToSqlWidgetParameterOutput() SqlWidgetParameterOutput + ToSqlWidgetParameterOutputWithContext(context.Context) SqlWidgetParameterOutput } -func (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesOutput() GetClusterClusterInfoGcpAttributesOutput { - return i.ToGetClusterClusterInfoGcpAttributesOutputWithContext(context.Background()) +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 (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoGcpAttributesOutput) +func (SqlWidgetParameterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlWidgetParameter)(nil)).Elem() } -func (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { - return i.ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Background()) +func (i SqlWidgetParameterArgs) ToSqlWidgetParameterOutput() SqlWidgetParameterOutput { + return i.ToSqlWidgetParameterOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoGcpAttributesOutput).ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx) +func (i SqlWidgetParameterArgs) ToSqlWidgetParameterOutputWithContext(ctx context.Context) SqlWidgetParameterOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetParameterOutput) } -// GetClusterClusterInfoGcpAttributesPtrInput is an input type that accepts GetClusterClusterInfoGcpAttributesArgs, GetClusterClusterInfoGcpAttributesPtr and GetClusterClusterInfoGcpAttributesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoGcpAttributesPtrInput` via: -// -// GetClusterClusterInfoGcpAttributesArgs{...} -// -// or: +// SqlWidgetParameterArrayInput is an input type that accepts SqlWidgetParameterArray and SqlWidgetParameterArrayOutput values. +// You can construct a concrete instance of `SqlWidgetParameterArrayInput` via: // -// nil -type GetClusterClusterInfoGcpAttributesPtrInput interface { +// SqlWidgetParameterArray{ SqlWidgetParameterArgs{...} } +type SqlWidgetParameterArrayInput interface { pulumi.Input - ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput - ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoGcpAttributesPtrOutput + ToSqlWidgetParameterArrayOutput() SqlWidgetParameterArrayOutput + ToSqlWidgetParameterArrayOutputWithContext(context.Context) SqlWidgetParameterArrayOutput } -type getClusterClusterInfoGcpAttributesPtrType GetClusterClusterInfoGcpAttributesArgs - -func GetClusterClusterInfoGcpAttributesPtr(v *GetClusterClusterInfoGcpAttributesArgs) GetClusterClusterInfoGcpAttributesPtrInput { - return (*getClusterClusterInfoGcpAttributesPtrType)(v) -} +type SqlWidgetParameterArray []SqlWidgetParameterInput -func (*getClusterClusterInfoGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoGcpAttributes)(nil)).Elem() +func (SqlWidgetParameterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlWidgetParameter)(nil)).Elem() } -func (i *getClusterClusterInfoGcpAttributesPtrType) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { - return i.ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Background()) +func (i SqlWidgetParameterArray) ToSqlWidgetParameterArrayOutput() SqlWidgetParameterArrayOutput { + return i.ToSqlWidgetParameterArrayOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoGcpAttributesPtrType) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoGcpAttributesPtrOutput) +func (i SqlWidgetParameterArray) ToSqlWidgetParameterArrayOutputWithContext(ctx context.Context) SqlWidgetParameterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetParameterArrayOutput) } -type GetClusterClusterInfoGcpAttributesOutput struct{ *pulumi.OutputState } +type SqlWidgetParameterOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoGcpAttributes)(nil)).Elem() +func (SqlWidgetParameterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlWidgetParameter)(nil)).Elem() } -func (o GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesOutput() GetClusterClusterInfoGcpAttributesOutput { +func (o SqlWidgetParameterOutput) ToSqlWidgetParameterOutput() SqlWidgetParameterOutput { return o } -func (o GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesOutput { +func (o SqlWidgetParameterOutput) ToSqlWidgetParameterOutputWithContext(ctx context.Context) SqlWidgetParameterOutput { 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 SqlWidgetParameterOutput) MapTo() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlWidgetParameter) *string { return v.MapTo }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) +func (o SqlWidgetParameterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v SqlWidgetParameter) string { return v.Name }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) +func (o SqlWidgetParameterOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlWidgetParameter) *string { return v.Title }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +func (o SqlWidgetParameterOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v SqlWidgetParameter) string { return v.Type }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) +func (o SqlWidgetParameterOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlWidgetParameter) *string { return v.Value }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o SqlWidgetParameterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v SqlWidgetParameter) []string { return v.Values }).(pulumi.StringArrayOutput) } -type GetClusterClusterInfoGcpAttributesPtrOutput struct{ *pulumi.OutputState } +type SqlWidgetParameterArrayOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoGcpAttributes)(nil)).Elem() +func (SqlWidgetParameterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlWidgetParameter)(nil)).Elem() } -func (o GetClusterClusterInfoGcpAttributesPtrOutput) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { +func (o SqlWidgetParameterArrayOutput) ToSqlWidgetParameterArrayOutput() SqlWidgetParameterArrayOutput { return o } -func (o GetClusterClusterInfoGcpAttributesPtrOutput) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { +func (o SqlWidgetParameterArrayOutput) ToSqlWidgetParameterArrayOutputWithContext(ctx context.Context) SqlWidgetParameterArrayOutput { 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 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 GetClusterClusterInfoGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(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"` } -func (o GetClusterClusterInfoGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *int { - if v == nil { - return nil - } - return v.BootDiskSize - }).(pulumi.IntPtrOutput) -} +// SqlWidgetPositionInput is an input type that accepts SqlWidgetPositionArgs and SqlWidgetPositionOutput values. +// You can construct a concrete instance of `SqlWidgetPositionInput` via: +// +// SqlWidgetPositionArgs{...} +type SqlWidgetPositionInput interface { + pulumi.Input -func (o GetClusterClusterInfoGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *string { - if v == nil { - return nil - } - return v.GoogleServiceAccount - }).(pulumi.StringPtrOutput) + ToSqlWidgetPositionOutput() SqlWidgetPositionOutput + ToSqlWidgetPositionOutputWithContext(context.Context) SqlWidgetPositionOutput } -func (o GetClusterClusterInfoGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *int { - if v == nil { - return nil - } - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) +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 (o GetClusterClusterInfoGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *bool { - if v == nil { - return nil - } - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) +func (SqlWidgetPositionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlWidgetPosition)(nil)).Elem() } -func (o GetClusterClusterInfoGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *string { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) +func (i SqlWidgetPositionArgs) ToSqlWidgetPositionOutput() SqlWidgetPositionOutput { + return i.ToSqlWidgetPositionOutputWithContext(context.Background()) } -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"` +func (i SqlWidgetPositionArgs) ToSqlWidgetPositionOutputWithContext(ctx context.Context) SqlWidgetPositionOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetPositionOutput) } -// GetClusterClusterInfoInitScriptInput is an input type that accepts GetClusterClusterInfoInitScriptArgs and GetClusterClusterInfoInitScriptOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptInput` via: +func (i SqlWidgetPositionArgs) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { + return i.ToSqlWidgetPositionPtrOutputWithContext(context.Background()) +} + +func (i SqlWidgetPositionArgs) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetPositionOutput).ToSqlWidgetPositionPtrOutputWithContext(ctx) +} + +// SqlWidgetPositionPtrInput is an input type that accepts SqlWidgetPositionArgs, SqlWidgetPositionPtr and SqlWidgetPositionPtrOutput values. +// You can construct a concrete instance of `SqlWidgetPositionPtrInput` via: // -// GetClusterClusterInfoInitScriptArgs{...} -type GetClusterClusterInfoInitScriptInput interface { +// SqlWidgetPositionArgs{...} +// +// or: +// +// nil +type SqlWidgetPositionPtrInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptOutput() GetClusterClusterInfoInitScriptOutput - ToGetClusterClusterInfoInitScriptOutputWithContext(context.Context) GetClusterClusterInfoInitScriptOutput + ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput + ToSqlWidgetPositionPtrOutputWithContext(context.Context) SqlWidgetPositionPtrOutput } -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 sqlWidgetPositionPtrType SqlWidgetPositionArgs -func (GetClusterClusterInfoInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScript)(nil)).Elem() +func SqlWidgetPositionPtr(v *SqlWidgetPositionArgs) SqlWidgetPositionPtrInput { + return (*sqlWidgetPositionPtrType)(v) } -func (i GetClusterClusterInfoInitScriptArgs) ToGetClusterClusterInfoInitScriptOutput() GetClusterClusterInfoInitScriptOutput { - return i.ToGetClusterClusterInfoInitScriptOutputWithContext(context.Background()) +func (*sqlWidgetPositionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlWidgetPosition)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptArgs) ToGetClusterClusterInfoInitScriptOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptOutput) +func (i *sqlWidgetPositionPtrType) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { + return i.ToSqlWidgetPositionPtrOutputWithContext(context.Background()) } -// 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 - - ToGetClusterClusterInfoInitScriptArrayOutput() GetClusterClusterInfoInitScriptArrayOutput - ToGetClusterClusterInfoInitScriptArrayOutputWithContext(context.Context) GetClusterClusterInfoInitScriptArrayOutput +func (i *sqlWidgetPositionPtrType) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetPositionPtrOutput) } -type GetClusterClusterInfoInitScriptArray []GetClusterClusterInfoInitScriptInput +type SqlWidgetPositionOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterClusterInfoInitScript)(nil)).Elem() +func (SqlWidgetPositionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlWidgetPosition)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptArray) ToGetClusterClusterInfoInitScriptArrayOutput() GetClusterClusterInfoInitScriptArrayOutput { - return i.ToGetClusterClusterInfoInitScriptArrayOutputWithContext(context.Background()) +func (o SqlWidgetPositionOutput) ToSqlWidgetPositionOutput() SqlWidgetPositionOutput { + return o } -func (i GetClusterClusterInfoInitScriptArray) ToGetClusterClusterInfoInitScriptArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptArrayOutput) +func (o SqlWidgetPositionOutput) ToSqlWidgetPositionOutputWithContext(ctx context.Context) SqlWidgetPositionOutput { + return o } -type GetClusterClusterInfoInitScriptOutput struct{ *pulumi.OutputState } +func (o SqlWidgetPositionOutput) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { + return o.ToSqlWidgetPositionPtrOutputWithContext(context.Background()) +} -func (GetClusterClusterInfoInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScript)(nil)).Elem() +func (o SqlWidgetPositionOutput) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlWidgetPosition) *SqlWidgetPosition { + return &v + }).(SqlWidgetPositionPtrOutput) } -func (o GetClusterClusterInfoInitScriptOutput) ToGetClusterClusterInfoInitScriptOutput() GetClusterClusterInfoInitScriptOutput { - return o +func (o SqlWidgetPositionOutput) AutoHeight() pulumi.BoolPtrOutput { + return o.ApplyT(func(v SqlWidgetPosition) *bool { return v.AutoHeight }).(pulumi.BoolPtrOutput) } -func (o GetClusterClusterInfoInitScriptOutput) ToGetClusterClusterInfoInitScriptOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptOutput { - return o +func (o SqlWidgetPositionOutput) PosX() pulumi.IntPtrOutput { + return o.ApplyT(func(v SqlWidgetPosition) *int { return v.PosX }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoInitScriptOutput) Abfss() GetClusterClusterInfoInitScriptAbfssPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptAbfss { return v.Abfss }).(GetClusterClusterInfoInitScriptAbfssPtrOutput) +func (o SqlWidgetPositionOutput) PosY() pulumi.IntPtrOutput { + return o.ApplyT(func(v SqlWidgetPosition) *int { return v.PosY }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoInitScriptOutput) Dbfs() GetClusterClusterInfoInitScriptDbfsPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptDbfs { return v.Dbfs }).(GetClusterClusterInfoInitScriptDbfsPtrOutput) +func (o SqlWidgetPositionOutput) SizeX() pulumi.IntOutput { + return o.ApplyT(func(v SqlWidgetPosition) int { return v.SizeX }).(pulumi.IntOutput) } -func (o GetClusterClusterInfoInitScriptOutput) File() GetClusterClusterInfoInitScriptFilePtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptFile { return v.File }).(GetClusterClusterInfoInitScriptFilePtrOutput) +func (o SqlWidgetPositionOutput) SizeY() pulumi.IntOutput { + return o.ApplyT(func(v SqlWidgetPosition) int { return v.SizeY }).(pulumi.IntOutput) } -func (o GetClusterClusterInfoInitScriptOutput) Gcs() GetClusterClusterInfoInitScriptGcsPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptGcs { return v.Gcs }).(GetClusterClusterInfoInitScriptGcsPtrOutput) +type SqlWidgetPositionPtrOutput struct{ *pulumi.OutputState } + +func (SqlWidgetPositionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlWidgetPosition)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptOutput) S3() GetClusterClusterInfoInitScriptS3PtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptS3 { return v.S3 }).(GetClusterClusterInfoInitScriptS3PtrOutput) +func (o SqlWidgetPositionPtrOutput) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { + return o } -func (o GetClusterClusterInfoInitScriptOutput) Volumes() GetClusterClusterInfoInitScriptVolumesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptVolumes { return v.Volumes }).(GetClusterClusterInfoInitScriptVolumesPtrOutput) +func (o SqlWidgetPositionPtrOutput) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { + return o } -func (o GetClusterClusterInfoInitScriptOutput) Workspace() GetClusterClusterInfoInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptWorkspace { return v.Workspace }).(GetClusterClusterInfoInitScriptWorkspacePtrOutput) +func (o SqlWidgetPositionPtrOutput) Elem() SqlWidgetPositionOutput { + return o.ApplyT(func(v *SqlWidgetPosition) SqlWidgetPosition { + if v != nil { + return *v + } + var ret SqlWidgetPosition + return ret + }).(SqlWidgetPositionOutput) } -type GetClusterClusterInfoInitScriptArrayOutput struct{ *pulumi.OutputState } +func (o SqlWidgetPositionPtrOutput) AutoHeight() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *SqlWidgetPosition) *bool { + if v == nil { + return nil + } + return v.AutoHeight + }).(pulumi.BoolPtrOutput) +} -func (GetClusterClusterInfoInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterClusterInfoInitScript)(nil)).Elem() +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 GetClusterClusterInfoInitScriptArrayOutput) ToGetClusterClusterInfoInitScriptArrayOutput() GetClusterClusterInfoInitScriptArrayOutput { - return o +func (o SqlWidgetPositionPtrOutput) PosY() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SqlWidgetPosition) *int { + if v == nil { + return nil + } + return v.PosY + }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoInitScriptArrayOutput) ToGetClusterClusterInfoInitScriptArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptArrayOutput { - return o +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 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 SqlWidgetPositionPtrOutput) SizeY() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SqlWidgetPosition) *int { + if v == nil { + return nil + } + return &v.SizeY + }).(pulumi.IntPtrOutput) } -type GetClusterClusterInfoInitScriptAbfss struct { - Destination string `pulumi:"destination"` +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"` } -// GetClusterClusterInfoInitScriptAbfssInput is an input type that accepts GetClusterClusterInfoInitScriptAbfssArgs and GetClusterClusterInfoInitScriptAbfssOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptAbfssInput` via: +// StorageCredentialAwsIamRoleInput is an input type that accepts StorageCredentialAwsIamRoleArgs and StorageCredentialAwsIamRoleOutput values. +// You can construct a concrete instance of `StorageCredentialAwsIamRoleInput` via: // -// GetClusterClusterInfoInitScriptAbfssArgs{...} -type GetClusterClusterInfoInitScriptAbfssInput interface { +// StorageCredentialAwsIamRoleArgs{...} +type StorageCredentialAwsIamRoleInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptAbfssOutput() GetClusterClusterInfoInitScriptAbfssOutput - ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(context.Context) GetClusterClusterInfoInitScriptAbfssOutput + ToStorageCredentialAwsIamRoleOutput() StorageCredentialAwsIamRoleOutput + ToStorageCredentialAwsIamRoleOutputWithContext(context.Context) StorageCredentialAwsIamRoleOutput } -type GetClusterClusterInfoInitScriptAbfssArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +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 (GetClusterClusterInfoInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() +func (StorageCredentialAwsIamRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialAwsIamRole)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssOutput() GetClusterClusterInfoInitScriptAbfssOutput { - return i.ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(context.Background()) +func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRoleOutput() StorageCredentialAwsIamRoleOutput { + return i.ToStorageCredentialAwsIamRoleOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptAbfssOutput) +func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRoleOutputWithContext(ctx context.Context) StorageCredentialAwsIamRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAwsIamRoleOutput) } -func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { - return i.ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { + return i.ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptAbfssOutput).ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx) +func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAwsIamRoleOutput).ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx) } -// GetClusterClusterInfoInitScriptAbfssPtrInput is an input type that accepts GetClusterClusterInfoInitScriptAbfssArgs, GetClusterClusterInfoInitScriptAbfssPtr and GetClusterClusterInfoInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptAbfssPtrInput` via: +// StorageCredentialAwsIamRolePtrInput is an input type that accepts StorageCredentialAwsIamRoleArgs, StorageCredentialAwsIamRolePtr and StorageCredentialAwsIamRolePtrOutput values. +// You can construct a concrete instance of `StorageCredentialAwsIamRolePtrInput` via: // -// GetClusterClusterInfoInitScriptAbfssArgs{...} +// StorageCredentialAwsIamRoleArgs{...} // // or: // // nil -type GetClusterClusterInfoInitScriptAbfssPtrInput interface { +type StorageCredentialAwsIamRolePtrInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput - ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput + ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput + ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Context) StorageCredentialAwsIamRolePtrOutput } -type getClusterClusterInfoInitScriptAbfssPtrType GetClusterClusterInfoInitScriptAbfssArgs +type storageCredentialAwsIamRolePtrType StorageCredentialAwsIamRoleArgs -func GetClusterClusterInfoInitScriptAbfssPtr(v *GetClusterClusterInfoInitScriptAbfssArgs) GetClusterClusterInfoInitScriptAbfssPtrInput { - return (*getClusterClusterInfoInitScriptAbfssPtrType)(v) +func StorageCredentialAwsIamRolePtr(v *StorageCredentialAwsIamRoleArgs) StorageCredentialAwsIamRolePtrInput { + return (*storageCredentialAwsIamRolePtrType)(v) } -func (*getClusterClusterInfoInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() +func (*storageCredentialAwsIamRolePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialAwsIamRole)(nil)).Elem() } -func (i *getClusterClusterInfoInitScriptAbfssPtrType) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { - return i.ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i *storageCredentialAwsIamRolePtrType) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { + return i.ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoInitScriptAbfssPtrType) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptAbfssPtrOutput) +func (i *storageCredentialAwsIamRolePtrType) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAwsIamRolePtrOutput) } -type GetClusterClusterInfoInitScriptAbfssOutput struct{ *pulumi.OutputState } +type StorageCredentialAwsIamRoleOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() +func (StorageCredentialAwsIamRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialAwsIamRole)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssOutput() GetClusterClusterInfoInitScriptAbfssOutput { +func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRoleOutput() StorageCredentialAwsIamRoleOutput { return o } -func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssOutput { +func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRoleOutputWithContext(ctx context.Context) StorageCredentialAwsIamRoleOutput { return o } -func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { - return o.ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { + return o.ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptAbfss) *GetClusterClusterInfoInitScriptAbfss { +func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialAwsIamRole) *StorageCredentialAwsIamRole { return &v - }).(GetClusterClusterInfoInitScriptAbfssPtrOutput) + }).(StorageCredentialAwsIamRolePtrOutput) } -func (o GetClusterClusterInfoInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +func (o StorageCredentialAwsIamRoleOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v StorageCredentialAwsIamRole) *string { return v.ExternalId }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } +// 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 (GetClusterClusterInfoInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() +func (o StorageCredentialAwsIamRoleOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v StorageCredentialAwsIamRole) *string { return v.UnityCatalogIamArn }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { +type StorageCredentialAwsIamRolePtrOutput struct{ *pulumi.OutputState } + +func (StorageCredentialAwsIamRolePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialAwsIamRole)(nil)).Elem() +} + +func (o StorageCredentialAwsIamRolePtrOutput) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { return o } -func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { +func (o StorageCredentialAwsIamRolePtrOutput) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { return o } -func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) Elem() GetClusterClusterInfoInitScriptAbfssOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptAbfss) GetClusterClusterInfoInitScriptAbfss { +func (o StorageCredentialAwsIamRolePtrOutput) Elem() StorageCredentialAwsIamRoleOutput { + return o.ApplyT(func(v *StorageCredentialAwsIamRole) StorageCredentialAwsIamRole { if v != nil { return *v } - var ret GetClusterClusterInfoInitScriptAbfss + var ret StorageCredentialAwsIamRole return ret - }).(GetClusterClusterInfoInitScriptAbfssOutput) + }).(StorageCredentialAwsIamRoleOutput) } -func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptAbfss) *string { +func (o StorageCredentialAwsIamRolePtrOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialAwsIamRole) *string { if v == nil { return nil } - return &v.Destination + return v.ExternalId }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoInitScriptDbfs struct { - Destination string `pulumi:"destination"` +// 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) } -// GetClusterClusterInfoInitScriptDbfsInput is an input type that accepts GetClusterClusterInfoInitScriptDbfsArgs and GetClusterClusterInfoInitScriptDbfsOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptDbfsInput` via: +func (o StorageCredentialAwsIamRolePtrOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialAwsIamRole) *string { + if v == nil { + return nil + } + return v.UnityCatalogIamArn + }).(pulumi.StringPtrOutput) +} + +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"` +} + +// StorageCredentialAzureManagedIdentityInput is an input type that accepts StorageCredentialAzureManagedIdentityArgs and StorageCredentialAzureManagedIdentityOutput values. +// You can construct a concrete instance of `StorageCredentialAzureManagedIdentityInput` via: // -// GetClusterClusterInfoInitScriptDbfsArgs{...} -type GetClusterClusterInfoInitScriptDbfsInput interface { +// StorageCredentialAzureManagedIdentityArgs{...} +type StorageCredentialAzureManagedIdentityInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptDbfsOutput() GetClusterClusterInfoInitScriptDbfsOutput - ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(context.Context) GetClusterClusterInfoInitScriptDbfsOutput + ToStorageCredentialAzureManagedIdentityOutput() StorageCredentialAzureManagedIdentityOutput + ToStorageCredentialAzureManagedIdentityOutputWithContext(context.Context) StorageCredentialAzureManagedIdentityOutput } -type GetClusterClusterInfoInitScriptDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +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 (GetClusterClusterInfoInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() +func (StorageCredentialAzureManagedIdentityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialAzureManagedIdentity)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsOutput() GetClusterClusterInfoInitScriptDbfsOutput { - return i.ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(context.Background()) +func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityOutput() StorageCredentialAzureManagedIdentityOutput { + return i.ToStorageCredentialAzureManagedIdentityOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptDbfsOutput) +func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureManagedIdentityOutput) } -func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { - return i.ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { + return i.ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptDbfsOutput).ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx) +func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureManagedIdentityOutput).ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx) } -// GetClusterClusterInfoInitScriptDbfsPtrInput is an input type that accepts GetClusterClusterInfoInitScriptDbfsArgs, GetClusterClusterInfoInitScriptDbfsPtr and GetClusterClusterInfoInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptDbfsPtrInput` via: +// StorageCredentialAzureManagedIdentityPtrInput is an input type that accepts StorageCredentialAzureManagedIdentityArgs, StorageCredentialAzureManagedIdentityPtr and StorageCredentialAzureManagedIdentityPtrOutput values. +// You can construct a concrete instance of `StorageCredentialAzureManagedIdentityPtrInput` via: // -// GetClusterClusterInfoInitScriptDbfsArgs{...} +// StorageCredentialAzureManagedIdentityArgs{...} // // or: // // nil -type GetClusterClusterInfoInitScriptDbfsPtrInput interface { +type StorageCredentialAzureManagedIdentityPtrInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput - ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput + ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput + ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Context) StorageCredentialAzureManagedIdentityPtrOutput } -type getClusterClusterInfoInitScriptDbfsPtrType GetClusterClusterInfoInitScriptDbfsArgs +type storageCredentialAzureManagedIdentityPtrType StorageCredentialAzureManagedIdentityArgs -func GetClusterClusterInfoInitScriptDbfsPtr(v *GetClusterClusterInfoInitScriptDbfsArgs) GetClusterClusterInfoInitScriptDbfsPtrInput { - return (*getClusterClusterInfoInitScriptDbfsPtrType)(v) +func StorageCredentialAzureManagedIdentityPtr(v *StorageCredentialAzureManagedIdentityArgs) StorageCredentialAzureManagedIdentityPtrInput { + return (*storageCredentialAzureManagedIdentityPtrType)(v) } -func (*getClusterClusterInfoInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() +func (*storageCredentialAzureManagedIdentityPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialAzureManagedIdentity)(nil)).Elem() } -func (i *getClusterClusterInfoInitScriptDbfsPtrType) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { - return i.ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i *storageCredentialAzureManagedIdentityPtrType) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { + return i.ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoInitScriptDbfsPtrType) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptDbfsPtrOutput) +func (i *storageCredentialAzureManagedIdentityPtrType) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureManagedIdentityPtrOutput) } -type GetClusterClusterInfoInitScriptDbfsOutput struct{ *pulumi.OutputState } +type StorageCredentialAzureManagedIdentityOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() +func (StorageCredentialAzureManagedIdentityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialAzureManagedIdentity)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsOutput() GetClusterClusterInfoInitScriptDbfsOutput { +func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityOutput() StorageCredentialAzureManagedIdentityOutput { return o } -func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsOutput { +func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityOutput { return o } -func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { - return o.ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Background()) +func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { + return o.ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptDbfs) *GetClusterClusterInfoInitScriptDbfs { +func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialAzureManagedIdentity) *StorageCredentialAzureManagedIdentity { return &v - }).(GetClusterClusterInfoInitScriptDbfsPtrOutput) + }).(StorageCredentialAzureManagedIdentityPtrOutput) } -func (o GetClusterClusterInfoInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) +// 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) } -type GetClusterClusterInfoInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } +func (o StorageCredentialAzureManagedIdentityOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v StorageCredentialAzureManagedIdentity) *string { return v.CredentialId }).(pulumi.StringPtrOutput) +} -func (GetClusterClusterInfoInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptDbfs)(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`. +// +// `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) } -func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { +type StorageCredentialAzureManagedIdentityPtrOutput struct{ *pulumi.OutputState } + +func (StorageCredentialAzureManagedIdentityPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialAzureManagedIdentity)(nil)).Elem() +} + +func (o StorageCredentialAzureManagedIdentityPtrOutput) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { return o } -func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { +func (o StorageCredentialAzureManagedIdentityPtrOutput) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { return o } -func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) Elem() GetClusterClusterInfoInitScriptDbfsOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptDbfs) GetClusterClusterInfoInitScriptDbfs { +func (o StorageCredentialAzureManagedIdentityPtrOutput) Elem() StorageCredentialAzureManagedIdentityOutput { + return o.ApplyT(func(v *StorageCredentialAzureManagedIdentity) StorageCredentialAzureManagedIdentity { if v != nil { return *v } - var ret GetClusterClusterInfoInitScriptDbfs + var ret StorageCredentialAzureManagedIdentity return ret - }).(GetClusterClusterInfoInitScriptDbfsOutput) + }).(StorageCredentialAzureManagedIdentityOutput) } -func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptDbfs) *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.Destination + return &v.AccessConnectorId }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoInitScriptFile struct { - Destination string `pulumi:"destination"` +func (o StorageCredentialAzureManagedIdentityPtrOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialAzureManagedIdentity) *string { + if v == nil { + return nil + } + return v.CredentialId + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoInitScriptFileInput is an input type that accepts GetClusterClusterInfoInitScriptFileArgs and GetClusterClusterInfoInitScriptFileOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptFileInput` 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`. // -// GetClusterClusterInfoInitScriptFileArgs{...} -type GetClusterClusterInfoInitScriptFileInput interface { - pulumi.Input - - ToGetClusterClusterInfoInitScriptFileOutput() GetClusterClusterInfoInitScriptFileOutput - ToGetClusterClusterInfoInitScriptFileOutputWithContext(context.Context) GetClusterClusterInfoInitScriptFileOutput +// `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) } -type GetClusterClusterInfoInitScriptFileArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +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"` } -func (GetClusterClusterInfoInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptFile)(nil)).Elem() +// StorageCredentialAzureServicePrincipalInput is an input type that accepts StorageCredentialAzureServicePrincipalArgs and StorageCredentialAzureServicePrincipalOutput values. +// You can construct a concrete instance of `StorageCredentialAzureServicePrincipalInput` via: +// +// StorageCredentialAzureServicePrincipalArgs{...} +type StorageCredentialAzureServicePrincipalInput interface { + pulumi.Input + + ToStorageCredentialAzureServicePrincipalOutput() StorageCredentialAzureServicePrincipalOutput + ToStorageCredentialAzureServicePrincipalOutputWithContext(context.Context) StorageCredentialAzureServicePrincipalOutput } -func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFileOutput() GetClusterClusterInfoInitScriptFileOutput { - return i.ToGetClusterClusterInfoInitScriptFileOutputWithContext(context.Background()) +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 (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFileOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptFileOutput) +func (StorageCredentialAzureServicePrincipalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialAzureServicePrincipal)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { - return i.ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Background()) +func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalOutput() StorageCredentialAzureServicePrincipalOutput { + return i.ToStorageCredentialAzureServicePrincipalOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptFileOutput).ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx) +func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureServicePrincipalOutput) } -// GetClusterClusterInfoInitScriptFilePtrInput is an input type that accepts GetClusterClusterInfoInitScriptFileArgs, GetClusterClusterInfoInitScriptFilePtr and GetClusterClusterInfoInitScriptFilePtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptFilePtrInput` via: +func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { + return i.ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Background()) +} + +func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureServicePrincipalOutput).ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx) +} + +// StorageCredentialAzureServicePrincipalPtrInput is an input type that accepts StorageCredentialAzureServicePrincipalArgs, StorageCredentialAzureServicePrincipalPtr and StorageCredentialAzureServicePrincipalPtrOutput values. +// You can construct a concrete instance of `StorageCredentialAzureServicePrincipalPtrInput` via: // -// GetClusterClusterInfoInitScriptFileArgs{...} +// StorageCredentialAzureServicePrincipalArgs{...} // // or: // // nil -type GetClusterClusterInfoInitScriptFilePtrInput interface { +type StorageCredentialAzureServicePrincipalPtrInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput - ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptFilePtrOutput + ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput + ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Context) StorageCredentialAzureServicePrincipalPtrOutput } -type getClusterClusterInfoInitScriptFilePtrType GetClusterClusterInfoInitScriptFileArgs +type storageCredentialAzureServicePrincipalPtrType StorageCredentialAzureServicePrincipalArgs -func GetClusterClusterInfoInitScriptFilePtr(v *GetClusterClusterInfoInitScriptFileArgs) GetClusterClusterInfoInitScriptFilePtrInput { - return (*getClusterClusterInfoInitScriptFilePtrType)(v) +func StorageCredentialAzureServicePrincipalPtr(v *StorageCredentialAzureServicePrincipalArgs) StorageCredentialAzureServicePrincipalPtrInput { + return (*storageCredentialAzureServicePrincipalPtrType)(v) } -func (*getClusterClusterInfoInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptFile)(nil)).Elem() +func (*storageCredentialAzureServicePrincipalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialAzureServicePrincipal)(nil)).Elem() } -func (i *getClusterClusterInfoInitScriptFilePtrType) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { - return i.ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Background()) +func (i *storageCredentialAzureServicePrincipalPtrType) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { + return i.ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoInitScriptFilePtrType) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptFilePtrOutput) +func (i *storageCredentialAzureServicePrincipalPtrType) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureServicePrincipalPtrOutput) } -type GetClusterClusterInfoInitScriptFileOutput struct{ *pulumi.OutputState } +type StorageCredentialAzureServicePrincipalOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptFile)(nil)).Elem() +func (StorageCredentialAzureServicePrincipalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialAzureServicePrincipal)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFileOutput() GetClusterClusterInfoInitScriptFileOutput { +func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalOutput() StorageCredentialAzureServicePrincipalOutput { return o } -func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFileOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFileOutput { +func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalOutput { return o } -func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { - return o.ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Background()) +func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { + return o.ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptFile) *GetClusterClusterInfoInitScriptFile { +func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialAzureServicePrincipal) *StorageCredentialAzureServicePrincipal { return &v - }).(GetClusterClusterInfoInitScriptFilePtrOutput) + }).(StorageCredentialAzureServicePrincipalPtrOutput) } -func (o GetClusterClusterInfoInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) +// 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) } -type GetClusterClusterInfoInitScriptFilePtrOutput struct{ *pulumi.OutputState } +// 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 (GetClusterClusterInfoInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptFile)(nil)).Elem() +// 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) } -func (o GetClusterClusterInfoInitScriptFilePtrOutput) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { +type StorageCredentialAzureServicePrincipalPtrOutput struct{ *pulumi.OutputState } + +func (StorageCredentialAzureServicePrincipalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialAzureServicePrincipal)(nil)).Elem() +} + +func (o StorageCredentialAzureServicePrincipalPtrOutput) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { return o } -func (o GetClusterClusterInfoInitScriptFilePtrOutput) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { +func (o StorageCredentialAzureServicePrincipalPtrOutput) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { return o } -func (o GetClusterClusterInfoInitScriptFilePtrOutput) Elem() GetClusterClusterInfoInitScriptFileOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptFile) GetClusterClusterInfoInitScriptFile { +func (o StorageCredentialAzureServicePrincipalPtrOutput) Elem() StorageCredentialAzureServicePrincipalOutput { + return o.ApplyT(func(v *StorageCredentialAzureServicePrincipal) StorageCredentialAzureServicePrincipal { if v != nil { return *v } - var ret GetClusterClusterInfoInitScriptFile + var ret StorageCredentialAzureServicePrincipal return ret - }).(GetClusterClusterInfoInitScriptFileOutput) + }).(StorageCredentialAzureServicePrincipalOutput) } -func (o GetClusterClusterInfoInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptFile) *string { +// 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.Destination + return &v.ApplicationId }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoInitScriptGcs struct { - Destination string `pulumi:"destination"` +// 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) } -// GetClusterClusterInfoInitScriptGcsInput is an input type that accepts GetClusterClusterInfoInitScriptGcsArgs and GetClusterClusterInfoInitScriptGcsOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptGcsInput` via: +// 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.DirectoryId + }).(pulumi.StringPtrOutput) +} + +type StorageCredentialDatabricksGcpServiceAccount struct { + CredentialId *string `pulumi:"credentialId"` + // The email of the GCP service account created, to be granted access to relevant buckets. + // + // `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): + Email *string `pulumi:"email"` +} + +// StorageCredentialDatabricksGcpServiceAccountInput is an input type that accepts StorageCredentialDatabricksGcpServiceAccountArgs and StorageCredentialDatabricksGcpServiceAccountOutput values. +// You can construct a concrete instance of `StorageCredentialDatabricksGcpServiceAccountInput` via: // -// GetClusterClusterInfoInitScriptGcsArgs{...} -type GetClusterClusterInfoInitScriptGcsInput interface { +// StorageCredentialDatabricksGcpServiceAccountArgs{...} +type StorageCredentialDatabricksGcpServiceAccountInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptGcsOutput() GetClusterClusterInfoInitScriptGcsOutput - ToGetClusterClusterInfoInitScriptGcsOutputWithContext(context.Context) GetClusterClusterInfoInitScriptGcsOutput + ToStorageCredentialDatabricksGcpServiceAccountOutput() StorageCredentialDatabricksGcpServiceAccountOutput + ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(context.Context) StorageCredentialDatabricksGcpServiceAccountOutput } -type GetClusterClusterInfoInitScriptGcsArgs 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. + // + // `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): + Email pulumi.StringPtrInput `pulumi:"email"` } -func (GetClusterClusterInfoInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptGcs)(nil)).Elem() +func (StorageCredentialDatabricksGcpServiceAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsOutput() GetClusterClusterInfoInitScriptGcsOutput { - return i.ToGetClusterClusterInfoInitScriptGcsOutputWithContext(context.Background()) +func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountOutput() StorageCredentialDatabricksGcpServiceAccountOutput { + return i.ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptGcsOutput) +func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialDatabricksGcpServiceAccountOutput) } -func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { - return i.ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Background()) +func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { + return i.ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptGcsOutput).ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx) +func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialDatabricksGcpServiceAccountOutput).ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx) } -// GetClusterClusterInfoInitScriptGcsPtrInput is an input type that accepts GetClusterClusterInfoInitScriptGcsArgs, GetClusterClusterInfoInitScriptGcsPtr and GetClusterClusterInfoInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptGcsPtrInput` via: +// StorageCredentialDatabricksGcpServiceAccountPtrInput is an input type that accepts StorageCredentialDatabricksGcpServiceAccountArgs, StorageCredentialDatabricksGcpServiceAccountPtr and StorageCredentialDatabricksGcpServiceAccountPtrOutput values. +// You can construct a concrete instance of `StorageCredentialDatabricksGcpServiceAccountPtrInput` via: // -// GetClusterClusterInfoInitScriptGcsArgs{...} +// StorageCredentialDatabricksGcpServiceAccountArgs{...} // // or: // // nil -type GetClusterClusterInfoInitScriptGcsPtrInput interface { +type StorageCredentialDatabricksGcpServiceAccountPtrInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput - ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput + ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput + ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput } -type getClusterClusterInfoInitScriptGcsPtrType GetClusterClusterInfoInitScriptGcsArgs +type storageCredentialDatabricksGcpServiceAccountPtrType StorageCredentialDatabricksGcpServiceAccountArgs -func GetClusterClusterInfoInitScriptGcsPtr(v *GetClusterClusterInfoInitScriptGcsArgs) GetClusterClusterInfoInitScriptGcsPtrInput { - return (*getClusterClusterInfoInitScriptGcsPtrType)(v) +func StorageCredentialDatabricksGcpServiceAccountPtr(v *StorageCredentialDatabricksGcpServiceAccountArgs) StorageCredentialDatabricksGcpServiceAccountPtrInput { + return (*storageCredentialDatabricksGcpServiceAccountPtrType)(v) } -func (*getClusterClusterInfoInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptGcs)(nil)).Elem() +func (*storageCredentialDatabricksGcpServiceAccountPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() } -func (i *getClusterClusterInfoInitScriptGcsPtrType) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { - return i.ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Background()) +func (i *storageCredentialDatabricksGcpServiceAccountPtrType) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { + return i.ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoInitScriptGcsPtrType) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptGcsPtrOutput) +func (i *storageCredentialDatabricksGcpServiceAccountPtrType) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialDatabricksGcpServiceAccountPtrOutput) } -type GetClusterClusterInfoInitScriptGcsOutput struct{ *pulumi.OutputState } +type StorageCredentialDatabricksGcpServiceAccountOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptGcs)(nil)).Elem() +func (StorageCredentialDatabricksGcpServiceAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsOutput() GetClusterClusterInfoInitScriptGcsOutput { +func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountOutput() StorageCredentialDatabricksGcpServiceAccountOutput { return o } -func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsOutput { +func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountOutput { return o } -func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { - return o.ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Background()) +func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { + return o.ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptGcs) *GetClusterClusterInfoInitScriptGcs { +func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialDatabricksGcpServiceAccount) *StorageCredentialDatabricksGcpServiceAccount { return &v - }).(GetClusterClusterInfoInitScriptGcsPtrOutput) + }).(StorageCredentialDatabricksGcpServiceAccountPtrOutput) } -func (o GetClusterClusterInfoInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) +func (o StorageCredentialDatabricksGcpServiceAccountOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v StorageCredentialDatabricksGcpServiceAccount) *string { return v.CredentialId }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoInitScriptGcsPtrOutput struct{ *pulumi.OutputState } +// The email of the GCP service account created, to be granted access to relevant buckets. +// +// `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): +func (o StorageCredentialDatabricksGcpServiceAccountOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v StorageCredentialDatabricksGcpServiceAccount) *string { return v.Email }).(pulumi.StringPtrOutput) +} -func (GetClusterClusterInfoInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptGcs)(nil)).Elem() +type StorageCredentialDatabricksGcpServiceAccountPtrOutput struct{ *pulumi.OutputState } + +func (StorageCredentialDatabricksGcpServiceAccountPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptGcsPtrOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { +func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { return o } -func (o GetClusterClusterInfoInitScriptGcsPtrOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { +func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { return o } -func (o GetClusterClusterInfoInitScriptGcsPtrOutput) Elem() GetClusterClusterInfoInitScriptGcsOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptGcs) GetClusterClusterInfoInitScriptGcs { +func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) Elem() StorageCredentialDatabricksGcpServiceAccountOutput { + return o.ApplyT(func(v *StorageCredentialDatabricksGcpServiceAccount) StorageCredentialDatabricksGcpServiceAccount { if v != nil { return *v } - var ret GetClusterClusterInfoInitScriptGcs + var ret StorageCredentialDatabricksGcpServiceAccount return ret - }).(GetClusterClusterInfoInitScriptGcsOutput) + }).(StorageCredentialDatabricksGcpServiceAccountOutput) } -func (o GetClusterClusterInfoInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptGcs) *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 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"` +// The email of the GCP service account created, to be granted access to relevant buckets. +// +// `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): +func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialDatabricksGcpServiceAccount) *string { + if v == nil { + return nil + } + return v.Email + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoInitScriptS3Input is an input type that accepts GetClusterClusterInfoInitScriptS3Args and GetClusterClusterInfoInitScriptS3Output values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptS3Input` via: +type StorageCredentialGcpServiceAccountKey struct { + // The email of the GCP service account created, to be granted access to relevant buckets. + // + // `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): + Email string `pulumi:"email"` + PrivateKey string `pulumi:"privateKey"` + PrivateKeyId string `pulumi:"privateKeyId"` +} + +// StorageCredentialGcpServiceAccountKeyInput is an input type that accepts StorageCredentialGcpServiceAccountKeyArgs and StorageCredentialGcpServiceAccountKeyOutput values. +// You can construct a concrete instance of `StorageCredentialGcpServiceAccountKeyInput` via: // -// GetClusterClusterInfoInitScriptS3Args{...} -type GetClusterClusterInfoInitScriptS3Input interface { +// StorageCredentialGcpServiceAccountKeyArgs{...} +type StorageCredentialGcpServiceAccountKeyInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptS3Output() GetClusterClusterInfoInitScriptS3Output - ToGetClusterClusterInfoInitScriptS3OutputWithContext(context.Context) GetClusterClusterInfoInitScriptS3Output + ToStorageCredentialGcpServiceAccountKeyOutput() StorageCredentialGcpServiceAccountKeyOutput + ToStorageCredentialGcpServiceAccountKeyOutputWithContext(context.Context) StorageCredentialGcpServiceAccountKeyOutput } -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 StorageCredentialGcpServiceAccountKeyArgs struct { + // The email of the GCP service account created, to be granted access to relevant buckets. + // + // `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): + Email pulumi.StringInput `pulumi:"email"` + PrivateKey pulumi.StringInput `pulumi:"privateKey"` + PrivateKeyId pulumi.StringInput `pulumi:"privateKeyId"` } -func (GetClusterClusterInfoInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptS3)(nil)).Elem() +func (StorageCredentialGcpServiceAccountKeyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialGcpServiceAccountKey)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3Output() GetClusterClusterInfoInitScriptS3Output { - return i.ToGetClusterClusterInfoInitScriptS3OutputWithContext(context.Background()) +func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyOutput() StorageCredentialGcpServiceAccountKeyOutput { + return i.ToStorageCredentialGcpServiceAccountKeyOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3OutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptS3Output) +func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialGcpServiceAccountKeyOutput) } -func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { - return i.ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Background()) +func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { + return i.ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptS3Output).ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx) +func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialGcpServiceAccountKeyOutput).ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx) } -// GetClusterClusterInfoInitScriptS3PtrInput is an input type that accepts GetClusterClusterInfoInitScriptS3Args, GetClusterClusterInfoInitScriptS3Ptr and GetClusterClusterInfoInitScriptS3PtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptS3PtrInput` via: +// StorageCredentialGcpServiceAccountKeyPtrInput is an input type that accepts StorageCredentialGcpServiceAccountKeyArgs, StorageCredentialGcpServiceAccountKeyPtr and StorageCredentialGcpServiceAccountKeyPtrOutput values. +// You can construct a concrete instance of `StorageCredentialGcpServiceAccountKeyPtrInput` via: // -// GetClusterClusterInfoInitScriptS3Args{...} +// StorageCredentialGcpServiceAccountKeyArgs{...} // // or: // // nil -type GetClusterClusterInfoInitScriptS3PtrInput interface { +type StorageCredentialGcpServiceAccountKeyPtrInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput - ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptS3PtrOutput + ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput + ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput } -type getClusterClusterInfoInitScriptS3PtrType GetClusterClusterInfoInitScriptS3Args +type storageCredentialGcpServiceAccountKeyPtrType StorageCredentialGcpServiceAccountKeyArgs -func GetClusterClusterInfoInitScriptS3Ptr(v *GetClusterClusterInfoInitScriptS3Args) GetClusterClusterInfoInitScriptS3PtrInput { - return (*getClusterClusterInfoInitScriptS3PtrType)(v) +func StorageCredentialGcpServiceAccountKeyPtr(v *StorageCredentialGcpServiceAccountKeyArgs) StorageCredentialGcpServiceAccountKeyPtrInput { + return (*storageCredentialGcpServiceAccountKeyPtrType)(v) } -func (*getClusterClusterInfoInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptS3)(nil)).Elem() +func (*storageCredentialGcpServiceAccountKeyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialGcpServiceAccountKey)(nil)).Elem() } -func (i *getClusterClusterInfoInitScriptS3PtrType) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { - return i.ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Background()) +func (i *storageCredentialGcpServiceAccountKeyPtrType) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { + return i.ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoInitScriptS3PtrType) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptS3PtrOutput) +func (i *storageCredentialGcpServiceAccountKeyPtrType) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialGcpServiceAccountKeyPtrOutput) } -type GetClusterClusterInfoInitScriptS3Output struct{ *pulumi.OutputState } +type StorageCredentialGcpServiceAccountKeyOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptS3)(nil)).Elem() +func (StorageCredentialGcpServiceAccountKeyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialGcpServiceAccountKey)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3Output() GetClusterClusterInfoInitScriptS3Output { +func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyOutput() StorageCredentialGcpServiceAccountKeyOutput { return o } -func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3OutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3Output { +func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyOutput { return o } -func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { - return o.ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Background()) +func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { + return o.ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptS3) *GetClusterClusterInfoInitScriptS3 { +func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialGcpServiceAccountKey) *StorageCredentialGcpServiceAccountKey { 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) + }).(StorageCredentialGcpServiceAccountKeyPtrOutput) } -func (o GetClusterClusterInfoInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +// The email of the GCP service account created, to be granted access to relevant buckets. +// +// `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): +func (o StorageCredentialGcpServiceAccountKeyOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v StorageCredentialGcpServiceAccountKey) string { return v.Email }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *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 GetClusterClusterInfoInitScriptS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *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 GetClusterClusterInfoInitScriptS3PtrOutput struct{ *pulumi.OutputState } +type StorageCredentialGcpServiceAccountKeyPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptS3)(nil)).Elem() +func (StorageCredentialGcpServiceAccountKeyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialGcpServiceAccountKey)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptS3PtrOutput) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { +func (o StorageCredentialGcpServiceAccountKeyPtrOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { return o } -func (o GetClusterClusterInfoInitScriptS3PtrOutput) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { +func (o StorageCredentialGcpServiceAccountKeyPtrOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { return o } -func (o GetClusterClusterInfoInitScriptS3PtrOutput) Elem() GetClusterClusterInfoInitScriptS3Output { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) GetClusterClusterInfoInitScriptS3 { +func (o StorageCredentialGcpServiceAccountKeyPtrOutput) Elem() StorageCredentialGcpServiceAccountKeyOutput { + return o.ApplyT(func(v *StorageCredentialGcpServiceAccountKey) StorageCredentialGcpServiceAccountKey { if v != nil { return *v } - var ret GetClusterClusterInfoInitScriptS3 + var ret StorageCredentialGcpServiceAccountKey return ret - }).(GetClusterClusterInfoInitScriptS3Output) + }).(StorageCredentialGcpServiceAccountKeyOutput) } -func (o GetClusterClusterInfoInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { +// The email of the GCP service account created, to be granted access to relevant buckets. +// +// `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): +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 GetClusterClusterInfoInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *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 GetClusterClusterInfoInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *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 GetClusterClusterInfoInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *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 GetClusterClusterInfoInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *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 GetClusterClusterInfoInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *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 GetClusterClusterInfoInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) +func (TableColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TableColumn)(nil)).Elem() } -type GetClusterClusterInfoInitScriptVolumes struct { - Destination string `pulumi:"destination"` +func (i TableColumnArgs) ToTableColumnOutput() TableColumnOutput { + return i.ToTableColumnOutputWithContext(context.Background()) } -// GetClusterClusterInfoInitScriptVolumesInput is an input type that accepts GetClusterClusterInfoInitScriptVolumesArgs and GetClusterClusterInfoInitScriptVolumesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptVolumesInput` via: +func (i TableColumnArgs) ToTableColumnOutputWithContext(ctx context.Context) TableColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(TableColumnOutput) +} + +// TableColumnArrayInput is an input type that accepts TableColumnArray and TableColumnArrayOutput values. +// You can construct a concrete instance of `TableColumnArrayInput` via: // -// GetClusterClusterInfoInitScriptVolumesArgs{...} -type GetClusterClusterInfoInitScriptVolumesInput interface { +// TableColumnArray{ TableColumnArgs{...} } +type TableColumnArrayInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptVolumesOutput() GetClusterClusterInfoInitScriptVolumesOutput - ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(context.Context) GetClusterClusterInfoInitScriptVolumesOutput + ToTableColumnArrayOutput() TableColumnArrayOutput + ToTableColumnArrayOutputWithContext(context.Context) TableColumnArrayOutput } -type GetClusterClusterInfoInitScriptVolumesArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} +type TableColumnArray []TableColumnInput -func (GetClusterClusterInfoInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() +func (TableColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]TableColumn)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesOutput() GetClusterClusterInfoInitScriptVolumesOutput { - return i.ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(context.Background()) +func (i TableColumnArray) ToTableColumnArrayOutput() TableColumnArrayOutput { + return i.ToTableColumnArrayOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptVolumesOutput) +func (i TableColumnArray) ToTableColumnArrayOutputWithContext(ctx context.Context) TableColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TableColumnArrayOutput) } -func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { - return i.ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Background()) -} +type TableColumnOutput struct{ *pulumi.OutputState } -func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptVolumesOutput).ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx) +func (TableColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TableColumn)(nil)).Elem() } -// GetClusterClusterInfoInitScriptVolumesPtrInput is an input type that accepts GetClusterClusterInfoInitScriptVolumesArgs, GetClusterClusterInfoInitScriptVolumesPtr and GetClusterClusterInfoInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptVolumesPtrInput` via: -// -// GetClusterClusterInfoInitScriptVolumesArgs{...} -// -// or: -// -// nil -type GetClusterClusterInfoInitScriptVolumesPtrInput interface { - pulumi.Input - - ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput - ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput +func (o TableColumnOutput) ToTableColumnOutput() TableColumnOutput { + return o } -type getClusterClusterInfoInitScriptVolumesPtrType GetClusterClusterInfoInitScriptVolumesArgs +func (o TableColumnOutput) ToTableColumnOutputWithContext(ctx context.Context) TableColumnOutput { + return o +} -func GetClusterClusterInfoInitScriptVolumesPtr(v *GetClusterClusterInfoInitScriptVolumesArgs) GetClusterClusterInfoInitScriptVolumesPtrInput { - return (*getClusterClusterInfoInitScriptVolumesPtrType)(v) +func (o TableColumnOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v TableColumn) *string { return v.Comment }).(pulumi.StringPtrOutput) } -func (*getClusterClusterInfoInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() +func (o TableColumnOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v TableColumn) string { return v.Name }).(pulumi.StringOutput) } -func (i *getClusterClusterInfoInitScriptVolumesPtrType) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { - return i.ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Background()) +func (o TableColumnOutput) Nullable() pulumi.BoolPtrOutput { + return o.ApplyT(func(v TableColumn) *bool { return v.Nullable }).(pulumi.BoolPtrOutput) } -func (i *getClusterClusterInfoInitScriptVolumesPtrType) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptVolumesPtrOutput) +func (o TableColumnOutput) PartitionIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v TableColumn) *int { return v.PartitionIndex }).(pulumi.IntPtrOutput) } -type GetClusterClusterInfoInitScriptVolumesOutput struct{ *pulumi.OutputState } +func (o TableColumnOutput) Position() pulumi.IntOutput { + return o.ApplyT(func(v TableColumn) int { return v.Position }).(pulumi.IntOutput) +} -func (GetClusterClusterInfoInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() +func (o TableColumnOutput) TypeIntervalType() pulumi.StringPtrOutput { + return o.ApplyT(func(v TableColumn) *string { return v.TypeIntervalType }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesOutput() GetClusterClusterInfoInitScriptVolumesOutput { - return o +func (o TableColumnOutput) TypeJson() pulumi.StringPtrOutput { + return o.ApplyT(func(v TableColumn) *string { return v.TypeJson }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesOutput { - return o +func (o TableColumnOutput) TypeName() pulumi.StringOutput { + return o.ApplyT(func(v TableColumn) string { return v.TypeName }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { - return o.ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Background()) +func (o TableColumnOutput) TypePrecision() pulumi.IntPtrOutput { + return o.ApplyT(func(v TableColumn) *int { return v.TypePrecision }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptVolumes) *GetClusterClusterInfoInitScriptVolumes { - return &v - }).(GetClusterClusterInfoInitScriptVolumesPtrOutput) +func (o TableColumnOutput) TypeScale() pulumi.IntPtrOutput { + return o.ApplyT(func(v TableColumn) *int { return v.TypeScale }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoInitScriptVolumesOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) +func (o TableColumnOutput) TypeText() pulumi.StringOutput { + return o.ApplyT(func(v TableColumn) string { return v.TypeText }).(pulumi.StringOutput) } -type GetClusterClusterInfoInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } +type TableColumnArrayOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptVolumesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() +func (TableColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]TableColumn)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { +func (o TableColumnArrayOutput) ToTableColumnArrayOutput() TableColumnArrayOutput { return o } -func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { +func (o TableColumnArrayOutput) ToTableColumnArrayOutputWithContext(ctx context.Context) TableColumnArrayOutput { return o } -func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) Elem() GetClusterClusterInfoInitScriptVolumesOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptVolumes) GetClusterClusterInfoInitScriptVolumes { - if v != nil { - return *v - } - var ret GetClusterClusterInfoInitScriptVolumes - return ret - }).(GetClusterClusterInfoInitScriptVolumesOutput) -} - -func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptVolumes) *string { - if v == nil { - return nil - } - return &v.Destination - }).(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 GetClusterClusterInfoInitScriptWorkspace struct { - Destination string `pulumi:"destination"` +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"` } -// GetClusterClusterInfoInitScriptWorkspaceInput is an input type that accepts GetClusterClusterInfoInitScriptWorkspaceArgs and GetClusterClusterInfoInitScriptWorkspaceOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptWorkspaceInput` via: +// VectorSearchEndpointEndpointStatusInput is an input type that accepts VectorSearchEndpointEndpointStatusArgs and VectorSearchEndpointEndpointStatusOutput values. +// You can construct a concrete instance of `VectorSearchEndpointEndpointStatusInput` via: // -// GetClusterClusterInfoInitScriptWorkspaceArgs{...} -type GetClusterClusterInfoInitScriptWorkspaceInput interface { +// VectorSearchEndpointEndpointStatusArgs{...} +type VectorSearchEndpointEndpointStatusInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptWorkspaceOutput() GetClusterClusterInfoInitScriptWorkspaceOutput - ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(context.Context) GetClusterClusterInfoInitScriptWorkspaceOutput -} - -type GetClusterClusterInfoInitScriptWorkspaceArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (GetClusterClusterInfoInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() + ToVectorSearchEndpointEndpointStatusOutput() VectorSearchEndpointEndpointStatusOutput + ToVectorSearchEndpointEndpointStatusOutputWithContext(context.Context) VectorSearchEndpointEndpointStatusOutput } -func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspaceOutput() GetClusterClusterInfoInitScriptWorkspaceOutput { - return i.ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(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 GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptWorkspaceOutput) +func (VectorSearchEndpointEndpointStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchEndpointEndpointStatus)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { - return i.ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i VectorSearchEndpointEndpointStatusArgs) ToVectorSearchEndpointEndpointStatusOutput() VectorSearchEndpointEndpointStatusOutput { + return i.ToVectorSearchEndpointEndpointStatusOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptWorkspaceOutput).ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx) +func (i VectorSearchEndpointEndpointStatusArgs) ToVectorSearchEndpointEndpointStatusOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchEndpointEndpointStatusOutput) } -// GetClusterClusterInfoInitScriptWorkspacePtrInput is an input type that accepts GetClusterClusterInfoInitScriptWorkspaceArgs, GetClusterClusterInfoInitScriptWorkspacePtr and GetClusterClusterInfoInitScriptWorkspacePtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptWorkspacePtrInput` via: -// -// GetClusterClusterInfoInitScriptWorkspaceArgs{...} -// -// or: +// VectorSearchEndpointEndpointStatusArrayInput is an input type that accepts VectorSearchEndpointEndpointStatusArray and VectorSearchEndpointEndpointStatusArrayOutput values. +// You can construct a concrete instance of `VectorSearchEndpointEndpointStatusArrayInput` via: // -// nil -type GetClusterClusterInfoInitScriptWorkspacePtrInput interface { +// VectorSearchEndpointEndpointStatusArray{ VectorSearchEndpointEndpointStatusArgs{...} } +type VectorSearchEndpointEndpointStatusArrayInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput - ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput + ToVectorSearchEndpointEndpointStatusArrayOutput() VectorSearchEndpointEndpointStatusArrayOutput + ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(context.Context) VectorSearchEndpointEndpointStatusArrayOutput } -type getClusterClusterInfoInitScriptWorkspacePtrType GetClusterClusterInfoInitScriptWorkspaceArgs - -func GetClusterClusterInfoInitScriptWorkspacePtr(v *GetClusterClusterInfoInitScriptWorkspaceArgs) GetClusterClusterInfoInitScriptWorkspacePtrInput { - return (*getClusterClusterInfoInitScriptWorkspacePtrType)(v) -} +type VectorSearchEndpointEndpointStatusArray []VectorSearchEndpointEndpointStatusInput -func (*getClusterClusterInfoInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() +func (VectorSearchEndpointEndpointStatusArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchEndpointEndpointStatus)(nil)).Elem() } -func (i *getClusterClusterInfoInitScriptWorkspacePtrType) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { - return i.ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i VectorSearchEndpointEndpointStatusArray) ToVectorSearchEndpointEndpointStatusArrayOutput() VectorSearchEndpointEndpointStatusArrayOutput { + return i.ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoInitScriptWorkspacePtrType) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptWorkspacePtrOutput) +func (i VectorSearchEndpointEndpointStatusArray) ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchEndpointEndpointStatusArrayOutput) } -type GetClusterClusterInfoInitScriptWorkspaceOutput struct{ *pulumi.OutputState } +type VectorSearchEndpointEndpointStatusOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() +func (VectorSearchEndpointEndpointStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchEndpointEndpointStatus)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspaceOutput() GetClusterClusterInfoInitScriptWorkspaceOutput { +func (o VectorSearchEndpointEndpointStatusOutput) ToVectorSearchEndpointEndpointStatusOutput() VectorSearchEndpointEndpointStatusOutput { return o } -func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspaceOutput { +func (o VectorSearchEndpointEndpointStatusOutput) ToVectorSearchEndpointEndpointStatusOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusOutput { return o } -func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { - return o.ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Background()) -} - -func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptWorkspace) *GetClusterClusterInfoInitScriptWorkspace { - return &v - }).(GetClusterClusterInfoInitScriptWorkspacePtrOutput) +// Additional status message. +func (o VectorSearchEndpointEndpointStatusOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchEndpointEndpointStatus) *string { return v.Message }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) +// 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 GetClusterClusterInfoInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } +type VectorSearchEndpointEndpointStatusArrayOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() +func (VectorSearchEndpointEndpointStatusArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchEndpointEndpointStatus)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { +func (o VectorSearchEndpointEndpointStatusArrayOutput) ToVectorSearchEndpointEndpointStatusArrayOutput() VectorSearchEndpointEndpointStatusArrayOutput { return o } -func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { +func (o VectorSearchEndpointEndpointStatusArrayOutput) ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusArrayOutput { return o } -func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) Elem() GetClusterClusterInfoInitScriptWorkspaceOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptWorkspace) GetClusterClusterInfoInitScriptWorkspace { - if v != nil { - return *v - } - var ret GetClusterClusterInfoInitScriptWorkspace - return ret - }).(GetClusterClusterInfoInitScriptWorkspaceOutput) -} - -func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptWorkspace) *string { - if v == nil { - return nil - } - return &v.Destination - }).(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 GetClusterClusterInfoTerminationReason struct { - Code *string `pulumi:"code"` - Parameters map[string]interface{} `pulumi:"parameters"` - Type *string `pulumi:"type"` +type VectorSearchIndexDeltaSyncIndexSpec struct { + // array of objects representing columns that contain the embedding source. Each entry consists of: + EmbeddingSourceColumns []VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn `pulumi:"embeddingSourceColumns"` + // array of objects representing columns that contain the embedding vectors. Each entry consists of: + EmbeddingVectorColumns []VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn `pulumi:"embeddingVectorColumns"` + // ID of the associated Delta Live Table pipeline. + PipelineId *string `pulumi:"pipelineId"` + // Pipeline execution mode. Possible values are: + PipelineType *string `pulumi:"pipelineType"` + // The name of the source table. + SourceTable *string `pulumi:"sourceTable"` } -// GetClusterClusterInfoTerminationReasonInput is an input type that accepts GetClusterClusterInfoTerminationReasonArgs and GetClusterClusterInfoTerminationReasonOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoTerminationReasonInput` via: +// VectorSearchIndexDeltaSyncIndexSpecInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecArgs and VectorSearchIndexDeltaSyncIndexSpecOutput values. +// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecInput` via: // -// GetClusterClusterInfoTerminationReasonArgs{...} -type GetClusterClusterInfoTerminationReasonInput interface { +// VectorSearchIndexDeltaSyncIndexSpecArgs{...} +type VectorSearchIndexDeltaSyncIndexSpecInput interface { pulumi.Input - ToGetClusterClusterInfoTerminationReasonOutput() GetClusterClusterInfoTerminationReasonOutput - ToGetClusterClusterInfoTerminationReasonOutputWithContext(context.Context) GetClusterClusterInfoTerminationReasonOutput + ToVectorSearchIndexDeltaSyncIndexSpecOutput() VectorSearchIndexDeltaSyncIndexSpecOutput + ToVectorSearchIndexDeltaSyncIndexSpecOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecOutput } -type GetClusterClusterInfoTerminationReasonArgs struct { - Code pulumi.StringPtrInput `pulumi:"code"` - Parameters pulumi.MapInput `pulumi:"parameters"` - Type pulumi.StringPtrInput `pulumi:"type"` +type VectorSearchIndexDeltaSyncIndexSpecArgs struct { + // array of objects representing columns that contain the embedding source. Each entry consists of: + EmbeddingSourceColumns VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayInput `pulumi:"embeddingSourceColumns"` + // array of objects representing columns that contain the embedding vectors. Each entry consists of: + EmbeddingVectorColumns VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayInput `pulumi:"embeddingVectorColumns"` + // ID of the associated Delta Live Table pipeline. + PipelineId pulumi.StringPtrInput `pulumi:"pipelineId"` + // Pipeline execution mode. Possible values are: + PipelineType pulumi.StringPtrInput `pulumi:"pipelineType"` + // The name of the source table. + SourceTable pulumi.StringPtrInput `pulumi:"sourceTable"` } -func (GetClusterClusterInfoTerminationReasonArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoTerminationReason)(nil)).Elem() +func (VectorSearchIndexDeltaSyncIndexSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpec)(nil)).Elem() } -func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonOutput() GetClusterClusterInfoTerminationReasonOutput { - return i.ToGetClusterClusterInfoTerminationReasonOutputWithContext(context.Background()) +func (i VectorSearchIndexDeltaSyncIndexSpecArgs) ToVectorSearchIndexDeltaSyncIndexSpecOutput() VectorSearchIndexDeltaSyncIndexSpecOutput { + return i.ToVectorSearchIndexDeltaSyncIndexSpecOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoTerminationReasonOutput) +func (i VectorSearchIndexDeltaSyncIndexSpecArgs) ToVectorSearchIndexDeltaSyncIndexSpecOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecOutput) } -func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { - return i.ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Background()) +func (i VectorSearchIndexDeltaSyncIndexSpecArgs) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput { + return i.ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoTerminationReasonOutput).ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx) +func (i VectorSearchIndexDeltaSyncIndexSpecArgs) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecOutput).ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx) } -// GetClusterClusterInfoTerminationReasonPtrInput is an input type that accepts GetClusterClusterInfoTerminationReasonArgs, GetClusterClusterInfoTerminationReasonPtr and GetClusterClusterInfoTerminationReasonPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoTerminationReasonPtrInput` via: +// VectorSearchIndexDeltaSyncIndexSpecPtrInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecArgs, VectorSearchIndexDeltaSyncIndexSpecPtr and VectorSearchIndexDeltaSyncIndexSpecPtrOutput values. +// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecPtrInput` via: // -// GetClusterClusterInfoTerminationReasonArgs{...} +// VectorSearchIndexDeltaSyncIndexSpecArgs{...} // // or: // // nil -type GetClusterClusterInfoTerminationReasonPtrInput interface { +type VectorSearchIndexDeltaSyncIndexSpecPtrInput interface { pulumi.Input - ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput - ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Context) GetClusterClusterInfoTerminationReasonPtrOutput + ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput + ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput } -type getClusterClusterInfoTerminationReasonPtrType GetClusterClusterInfoTerminationReasonArgs +type vectorSearchIndexDeltaSyncIndexSpecPtrType VectorSearchIndexDeltaSyncIndexSpecArgs -func GetClusterClusterInfoTerminationReasonPtr(v *GetClusterClusterInfoTerminationReasonArgs) GetClusterClusterInfoTerminationReasonPtrInput { - return (*getClusterClusterInfoTerminationReasonPtrType)(v) +func VectorSearchIndexDeltaSyncIndexSpecPtr(v *VectorSearchIndexDeltaSyncIndexSpecArgs) VectorSearchIndexDeltaSyncIndexSpecPtrInput { + return (*vectorSearchIndexDeltaSyncIndexSpecPtrType)(v) } -func (*getClusterClusterInfoTerminationReasonPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoTerminationReason)(nil)).Elem() +func (*vectorSearchIndexDeltaSyncIndexSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**VectorSearchIndexDeltaSyncIndexSpec)(nil)).Elem() } -func (i *getClusterClusterInfoTerminationReasonPtrType) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { - return i.ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Background()) +func (i *vectorSearchIndexDeltaSyncIndexSpecPtrType) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput { + return i.ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoTerminationReasonPtrType) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoTerminationReasonPtrOutput) +func (i *vectorSearchIndexDeltaSyncIndexSpecPtrType) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecPtrOutput) } -type GetClusterClusterInfoTerminationReasonOutput struct{ *pulumi.OutputState } +type VectorSearchIndexDeltaSyncIndexSpecOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoTerminationReasonOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoTerminationReason)(nil)).Elem() +func (VectorSearchIndexDeltaSyncIndexSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpec)(nil)).Elem() } -func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonOutput() GetClusterClusterInfoTerminationReasonOutput { +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) ToVectorSearchIndexDeltaSyncIndexSpecOutput() VectorSearchIndexDeltaSyncIndexSpecOutput { return o } -func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonOutput { +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) ToVectorSearchIndexDeltaSyncIndexSpecOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecOutput { return o } -func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { - return o.ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Background()) +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput { + return o.ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoTerminationReason) *GetClusterClusterInfoTerminationReason { +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v VectorSearchIndexDeltaSyncIndexSpec) *VectorSearchIndexDeltaSyncIndexSpec { return &v - }).(GetClusterClusterInfoTerminationReasonPtrOutput) + }).(VectorSearchIndexDeltaSyncIndexSpecPtrOutput) } -func (o GetClusterClusterInfoTerminationReasonOutput) Code() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoTerminationReason) *string { return v.Code }).(pulumi.StringPtrOutput) +// 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 GetClusterClusterInfoTerminationReasonOutput) Parameters() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterClusterInfoTerminationReason) map[string]interface{} { return v.Parameters }).(pulumi.MapOutput) +// array of objects representing columns that contain the embedding vectors. Each entry consists of: +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) EmbeddingVectorColumns() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) []VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn { + return v.EmbeddingVectorColumns + }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) } -func (o GetClusterClusterInfoTerminationReasonOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoTerminationReason) *string { return v.Type }).(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) } -type GetClusterClusterInfoTerminationReasonPtrOutput struct{ *pulumi.OutputState } +// Pipeline execution mode. Possible values are: +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) PipelineType() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) *string { return v.PipelineType }).(pulumi.StringPtrOutput) +} -func (GetClusterClusterInfoTerminationReasonPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoTerminationReason)(nil)).Elem() +// The name of the source table. +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) SourceTable() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) *string { return v.SourceTable }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoTerminationReasonPtrOutput) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { +type VectorSearchIndexDeltaSyncIndexSpecPtrOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexDeltaSyncIndexSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VectorSearchIndexDeltaSyncIndexSpec)(nil)).Elem() +} + +func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput { return o } -func (o GetClusterClusterInfoTerminationReasonPtrOutput) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { +func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput { return o } -func (o GetClusterClusterInfoTerminationReasonPtrOutput) Elem() GetClusterClusterInfoTerminationReasonOutput { - return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) GetClusterClusterInfoTerminationReason { +func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) Elem() VectorSearchIndexDeltaSyncIndexSpecOutput { + return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) VectorSearchIndexDeltaSyncIndexSpec { if v != nil { return *v } - var ret GetClusterClusterInfoTerminationReason + var ret VectorSearchIndexDeltaSyncIndexSpec return ret - }).(GetClusterClusterInfoTerminationReasonOutput) + }).(VectorSearchIndexDeltaSyncIndexSpecOutput) } -func (o GetClusterClusterInfoTerminationReasonPtrOutput) Code() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) *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.Code + return v.EmbeddingSourceColumns + }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) +} + +// array of objects representing columns that contain the embedding vectors. Each entry consists of: +func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) EmbeddingVectorColumns() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { + return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) []VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn { + if v == nil { + return nil + } + return v.EmbeddingVectorColumns + }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) +} + +// 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) } -func (o GetClusterClusterInfoTerminationReasonPtrOutput) Parameters() pulumi.MapOutput { - return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) map[string]interface{} { +// Pipeline execution mode. Possible values are: +func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) PipelineType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) *string { if v == nil { return nil } - return v.Parameters - }).(pulumi.MapOutput) + return v.PipelineType + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoTerminationReasonPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) *string { +// 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.Type + return v.SourceTable }).(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"` - // 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. +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn struct { + // The name of the embedding model endpoint + EmbeddingModelEndpointName *string `pulumi:"embeddingModelEndpointName"` + // The name of the column. 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: +// VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs and VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput values. +// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnInput` via: // -// GetCurrentMetastoreMetastoreInfoArgs{...} -type GetCurrentMetastoreMetastoreInfoInput interface { +// VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs{...} +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnInput interface { pulumi.Input - ToGetCurrentMetastoreMetastoreInfoOutput() GetCurrentMetastoreMetastoreInfoOutput - ToGetCurrentMetastoreMetastoreInfoOutputWithContext(context.Context) GetCurrentMetastoreMetastoreInfoOutput + ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput + ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput } -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"` - // 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. +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs struct { + // The name of the embedding model endpoint + EmbeddingModelEndpointName pulumi.StringPtrInput `pulumi:"embeddingModelEndpointName"` + // The name of the column. 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 (VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)(nil)).Elem() } -func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { - return i.ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) +func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { + return i.ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutputWithContext(context.Background()) } -func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCurrentMetastoreMetastoreInfoOutput).ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx) +func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) } -// GetCurrentMetastoreMetastoreInfoPtrInput is an input type that accepts GetCurrentMetastoreMetastoreInfoArgs, GetCurrentMetastoreMetastoreInfoPtr and GetCurrentMetastoreMetastoreInfoPtrOutput values. -// You can construct a concrete instance of `GetCurrentMetastoreMetastoreInfoPtrInput` via: -// -// GetCurrentMetastoreMetastoreInfoArgs{...} -// -// or: +// VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray and VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput values. +// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayInput` via: // -// nil -type GetCurrentMetastoreMetastoreInfoPtrInput interface { +// VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray{ VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs{...} } +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayInput interface { pulumi.Input - ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput - ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput + ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput + ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput } -type getCurrentMetastoreMetastoreInfoPtrType GetCurrentMetastoreMetastoreInfoArgs +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray []VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnInput -func GetCurrentMetastoreMetastoreInfoPtr(v *GetCurrentMetastoreMetastoreInfoArgs) GetCurrentMetastoreMetastoreInfoPtrInput { - return (*getCurrentMetastoreMetastoreInfoPtrType)(v) +func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)(nil)).Elem() } -func (*getCurrentMetastoreMetastoreInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetCurrentMetastoreMetastoreInfo)(nil)).Elem() +func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { + return i.ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutputWithContext(context.Background()) } -func (i *getCurrentMetastoreMetastoreInfoPtrType) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { - return i.ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) +func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) } -func (i *getCurrentMetastoreMetastoreInfoPtrType) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCurrentMetastoreMetastoreInfoPtrOutput) +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)(nil)).Elem() } -type GetCurrentMetastoreMetastoreInfoOutput struct{ *pulumi.OutputState } - -func (GetCurrentMetastoreMetastoreInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetCurrentMetastoreMetastoreInfo)(nil)).Elem() +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { + return o } -func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoOutput() GetCurrentMetastoreMetastoreInfoOutput { +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { return o } -func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoOutput { - return o +// The name of the embedding model endpoint +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) EmbeddingModelEndpointName() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn) *string { + return v.EmbeddingModelEndpointName + }).(pulumi.StringPtrOutput) } -func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { - return o.ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) +// The name of the column. +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCurrentMetastoreMetastoreInfo) *GetCurrentMetastoreMetastoreInfo { - return &v - }).(GetCurrentMetastoreMetastoreInfoPtrOutput) +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)(nil)).Elem() } -func (o GetCurrentMetastoreMetastoreInfoOutput) Cloud() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.Cloud }).(pulumi.StringPtrOutput) +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { + return o } -// 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 VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { + return o } -// 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 VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) Index(i pulumi.IntInput) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn { + return vs[0].([]VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)[vs[1].(int)] + }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) } -// 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) +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn struct { + // Dimension of the embedding vector. + EmbeddingDimension *int `pulumi:"embeddingDimension"` + // The name of the column. + Name *string `pulumi:"name"` } -// 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) +// 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 } -// 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 VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs struct { + // Dimension of the embedding vector. + EmbeddingDimension pulumi.IntPtrInput `pulumi:"embeddingDimension"` + // The name of the column. + Name pulumi.StringPtrInput `pulumi:"name"` } -// 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 (VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)(nil)).Elem() } -// 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 (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { + return i.ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutputWithContext(context.Background()) } -// Metastore ID. -func (o GetCurrentMetastoreMetastoreInfoOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) +func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) } -// Name of metastore. -func (o GetCurrentMetastoreMetastoreInfoOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.Name }).(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 } -// 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) +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray []VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnInput + +func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)(nil)).Elem() } -// 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) +func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { + return i.ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutputWithContext(context.Background()) } -// (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) +func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) } -// 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) +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)(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 (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { + return o } -// 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 (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { + return o } -// 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) +// Dimension of the embedding vector. +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) EmbeddingDimension() pulumi.IntPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn) *int { return v.EmbeddingDimension }).(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) +// The name of the column. +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn) *string { return v.Name }).(pulumi.StringPtrOutput) } -type GetCurrentMetastoreMetastoreInfoPtrOutput struct{ *pulumi.OutputState } +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput struct{ *pulumi.OutputState } -func (GetCurrentMetastoreMetastoreInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetCurrentMetastoreMetastoreInfo)(nil)).Elem() +func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)(nil)).Elem() } -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { return o } -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { 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 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 GetCurrentMetastoreMetastoreInfoPtrOutput) Cloud() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.Cloud - }).(pulumi.StringPtrOutput) +type VectorSearchIndexDirectAccessIndexSpec struct { + // array of objects representing columns that contain the embedding source. Each entry consists of: + EmbeddingSourceColumns []VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn `pulumi:"embeddingSourceColumns"` + // array of objects representing columns that contain the embedding vectors. Each entry consists of: + 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"` } -// 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) +// VectorSearchIndexDirectAccessIndexSpecInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecArgs and VectorSearchIndexDirectAccessIndexSpecOutput values. +// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecInput` via: +// +// VectorSearchIndexDirectAccessIndexSpecArgs{...} +type VectorSearchIndexDirectAccessIndexSpecInput interface { + pulumi.Input + + ToVectorSearchIndexDirectAccessIndexSpecOutput() VectorSearchIndexDirectAccessIndexSpecOutput + ToVectorSearchIndexDirectAccessIndexSpecOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecOutput } -// 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) +type VectorSearchIndexDirectAccessIndexSpecArgs struct { + // array of objects representing columns that contain the embedding source. Each entry consists of: + EmbeddingSourceColumns VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayInput `pulumi:"embeddingSourceColumns"` + // array of objects representing columns that contain the embedding vectors. Each entry consists of: + 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"` } -// 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 (VectorSearchIndexDirectAccessIndexSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpec)(nil)).Elem() } -// 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 (i VectorSearchIndexDirectAccessIndexSpecArgs) ToVectorSearchIndexDirectAccessIndexSpecOutput() VectorSearchIndexDirectAccessIndexSpecOutput { + return i.ToVectorSearchIndexDirectAccessIndexSpecOutputWithContext(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 (i VectorSearchIndexDirectAccessIndexSpecArgs) ToVectorSearchIndexDirectAccessIndexSpecOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecOutput) } -// 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 (i VectorSearchIndexDirectAccessIndexSpecArgs) ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return i.ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(context.Background()) } -// 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 (i VectorSearchIndexDirectAccessIndexSpecArgs) ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecOutput).ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx) } -// 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) +// VectorSearchIndexDirectAccessIndexSpecPtrInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecArgs, VectorSearchIndexDirectAccessIndexSpecPtr and VectorSearchIndexDirectAccessIndexSpecPtrOutput values. +// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecPtrInput` via: +// +// VectorSearchIndexDirectAccessIndexSpecArgs{...} +// +// or: +// +// nil +type VectorSearchIndexDirectAccessIndexSpecPtrInput interface { + pulumi.Input + + ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput + ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput } -// 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) +type vectorSearchIndexDirectAccessIndexSpecPtrType VectorSearchIndexDirectAccessIndexSpecArgs + +func VectorSearchIndexDirectAccessIndexSpecPtr(v *VectorSearchIndexDirectAccessIndexSpecArgs) VectorSearchIndexDirectAccessIndexSpecPtrInput { + return (*vectorSearchIndexDirectAccessIndexSpecPtrType)(v) } -// 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) +func (*vectorSearchIndexDirectAccessIndexSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**VectorSearchIndexDirectAccessIndexSpec)(nil)).Elem() } -// 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) +func (i *vectorSearchIndexDirectAccessIndexSpecPtrType) ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return i.ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(context.Background()) } -// (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) +func (i *vectorSearchIndexDirectAccessIndexSpecPtrType) ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecPtrOutput) } -// 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 VectorSearchIndexDirectAccessIndexSpecOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexDirectAccessIndexSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpec)(nil)).Elem() } -// 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 +func (o VectorSearchIndexDirectAccessIndexSpecOutput) ToVectorSearchIndexDirectAccessIndexSpecOutput() VectorSearchIndexDirectAccessIndexSpecOutput { + return o +} + +func (o VectorSearchIndexDirectAccessIndexSpecOutput) ToVectorSearchIndexDirectAccessIndexSpecOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecOutput { + return o +} + +func (o VectorSearchIndexDirectAccessIndexSpecOutput) ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return o.ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(context.Background()) +} + +func (o VectorSearchIndexDirectAccessIndexSpecOutput) ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v VectorSearchIndexDirectAccessIndexSpec) *VectorSearchIndexDirectAccessIndexSpec { + return &v + }).(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) +} + +// array of objects representing columns that contain the embedding vectors. Each entry consists of: +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 VectorSearchIndexDirectAccessIndexSpecPtrOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexDirectAccessIndexSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VectorSearchIndexDirectAccessIndexSpec)(nil)).Elem() +} + +func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return o +} + +func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return o +} + +func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) Elem() VectorSearchIndexDirectAccessIndexSpecOutput { + return o.ApplyT(func(v *VectorSearchIndexDirectAccessIndexSpec) VectorSearchIndexDirectAccessIndexSpec { + if v != nil { + return *v } - return v.StorageRootCredentialId - }).(pulumi.StringPtrOutput) + var ret VectorSearchIndexDirectAccessIndexSpec + return ret + }).(VectorSearchIndexDirectAccessIndexSpecOutput) } -// Name of a storage credential used for the `storageRoot`. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) StorageRootCredentialName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { +// 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.StorageRootCredentialName - }).(pulumi.StringPtrOutput) + return v.EmbeddingSourceColumns + }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) } -// Timestamp (in milliseconds) when the current metastore was updated. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *int { +// array of objects representing columns that contain the embedding vectors. Each entry consists of: +func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) EmbeddingVectorColumns() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { + return o.ApplyT(func(v *VectorSearchIndexDirectAccessIndexSpec) []VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn { if v == nil { return nil } - return v.UpdatedAt - }).(pulumi.IntPtrOutput) + return v.EmbeddingVectorColumns + }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) } -// the ID of the identity that updated the current metastore. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { +// 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.UpdatedBy + return v.SchemaJson }).(pulumi.StringPtrOutput) } -type GetDbfsFilePathsPathList struct { - FileSize *int `pulumi:"fileSize"` - // Path on DBFS for the file to perform listing - Path *string `pulumi:"path"` +type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn struct { + // The name of the embedding model endpoint + EmbeddingModelEndpointName *string `pulumi:"embeddingModelEndpointName"` + // The name of the column. + Name *string `pulumi:"name"` } -// GetDbfsFilePathsPathListInput is an input type that accepts GetDbfsFilePathsPathListArgs and GetDbfsFilePathsPathListOutput values. -// You can construct a concrete instance of `GetDbfsFilePathsPathListInput` via: +// VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs and VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput values. +// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnInput` via: // -// GetDbfsFilePathsPathListArgs{...} -type GetDbfsFilePathsPathListInput interface { +// VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs{...} +type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnInput interface { pulumi.Input - ToGetDbfsFilePathsPathListOutput() GetDbfsFilePathsPathListOutput - ToGetDbfsFilePathsPathListOutputWithContext(context.Context) GetDbfsFilePathsPathListOutput + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput } -type GetDbfsFilePathsPathListArgs struct { - FileSize pulumi.IntPtrInput `pulumi:"fileSize"` - // Path on DBFS for the file to perform listing - Path pulumi.StringPtrInput `pulumi:"path"` +type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs struct { + // The name of the embedding model endpoint + EmbeddingModelEndpointName pulumi.StringPtrInput `pulumi:"embeddingModelEndpointName"` + // The name of the column. + Name pulumi.StringPtrInput `pulumi:"name"` } -func (GetDbfsFilePathsPathListArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbfsFilePathsPathList)(nil)).Elem() +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)(nil)).Elem() } -func (i GetDbfsFilePathsPathListArgs) ToGetDbfsFilePathsPathListOutput() GetDbfsFilePathsPathListOutput { - return i.ToGetDbfsFilePathsPathListOutputWithContext(context.Background()) +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { + return i.ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutputWithContext(context.Background()) } -func (i GetDbfsFilePathsPathListArgs) ToGetDbfsFilePathsPathListOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbfsFilePathsPathListOutput) +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) } -// GetDbfsFilePathsPathListArrayInput is an input type that accepts GetDbfsFilePathsPathListArray and GetDbfsFilePathsPathListArrayOutput values. -// You can construct a concrete instance of `GetDbfsFilePathsPathListArrayInput` via: +// VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray and VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput values. +// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayInput` via: // -// GetDbfsFilePathsPathListArray{ GetDbfsFilePathsPathListArgs{...} } -type GetDbfsFilePathsPathListArrayInput interface { +// VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray{ VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs{...} } +type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayInput interface { pulumi.Input - ToGetDbfsFilePathsPathListArrayOutput() GetDbfsFilePathsPathListArrayOutput - ToGetDbfsFilePathsPathListArrayOutputWithContext(context.Context) GetDbfsFilePathsPathListArrayOutput + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput } -type GetDbfsFilePathsPathListArray []GetDbfsFilePathsPathListInput +type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray []VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnInput -func (GetDbfsFilePathsPathListArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbfsFilePathsPathList)(nil)).Elem() +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)(nil)).Elem() } -func (i GetDbfsFilePathsPathListArray) ToGetDbfsFilePathsPathListArrayOutput() GetDbfsFilePathsPathListArrayOutput { - return i.ToGetDbfsFilePathsPathListArrayOutputWithContext(context.Background()) +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { + return i.ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutputWithContext(context.Background()) } -func (i GetDbfsFilePathsPathListArray) ToGetDbfsFilePathsPathListArrayOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbfsFilePathsPathListArrayOutput) +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) } -type GetDbfsFilePathsPathListOutput struct{ *pulumi.OutputState } +type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput struct{ *pulumi.OutputState } -func (GetDbfsFilePathsPathListOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbfsFilePathsPathList)(nil)).Elem() +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)(nil)).Elem() } -func (o GetDbfsFilePathsPathListOutput) ToGetDbfsFilePathsPathListOutput() GetDbfsFilePathsPathListOutput { +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { return o } -func (o GetDbfsFilePathsPathListOutput) ToGetDbfsFilePathsPathListOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListOutput { +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { return o } -func (o GetDbfsFilePathsPathListOutput) FileSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetDbfsFilePathsPathList) *int { return v.FileSize }).(pulumi.IntPtrOutput) +// The name of the embedding model endpoint +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) EmbeddingModelEndpointName() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn) *string { + return v.EmbeddingModelEndpointName + }).(pulumi.StringPtrOutput) } -// 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) +// The name of the column. +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn) *string { return v.Name }).(pulumi.StringPtrOutput) } -type GetDbfsFilePathsPathListArrayOutput struct{ *pulumi.OutputState } +type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput struct{ *pulumi.OutputState } -func (GetDbfsFilePathsPathListArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbfsFilePathsPathList)(nil)).Elem() +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)(nil)).Elem() } -func (o GetDbfsFilePathsPathListArrayOutput) ToGetDbfsFilePathsPathListArrayOutput() GetDbfsFilePathsPathListArrayOutput { +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { return o } -func (o GetDbfsFilePathsPathListArrayOutput) ToGetDbfsFilePathsPathListArrayOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListArrayOutput { +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { 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 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 GetInstancePoolPoolInfo struct { - AwsAttributes *GetInstancePoolPoolInfoAwsAttributes `pulumi:"awsAttributes"` - AzureAttributes *GetInstancePoolPoolInfoAzureAttributes `pulumi:"azureAttributes"` - CustomTags map[string]interface{} `pulumi:"customTags"` - DefaultTags map[string]interface{} `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 VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn struct { + // Dimension of the embedding vector. + EmbeddingDimension *int `pulumi:"embeddingDimension"` + // The name of the column. + Name *string `pulumi:"name"` } -// GetInstancePoolPoolInfoInput is an input type that accepts GetInstancePoolPoolInfoArgs and GetInstancePoolPoolInfoOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoInput` via: +// VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs and VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput values. +// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnInput` via: // -// GetInstancePoolPoolInfoArgs{...} -type GetInstancePoolPoolInfoInput interface { +// VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs{...} +type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnInput interface { pulumi.Input - ToGetInstancePoolPoolInfoOutput() GetInstancePoolPoolInfoOutput - ToGetInstancePoolPoolInfoOutputWithContext(context.Context) GetInstancePoolPoolInfoOutput -} - -type GetInstancePoolPoolInfoArgs struct { - AwsAttributes GetInstancePoolPoolInfoAwsAttributesPtrInput `pulumi:"awsAttributes"` - AzureAttributes GetInstancePoolPoolInfoAzureAttributesPtrInput `pulumi:"azureAttributes"` - CustomTags pulumi.MapInput `pulumi:"customTags"` - DefaultTags pulumi.MapInput `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() + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput } -func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoOutput() GetInstancePoolPoolInfoOutput { - return i.ToGetInstancePoolPoolInfoOutputWithContext(context.Background()) +type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs struct { + // Dimension of the embedding vector. + EmbeddingDimension pulumi.IntPtrInput `pulumi:"embeddingDimension"` + // The name of the column. + Name pulumi.StringPtrInput `pulumi:"name"` } -func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoOutput) +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)(nil)).Elem() } -func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { - return i.ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Background()) +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { + return i.ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoOutput).ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx) +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) } -// GetInstancePoolPoolInfoPtrInput is an input type that accepts GetInstancePoolPoolInfoArgs, GetInstancePoolPoolInfoPtr and GetInstancePoolPoolInfoPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoPtrInput` via: -// -// GetInstancePoolPoolInfoArgs{...} -// -// or: +// VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray and VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput values. +// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayInput` via: // -// nil -type GetInstancePoolPoolInfoPtrInput interface { +// VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray{ VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs{...} } +type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayInput interface { pulumi.Input - ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput - ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoPtrOutput + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput } -type getInstancePoolPoolInfoPtrType GetInstancePoolPoolInfoArgs - -func GetInstancePoolPoolInfoPtr(v *GetInstancePoolPoolInfoArgs) GetInstancePoolPoolInfoPtrInput { - return (*getInstancePoolPoolInfoPtrType)(v) -} +type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray []VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnInput -func (*getInstancePoolPoolInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfo)(nil)).Elem() +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)(nil)).Elem() } -func (i *getInstancePoolPoolInfoPtrType) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { - return i.ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Background()) +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { + return i.ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoPtrType) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPtrOutput) +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) } -type GetInstancePoolPoolInfoOutput struct{ *pulumi.OutputState } +type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfo)(nil)).Elem() +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)(nil)).Elem() } -func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoOutput() GetInstancePoolPoolInfoOutput { +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { return o } -func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoOutput { +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { return o } -func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { - return o.ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Background()) +// Dimension of the embedding vector. +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) EmbeddingDimension() pulumi.IntPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn) *int { return v.EmbeddingDimension }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfo { - return &v - }).(GetInstancePoolPoolInfoPtrOutput) +// The name of the column. +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoOutput) AwsAttributes() GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAwsAttributes { return v.AwsAttributes }).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) -} +type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput struct{ *pulumi.OutputState } -func (o GetInstancePoolPoolInfoOutput) AzureAttributes() GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAzureAttributes { return v.AzureAttributes }).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)(nil)).Elem() } -func (o GetInstancePoolPoolInfoOutput) CustomTags() pulumi.MapOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) map[string]interface{} { return v.CustomTags }).(pulumi.MapOutput) +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { + return o } -func (o GetInstancePoolPoolInfoOutput) DefaultTags() pulumi.MapOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) map[string]interface{} { return v.DefaultTags }).(pulumi.MapOutput) +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { + return o } -func (o GetInstancePoolPoolInfoOutput) DiskSpec() GetInstancePoolPoolInfoDiskSpecPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoDiskSpec { return v.DiskSpec }).(GetInstancePoolPoolInfoDiskSpecPtrOutput) +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 (o GetInstancePoolPoolInfoOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *bool { return v.EnableElasticDisk }).(pulumi.BoolPtrOutput) +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 (o GetInstancePoolPoolInfoOutput) GcpAttributes() GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoGcpAttributes { return v.GcpAttributes }).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) -} +// VectorSearchIndexStatusInput is an input type that accepts VectorSearchIndexStatusArgs and VectorSearchIndexStatusOutput values. +// You can construct a concrete instance of `VectorSearchIndexStatusInput` via: +// +// VectorSearchIndexStatusArgs{...} +type VectorSearchIndexStatusInput interface { + pulumi.Input -func (o GetInstancePoolPoolInfoOutput) IdleInstanceAutoterminationMinutes() pulumi.IntOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) int { return v.IdleInstanceAutoterminationMinutes }).(pulumi.IntOutput) + ToVectorSearchIndexStatusOutput() VectorSearchIndexStatusOutput + ToVectorSearchIndexStatusOutputWithContext(context.Context) VectorSearchIndexStatusOutput } -func (o GetInstancePoolPoolInfoOutput) InstancePoolFleetAttributes() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoInstancePoolFleetAttribute { - return v.InstancePoolFleetAttributes - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) +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 (o GetInstancePoolPoolInfoOutput) InstancePoolId() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) string { return v.InstancePoolId }).(pulumi.StringOutput) +func (VectorSearchIndexStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexStatus)(nil)).Elem() } -func (o GetInstancePoolPoolInfoOutput) InstancePoolName() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) string { return v.InstancePoolName }).(pulumi.StringOutput) +func (i VectorSearchIndexStatusArgs) ToVectorSearchIndexStatusOutput() VectorSearchIndexStatusOutput { + return i.ToVectorSearchIndexStatusOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoOutput) MaxCapacity() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *int { return v.MaxCapacity }).(pulumi.IntPtrOutput) +func (i VectorSearchIndexStatusArgs) ToVectorSearchIndexStatusOutputWithContext(ctx context.Context) VectorSearchIndexStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexStatusOutput) } -func (o GetInstancePoolPoolInfoOutput) MinIdleInstances() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *int { return v.MinIdleInstances }).(pulumi.IntPtrOutput) -} +// 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 -func (o GetInstancePoolPoolInfoOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) + ToVectorSearchIndexStatusArrayOutput() VectorSearchIndexStatusArrayOutput + ToVectorSearchIndexStatusArrayOutputWithContext(context.Context) VectorSearchIndexStatusArrayOutput } -func (o GetInstancePoolPoolInfoOutput) PreloadedDockerImages() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoPreloadedDockerImage { - return v.PreloadedDockerImages - }).(GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) -} +type VectorSearchIndexStatusArray []VectorSearchIndexStatusInput -func (o GetInstancePoolPoolInfoOutput) PreloadedSparkVersions() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) []string { return v.PreloadedSparkVersions }).(pulumi.StringArrayOutput) +func (VectorSearchIndexStatusArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexStatus)(nil)).Elem() } -func (o GetInstancePoolPoolInfoOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *string { return v.State }).(pulumi.StringPtrOutput) +func (i VectorSearchIndexStatusArray) ToVectorSearchIndexStatusArrayOutput() VectorSearchIndexStatusArrayOutput { + return i.ToVectorSearchIndexStatusArrayOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoOutput) Stats() GetInstancePoolPoolInfoStatsPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoStats { return v.Stats }).(GetInstancePoolPoolInfoStatsPtrOutput) +func (i VectorSearchIndexStatusArray) ToVectorSearchIndexStatusArrayOutputWithContext(ctx context.Context) VectorSearchIndexStatusArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexStatusArrayOutput) } -type GetInstancePoolPoolInfoPtrOutput struct{ *pulumi.OutputState } +type VectorSearchIndexStatusOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfo)(nil)).Elem() +func (VectorSearchIndexStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexStatus)(nil)).Elem() } -func (o GetInstancePoolPoolInfoPtrOutput) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { +func (o VectorSearchIndexStatusOutput) ToVectorSearchIndexStatusOutput() VectorSearchIndexStatusOutput { return o } -func (o GetInstancePoolPoolInfoPtrOutput) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { +func (o VectorSearchIndexStatusOutput) ToVectorSearchIndexStatusOutputWithContext(ctx context.Context) VectorSearchIndexStatusOutput { 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) +// 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 GetInstancePoolPoolInfoPtrOutput) AwsAttributes() GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAwsAttributes { - if v == nil { - return nil - } - return v.AwsAttributes - }).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) +// Number of rows indexed +func (o VectorSearchIndexStatusOutput) IndexedRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v VectorSearchIndexStatus) *int { return v.IndexedRowCount }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoPtrOutput) AzureAttributes() GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAzureAttributes { - if v == nil { - return nil - } - return v.AzureAttributes - }).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) +// 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 GetInstancePoolPoolInfoPtrOutput) CustomTags() pulumi.MapOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) map[string]interface{} { - if v == nil { - return nil - } - return v.CustomTags - }).(pulumi.MapOutput) +// 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) } -func (o GetInstancePoolPoolInfoPtrOutput) DefaultTags() pulumi.MapOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) map[string]interface{} { - if v == nil { - return nil - } - return v.DefaultTags - }).(pulumi.MapOutput) +type VectorSearchIndexStatusArrayOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexStatusArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexStatus)(nil)).Elem() } -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 VectorSearchIndexStatusArrayOutput) ToVectorSearchIndexStatusArrayOutput() VectorSearchIndexStatusArrayOutput { + return o } -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 VectorSearchIndexStatusArrayOutput) ToVectorSearchIndexStatusArrayOutputWithContext(ctx context.Context) VectorSearchIndexStatusArrayOutput { + return o } -func (o GetInstancePoolPoolInfoPtrOutput) Stats() GetInstancePoolPoolInfoStatsPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoStats { - if v == nil { - return nil - } - return v.Stats - }).(GetInstancePoolPoolInfoStatsPtrOutput) +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) } -type GetInstancePoolPoolInfoAwsAttributes struct { - Availability *string `pulumi:"availability"` - SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` - 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]interface{} `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]interface{} `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"` + LastActivityTime *int `pulumi:"lastActivityTime"` + 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]interface{} `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]interface{} `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"` + StartTime *int `pulumi:"startTime"` + State string `pulumi:"state"` + StateMessage *string `pulumi:"stateMessage"` + TerminateTime *int `pulumi:"terminateTime"` + TerminationReason *GetClusterClusterInfoTerminationReason `pulumi:"terminationReason"` } -// GetInstancePoolPoolInfoAwsAttributesInput is an input type that accepts GetInstancePoolPoolInfoAwsAttributesArgs and GetInstancePoolPoolInfoAwsAttributesOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoAwsAttributesInput` via: +// GetClusterClusterInfoInput is an input type that accepts GetClusterClusterInfoArgs and GetClusterClusterInfoOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInput` via: // -// GetInstancePoolPoolInfoAwsAttributesArgs{...} -type GetInstancePoolPoolInfoAwsAttributesInput interface { +// GetClusterClusterInfoArgs{...} +type GetClusterClusterInfoInput interface { pulumi.Input - ToGetInstancePoolPoolInfoAwsAttributesOutput() GetInstancePoolPoolInfoAwsAttributesOutput - ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(context.Context) GetInstancePoolPoolInfoAwsAttributesOutput + ToGetClusterClusterInfoOutput() GetClusterClusterInfoOutput + ToGetClusterClusterInfoOutputWithContext(context.Context) GetClusterClusterInfoOutput } -type GetInstancePoolPoolInfoAwsAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` - ZoneId pulumi.StringInput `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.StringInput `pulumi:"clusterSource"` + CreatorUserName pulumi.StringPtrInput `pulumi:"creatorUserName"` + // Additional tags for cluster resources. + CustomTags pulumi.MapInput `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.MapInput `pulumi:"defaultTags"` + DockerImage GetClusterClusterInfoDockerImagePtrInput `pulumi:"dockerImage"` + Driver GetClusterClusterInfoDriverPtrInput `pulumi:"driver"` + // similar to `instancePoolId`, but for driver node. + DriverInstancePoolId pulumi.StringInput `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"` + LastActivityTime pulumi.IntPtrInput `pulumi:"lastActivityTime"` + 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.MapInput `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.MapInput `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"` + StartTime pulumi.IntPtrInput `pulumi:"startTime"` + State pulumi.StringInput `pulumi:"state"` + StateMessage pulumi.StringPtrInput `pulumi:"stateMessage"` + TerminateTime pulumi.IntPtrInput `pulumi:"terminateTime"` + TerminationReason GetClusterClusterInfoTerminationReasonPtrInput `pulumi:"terminationReason"` } -func (GetInstancePoolPoolInfoAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() +func (GetClusterClusterInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfo)(nil)).Elem() } -func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesOutput() GetInstancePoolPoolInfoAwsAttributesOutput { - return i.ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(context.Background()) +func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoOutput() GetClusterClusterInfoOutput { + return i.ToGetClusterClusterInfoOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAwsAttributesOutput) +func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoOutput) } -func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return i.ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { + return i.ToGetClusterClusterInfoPtrOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAwsAttributesOutput).ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoOutput).ToGetClusterClusterInfoPtrOutputWithContext(ctx) } -// GetInstancePoolPoolInfoAwsAttributesPtrInput is an input type that accepts GetInstancePoolPoolInfoAwsAttributesArgs, GetInstancePoolPoolInfoAwsAttributesPtr and GetInstancePoolPoolInfoAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoAwsAttributesPtrInput` via: +// GetClusterClusterInfoPtrInput is an input type that accepts GetClusterClusterInfoArgs, GetClusterClusterInfoPtr and GetClusterClusterInfoPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoPtrInput` via: // -// GetInstancePoolPoolInfoAwsAttributesArgs{...} +// GetClusterClusterInfoArgs{...} // // or: // // nil -type GetInstancePoolPoolInfoAwsAttributesPtrInput interface { +type GetClusterClusterInfoPtrInput interface { pulumi.Input - ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput - ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput + ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput + ToGetClusterClusterInfoPtrOutputWithContext(context.Context) GetClusterClusterInfoPtrOutput } -type getInstancePoolPoolInfoAwsAttributesPtrType GetInstancePoolPoolInfoAwsAttributesArgs +type getClusterClusterInfoPtrType GetClusterClusterInfoArgs -func GetInstancePoolPoolInfoAwsAttributesPtr(v *GetInstancePoolPoolInfoAwsAttributesArgs) GetInstancePoolPoolInfoAwsAttributesPtrInput { - return (*getInstancePoolPoolInfoAwsAttributesPtrType)(v) +func GetClusterClusterInfoPtr(v *GetClusterClusterInfoArgs) GetClusterClusterInfoPtrInput { + return (*getClusterClusterInfoPtrType)(v) } -func (*getInstancePoolPoolInfoAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() +func (*getClusterClusterInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfo)(nil)).Elem() } -func (i *getInstancePoolPoolInfoAwsAttributesPtrType) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return i.ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoPtrType) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { + return i.ToGetClusterClusterInfoPtrOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoAwsAttributesPtrType) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) +func (i *getClusterClusterInfoPtrType) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoPtrOutput) } -type GetInstancePoolPoolInfoAwsAttributesOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() +func (GetClusterClusterInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfo)(nil)).Elem() } -func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesOutput() GetInstancePoolPoolInfoAwsAttributesOutput { +func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoOutput() GetClusterClusterInfoOutput { return o } -func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesOutput { +func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoOutput { return o } -func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return o.ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { + return o.ToGetClusterClusterInfoPtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoAwsAttributes) *GetInstancePoolPoolInfoAwsAttributes { +func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfo) *GetClusterClusterInfo { return &v - }).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) -} - -func (o GetInstancePoolPoolInfoAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) + }).(GetClusterClusterInfoPtrOutput) } -func (o GetInstancePoolPoolInfoAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoOutput) Autoscale() GetClusterClusterInfoAutoscalePtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoAutoscale { return v.Autoscale }).(GetClusterClusterInfoAutoscalePtrOutput) } -func (o GetInstancePoolPoolInfoAwsAttributesOutput) ZoneId() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoAwsAttributes) string { return v.ZoneId }).(pulumi.StringOutput) +// 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) } -type GetInstancePoolPoolInfoAwsAttributesPtrOutput struct{ *pulumi.OutputState } - -func (GetInstancePoolPoolInfoAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() +func (o GetClusterClusterInfoOutput) AwsAttributes() GetClusterClusterInfoAwsAttributesPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoAwsAttributes { return v.AwsAttributes }).(GetClusterClusterInfoAwsAttributesPtrOutput) } -func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return o +func (o GetClusterClusterInfoOutput) AzureAttributes() GetClusterClusterInfoAzureAttributesPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoAzureAttributes { return v.AzureAttributes }).(GetClusterClusterInfoAzureAttributesPtrOutput) } -func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return o +func (o GetClusterClusterInfoOutput) ClusterCores() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *float64 { return v.ClusterCores }).(pulumi.Float64PtrOutput) } -func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) Elem() GetInstancePoolPoolInfoAwsAttributesOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoAwsAttributes) GetInstancePoolPoolInfoAwsAttributes { - if v != nil { - return *v - } - var ret GetInstancePoolPoolInfoAwsAttributes - return ret - }).(GetInstancePoolPoolInfoAwsAttributesOutput) +// 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 GetInstancePoolPoolInfoAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoAwsAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoOutput) ClusterLogConf() GetClusterClusterInfoClusterLogConfPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoClusterLogConf { return v.ClusterLogConf }).(GetClusterClusterInfoClusterLogConfPtrOutput) } -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 GetClusterClusterInfoOutput) ClusterLogStatus() GetClusterClusterInfoClusterLogStatusPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoClusterLogStatus { return v.ClusterLogStatus }).(GetClusterClusterInfoClusterLogStatusPtrOutput) } -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 GetClusterClusterInfoOutput) ClusterMemoryMb() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.ClusterMemoryMb }).(pulumi.IntPtrOutput) } -type GetInstancePoolPoolInfoAzureAttributes struct { - Availability *string `pulumi:"availability"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +// 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) } -// 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 +func (o GetClusterClusterInfoOutput) ClusterSource() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfo) string { return v.ClusterSource }).(pulumi.StringOutput) } -type GetInstancePoolPoolInfoAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +func (o GetClusterClusterInfoOutput) CreatorUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.CreatorUserName }).(pulumi.StringPtrOutput) } -func (GetInstancePoolPoolInfoAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() +// Additional tags for cluster resources. +func (o GetClusterClusterInfoOutput) CustomTags() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterClusterInfo) map[string]interface{} { return v.CustomTags }).(pulumi.MapOutput) } -func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesOutput() GetInstancePoolPoolInfoAzureAttributesOutput { - return i.ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(context.Background()) +// 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 (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAzureAttributesOutput) +func (o GetClusterClusterInfoOutput) DefaultTags() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterClusterInfo) map[string]interface{} { return v.DefaultTags }).(pulumi.MapOutput) } -func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return i.ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoOutput) DockerImage() GetClusterClusterInfoDockerImagePtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoDockerImage { return v.DockerImage }).(GetClusterClusterInfoDockerImagePtrOutput) } -func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAzureAttributesOutput).ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx) +func (o GetClusterClusterInfoOutput) Driver() GetClusterClusterInfoDriverPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoDriver { return v.Driver }).(GetClusterClusterInfoDriverPtrOutput) } -// 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 +// similar to `instancePoolId`, but for driver node. +func (o GetClusterClusterInfoOutput) DriverInstancePoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfo) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) } -type getInstancePoolPoolInfoAzureAttributesPtrType GetInstancePoolPoolInfoAzureAttributesArgs - -func GetInstancePoolPoolInfoAzureAttributesPtr(v *GetInstancePoolPoolInfoAzureAttributesArgs) GetInstancePoolPoolInfoAzureAttributesPtrInput { - return (*getInstancePoolPoolInfoAzureAttributesPtrType)(v) +// 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 (*getInstancePoolPoolInfoAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() +// Use autoscaling local storage. +func (o GetClusterClusterInfoOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *bool { return v.EnableElasticDisk }).(pulumi.BoolPtrOutput) } -func (i *getInstancePoolPoolInfoAzureAttributesPtrType) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return i.ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Background()) +// Enable local disk encryption. +func (o GetClusterClusterInfoOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolPtrOutput) } -func (i *getInstancePoolPoolInfoAzureAttributesPtrType) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) +func (o GetClusterClusterInfoOutput) Executors() GetClusterClusterInfoExecutorArrayOutput { + return o.ApplyT(func(v GetClusterClusterInfo) []GetClusterClusterInfoExecutor { return v.Executors }).(GetClusterClusterInfoExecutorArrayOutput) } -type GetInstancePoolPoolInfoAzureAttributesOutput struct{ *pulumi.OutputState } - -func (GetInstancePoolPoolInfoAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() +func (o GetClusterClusterInfoOutput) GcpAttributes() GetClusterClusterInfoGcpAttributesPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoGcpAttributes { return v.GcpAttributes }).(GetClusterClusterInfoGcpAttributesPtrOutput) } -func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesOutput() GetInstancePoolPoolInfoAzureAttributesOutput { - return o +func (o GetClusterClusterInfoOutput) InitScripts() GetClusterClusterInfoInitScriptArrayOutput { + return o.ApplyT(func(v GetClusterClusterInfo) []GetClusterClusterInfoInitScript { return v.InitScripts }).(GetClusterClusterInfoInitScriptArrayOutput) } -func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesOutput { - return o +// 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) } -func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return o.ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoOutput) JdbcPort() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.JdbcPort }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoAzureAttributes) *GetInstancePoolPoolInfoAzureAttributes { - return &v - }).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) +func (o GetClusterClusterInfoOutput) LastActivityTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.LastActivityTime }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoOutput) LastStateLossTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.LastStateLossTime }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +// Any supported getNodeType id. +func (o GetClusterClusterInfoOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoAzureAttributesPtrOutput struct{ *pulumi.OutputState } - -func (GetInstancePoolPoolInfoAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() +func (o GetClusterClusterInfoOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.NumWorkers }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return o +// 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 GetInstancePoolPoolInfoAzureAttributesPtrOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return o +// 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 GetInstancePoolPoolInfoAzureAttributesPtrOutput) Elem() GetInstancePoolPoolInfoAzureAttributesOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoAzureAttributes) GetInstancePoolPoolInfoAzureAttributes { - if v != nil { - return *v - } - var ret GetInstancePoolPoolInfoAzureAttributes - return ret - }).(GetInstancePoolPoolInfoAzureAttributesOutput) +// 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) } -func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoAzureAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) +// Map with key-value pairs to fine-tune Spark clusters. +func (o GetClusterClusterInfoOutput) SparkConf() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterClusterInfo) map[string]interface{} { return v.SparkConf }).(pulumi.MapOutput) } -func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoAzureAttributes) *float64 { - if v == nil { - return nil - } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) +func (o GetClusterClusterInfoOutput) SparkContextId() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.SparkContextId }).(pulumi.IntPtrOutput) } -type GetInstancePoolPoolInfoDiskSpec struct { - DiskCount *int `pulumi:"diskCount"` - DiskSize *int `pulumi:"diskSize"` - DiskType *GetInstancePoolPoolInfoDiskSpecDiskType `pulumi:"diskType"` +// 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.MapOutput { + return o.ApplyT(func(v GetClusterClusterInfo) map[string]interface{} { return v.SparkEnvVars }).(pulumi.MapOutput) } -// 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 +// [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. +func (o GetClusterClusterInfoOutput) SparkVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfo) string { return v.SparkVersion }).(pulumi.StringOutput) } -type GetInstancePoolPoolInfoDiskSpecArgs struct { - DiskCount pulumi.IntPtrInput `pulumi:"diskCount"` - DiskSize pulumi.IntPtrInput `pulumi:"diskSize"` - DiskType GetInstancePoolPoolInfoDiskSpecDiskTypePtrInput `pulumi:"diskType"` +// 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 (GetInstancePoolPoolInfoDiskSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() +func (o GetClusterClusterInfoOutput) StartTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.StartTime }).(pulumi.IntPtrOutput) } -func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecOutput() GetInstancePoolPoolInfoDiskSpecOutput { - return i.ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(context.Background()) +func (o GetClusterClusterInfoOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfo) string { return v.State }).(pulumi.StringOutput) } -func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecOutput) +func (o GetClusterClusterInfoOutput) StateMessage() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.StateMessage }).(pulumi.StringPtrOutput) } -func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { - return i.ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoOutput) TerminateTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.TerminateTime }).(pulumi.IntPtrOutput) } -func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecOutput).ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx) +func (o GetClusterClusterInfoOutput) TerminationReason() GetClusterClusterInfoTerminationReasonPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoTerminationReason { return v.TerminationReason }).(GetClusterClusterInfoTerminationReasonPtrOutput) } -// 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 +type GetClusterClusterInfoPtrOutput struct{ *pulumi.OutputState } - ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput - ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput +func (GetClusterClusterInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfo)(nil)).Elem() } -type getInstancePoolPoolInfoDiskSpecPtrType GetInstancePoolPoolInfoDiskSpecArgs - -func GetInstancePoolPoolInfoDiskSpecPtr(v *GetInstancePoolPoolInfoDiskSpecArgs) GetInstancePoolPoolInfoDiskSpecPtrInput { - return (*getInstancePoolPoolInfoDiskSpecPtrType)(v) +func (o GetClusterClusterInfoPtrOutput) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { + return o } -func (*getInstancePoolPoolInfoDiskSpecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() +func (o GetClusterClusterInfoPtrOutput) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { + return o } -func (i *getInstancePoolPoolInfoDiskSpecPtrType) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { - return i.ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoPtrOutput) Elem() GetClusterClusterInfoOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) GetClusterClusterInfo { + if v != nil { + return *v + } + var ret GetClusterClusterInfo + return ret + }).(GetClusterClusterInfoOutput) } -func (i *getInstancePoolPoolInfoDiskSpecPtrType) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecPtrOutput) +func (o GetClusterClusterInfoPtrOutput) Autoscale() GetClusterClusterInfoAutoscalePtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoAutoscale { + if v == nil { + return nil + } + return v.Autoscale + }).(GetClusterClusterInfoAutoscalePtrOutput) } -type GetInstancePoolPoolInfoDiskSpecOutput struct{ *pulumi.OutputState } - -func (GetInstancePoolPoolInfoDiskSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() +// 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 GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecOutput() GetInstancePoolPoolInfoDiskSpecOutput { - return o +func (o GetClusterClusterInfoPtrOutput) AwsAttributes() GetClusterClusterInfoAwsAttributesPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoAwsAttributes { + if v == nil { + return nil + } + return v.AwsAttributes + }).(GetClusterClusterInfoAwsAttributesPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecOutput { - return o +func (o GetClusterClusterInfoPtrOutput) AzureAttributes() GetClusterClusterInfoAzureAttributesPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoAzureAttributes { + if v == nil { + return nil + } + return v.AzureAttributes + }).(GetClusterClusterInfoAzureAttributesPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { - return o.ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoPtrOutput) ClusterCores() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *float64 { + if v == nil { + return nil + } + return v.ClusterCores + }).(pulumi.Float64PtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoDiskSpec) *GetInstancePoolPoolInfoDiskSpec { - return &v - }).(GetInstancePoolPoolInfoDiskSpecPtrOutput) +// 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 GetInstancePoolPoolInfoDiskSpecOutput) DiskCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpec) *int { return v.DiskCount }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoPtrOutput) ClusterLogConf() GetClusterClusterInfoClusterLogConfPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoClusterLogConf { + if v == nil { + return nil + } + return v.ClusterLogConf + }).(GetClusterClusterInfoClusterLogConfPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecOutput) DiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpec) *int { return v.DiskSize }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoPtrOutput) ClusterLogStatus() GetClusterClusterInfoClusterLogStatusPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoClusterLogStatus { + if v == nil { + return nil + } + return v.ClusterLogStatus + }).(GetClusterClusterInfoClusterLogStatusPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecOutput) DiskType() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpec) *GetInstancePoolPoolInfoDiskSpecDiskType { return v.DiskType }).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) +func (o GetClusterClusterInfoPtrOutput) ClusterMemoryMb() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *int { + if v == nil { + return nil + } + return v.ClusterMemoryMb + }).(pulumi.IntPtrOutput) } -type GetInstancePoolPoolInfoDiskSpecPtrOutput struct{ *pulumi.OutputState } - -func (GetInstancePoolPoolInfoDiskSpecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() +// 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 (o GetInstancePoolPoolInfoDiskSpecPtrOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { - return o +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 GetInstancePoolPoolInfoDiskSpecPtrOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { - 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 GetInstancePoolPoolInfoDiskSpecPtrOutput) Elem() GetInstancePoolPoolInfoDiskSpecOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) GetInstancePoolPoolInfoDiskSpec { - if v != nil { - return *v +// Additional tags for cluster resources. +func (o GetClusterClusterInfoPtrOutput) CustomTags() pulumi.MapOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) map[string]interface{} { + if v == nil { + return nil } - var ret GetInstancePoolPoolInfoDiskSpec - return ret - }).(GetInstancePoolPoolInfoDiskSpecOutput) + return v.CustomTags + }).(pulumi.MapOutput) } -func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) DiskCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) *int { +// 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.DiskCount - }).(pulumi.IntPtrOutput) + return v.DataSecurityMode + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) DiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) *int { +func (o GetClusterClusterInfoPtrOutput) DefaultTags() pulumi.MapOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) map[string]interface{} { if v == nil { return nil } - return v.DiskSize - }).(pulumi.IntPtrOutput) + return v.DefaultTags + }).(pulumi.MapOutput) } -func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) DiskType() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) *GetInstancePoolPoolInfoDiskSpecDiskType { +func (o GetClusterClusterInfoPtrOutput) DockerImage() GetClusterClusterInfoDockerImagePtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoDockerImage { if v == nil { return nil } - return v.DiskType - }).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) + return v.DockerImage + }).(GetClusterClusterInfoDockerImagePtrOutput) } -type GetInstancePoolPoolInfoDiskSpecDiskType struct { - AzureDiskVolumeType *string `pulumi:"azureDiskVolumeType"` - EbsVolumeType *string `pulumi:"ebsVolumeType"` +func (o GetClusterClusterInfoPtrOutput) Driver() GetClusterClusterInfoDriverPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoDriver { + if v == nil { + return nil + } + return v.Driver + }).(GetClusterClusterInfoDriverPtrOutput) } -// 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 +// 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) } -type GetInstancePoolPoolInfoDiskSpecDiskTypeArgs struct { - AzureDiskVolumeType pulumi.StringPtrInput `pulumi:"azureDiskVolumeType"` - EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` +// 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) } -func (GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpecDiskType)(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 (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutput() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { - return i.ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(context.Background()) +// 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 GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) +func (o GetClusterClusterInfoPtrOutput) Executors() GetClusterClusterInfoExecutorArrayOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) []GetClusterClusterInfoExecutor { + if v == nil { + return nil + } + return v.Executors + }).(GetClusterClusterInfoExecutorArrayOutput) } -func (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return i.ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoPtrOutput) GcpAttributes() GetClusterClusterInfoGcpAttributesPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoGcpAttributes { + if v == nil { + return nil + } + return v.GcpAttributes + }).(GetClusterClusterInfoGcpAttributesPtrOutput) } -func (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecDiskTypeOutput).ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx) +func (o GetClusterClusterInfoPtrOutput) InitScripts() GetClusterClusterInfoInitScriptArrayOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) []GetClusterClusterInfoInitScript { + if v == nil { + return nil + } + return v.InitScripts + }).(GetClusterClusterInfoInitScriptArrayOutput) } -// 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 +// 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) +} - ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput - ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput +func (o GetClusterClusterInfoPtrOutput) JdbcPort() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *int { + if v == nil { + return nil + } + return v.JdbcPort + }).(pulumi.IntPtrOutput) } -type getInstancePoolPoolInfoDiskSpecDiskTypePtrType GetInstancePoolPoolInfoDiskSpecDiskTypeArgs - -func GetInstancePoolPoolInfoDiskSpecDiskTypePtr(v *GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) GetInstancePoolPoolInfoDiskSpecDiskTypePtrInput { - return (*getInstancePoolPoolInfoDiskSpecDiskTypePtrType)(v) +func (o GetClusterClusterInfoPtrOutput) LastActivityTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *int { + if v == nil { + return nil + } + return v.LastActivityTime + }).(pulumi.IntPtrOutput) } -func (*getInstancePoolPoolInfoDiskSpecDiskTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpecDiskType)(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 (i *getInstancePoolPoolInfoDiskSpecDiskTypePtrType) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return i.ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Background()) +// 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 (i *getInstancePoolPoolInfoDiskSpecDiskTypePtrType) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) +func (o GetClusterClusterInfoPtrOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *int { + if v == nil { + return nil + } + return v.NumWorkers + }).(pulumi.IntPtrOutput) } -type GetInstancePoolPoolInfoDiskSpecDiskTypeOutput struct{ *pulumi.OutputState } - -func (GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpecDiskType)(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 (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutput() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { - return o +// 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 (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { - return o +// 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 (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return o.ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Background()) +// Map with key-value pairs to fine-tune Spark clusters. +func (o GetClusterClusterInfoPtrOutput) SparkConf() pulumi.MapOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) map[string]interface{} { + if v == nil { + return nil + } + return v.SparkConf + }).(pulumi.MapOutput) } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoDiskSpecDiskType) *GetInstancePoolPoolInfoDiskSpecDiskType { - return &v - }).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) +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 GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) AzureDiskVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpecDiskType) *string { return v.AzureDiskVolumeType }).(pulumi.StringPtrOutput) +// 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.MapOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) map[string]interface{} { + if v == nil { + return nil + } + return v.SparkEnvVars + }).(pulumi.MapOutput) } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpecDiskType) *string { return v.EbsVolumeType }).(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) } -type GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput struct{ *pulumi.OutputState } - -func (GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpecDiskType)(nil)).Elem() +// 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 GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return o +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 GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return o +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 GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) Elem() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpecDiskType) GetInstancePoolPoolInfoDiskSpecDiskType { - if v != nil { - return *v +func (o GetClusterClusterInfoPtrOutput) StateMessage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { + if v == nil { + return nil } - var ret GetInstancePoolPoolInfoDiskSpecDiskType - return ret - }).(GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) + return v.StateMessage + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) AzureDiskVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpecDiskType) *string { +func (o GetClusterClusterInfoPtrOutput) TerminateTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *int { if v == nil { return nil } - return v.AzureDiskVolumeType - }).(pulumi.StringPtrOutput) + return v.TerminateTime + }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpecDiskType) *string { +func (o GetClusterClusterInfoPtrOutput) TerminationReason() GetClusterClusterInfoTerminationReasonPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoTerminationReason { if v == nil { return nil } - return v.EbsVolumeType - }).(pulumi.StringPtrOutput) + return v.TerminationReason + }).(GetClusterClusterInfoTerminationReasonPtrOutput) } -type GetInstancePoolPoolInfoGcpAttributes struct { - GcpAvailability *string `pulumi:"gcpAvailability"` - LocalSsdCount *int `pulumi:"localSsdCount"` +type GetClusterClusterInfoAutoscale struct { + MaxWorkers *int `pulumi:"maxWorkers"` + MinWorkers *int `pulumi:"minWorkers"` } -// GetInstancePoolPoolInfoGcpAttributesInput is an input type that accepts GetInstancePoolPoolInfoGcpAttributesArgs and GetInstancePoolPoolInfoGcpAttributesOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoGcpAttributesInput` via: +// GetClusterClusterInfoAutoscaleInput is an input type that accepts GetClusterClusterInfoAutoscaleArgs and GetClusterClusterInfoAutoscaleOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoAutoscaleInput` via: // -// GetInstancePoolPoolInfoGcpAttributesArgs{...} -type GetInstancePoolPoolInfoGcpAttributesInput interface { +// GetClusterClusterInfoAutoscaleArgs{...} +type GetClusterClusterInfoAutoscaleInput interface { pulumi.Input - ToGetInstancePoolPoolInfoGcpAttributesOutput() GetInstancePoolPoolInfoGcpAttributesOutput - ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(context.Context) GetInstancePoolPoolInfoGcpAttributesOutput + ToGetClusterClusterInfoAutoscaleOutput() GetClusterClusterInfoAutoscaleOutput + ToGetClusterClusterInfoAutoscaleOutputWithContext(context.Context) GetClusterClusterInfoAutoscaleOutput } -type GetInstancePoolPoolInfoGcpAttributesArgs struct { - GcpAvailability pulumi.StringPtrInput `pulumi:"gcpAvailability"` - LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` +type GetClusterClusterInfoAutoscaleArgs struct { + MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` + MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` } -func (GetInstancePoolPoolInfoGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() +func (GetClusterClusterInfoAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoAutoscale)(nil)).Elem() } -func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesOutput() GetInstancePoolPoolInfoGcpAttributesOutput { - return i.ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(context.Background()) +func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscaleOutput() GetClusterClusterInfoAutoscaleOutput { + return i.ToGetClusterClusterInfoAutoscaleOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoGcpAttributesOutput) +func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscaleOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAutoscaleOutput) } -func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return i.ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { + return i.ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoGcpAttributesOutput).ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAutoscaleOutput).ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx) } -// GetInstancePoolPoolInfoGcpAttributesPtrInput is an input type that accepts GetInstancePoolPoolInfoGcpAttributesArgs, GetInstancePoolPoolInfoGcpAttributesPtr and GetInstancePoolPoolInfoGcpAttributesPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoGcpAttributesPtrInput` via: +// GetClusterClusterInfoAutoscalePtrInput is an input type that accepts GetClusterClusterInfoAutoscaleArgs, GetClusterClusterInfoAutoscalePtr and GetClusterClusterInfoAutoscalePtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoAutoscalePtrInput` via: // -// GetInstancePoolPoolInfoGcpAttributesArgs{...} +// GetClusterClusterInfoAutoscaleArgs{...} // // or: // // nil -type GetInstancePoolPoolInfoGcpAttributesPtrInput interface { +type GetClusterClusterInfoAutoscalePtrInput interface { pulumi.Input - ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput - ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput + ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput + ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Context) GetClusterClusterInfoAutoscalePtrOutput } -type getInstancePoolPoolInfoGcpAttributesPtrType GetInstancePoolPoolInfoGcpAttributesArgs +type getClusterClusterInfoAutoscalePtrType GetClusterClusterInfoAutoscaleArgs -func GetInstancePoolPoolInfoGcpAttributesPtr(v *GetInstancePoolPoolInfoGcpAttributesArgs) GetInstancePoolPoolInfoGcpAttributesPtrInput { - return (*getInstancePoolPoolInfoGcpAttributesPtrType)(v) +func GetClusterClusterInfoAutoscalePtr(v *GetClusterClusterInfoAutoscaleArgs) GetClusterClusterInfoAutoscalePtrInput { + return (*getClusterClusterInfoAutoscalePtrType)(v) } -func (*getInstancePoolPoolInfoGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() +func (*getClusterClusterInfoAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoAutoscale)(nil)).Elem() } -func (i *getInstancePoolPoolInfoGcpAttributesPtrType) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return i.ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoAutoscalePtrType) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { + return i.ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoGcpAttributesPtrType) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) +func (i *getClusterClusterInfoAutoscalePtrType) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAutoscalePtrOutput) } -type GetInstancePoolPoolInfoGcpAttributesOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoAutoscaleOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() +func (GetClusterClusterInfoAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoAutoscale)(nil)).Elem() } -func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesOutput() GetInstancePoolPoolInfoGcpAttributesOutput { +func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscaleOutput() GetClusterClusterInfoAutoscaleOutput { return o } -func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesOutput { +func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscaleOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscaleOutput { return o } -func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return o.ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { + return o.ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoGcpAttributes) *GetInstancePoolPoolInfoGcpAttributes { +func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoAutoscale) *GetClusterClusterInfoAutoscale { return &v - }).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) + }).(GetClusterClusterInfoAutoscalePtrOutput) } -func (o GetInstancePoolPoolInfoGcpAttributesOutput) GcpAvailability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoGcpAttributes) *string { return v.GcpAvailability }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) } -type GetInstancePoolPoolInfoGcpAttributesPtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoAutoscalePtrOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() +func (GetClusterClusterInfoAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoAutoscale)(nil)).Elem() } -func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { +func (o GetClusterClusterInfoAutoscalePtrOutput) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { return o } -func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { +func (o GetClusterClusterInfoAutoscalePtrOutput) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { return o } -func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) Elem() GetInstancePoolPoolInfoGcpAttributesOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoGcpAttributes) GetInstancePoolPoolInfoGcpAttributes { +func (o GetClusterClusterInfoAutoscalePtrOutput) Elem() GetClusterClusterInfoAutoscaleOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAutoscale) GetClusterClusterInfoAutoscale { if v != nil { return *v } - var ret GetInstancePoolPoolInfoGcpAttributes + var ret GetClusterClusterInfoAutoscale return ret - }).(GetInstancePoolPoolInfoGcpAttributesOutput) + }).(GetClusterClusterInfoAutoscaleOutput) } -func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) GcpAvailability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoGcpAttributes) *string { +func (o GetClusterClusterInfoAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAutoscale) *int { if v == nil { return nil } - return v.GcpAvailability - }).(pulumi.StringPtrOutput) + return v.MaxWorkers + }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoGcpAttributes) *int { +func (o GetClusterClusterInfoAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAutoscale) *int { if v == nil { return nil } - return v.LocalSsdCount + return v.MinWorkers }).(pulumi.IntPtrOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttribute struct { - FleetOnDemandOption *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption `pulumi:"fleetOnDemandOption"` - FleetSpotOption *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption `pulumi:"fleetSpotOption"` - LaunchTemplateOverrides []GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride `pulumi:"launchTemplateOverrides"` +type GetClusterClusterInfoAwsAttributes 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"` } -// GetInstancePoolPoolInfoInstancePoolFleetAttributeInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs and GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeInput` via: +// GetClusterClusterInfoAwsAttributesInput is an input type that accepts GetClusterClusterInfoAwsAttributesArgs and GetClusterClusterInfoAwsAttributesOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoAwsAttributesInput` via: // -// GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs{...} -type GetInstancePoolPoolInfoInstancePoolFleetAttributeInput interface { +// GetClusterClusterInfoAwsAttributesArgs{...} +type GetClusterClusterInfoAwsAttributesInput 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() + ToGetClusterClusterInfoAwsAttributesOutput() GetClusterClusterInfoAwsAttributesOutput + ToGetClusterClusterInfoAwsAttributesOutputWithContext(context.Context) GetClusterClusterInfoAwsAttributesOutput } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(context.Background()) +type GetClusterClusterInfoAwsAttributesArgs 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 (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) +func (GetClusterClusterInfoAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoAwsAttributes)(nil)).Elem() } -// 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 +func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesOutput() GetClusterClusterInfoAwsAttributesOutput { + return i.ToGetClusterClusterInfoAwsAttributesOutputWithContext(context.Background()) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeArray []GetInstancePoolPoolInfoInstancePoolFleetAttributeInput - -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() +func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAwsAttributesOutput) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(context.Background()) +func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { + return i.ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) +func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAwsAttributesOutput).ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput struct{ *pulumi.OutputState } +// GetClusterClusterInfoAwsAttributesPtrInput is an input type that accepts GetClusterClusterInfoAwsAttributesArgs, GetClusterClusterInfoAwsAttributesPtr and GetClusterClusterInfoAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoAwsAttributesPtrInput` via: +// +// GetClusterClusterInfoAwsAttributesArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoAwsAttributesPtrInput interface { + pulumi.Input -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() + ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput + ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoAwsAttributesPtrOutput } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { - return o -} +type getClusterClusterInfoAwsAttributesPtrType GetClusterClusterInfoAwsAttributesArgs -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { - return o +func GetClusterClusterInfoAwsAttributesPtr(v *GetClusterClusterInfoAwsAttributesArgs) GetClusterClusterInfoAwsAttributesPtrInput { + return (*getClusterClusterInfoAwsAttributesPtrType)(v) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) FleetOnDemandOption() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttribute) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption { - return v.FleetOnDemandOption - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) +func (*getClusterClusterInfoAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoAwsAttributes)(nil)).Elem() } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) FleetSpotOption() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttribute) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption { - return v.FleetSpotOption - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) +func (i *getClusterClusterInfoAwsAttributesPtrType) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { + return i.ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) LaunchTemplateOverrides() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttribute) []GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride { - return v.LaunchTemplateOverrides - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) +func (i *getClusterClusterInfoAwsAttributesPtrType) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAwsAttributesPtrOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoAwsAttributesOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() +func (GetClusterClusterInfoAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoAwsAttributes)(nil)).Elem() } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { +func (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesOutput() GetClusterClusterInfoAwsAttributesOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { +func (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesOutput { 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 (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { + return o.ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(context.Background()) +func (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoAwsAttributes) *GetClusterClusterInfoAwsAttributes { + return &v + }).(GetClusterClusterInfoAwsAttributesPtrOutput) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) +func (o GetClusterClusterInfoAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput).ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx) +func (o GetClusterClusterInfoAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) } -// 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 +func (o GetClusterClusterInfoAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) } -type getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs - -func GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtr(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput { - return (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType)(v) +func (o GetClusterClusterInfoAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -func (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() +func (o GetClusterClusterInfoAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) } -func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) } -func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) +func (o GetClusterClusterInfoAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoAwsAttributesPtrOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() +func (GetClusterClusterInfoAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoAwsAttributes)(nil)).Elem() } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { +func (o GetClusterClusterInfoAwsAttributesPtrOutput) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { +func (o GetClusterClusterInfoAwsAttributesPtrOutput) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { 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 GetClusterClusterInfoAwsAttributesPtrOutput) Elem() GetClusterClusterInfoAwsAttributesOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) GetClusterClusterInfoAwsAttributes { + if v != nil { + return *v + } + var ret GetClusterClusterInfoAwsAttributes + return ret + }).(GetClusterClusterInfoAwsAttributesOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) AllocationStrategy() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) string { - return v.AllocationStrategy - }).(pulumi.StringOutput) +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 GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *int { - return v.InstancePoolsToUseCount +func (o GetClusterClusterInfoAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeCount }).(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 GetClusterClusterInfoAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeSize + }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return o +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 GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) Elem() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption { - if v != nil { - return *v +func (o GetClusterClusterInfoAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { + if v == nil { + return nil } - var ret GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption - return ret - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) AllocationStrategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *string { +func (o GetClusterClusterInfoAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *string { if v == nil { return nil } - return &v.AllocationStrategy + return v.InstanceProfileArn }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *int { +func (o GetClusterClusterInfoAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { if v == nil { return nil } - return v.InstancePoolsToUseCount + return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption struct { - AllocationStrategy string `pulumi:"allocationStrategy"` - InstancePoolsToUseCount *int `pulumi:"instancePoolsToUseCount"` +func (o GetClusterClusterInfoAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) } -// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs and GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionInput` via: +type GetClusterClusterInfoAzureAttributes struct { + Availability *string `pulumi:"availability"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +} + +// GetClusterClusterInfoAzureAttributesInput is an input type that accepts GetClusterClusterInfoAzureAttributesArgs and GetClusterClusterInfoAzureAttributesOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoAzureAttributesInput` via: // -// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs{...} -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionInput interface { +// GetClusterClusterInfoAzureAttributesArgs{...} +type GetClusterClusterInfoAzureAttributesInput interface { pulumi.Input - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput + ToGetClusterClusterInfoAzureAttributesOutput() GetClusterClusterInfoAzureAttributesOutput + ToGetClusterClusterInfoAzureAttributesOutputWithContext(context.Context) GetClusterClusterInfoAzureAttributesOutput } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs struct { - AllocationStrategy pulumi.StringInput `pulumi:"allocationStrategy"` - InstancePoolsToUseCount pulumi.IntPtrInput `pulumi:"instancePoolsToUseCount"` +type GetClusterClusterInfoAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` } -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() +func (GetClusterClusterInfoAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoAzureAttributes)(nil)).Elem() } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(context.Background()) +func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesOutput() GetClusterClusterInfoAzureAttributesOutput { + return i.ToGetClusterClusterInfoAzureAttributesOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) +func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesOutput) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { + return i.ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput).ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesOutput).ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx) } -// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs, GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtr and GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput` via: +// GetClusterClusterInfoAzureAttributesPtrInput is an input type that accepts GetClusterClusterInfoAzureAttributesArgs, GetClusterClusterInfoAzureAttributesPtr and GetClusterClusterInfoAzureAttributesPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoAzureAttributesPtrInput` via: // -// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs{...} +// GetClusterClusterInfoAzureAttributesArgs{...} // // or: // // nil -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput interface { +type GetClusterClusterInfoAzureAttributesPtrInput interface { pulumi.Input - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput + ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput + ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoAzureAttributesPtrOutput } -type getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs +type getClusterClusterInfoAzureAttributesPtrType GetClusterClusterInfoAzureAttributesArgs -func GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtr(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput { - return (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType)(v) +func GetClusterClusterInfoAzureAttributesPtr(v *GetClusterClusterInfoAzureAttributesArgs) GetClusterClusterInfoAzureAttributesPtrInput { + return (*getClusterClusterInfoAzureAttributesPtrType)(v) } -func (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() +func (*getClusterClusterInfoAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoAzureAttributes)(nil)).Elem() } -func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoAzureAttributesPtrType) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { + return i.ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) +func (i *getClusterClusterInfoAzureAttributesPtrType) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesPtrOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoAzureAttributesOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() +func (GetClusterClusterInfoAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoAzureAttributes)(nil)).Elem() } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { +func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesOutput() GetClusterClusterInfoAzureAttributesOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { +func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return o.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { + return o.ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption { +func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoAzureAttributes) *GetClusterClusterInfoAzureAttributes { return &v - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) + }).(GetClusterClusterInfoAzureAttributesPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) AllocationStrategy() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) string { - return v.AllocationStrategy - }).(pulumi.StringOutput) +func (o GetClusterClusterInfoAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *int { - return v.InstancePoolsToUseCount - }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +} -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() +type GetClusterClusterInfoAzureAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoAzureAttributes)(nil)).Elem() } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { +func (o GetClusterClusterInfoAzureAttributesPtrOutput) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { +func (o GetClusterClusterInfoAzureAttributesPtrOutput) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) Elem() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption { +func (o GetClusterClusterInfoAzureAttributesPtrOutput) Elem() GetClusterClusterInfoAzureAttributesOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) GetClusterClusterInfoAzureAttributes { if v != nil { return *v } - var ret GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption + var ret GetClusterClusterInfoAzureAttributes return ret - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) + }).(GetClusterClusterInfoAzureAttributesOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) AllocationStrategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *string { +func (o GetClusterClusterInfoAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) *string { if v == nil { return nil } - return &v.AllocationStrategy + return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *int { +func (o GetClusterClusterInfoAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) *int { if v == nil { return nil } - return v.InstancePoolsToUseCount + return v.FirstOnDemand }).(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 (o GetClusterClusterInfoAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) *float64 { + if v == nil { + return nil + } + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) +type GetClusterClusterInfoClusterLogConf struct { + Dbfs *GetClusterClusterInfoClusterLogConfDbfs `pulumi:"dbfs"` + S3 *GetClusterClusterInfoClusterLogConfS3 `pulumi:"s3"` } -// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray and GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput` via: +// GetClusterClusterInfoClusterLogConfInput is an input type that accepts GetClusterClusterInfoClusterLogConfArgs and GetClusterClusterInfoClusterLogConfOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfInput` via: // -// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray{ GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs{...} } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput interface { +// GetClusterClusterInfoClusterLogConfArgs{...} +type GetClusterClusterInfoClusterLogConfInput 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()) + ToGetClusterClusterInfoClusterLogConfOutput() GetClusterClusterInfoClusterLogConfOutput + ToGetClusterClusterInfoClusterLogConfOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfOutput } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) +type GetClusterClusterInfoClusterLogConfArgs struct { + Dbfs GetClusterClusterInfoClusterLogConfDbfsPtrInput `pulumi:"dbfs"` + S3 GetClusterClusterInfoClusterLogConfS3PtrInput `pulumi:"s3"` } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput struct{ *pulumi.OutputState } - -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() +func (GetClusterClusterInfoClusterLogConfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogConf)(nil)).Elem() } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { - return o +func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfOutput() GetClusterClusterInfoClusterLogConfOutput { + return i.ToGetClusterClusterInfoClusterLogConfOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { - return o +func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) AvailabilityZone() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride) string { - return v.AvailabilityZone - }).(pulumi.StringOutput) +func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { + return i.ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) InstanceType() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride) string { - return v.InstanceType - }).(pulumi.StringOutput) +func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfOutput).ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput struct{ *pulumi.OutputState } +// GetClusterClusterInfoClusterLogConfPtrInput is an input type that accepts GetClusterClusterInfoClusterLogConfArgs, GetClusterClusterInfoClusterLogConfPtr and GetClusterClusterInfoClusterLogConfPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfPtrInput` via: +// +// GetClusterClusterInfoClusterLogConfArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoClusterLogConfPtrInput interface { + pulumi.Input -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() + ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput + ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfPtrOutput } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { - return o -} +type getClusterClusterInfoClusterLogConfPtrType GetClusterClusterInfoClusterLogConfArgs -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { - return o +func GetClusterClusterInfoClusterLogConfPtr(v *GetClusterClusterInfoClusterLogConfArgs) GetClusterClusterInfoClusterLogConfPtrInput { + return (*getClusterClusterInfoClusterLogConfPtrType)(v) } -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) +func (*getClusterClusterInfoClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogConf)(nil)).Elem() } -type GetInstancePoolPoolInfoPreloadedDockerImage struct { - BasicAuth *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth `pulumi:"basicAuth"` - Url string `pulumi:"url"` +func (i *getClusterClusterInfoClusterLogConfPtrType) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { + return i.ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Background()) } -// 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 (i *getClusterClusterInfoClusterLogConfPtrType) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfPtrOutput) } -type GetInstancePoolPoolInfoPreloadedDockerImageArgs struct { - BasicAuth GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - Url pulumi.StringInput `pulumi:"url"` -} +type GetClusterClusterInfoClusterLogConfOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoPreloadedDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() +func (GetClusterClusterInfoClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogConf)(nil)).Elem() } -func (i GetInstancePoolPoolInfoPreloadedDockerImageArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageOutput() GetInstancePoolPoolInfoPreloadedDockerImageOutput { - return i.ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(context.Background()) +func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfOutput() GetClusterClusterInfoClusterLogConfOutput { + return o } -func (i GetInstancePoolPoolInfoPreloadedDockerImageArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageOutput) +func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfOutput { + return o } -// 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 +func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { + return o.ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Background()) } -type GetInstancePoolPoolInfoPreloadedDockerImageArray []GetInstancePoolPoolInfoPreloadedDockerImageInput - -func (GetInstancePoolPoolInfoPreloadedDockerImageArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() +func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConf { + return &v + }).(GetClusterClusterInfoClusterLogConfPtrOutput) } -func (i GetInstancePoolPoolInfoPreloadedDockerImageArray) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutput() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { - return i.ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(context.Background()) +func (o GetClusterClusterInfoClusterLogConfOutput) Dbfs() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfDbfs { return v.Dbfs }).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) } -func (i GetInstancePoolPoolInfoPreloadedDockerImageArray) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) +func (o GetClusterClusterInfoClusterLogConfOutput) S3() GetClusterClusterInfoClusterLogConfS3PtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfS3 { return v.S3 }).(GetClusterClusterInfoClusterLogConfS3PtrOutput) } -type GetInstancePoolPoolInfoPreloadedDockerImageOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoClusterLogConfPtrOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoPreloadedDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() +func (GetClusterClusterInfoClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogConf)(nil)).Elem() } -func (o GetInstancePoolPoolInfoPreloadedDockerImageOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageOutput() GetInstancePoolPoolInfoPreloadedDockerImageOutput { +func (o GetClusterClusterInfoClusterLogConfPtrOutput) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { return o } -func (o GetInstancePoolPoolInfoPreloadedDockerImageOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageOutput { +func (o GetClusterClusterInfoClusterLogConfPtrOutput) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { 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 GetClusterClusterInfoClusterLogConfPtrOutput) Elem() GetClusterClusterInfoClusterLogConfOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConf) GetClusterClusterInfoClusterLogConf { + if v != nil { + return *v + } + var ret GetClusterClusterInfoClusterLogConf + return ret + }).(GetClusterClusterInfoClusterLogConfOutput) } -func (o GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { - 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 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 GetClusterClusterInfoClusterLogConfPtrOutput) S3() GetClusterClusterInfoClusterLogConfS3PtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfS3 { + if v == nil { + return nil + } + return v.S3 + }).(GetClusterClusterInfoClusterLogConfS3PtrOutput) } -type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +type GetClusterClusterInfoClusterLogConfDbfs struct { + Destination string `pulumi:"destination"` } -// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs and GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthInput` via: +// GetClusterClusterInfoClusterLogConfDbfsInput is an input type that accepts GetClusterClusterInfoClusterLogConfDbfsArgs and GetClusterClusterInfoClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfDbfsInput` via: // -// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs{...} -type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthInput interface { +// GetClusterClusterInfoClusterLogConfDbfsArgs{...} +type GetClusterClusterInfoClusterLogConfDbfsInput interface { pulumi.Input - ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput - ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput + ToGetClusterClusterInfoClusterLogConfDbfsOutput() GetClusterClusterInfoClusterLogConfDbfsOutput + ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfDbfsOutput } -type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` +type GetClusterClusterInfoClusterLogConfDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() +func (GetClusterClusterInfoClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() } -func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { - return i.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(context.Background()) +func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsOutput() GetClusterClusterInfoClusterLogConfDbfsOutput { + return i.ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) +func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfDbfsOutput) } -func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { - return i.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return i.ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput).ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfDbfsOutput).ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx) } -// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs, GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtr and GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput` via: +// GetClusterClusterInfoClusterLogConfDbfsPtrInput is an input type that accepts GetClusterClusterInfoClusterLogConfDbfsArgs, GetClusterClusterInfoClusterLogConfDbfsPtr and GetClusterClusterInfoClusterLogConfDbfsPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfDbfsPtrInput` via: // -// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs{...} +// GetClusterClusterInfoClusterLogConfDbfsArgs{...} // // or: // // nil -type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput interface { +type GetClusterClusterInfoClusterLogConfDbfsPtrInput interface { pulumi.Input - ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput - ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput + ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput + ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput } -type getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs +type getClusterClusterInfoClusterLogConfDbfsPtrType GetClusterClusterInfoClusterLogConfDbfsArgs -func GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtr(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput { - return (*getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType)(v) +func GetClusterClusterInfoClusterLogConfDbfsPtr(v *GetClusterClusterInfoClusterLogConfDbfsArgs) GetClusterClusterInfoClusterLogConfDbfsPtrInput { + return (*getClusterClusterInfoClusterLogConfDbfsPtrType)(v) } -func (*getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() +func (*getClusterClusterInfoClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() } -func (i *getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { - return i.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoClusterLogConfDbfsPtrType) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return i.ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) +func (i *getClusterClusterInfoClusterLogConfDbfsPtrType) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) } -type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoClusterLogConfDbfsOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() +func (GetClusterClusterInfoClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { +func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsOutput() GetClusterClusterInfoClusterLogConfDbfsOutput { return o } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { +func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsOutput { return o } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { - return o.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return o.ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth { +func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogConfDbfs) *GetClusterClusterInfoClusterLogConfDbfs { return &v - }).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) -} - -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) + }).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +func (o GetClusterClusterInfoClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() +func (GetClusterClusterInfoClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { +func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { return o } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { +func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { return o } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) Elem() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth { +func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) Elem() GetClusterClusterInfoClusterLogConfDbfsOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfDbfs) GetClusterClusterInfoClusterLogConfDbfs { if v != nil { return *v } - var ret GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth + var ret GetClusterClusterInfoClusterLogConfDbfs 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) + }).(GetClusterClusterInfoClusterLogConfDbfsOutput) } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) *string { +func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfDbfs) *string { if v == nil { return nil } - return &v.Username + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoStats struct { - IdleCount *int `pulumi:"idleCount"` - PendingIdleCount *int `pulumi:"pendingIdleCount"` - PendingUsedCount *int `pulumi:"pendingUsedCount"` - UsedCount *int `pulumi:"usedCount"` +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"` } -// GetInstancePoolPoolInfoStatsInput is an input type that accepts GetInstancePoolPoolInfoStatsArgs and GetInstancePoolPoolInfoStatsOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoStatsInput` via: +// GetClusterClusterInfoClusterLogConfS3Input is an input type that accepts GetClusterClusterInfoClusterLogConfS3Args and GetClusterClusterInfoClusterLogConfS3Output values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfS3Input` via: // -// GetInstancePoolPoolInfoStatsArgs{...} -type GetInstancePoolPoolInfoStatsInput interface { +// GetClusterClusterInfoClusterLogConfS3Args{...} +type GetClusterClusterInfoClusterLogConfS3Input interface { pulumi.Input - ToGetInstancePoolPoolInfoStatsOutput() GetInstancePoolPoolInfoStatsOutput - ToGetInstancePoolPoolInfoStatsOutputWithContext(context.Context) GetInstancePoolPoolInfoStatsOutput + ToGetClusterClusterInfoClusterLogConfS3Output() GetClusterClusterInfoClusterLogConfS3Output + ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfS3Output } -type GetInstancePoolPoolInfoStatsArgs struct { - IdleCount pulumi.IntPtrInput `pulumi:"idleCount"` - PendingIdleCount pulumi.IntPtrInput `pulumi:"pendingIdleCount"` - PendingUsedCount pulumi.IntPtrInput `pulumi:"pendingUsedCount"` - UsedCount pulumi.IntPtrInput `pulumi:"usedCount"` +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 (GetInstancePoolPoolInfoStatsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoStats)(nil)).Elem() +func (GetClusterClusterInfoClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() } -func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsOutput() GetInstancePoolPoolInfoStatsOutput { - return i.ToGetInstancePoolPoolInfoStatsOutputWithContext(context.Background()) +func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3Output() GetClusterClusterInfoClusterLogConfS3Output { + return i.ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoStatsOutput) +func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfS3Output) } -func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { - return i.ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { + return i.ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoStatsOutput).ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfS3Output).ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx) } -// GetInstancePoolPoolInfoStatsPtrInput is an input type that accepts GetInstancePoolPoolInfoStatsArgs, GetInstancePoolPoolInfoStatsPtr and GetInstancePoolPoolInfoStatsPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoStatsPtrInput` via: +// GetClusterClusterInfoClusterLogConfS3PtrInput is an input type that accepts GetClusterClusterInfoClusterLogConfS3Args, GetClusterClusterInfoClusterLogConfS3Ptr and GetClusterClusterInfoClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfS3PtrInput` via: // -// GetInstancePoolPoolInfoStatsArgs{...} +// GetClusterClusterInfoClusterLogConfS3Args{...} // // or: // // nil -type GetInstancePoolPoolInfoStatsPtrInput interface { +type GetClusterClusterInfoClusterLogConfS3PtrInput interface { pulumi.Input - ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput - ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoStatsPtrOutput + ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput + ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput } -type getInstancePoolPoolInfoStatsPtrType GetInstancePoolPoolInfoStatsArgs +type getClusterClusterInfoClusterLogConfS3PtrType GetClusterClusterInfoClusterLogConfS3Args -func GetInstancePoolPoolInfoStatsPtr(v *GetInstancePoolPoolInfoStatsArgs) GetInstancePoolPoolInfoStatsPtrInput { - return (*getInstancePoolPoolInfoStatsPtrType)(v) +func GetClusterClusterInfoClusterLogConfS3Ptr(v *GetClusterClusterInfoClusterLogConfS3Args) GetClusterClusterInfoClusterLogConfS3PtrInput { + return (*getClusterClusterInfoClusterLogConfS3PtrType)(v) } -func (*getInstancePoolPoolInfoStatsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoStats)(nil)).Elem() +func (*getClusterClusterInfoClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() } -func (i *getInstancePoolPoolInfoStatsPtrType) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { - return i.ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoClusterLogConfS3PtrType) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { + return i.ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoStatsPtrType) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoStatsPtrOutput) +func (i *getClusterClusterInfoClusterLogConfS3PtrType) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfS3PtrOutput) } -type GetInstancePoolPoolInfoStatsOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoClusterLogConfS3Output struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoStatsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoStats)(nil)).Elem() +func (GetClusterClusterInfoClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() } -func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsOutput() GetInstancePoolPoolInfoStatsOutput { +func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3Output() GetClusterClusterInfoClusterLogConfS3Output { return o } -func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsOutput { +func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3Output { return o } -func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { - return o.ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { + return o.ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoStats) *GetInstancePoolPoolInfoStats { +func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogConfS3) *GetClusterClusterInfoClusterLogConfS3 { return &v - }).(GetInstancePoolPoolInfoStatsPtrOutput) + }).(GetClusterClusterInfoClusterLogConfS3PtrOutput) } -func (o GetInstancePoolPoolInfoStatsOutput) IdleCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.IdleCount }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoStatsOutput) PendingIdleCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.PendingIdleCount }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoClusterLogConfS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetInstancePoolPoolInfoStatsOutput) PendingUsedCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.PendingUsedCount }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -func (o GetInstancePoolPoolInfoStatsOutput) UsedCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.UsedCount }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoStatsPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +} -func (GetInstancePoolPoolInfoStatsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoStats)(nil)).Elem() +func (o GetClusterClusterInfoClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoStatsPtrOutput) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { +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 GetInstancePoolPoolInfoStatsPtrOutput) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { return o } -func (o GetInstancePoolPoolInfoStatsPtrOutput) Elem() GetInstancePoolPoolInfoStatsOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) GetInstancePoolPoolInfoStats { +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) Elem() GetClusterClusterInfoClusterLogConfS3Output { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) GetClusterClusterInfoClusterLogConfS3 { if v != nil { return *v } - var ret GetInstancePoolPoolInfoStats + var ret GetClusterClusterInfoClusterLogConfS3 return ret - }).(GetInstancePoolPoolInfoStatsOutput) + }).(GetClusterClusterInfoClusterLogConfS3Output) } -func (o GetInstancePoolPoolInfoStatsPtrOutput) IdleCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { if v == nil { return nil } - return v.IdleCount - }).(pulumi.IntPtrOutput) + return v.CannedAcl + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoStatsPtrOutput) PendingIdleCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { if v == nil { return nil } - return v.PendingIdleCount - }).(pulumi.IntPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoStatsPtrOutput) PendingUsedCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *bool { if v == nil { return nil } - return v.PendingUsedCount - }).(pulumi.IntPtrOutput) + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -func (o GetInstancePoolPoolInfoStatsPtrOutput) UsedCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { if v == nil { return nil } - return v.UsedCount - }).(pulumi.IntPtrOutput) + return v.EncryptionType + }).(pulumi.StringPtrOutput) } -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"` +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) } -// GetInstanceProfilesInstanceProfileInput is an input type that accepts GetInstanceProfilesInstanceProfileArgs and GetInstanceProfilesInstanceProfileOutput values. -// You can construct a concrete instance of `GetInstanceProfilesInstanceProfileInput` 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: // -// GetInstanceProfilesInstanceProfileArgs{...} -type GetInstanceProfilesInstanceProfileInput interface { +// GetClusterClusterInfoClusterLogStatusArgs{...} +type GetClusterClusterInfoClusterLogStatusInput interface { pulumi.Input - ToGetInstanceProfilesInstanceProfileOutput() GetInstanceProfilesInstanceProfileOutput - ToGetInstanceProfilesInstanceProfileOutputWithContext(context.Context) GetInstanceProfilesInstanceProfileOutput + ToGetClusterClusterInfoClusterLogStatusOutput() GetClusterClusterInfoClusterLogStatusOutput + ToGetClusterClusterInfoClusterLogStatusOutputWithContext(context.Context) GetClusterClusterInfoClusterLogStatusOutput } -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"` +type GetClusterClusterInfoClusterLogStatusArgs struct { + LastAttempted pulumi.IntPtrInput `pulumi:"lastAttempted"` + LastException pulumi.StringPtrInput `pulumi:"lastException"` } -func (GetInstanceProfilesInstanceProfileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstanceProfilesInstanceProfile)(nil)).Elem() +func (GetClusterClusterInfoClusterLogStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogStatus)(nil)).Elem() } -func (i GetInstanceProfilesInstanceProfileArgs) ToGetInstanceProfilesInstanceProfileOutput() GetInstanceProfilesInstanceProfileOutput { - return i.ToGetInstanceProfilesInstanceProfileOutputWithContext(context.Background()) +func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusOutput() GetClusterClusterInfoClusterLogStatusOutput { + return i.ToGetClusterClusterInfoClusterLogStatusOutputWithContext(context.Background()) } -func (i GetInstanceProfilesInstanceProfileArgs) ToGetInstanceProfilesInstanceProfileOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstanceProfilesInstanceProfileOutput) +func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogStatusOutput) } -// GetInstanceProfilesInstanceProfileArrayInput is an input type that accepts GetInstanceProfilesInstanceProfileArray and GetInstanceProfilesInstanceProfileArrayOutput values. -// You can construct a concrete instance of `GetInstanceProfilesInstanceProfileArrayInput` via: +func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { + return i.ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogStatusOutput).ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoClusterLogStatusPtrInput is an input type that accepts GetClusterClusterInfoClusterLogStatusArgs, GetClusterClusterInfoClusterLogStatusPtr and GetClusterClusterInfoClusterLogStatusPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogStatusPtrInput` via: // -// GetInstanceProfilesInstanceProfileArray{ GetInstanceProfilesInstanceProfileArgs{...} } -type GetInstanceProfilesInstanceProfileArrayInput interface { +// GetClusterClusterInfoClusterLogStatusArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoClusterLogStatusPtrInput interface { pulumi.Input - ToGetInstanceProfilesInstanceProfileArrayOutput() GetInstanceProfilesInstanceProfileArrayOutput - ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(context.Context) GetInstanceProfilesInstanceProfileArrayOutput + ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput + ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput } -type GetInstanceProfilesInstanceProfileArray []GetInstanceProfilesInstanceProfileInput +type getClusterClusterInfoClusterLogStatusPtrType GetClusterClusterInfoClusterLogStatusArgs -func (GetInstanceProfilesInstanceProfileArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstanceProfilesInstanceProfile)(nil)).Elem() +func GetClusterClusterInfoClusterLogStatusPtr(v *GetClusterClusterInfoClusterLogStatusArgs) GetClusterClusterInfoClusterLogStatusPtrInput { + return (*getClusterClusterInfoClusterLogStatusPtrType)(v) } -func (i GetInstanceProfilesInstanceProfileArray) ToGetInstanceProfilesInstanceProfileArrayOutput() GetInstanceProfilesInstanceProfileArrayOutput { - return i.ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(context.Background()) +func (*getClusterClusterInfoClusterLogStatusPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogStatus)(nil)).Elem() } -func (i GetInstanceProfilesInstanceProfileArray) ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstanceProfilesInstanceProfileArrayOutput) +func (i *getClusterClusterInfoClusterLogStatusPtrType) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { + return i.ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Background()) } -type GetInstanceProfilesInstanceProfileOutput struct{ *pulumi.OutputState } +func (i *getClusterClusterInfoClusterLogStatusPtrType) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogStatusPtrOutput) +} -func (GetInstanceProfilesInstanceProfileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstanceProfilesInstanceProfile)(nil)).Elem() +type GetClusterClusterInfoClusterLogStatusOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoClusterLogStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogStatus)(nil)).Elem() } -func (o GetInstanceProfilesInstanceProfileOutput) ToGetInstanceProfilesInstanceProfileOutput() GetInstanceProfilesInstanceProfileOutput { +func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusOutput() GetClusterClusterInfoClusterLogStatusOutput { return o } -func (o GetInstanceProfilesInstanceProfileOutput) ToGetInstanceProfilesInstanceProfileOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileOutput { +func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusOutput { 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 GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { + return o.ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Background()) } -// 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 GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogStatus) *GetClusterClusterInfoClusterLogStatus { + return &v + }).(GetClusterClusterInfoClusterLogStatusPtrOutput) } -// 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 GetClusterClusterInfoClusterLogStatusOutput) LastAttempted() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogStatus) *int { return v.LastAttempted }).(pulumi.IntPtrOutput) } -// 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 GetClusterClusterInfoClusterLogStatusOutput) LastException() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogStatus) *string { return v.LastException }).(pulumi.StringPtrOutput) } -type GetInstanceProfilesInstanceProfileArrayOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoClusterLogStatusPtrOutput struct{ *pulumi.OutputState } -func (GetInstanceProfilesInstanceProfileArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstanceProfilesInstanceProfile)(nil)).Elem() +func (GetClusterClusterInfoClusterLogStatusPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogStatus)(nil)).Elem() } -func (o GetInstanceProfilesInstanceProfileArrayOutput) ToGetInstanceProfilesInstanceProfileArrayOutput() GetInstanceProfilesInstanceProfileArrayOutput { +func (o GetClusterClusterInfoClusterLogStatusPtrOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { return o } -func (o GetInstanceProfilesInstanceProfileArrayOutput) ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileArrayOutput { +func (o GetClusterClusterInfoClusterLogStatusPtrOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { 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 GetClusterClusterInfoClusterLogStatusPtrOutput) Elem() GetClusterClusterInfoClusterLogStatusOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogStatus) GetClusterClusterInfoClusterLogStatus { + if v != nil { + return *v + } + var ret GetClusterClusterInfoClusterLogStatus + return ret + }).(GetClusterClusterInfoClusterLogStatusOutput) } -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 GetClusterClusterInfoClusterLogStatusPtrOutput) LastAttempted() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogStatus) *int { + if v == nil { + return nil + } + return v.LastAttempted + }).(pulumi.IntPtrOutput) } -// GetJobJobSettingsInput is an input type that accepts GetJobJobSettingsArgs and GetJobJobSettingsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsInput` via: +func (o GetClusterClusterInfoClusterLogStatusPtrOutput) LastException() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogStatus) *string { + if v == nil { + return nil + } + return v.LastException + }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoDockerImage struct { + BasicAuth *GetClusterClusterInfoDockerImageBasicAuth `pulumi:"basicAuth"` + Url string `pulumi:"url"` +} + +// GetClusterClusterInfoDockerImageInput is an input type that accepts GetClusterClusterInfoDockerImageArgs and GetClusterClusterInfoDockerImageOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDockerImageInput` via: // -// GetJobJobSettingsArgs{...} -type GetJobJobSettingsInput interface { +// GetClusterClusterInfoDockerImageArgs{...} +type GetClusterClusterInfoDockerImageInput interface { pulumi.Input - ToGetJobJobSettingsOutput() GetJobJobSettingsOutput - ToGetJobJobSettingsOutputWithContext(context.Context) GetJobJobSettingsOutput + ToGetClusterClusterInfoDockerImageOutput() GetClusterClusterInfoDockerImageOutput + ToGetClusterClusterInfoDockerImageOutputWithContext(context.Context) GetClusterClusterInfoDockerImageOutput } -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 GetClusterClusterInfoDockerImageArgs struct { + BasicAuth GetClusterClusterInfoDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + Url pulumi.StringInput `pulumi:"url"` } -func (GetJobJobSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettings)(nil)).Elem() +func (GetClusterClusterInfoDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDockerImage)(nil)).Elem() } -func (i GetJobJobSettingsArgs) ToGetJobJobSettingsOutput() GetJobJobSettingsOutput { - return i.ToGetJobJobSettingsOutputWithContext(context.Background()) +func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImageOutput() GetClusterClusterInfoDockerImageOutput { + return i.ToGetClusterClusterInfoDockerImageOutputWithContext(context.Background()) } -func (i GetJobJobSettingsArgs) ToGetJobJobSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsOutput) +func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImageOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageOutput) } -func (i GetJobJobSettingsArgs) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { - return i.ToGetJobJobSettingsPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { + return i.ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsArgs) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsOutput).ToGetJobJobSettingsPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageOutput).ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx) } -// GetJobJobSettingsPtrInput is an input type that accepts GetJobJobSettingsArgs, GetJobJobSettingsPtr and GetJobJobSettingsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsPtrInput` via: +// GetClusterClusterInfoDockerImagePtrInput is an input type that accepts GetClusterClusterInfoDockerImageArgs, GetClusterClusterInfoDockerImagePtr and GetClusterClusterInfoDockerImagePtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDockerImagePtrInput` via: // -// GetJobJobSettingsArgs{...} +// GetClusterClusterInfoDockerImageArgs{...} // // or: // // nil -type GetJobJobSettingsPtrInput interface { +type GetClusterClusterInfoDockerImagePtrInput interface { pulumi.Input - ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput - ToGetJobJobSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsPtrOutput + ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput + ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Context) GetClusterClusterInfoDockerImagePtrOutput } -type getJobJobSettingsPtrType GetJobJobSettingsArgs +type getClusterClusterInfoDockerImagePtrType GetClusterClusterInfoDockerImageArgs -func GetJobJobSettingsPtr(v *GetJobJobSettingsArgs) GetJobJobSettingsPtrInput { - return (*getJobJobSettingsPtrType)(v) +func GetClusterClusterInfoDockerImagePtr(v *GetClusterClusterInfoDockerImageArgs) GetClusterClusterInfoDockerImagePtrInput { + return (*getClusterClusterInfoDockerImagePtrType)(v) } -func (*getJobJobSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettings)(nil)).Elem() +func (*getClusterClusterInfoDockerImagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDockerImage)(nil)).Elem() } -func (i *getJobJobSettingsPtrType) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { - return i.ToGetJobJobSettingsPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoDockerImagePtrType) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { + return i.ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsPtrType) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsPtrOutput) +func (i *getClusterClusterInfoDockerImagePtrType) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImagePtrOutput) } -type GetJobJobSettingsOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoDockerImageOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettings)(nil)).Elem() +func (GetClusterClusterInfoDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsOutput) ToGetJobJobSettingsOutput() GetJobJobSettingsOutput { +func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImageOutput() GetClusterClusterInfoDockerImageOutput { return o } -func (o GetJobJobSettingsOutput) ToGetJobJobSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsOutput { +func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImageOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageOutput { return o } -func (o GetJobJobSettingsOutput) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { - return o.ToGetJobJobSettingsPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { + return o.ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsOutput) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettings) *GetJobJobSettings { +func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDockerImage) *GetClusterClusterInfoDockerImage { 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) + }).(GetClusterClusterInfoDockerImagePtrOutput) } -func (o GetJobJobSettingsOutput) RunAsUserName() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettings) string { return v.RunAsUserName }).(pulumi.StringOutput) +func (o GetClusterClusterInfoDockerImageOutput) BasicAuth() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDockerImage) *GetClusterClusterInfoDockerImageBasicAuth { + return v.BasicAuth + }).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsOutput) Settings() GetJobJobSettingsSettingsPtrOutput { - return o.ApplyT(func(v GetJobJobSettings) *GetJobJobSettingsSettings { return v.Settings }).(GetJobJobSettingsSettingsPtrOutput) +func (o GetClusterClusterInfoDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoDockerImage) string { return v.Url }).(pulumi.StringOutput) } -type GetJobJobSettingsPtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoDockerImagePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettings)(nil)).Elem() +func (GetClusterClusterInfoDockerImagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsPtrOutput) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { +func (o GetClusterClusterInfoDockerImagePtrOutput) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { return o } -func (o GetJobJobSettingsPtrOutput) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { +func (o GetClusterClusterInfoDockerImagePtrOutput) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { return o } -func (o GetJobJobSettingsPtrOutput) Elem() GetJobJobSettingsOutput { - return o.ApplyT(func(v *GetJobJobSettings) GetJobJobSettings { +func (o GetClusterClusterInfoDockerImagePtrOutput) Elem() GetClusterClusterInfoDockerImageOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDockerImage) GetClusterClusterInfoDockerImage { if v != nil { return *v } - var ret GetJobJobSettings + var ret GetClusterClusterInfoDockerImage 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) + }).(GetClusterClusterInfoDockerImageOutput) } -func (o GetJobJobSettingsPtrOutput) JobId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettings) *int { +func (o GetClusterClusterInfoDockerImagePtrOutput) BasicAuth() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDockerImage) *GetClusterClusterInfoDockerImageBasicAuth { if v == nil { return nil } - return v.JobId - }).(pulumi.IntPtrOutput) + return v.BasicAuth + }).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsPtrOutput) RunAsUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettings) *string { +func (o GetClusterClusterInfoDockerImagePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDockerImage) *string { if v == nil { return nil } - return &v.RunAsUserName + return &v.Url }).(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 { - Computes []GetJobJobSettingsSettingsCompute `pulumi:"computes"` - Continuous *GetJobJobSettingsSettingsContinuous `pulumi:"continuous"` - DbtTask *GetJobJobSettingsSettingsDbtTask `pulumi:"dbtTask"` - Deployment *GetJobJobSettingsSettingsDeployment `pulumi:"deployment"` - Description *string `pulumi:"description"` - EditMode *string `pulumi:"editMode"` - EmailNotifications *GetJobJobSettingsSettingsEmailNotifications `pulumi:"emailNotifications"` - 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]interface{} `pulumi:"tags"` - Tasks []GetJobJobSettingsSettingsTask `pulumi:"tasks"` - TimeoutSeconds *int `pulumi:"timeoutSeconds"` - Trigger *GetJobJobSettingsSettingsTrigger `pulumi:"trigger"` - WebhookNotifications *GetJobJobSettingsSettingsWebhookNotifications `pulumi:"webhookNotifications"` +type GetClusterClusterInfoDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` } -// GetJobJobSettingsSettingsInput is an input type that accepts GetJobJobSettingsSettingsArgs and GetJobJobSettingsSettingsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsInput` via: +// GetClusterClusterInfoDockerImageBasicAuthInput is an input type that accepts GetClusterClusterInfoDockerImageBasicAuthArgs and GetClusterClusterInfoDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDockerImageBasicAuthInput` via: // -// GetJobJobSettingsSettingsArgs{...} -type GetJobJobSettingsSettingsInput interface { +// GetClusterClusterInfoDockerImageBasicAuthArgs{...} +type GetClusterClusterInfoDockerImageBasicAuthInput interface { pulumi.Input - ToGetJobJobSettingsSettingsOutput() GetJobJobSettingsSettingsOutput - ToGetJobJobSettingsSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsOutput + ToGetClusterClusterInfoDockerImageBasicAuthOutput() GetClusterClusterInfoDockerImageBasicAuthOutput + ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(context.Context) GetClusterClusterInfoDockerImageBasicAuthOutput } -type GetJobJobSettingsSettingsArgs struct { - Computes GetJobJobSettingsSettingsComputeArrayInput `pulumi:"computes"` - 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"` - 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.MapInput `pulumi:"tags"` - Tasks GetJobJobSettingsSettingsTaskArrayInput `pulumi:"tasks"` - TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` - Trigger GetJobJobSettingsSettingsTriggerPtrInput `pulumi:"trigger"` - WebhookNotifications GetJobJobSettingsSettingsWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` +type GetClusterClusterInfoDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` } -func (GetJobJobSettingsSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettings)(nil)).Elem() +func (GetClusterClusterInfoDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() } -func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsOutput() GetJobJobSettingsSettingsOutput { - return i.ToGetJobJobSettingsSettingsOutputWithContext(context.Background()) +func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthOutput() GetClusterClusterInfoDockerImageBasicAuthOutput { + return i.ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsOutput) +func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageBasicAuthOutput) } -func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return i.ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsOutput).ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageBasicAuthOutput).ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsArgs, GetJobJobSettingsSettingsPtr and GetJobJobSettingsSettingsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsPtrInput` via: +// GetClusterClusterInfoDockerImageBasicAuthPtrInput is an input type that accepts GetClusterClusterInfoDockerImageBasicAuthArgs, GetClusterClusterInfoDockerImageBasicAuthPtr and GetClusterClusterInfoDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDockerImageBasicAuthPtrInput` via: // -// GetJobJobSettingsSettingsArgs{...} +// GetClusterClusterInfoDockerImageBasicAuthArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsPtrInput interface { +type GetClusterClusterInfoDockerImageBasicAuthPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput - ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsPtrOutput + ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput + ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput } -type getJobJobSettingsSettingsPtrType GetJobJobSettingsSettingsArgs +type getClusterClusterInfoDockerImageBasicAuthPtrType GetClusterClusterInfoDockerImageBasicAuthArgs -func GetJobJobSettingsSettingsPtr(v *GetJobJobSettingsSettingsArgs) GetJobJobSettingsSettingsPtrInput { - return (*getJobJobSettingsSettingsPtrType)(v) +func GetClusterClusterInfoDockerImageBasicAuthPtr(v *GetClusterClusterInfoDockerImageBasicAuthArgs) GetClusterClusterInfoDockerImageBasicAuthPtrInput { + return (*getClusterClusterInfoDockerImageBasicAuthPtrType)(v) } -func (*getJobJobSettingsSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettings)(nil)).Elem() +func (*getClusterClusterInfoDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() } -func (i *getJobJobSettingsSettingsPtrType) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoDockerImageBasicAuthPtrType) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return i.ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsPtrType) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPtrOutput) +func (i *getClusterClusterInfoDockerImageBasicAuthPtrType) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) } -type GetJobJobSettingsSettingsOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoDockerImageBasicAuthOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettings)(nil)).Elem() +func (GetClusterClusterInfoDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsOutput() GetJobJobSettingsSettingsOutput { +func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthOutput() GetClusterClusterInfoDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsOutput { +func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { - return o.ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return o.ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettings) *GetJobJobSettingsSettings { +func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDockerImageBasicAuth) *GetClusterClusterInfoDockerImageBasicAuth { return &v - }).(GetJobJobSettingsSettingsPtrOutput) + }).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsSettingsOutput) Computes() GetJobJobSettingsSettingsComputeArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsCompute { return v.Computes }).(GetJobJobSettingsSettingsComputeArrayOutput) +func (o GetClusterClusterInfoDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsOutput) Continuous() GetJobJobSettingsSettingsContinuousPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsContinuous { return v.Continuous }).(GetJobJobSettingsSettingsContinuousPtrOutput) +func (o GetClusterClusterInfoDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsOutput) DbtTask() GetJobJobSettingsSettingsDbtTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDbtTask { return v.DbtTask }).(GetJobJobSettingsSettingsDbtTaskPtrOutput) -} +type GetClusterClusterInfoDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsOutput) Deployment() GetJobJobSettingsSettingsDeploymentPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDeployment { return v.Deployment }).(GetJobJobSettingsSettingsDeploymentPtrOutput) +func (GetClusterClusterInfoDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *string { return v.Description }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return o } -func (o GetJobJobSettingsSettingsOutput) EditMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *string { return v.EditMode }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return o } -func (o GetJobJobSettingsSettingsOutput) EmailNotifications() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsEmailNotifications { - return v.EmailNotifications - }).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) +func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) Elem() GetClusterClusterInfoDockerImageBasicAuthOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDockerImageBasicAuth) GetClusterClusterInfoDockerImageBasicAuth { + if v != nil { + return *v + } + var ret GetClusterClusterInfoDockerImageBasicAuth + return ret + }).(GetClusterClusterInfoDockerImageBasicAuthOutput) } -func (o GetJobJobSettingsSettingsOutput) ExistingClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Password + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsOutput) Format() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) string { return v.Format }).(pulumi.StringOutput) +func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Username + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsOutput) GitSource() GetJobJobSettingsSettingsGitSourcePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsGitSource { return v.GitSource }).(GetJobJobSettingsSettingsGitSourcePtrOutput) +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"` } -func (o GetJobJobSettingsSettingsOutput) Health() GetJobJobSettingsSettingsHealthPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsHealth { return v.Health }).(GetJobJobSettingsSettingsHealthPtrOutput) -} +// GetClusterClusterInfoDriverInput is an input type that accepts GetClusterClusterInfoDriverArgs and GetClusterClusterInfoDriverOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDriverInput` via: +// +// GetClusterClusterInfoDriverArgs{...} +type GetClusterClusterInfoDriverInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsOutput) JobClusters() GetJobJobSettingsSettingsJobClusterArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsJobCluster { return v.JobClusters }).(GetJobJobSettingsSettingsJobClusterArrayOutput) + ToGetClusterClusterInfoDriverOutput() GetClusterClusterInfoDriverOutput + ToGetClusterClusterInfoDriverOutputWithContext(context.Context) GetClusterClusterInfoDriverOutput } -func (o GetJobJobSettingsSettingsOutput) Libraries() GetJobJobSettingsSettingsLibraryArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsLibrary { return v.Libraries }).(GetJobJobSettingsSettingsLibraryArrayOutput) +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 (o GetJobJobSettingsSettingsOutput) MaxConcurrentRuns() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.MaxConcurrentRuns }).(pulumi.IntPtrOutput) +func (GetClusterClusterInfoDriverArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDriver)(nil)).Elem() } -func (o GetJobJobSettingsSettingsOutput) MaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) +func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverOutput() GetClusterClusterInfoDriverOutput { + return i.ToGetClusterClusterInfoDriverOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) +func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverOutput) } -// 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 (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { + return i.ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsOutput) NewCluster() GetJobJobSettingsSettingsNewClusterPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNewCluster { return v.NewCluster }).(GetJobJobSettingsSettingsNewClusterPtrOutput) +func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverOutput).ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsOutput) NotebookTask() GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotebookTask { return v.NotebookTask }).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) -} +// 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 (o GetJobJobSettingsSettingsOutput) NotificationSettings() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotificationSettings { - return v.NotificationSettings - }).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) + ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput + ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Context) GetClusterClusterInfoDriverPtrOutput } -func (o GetJobJobSettingsSettingsOutput) Parameters() GetJobJobSettingsSettingsParameterArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsParameter { return v.Parameters }).(GetJobJobSettingsSettingsParameterArrayOutput) -} +type getClusterClusterInfoDriverPtrType GetClusterClusterInfoDriverArgs -func (o GetJobJobSettingsSettingsOutput) PipelineTask() GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPipelineTask { return v.PipelineTask }).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) +func GetClusterClusterInfoDriverPtr(v *GetClusterClusterInfoDriverArgs) GetClusterClusterInfoDriverPtrInput { + return (*getClusterClusterInfoDriverPtrType)(v) } -func (o GetJobJobSettingsSettingsOutput) PythonWheelTask() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPythonWheelTask { return v.PythonWheelTask }).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) +func (*getClusterClusterInfoDriverPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDriver)(nil)).Elem() } -func (o GetJobJobSettingsSettingsOutput) Queue() GetJobJobSettingsSettingsQueuePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsQueue { return v.Queue }).(GetJobJobSettingsSettingsQueuePtrOutput) +func (i *getClusterClusterInfoDriverPtrType) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { + return i.ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsOutput) RetryOnTimeout() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *bool { return v.RetryOnTimeout }).(pulumi.BoolPtrOutput) +func (i *getClusterClusterInfoDriverPtrType) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverPtrOutput) } -func (o GetJobJobSettingsSettingsOutput) RunAs() GetJobJobSettingsSettingsRunAsOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) GetJobJobSettingsSettingsRunAs { return v.RunAs }).(GetJobJobSettingsSettingsRunAsOutput) +type GetClusterClusterInfoDriverOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoDriverOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDriver)(nil)).Elem() } -func (o GetJobJobSettingsSettingsOutput) RunJobTask() GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsRunJobTask { return v.RunJobTask }).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) +func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverOutput() GetClusterClusterInfoDriverOutput { + return o } -func (o GetJobJobSettingsSettingsOutput) Schedule() GetJobJobSettingsSettingsSchedulePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSchedule { return v.Schedule }).(GetJobJobSettingsSettingsSchedulePtrOutput) +func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverOutput { + return o } -func (o GetJobJobSettingsSettingsOutput) SparkJarTask() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkJarTask { return v.SparkJarTask }).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) +func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { + return o.ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsOutput) SparkPythonTask() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkPythonTask { return v.SparkPythonTask }).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) +func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDriver) *GetClusterClusterInfoDriver { + return &v + }).(GetClusterClusterInfoDriverPtrOutput) } -func (o GetJobJobSettingsSettingsOutput) SparkSubmitTask() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkSubmitTask { return v.SparkSubmitTask }).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) +func (o GetClusterClusterInfoDriverOutput) HostPrivateIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.HostPrivateIp }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsOutput) Tags() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) map[string]interface{} { return v.Tags }).(pulumi.MapOutput) +func (o GetClusterClusterInfoDriverOutput) InstanceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.InstanceId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsOutput) Tasks() GetJobJobSettingsSettingsTaskArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsTask { return v.Tasks }).(GetJobJobSettingsSettingsTaskArrayOutput) +func (o GetClusterClusterInfoDriverOutput) NodeAwsAttributes() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriver) *GetClusterClusterInfoDriverNodeAwsAttributes { + return v.NodeAwsAttributes + }).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsOutput) TimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoDriverOutput) NodeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.NodeId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsOutput) Trigger() GetJobJobSettingsSettingsTriggerPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsTrigger { return v.Trigger }).(GetJobJobSettingsSettingsTriggerPtrOutput) +func (o GetClusterClusterInfoDriverOutput) PrivateIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.PrivateIp }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsOutput) WebhookNotifications() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsWebhookNotifications { - return v.WebhookNotifications - }).(GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) +func (o GetClusterClusterInfoDriverOutput) PublicDns() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.PublicDns }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoDriverOutput) StartTimestamp() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriver) *int { return v.StartTimestamp }).(pulumi.IntPtrOutput) +} -func (GetJobJobSettingsSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettings)(nil)).Elem() +type GetClusterClusterInfoDriverPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoDriverPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDriver)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPtrOutput) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { +func (o GetClusterClusterInfoDriverPtrOutput) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { return o } -func (o GetJobJobSettingsSettingsPtrOutput) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { +func (o GetClusterClusterInfoDriverPtrOutput) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { return o } -func (o GetJobJobSettingsSettingsPtrOutput) Elem() GetJobJobSettingsSettingsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) GetJobJobSettingsSettings { +func (o GetClusterClusterInfoDriverPtrOutput) Elem() GetClusterClusterInfoDriverOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) GetClusterClusterInfoDriver { if v != nil { return *v } - var ret GetJobJobSettingsSettings + var ret GetClusterClusterInfoDriver return ret - }).(GetJobJobSettingsSettingsOutput) + }).(GetClusterClusterInfoDriverOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) Computes() GetJobJobSettingsSettingsComputeArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsCompute { +func (o GetClusterClusterInfoDriverPtrOutput) HostPrivateIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { if v == nil { return nil } - return v.Computes - }).(GetJobJobSettingsSettingsComputeArrayOutput) + return v.HostPrivateIp + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) Continuous() GetJobJobSettingsSettingsContinuousPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsContinuous { +func (o GetClusterClusterInfoDriverPtrOutput) InstanceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { if v == nil { return nil } - return v.Continuous - }).(GetJobJobSettingsSettingsContinuousPtrOutput) + return v.InstanceId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) DbtTask() GetJobJobSettingsSettingsDbtTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDbtTask { +func (o GetClusterClusterInfoDriverPtrOutput) NodeAwsAttributes() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) *GetClusterClusterInfoDriverNodeAwsAttributes { if v == nil { return nil } - return v.DbtTask - }).(GetJobJobSettingsSettingsDbtTaskPtrOutput) + return v.NodeAwsAttributes + }).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) Deployment() GetJobJobSettingsSettingsDeploymentPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDeployment { +func (o GetClusterClusterInfoDriverPtrOutput) NodeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { if v == nil { return nil } - return v.Deployment - }).(GetJobJobSettingsSettingsDeploymentPtrOutput) + return v.NodeId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { +func (o GetClusterClusterInfoDriverPtrOutput) PrivateIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { if v == nil { return nil } - return v.Description + return v.PrivateIp }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) EditMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { +func (o GetClusterClusterInfoDriverPtrOutput) PublicDns() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { if v == nil { return nil } - return v.EditMode + return v.PublicDns }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) EmailNotifications() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsEmailNotifications { +func (o GetClusterClusterInfoDriverPtrOutput) StartTimestamp() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) *int { if v == nil { return nil } - return v.EmailNotifications - }).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) + return v.StartTimestamp + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) ExistingClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { - if v == nil { - return nil - } - return v.ExistingClusterId - }).(pulumi.StringPtrOutput) +type GetClusterClusterInfoDriverNodeAwsAttributes struct { + IsSpot *bool `pulumi:"isSpot"` } -func (o GetJobJobSettingsSettingsPtrOutput) Format() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { - if v == nil { - return nil - } - return &v.Format - }).(pulumi.StringPtrOutput) -} +// GetClusterClusterInfoDriverNodeAwsAttributesInput is an input type that accepts GetClusterClusterInfoDriverNodeAwsAttributesArgs and GetClusterClusterInfoDriverNodeAwsAttributesOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDriverNodeAwsAttributesInput` via: +// +// GetClusterClusterInfoDriverNodeAwsAttributesArgs{...} +type GetClusterClusterInfoDriverNodeAwsAttributesInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsPtrOutput) GitSource() GetJobJobSettingsSettingsGitSourcePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsGitSource { - if v == nil { - return nil - } - return v.GitSource - }).(GetJobJobSettingsSettingsGitSourcePtrOutput) + ToGetClusterClusterInfoDriverNodeAwsAttributesOutput() GetClusterClusterInfoDriverNodeAwsAttributesOutput + ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(context.Context) GetClusterClusterInfoDriverNodeAwsAttributesOutput } -func (o GetJobJobSettingsSettingsPtrOutput) Health() GetJobJobSettingsSettingsHealthPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsHealth { - if v == nil { - return nil - } - return v.Health - }).(GetJobJobSettingsSettingsHealthPtrOutput) +type GetClusterClusterInfoDriverNodeAwsAttributesArgs struct { + IsSpot pulumi.BoolPtrInput `pulumi:"isSpot"` } -func (o GetJobJobSettingsSettingsPtrOutput) JobClusters() GetJobJobSettingsSettingsJobClusterArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsJobCluster { - if v == nil { - return nil - } - return v.JobClusters - }).(GetJobJobSettingsSettingsJobClusterArrayOutput) +func (GetClusterClusterInfoDriverNodeAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDriverNodeAwsAttributes)(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 GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesOutput() GetClusterClusterInfoDriverNodeAwsAttributesOutput { + return i.ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(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 GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverNodeAwsAttributesOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) MaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *int { - if v == nil { - return nil - } - return v.MaxRetries - }).(pulumi.IntPtrOutput) +func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return i.ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsPtrOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *int { - if v == nil { - return nil - } - return v.MinRetryIntervalMillis - }).(pulumi.IntPtrOutput) +func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverNodeAwsAttributesOutput).ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx) } -// 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) -} +// GetClusterClusterInfoDriverNodeAwsAttributesPtrInput is an input type that accepts GetClusterClusterInfoDriverNodeAwsAttributesArgs, GetClusterClusterInfoDriverNodeAwsAttributesPtr and GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDriverNodeAwsAttributesPtrInput` via: +// +// GetClusterClusterInfoDriverNodeAwsAttributesArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoDriverNodeAwsAttributesPtrInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsPtrOutput) NewCluster() GetJobJobSettingsSettingsNewClusterPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNewCluster { - if v == nil { - return nil - } - return v.NewCluster - }).(GetJobJobSettingsSettingsNewClusterPtrOutput) + ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput + ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput } -func (o GetJobJobSettingsSettingsPtrOutput) NotebookTask() GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotebookTask { - if v == nil { - return nil - } - return v.NotebookTask - }).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) -} +type getClusterClusterInfoDriverNodeAwsAttributesPtrType GetClusterClusterInfoDriverNodeAwsAttributesArgs -func (o GetJobJobSettingsSettingsPtrOutput) NotificationSettings() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotificationSettings { - if v == nil { - return nil - } - return v.NotificationSettings - }).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) +func GetClusterClusterInfoDriverNodeAwsAttributesPtr(v *GetClusterClusterInfoDriverNodeAwsAttributesArgs) GetClusterClusterInfoDriverNodeAwsAttributesPtrInput { + return (*getClusterClusterInfoDriverNodeAwsAttributesPtrType)(v) } -func (o GetJobJobSettingsSettingsPtrOutput) Parameters() GetJobJobSettingsSettingsParameterArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsParameter { - if v == nil { - return nil - } - return v.Parameters - }).(GetJobJobSettingsSettingsParameterArrayOutput) +func (*getClusterClusterInfoDriverNodeAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPtrOutput) PipelineTask() GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPipelineTask { - if v == nil { - return nil - } - return v.PipelineTask - }).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) +func (i *getClusterClusterInfoDriverNodeAwsAttributesPtrType) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return i.ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsPtrOutput) PythonWheelTask() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPythonWheelTask { - if v == nil { - return nil - } - return v.PythonWheelTask - }).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) +func (i *getClusterClusterInfoDriverNodeAwsAttributesPtrType) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) Queue() GetJobJobSettingsSettingsQueuePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsQueue { - if v == nil { - return nil - } - return v.Queue - }).(GetJobJobSettingsSettingsQueuePtrOutput) -} +type GetClusterClusterInfoDriverNodeAwsAttributesOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsPtrOutput) RetryOnTimeout() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *bool { - if v == nil { - return nil - } - return v.RetryOnTimeout - }).(pulumi.BoolPtrOutput) +func (GetClusterClusterInfoDriverNodeAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPtrOutput) RunAs() GetJobJobSettingsSettingsRunAsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsRunAs { - if v == nil { - return nil - } - return &v.RunAs - }).(GetJobJobSettingsSettingsRunAsPtrOutput) +func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesOutput() GetClusterClusterInfoDriverNodeAwsAttributesOutput { + return o } -func (o GetJobJobSettingsSettingsPtrOutput) RunJobTask() GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsRunJobTask { - if v == nil { - return nil - } - return v.RunJobTask - }).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) +func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesOutput { + 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 GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return o.ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsPtrOutput) SparkJarTask() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkJarTask { - if v == nil { - return nil - } - return v.SparkJarTask - }).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) +func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDriverNodeAwsAttributes) *GetClusterClusterInfoDriverNodeAwsAttributes { + return &v + }).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) SparkPythonTask() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkPythonTask { - if v == nil { - return nil - } - return v.SparkPythonTask - }).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) +func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) IsSpot() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriverNodeAwsAttributes) *bool { return v.IsSpot }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) SparkSubmitTask() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkSubmitTask { - if v == nil { - return nil - } - return v.SparkSubmitTask - }).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) -} +type GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsPtrOutput) Tags() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) map[string]interface{} { - if v == nil { - return nil - } - return v.Tags - }).(pulumi.MapOutput) +func (GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPtrOutput) Tasks() GetJobJobSettingsSettingsTaskArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsTask { - if v == nil { - return nil - } - return v.Tasks - }).(GetJobJobSettingsSettingsTaskArrayOutput) +func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return o } -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 GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return o } -func (o GetJobJobSettingsSettingsPtrOutput) Trigger() GetJobJobSettingsSettingsTriggerPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsTrigger { - if v == nil { - return nil +func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) Elem() GetClusterClusterInfoDriverNodeAwsAttributesOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriverNodeAwsAttributes) GetClusterClusterInfoDriverNodeAwsAttributes { + if v != nil { + return *v } - return v.Trigger - }).(GetJobJobSettingsSettingsTriggerPtrOutput) + var ret GetClusterClusterInfoDriverNodeAwsAttributes + return ret + }).(GetClusterClusterInfoDriverNodeAwsAttributesOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) WebhookNotifications() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsWebhookNotifications { +func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) IsSpot() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriverNodeAwsAttributes) *bool { if v == nil { return nil } - return v.WebhookNotifications - }).(GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) + return v.IsSpot + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsCompute struct { - ComputeKey *string `pulumi:"computeKey"` - Spec *GetJobJobSettingsSettingsComputeSpec `pulumi:"spec"` +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"` } -// GetJobJobSettingsSettingsComputeInput is an input type that accepts GetJobJobSettingsSettingsComputeArgs and GetJobJobSettingsSettingsComputeOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsComputeInput` via: +// GetClusterClusterInfoExecutorInput is an input type that accepts GetClusterClusterInfoExecutorArgs and GetClusterClusterInfoExecutorOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoExecutorInput` via: // -// GetJobJobSettingsSettingsComputeArgs{...} -type GetJobJobSettingsSettingsComputeInput interface { +// GetClusterClusterInfoExecutorArgs{...} +type GetClusterClusterInfoExecutorInput interface { pulumi.Input - ToGetJobJobSettingsSettingsComputeOutput() GetJobJobSettingsSettingsComputeOutput - ToGetJobJobSettingsSettingsComputeOutputWithContext(context.Context) GetJobJobSettingsSettingsComputeOutput + ToGetClusterClusterInfoExecutorOutput() GetClusterClusterInfoExecutorOutput + ToGetClusterClusterInfoExecutorOutputWithContext(context.Context) GetClusterClusterInfoExecutorOutput } -type GetJobJobSettingsSettingsComputeArgs struct { - ComputeKey pulumi.StringPtrInput `pulumi:"computeKey"` - Spec GetJobJobSettingsSettingsComputeSpecPtrInput `pulumi:"spec"` +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 (GetJobJobSettingsSettingsComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsCompute)(nil)).Elem() +func (GetClusterClusterInfoExecutorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoExecutor)(nil)).Elem() } -func (i GetJobJobSettingsSettingsComputeArgs) ToGetJobJobSettingsSettingsComputeOutput() GetJobJobSettingsSettingsComputeOutput { - return i.ToGetJobJobSettingsSettingsComputeOutputWithContext(context.Background()) +func (i GetClusterClusterInfoExecutorArgs) ToGetClusterClusterInfoExecutorOutput() GetClusterClusterInfoExecutorOutput { + return i.ToGetClusterClusterInfoExecutorOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsComputeArgs) ToGetJobJobSettingsSettingsComputeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsComputeOutput) +func (i GetClusterClusterInfoExecutorArgs) ToGetClusterClusterInfoExecutorOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorOutput) } -// GetJobJobSettingsSettingsComputeArrayInput is an input type that accepts GetJobJobSettingsSettingsComputeArray and GetJobJobSettingsSettingsComputeArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsComputeArrayInput` via: +// GetClusterClusterInfoExecutorArrayInput is an input type that accepts GetClusterClusterInfoExecutorArray and GetClusterClusterInfoExecutorArrayOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoExecutorArrayInput` via: // -// GetJobJobSettingsSettingsComputeArray{ GetJobJobSettingsSettingsComputeArgs{...} } -type GetJobJobSettingsSettingsComputeArrayInput interface { +// GetClusterClusterInfoExecutorArray{ GetClusterClusterInfoExecutorArgs{...} } +type GetClusterClusterInfoExecutorArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsComputeArrayOutput() GetJobJobSettingsSettingsComputeArrayOutput - ToGetJobJobSettingsSettingsComputeArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsComputeArrayOutput + ToGetClusterClusterInfoExecutorArrayOutput() GetClusterClusterInfoExecutorArrayOutput + ToGetClusterClusterInfoExecutorArrayOutputWithContext(context.Context) GetClusterClusterInfoExecutorArrayOutput } -type GetJobJobSettingsSettingsComputeArray []GetJobJobSettingsSettingsComputeInput +type GetClusterClusterInfoExecutorArray []GetClusterClusterInfoExecutorInput -func (GetJobJobSettingsSettingsComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsCompute)(nil)).Elem() +func (GetClusterClusterInfoExecutorArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterClusterInfoExecutor)(nil)).Elem() } -func (i GetJobJobSettingsSettingsComputeArray) ToGetJobJobSettingsSettingsComputeArrayOutput() GetJobJobSettingsSettingsComputeArrayOutput { - return i.ToGetJobJobSettingsSettingsComputeArrayOutputWithContext(context.Background()) +func (i GetClusterClusterInfoExecutorArray) ToGetClusterClusterInfoExecutorArrayOutput() GetClusterClusterInfoExecutorArrayOutput { + return i.ToGetClusterClusterInfoExecutorArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsComputeArray) ToGetJobJobSettingsSettingsComputeArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsComputeArrayOutput) +func (i GetClusterClusterInfoExecutorArray) ToGetClusterClusterInfoExecutorArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorArrayOutput) } -type GetJobJobSettingsSettingsComputeOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoExecutorOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsCompute)(nil)).Elem() +func (GetClusterClusterInfoExecutorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoExecutor)(nil)).Elem() } -func (o GetJobJobSettingsSettingsComputeOutput) ToGetJobJobSettingsSettingsComputeOutput() GetJobJobSettingsSettingsComputeOutput { +func (o GetClusterClusterInfoExecutorOutput) ToGetClusterClusterInfoExecutorOutput() GetClusterClusterInfoExecutorOutput { return o } -func (o GetJobJobSettingsSettingsComputeOutput) ToGetJobJobSettingsSettingsComputeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsComputeOutput { +func (o GetClusterClusterInfoExecutorOutput) ToGetClusterClusterInfoExecutorOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorOutput { return o } -func (o GetJobJobSettingsSettingsComputeOutput) ComputeKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsCompute) *string { return v.ComputeKey }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoExecutorOutput) HostPrivateIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.HostPrivateIp }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsComputeOutput) Spec() GetJobJobSettingsSettingsComputeSpecPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsCompute) *GetJobJobSettingsSettingsComputeSpec { return v.Spec }).(GetJobJobSettingsSettingsComputeSpecPtrOutput) +func (o GetClusterClusterInfoExecutorOutput) InstanceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.InstanceId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsComputeArrayOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoExecutorOutput) NodeAwsAttributes() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoExecutor) *GetClusterClusterInfoExecutorNodeAwsAttributes { + return v.NodeAwsAttributes + }).(GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) +} -func (GetJobJobSettingsSettingsComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsCompute)(nil)).Elem() +func (o GetClusterClusterInfoExecutorOutput) NodeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.NodeId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsComputeArrayOutput) ToGetJobJobSettingsSettingsComputeArrayOutput() GetJobJobSettingsSettingsComputeArrayOutput { +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 GetJobJobSettingsSettingsComputeArrayOutput) ToGetJobJobSettingsSettingsComputeArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsComputeArrayOutput { +func (o GetClusterClusterInfoExecutorArrayOutput) ToGetClusterClusterInfoExecutorArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorArrayOutput { return o } -func (o GetJobJobSettingsSettingsComputeArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsCompute { - return vs[0].([]GetJobJobSettingsSettingsCompute)[vs[1].(int)] - }).(GetJobJobSettingsSettingsComputeOutput) +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 GetJobJobSettingsSettingsComputeSpec struct { - Kind *string `pulumi:"kind"` +type GetClusterClusterInfoExecutorNodeAwsAttributes struct { + IsSpot *bool `pulumi:"isSpot"` } -// GetJobJobSettingsSettingsComputeSpecInput is an input type that accepts GetJobJobSettingsSettingsComputeSpecArgs and GetJobJobSettingsSettingsComputeSpecOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsComputeSpecInput` via: +// GetClusterClusterInfoExecutorNodeAwsAttributesInput is an input type that accepts GetClusterClusterInfoExecutorNodeAwsAttributesArgs and GetClusterClusterInfoExecutorNodeAwsAttributesOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoExecutorNodeAwsAttributesInput` via: // -// GetJobJobSettingsSettingsComputeSpecArgs{...} -type GetJobJobSettingsSettingsComputeSpecInput interface { +// GetClusterClusterInfoExecutorNodeAwsAttributesArgs{...} +type GetClusterClusterInfoExecutorNodeAwsAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsComputeSpecOutput() GetJobJobSettingsSettingsComputeSpecOutput - ToGetJobJobSettingsSettingsComputeSpecOutputWithContext(context.Context) GetJobJobSettingsSettingsComputeSpecOutput + ToGetClusterClusterInfoExecutorNodeAwsAttributesOutput() GetClusterClusterInfoExecutorNodeAwsAttributesOutput + ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesOutput } -type GetJobJobSettingsSettingsComputeSpecArgs struct { - Kind pulumi.StringPtrInput `pulumi:"kind"` +type GetClusterClusterInfoExecutorNodeAwsAttributesArgs struct { + IsSpot pulumi.BoolPtrInput `pulumi:"isSpot"` } -func (GetJobJobSettingsSettingsComputeSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsComputeSpec)(nil)).Elem() +func (GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() } - -func (i GetJobJobSettingsSettingsComputeSpecArgs) ToGetJobJobSettingsSettingsComputeSpecOutput() GetJobJobSettingsSettingsComputeSpecOutput { - return i.ToGetJobJobSettingsSettingsComputeSpecOutputWithContext(context.Background()) + +func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutput() GetClusterClusterInfoExecutorNodeAwsAttributesOutput { + return i.ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsComputeSpecArgs) ToGetJobJobSettingsSettingsComputeSpecOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsComputeSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsComputeSpecOutput) +func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorNodeAwsAttributesOutput) } -func (i GetJobJobSettingsSettingsComputeSpecArgs) ToGetJobJobSettingsSettingsComputeSpecPtrOutput() GetJobJobSettingsSettingsComputeSpecPtrOutput { - return i.ToGetJobJobSettingsSettingsComputeSpecPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return i.ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsComputeSpecArgs) ToGetJobJobSettingsSettingsComputeSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsComputeSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsComputeSpecOutput).ToGetJobJobSettingsSettingsComputeSpecPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorNodeAwsAttributesOutput).ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsComputeSpecPtrInput is an input type that accepts GetJobJobSettingsSettingsComputeSpecArgs, GetJobJobSettingsSettingsComputeSpecPtr and GetJobJobSettingsSettingsComputeSpecPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsComputeSpecPtrInput` via: +// GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput is an input type that accepts GetClusterClusterInfoExecutorNodeAwsAttributesArgs, GetClusterClusterInfoExecutorNodeAwsAttributesPtr and GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput` via: // -// GetJobJobSettingsSettingsComputeSpecArgs{...} +// GetClusterClusterInfoExecutorNodeAwsAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsComputeSpecPtrInput interface { +type GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsComputeSpecPtrOutput() GetJobJobSettingsSettingsComputeSpecPtrOutput - ToGetJobJobSettingsSettingsComputeSpecPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsComputeSpecPtrOutput + ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput + ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput } -type getJobJobSettingsSettingsComputeSpecPtrType GetJobJobSettingsSettingsComputeSpecArgs +type getClusterClusterInfoExecutorNodeAwsAttributesPtrType GetClusterClusterInfoExecutorNodeAwsAttributesArgs -func GetJobJobSettingsSettingsComputeSpecPtr(v *GetJobJobSettingsSettingsComputeSpecArgs) GetJobJobSettingsSettingsComputeSpecPtrInput { - return (*getJobJobSettingsSettingsComputeSpecPtrType)(v) +func GetClusterClusterInfoExecutorNodeAwsAttributesPtr(v *GetClusterClusterInfoExecutorNodeAwsAttributesArgs) GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput { + return (*getClusterClusterInfoExecutorNodeAwsAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsComputeSpecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsComputeSpec)(nil)).Elem() +func (*getClusterClusterInfoExecutorNodeAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsComputeSpecPtrType) ToGetJobJobSettingsSettingsComputeSpecPtrOutput() GetJobJobSettingsSettingsComputeSpecPtrOutput { - return i.ToGetJobJobSettingsSettingsComputeSpecPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoExecutorNodeAwsAttributesPtrType) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return i.ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsComputeSpecPtrType) ToGetJobJobSettingsSettingsComputeSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsComputeSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsComputeSpecPtrOutput) +func (i *getClusterClusterInfoExecutorNodeAwsAttributesPtrType) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) } -type GetJobJobSettingsSettingsComputeSpecOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoExecutorNodeAwsAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsComputeSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsComputeSpec)(nil)).Elem() +func (GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsComputeSpecOutput) ToGetJobJobSettingsSettingsComputeSpecOutput() GetJobJobSettingsSettingsComputeSpecOutput { +func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutput() GetClusterClusterInfoExecutorNodeAwsAttributesOutput { return o } -func (o GetJobJobSettingsSettingsComputeSpecOutput) ToGetJobJobSettingsSettingsComputeSpecOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsComputeSpecOutput { +func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesOutput { return o } -func (o GetJobJobSettingsSettingsComputeSpecOutput) ToGetJobJobSettingsSettingsComputeSpecPtrOutput() GetJobJobSettingsSettingsComputeSpecPtrOutput { - return o.ToGetJobJobSettingsSettingsComputeSpecPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return o.ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsComputeSpecOutput) ToGetJobJobSettingsSettingsComputeSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsComputeSpecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsComputeSpec) *GetJobJobSettingsSettingsComputeSpec { +func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoExecutorNodeAwsAttributes) *GetClusterClusterInfoExecutorNodeAwsAttributes { return &v - }).(GetJobJobSettingsSettingsComputeSpecPtrOutput) + }).(GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsComputeSpecOutput) Kind() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsComputeSpec) *string { return v.Kind }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) IsSpot() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoExecutorNodeAwsAttributes) *bool { return v.IsSpot }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsComputeSpecPtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsComputeSpecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsComputeSpec)(nil)).Elem() +func (GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsComputeSpecPtrOutput) ToGetJobJobSettingsSettingsComputeSpecPtrOutput() GetJobJobSettingsSettingsComputeSpecPtrOutput { +func (o GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsComputeSpecPtrOutput) ToGetJobJobSettingsSettingsComputeSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsComputeSpecPtrOutput { +func (o GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsComputeSpecPtrOutput) Elem() GetJobJobSettingsSettingsComputeSpecOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsComputeSpec) GetJobJobSettingsSettingsComputeSpec { +func (o GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) Elem() GetClusterClusterInfoExecutorNodeAwsAttributesOutput { + return o.ApplyT(func(v *GetClusterClusterInfoExecutorNodeAwsAttributes) GetClusterClusterInfoExecutorNodeAwsAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsComputeSpec + var ret GetClusterClusterInfoExecutorNodeAwsAttributes return ret - }).(GetJobJobSettingsSettingsComputeSpecOutput) + }).(GetClusterClusterInfoExecutorNodeAwsAttributesOutput) } -func (o GetJobJobSettingsSettingsComputeSpecPtrOutput) Kind() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsComputeSpec) *string { +func (o GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) IsSpot() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoExecutorNodeAwsAttributes) *bool { if v == nil { return nil } - return v.Kind - }).(pulumi.StringPtrOutput) + return v.IsSpot + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsContinuous struct { - PauseStatus *string `pulumi:"pauseStatus"` +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"` } -// GetJobJobSettingsSettingsContinuousInput is an input type that accepts GetJobJobSettingsSettingsContinuousArgs and GetJobJobSettingsSettingsContinuousOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsContinuousInput` via: +// GetClusterClusterInfoGcpAttributesInput is an input type that accepts GetClusterClusterInfoGcpAttributesArgs and GetClusterClusterInfoGcpAttributesOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoGcpAttributesInput` via: // -// GetJobJobSettingsSettingsContinuousArgs{...} -type GetJobJobSettingsSettingsContinuousInput interface { +// GetClusterClusterInfoGcpAttributesArgs{...} +type GetClusterClusterInfoGcpAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsContinuousOutput() GetJobJobSettingsSettingsContinuousOutput - ToGetJobJobSettingsSettingsContinuousOutputWithContext(context.Context) GetJobJobSettingsSettingsContinuousOutput + ToGetClusterClusterInfoGcpAttributesOutput() GetClusterClusterInfoGcpAttributesOutput + ToGetClusterClusterInfoGcpAttributesOutputWithContext(context.Context) GetClusterClusterInfoGcpAttributesOutput } -type GetJobJobSettingsSettingsContinuousArgs struct { - PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` +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 (GetJobJobSettingsSettingsContinuousArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsContinuous)(nil)).Elem() +func (GetClusterClusterInfoGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoGcpAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousOutput() GetJobJobSettingsSettingsContinuousOutput { - return i.ToGetJobJobSettingsSettingsContinuousOutputWithContext(context.Background()) +func (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesOutput() GetClusterClusterInfoGcpAttributesOutput { + return i.ToGetClusterClusterInfoGcpAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsContinuousOutput) +func (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoGcpAttributesOutput) } -func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { - return i.ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { + return i.ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsContinuousOutput).ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoGcpAttributesOutput).ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsContinuousPtrInput is an input type that accepts GetJobJobSettingsSettingsContinuousArgs, GetJobJobSettingsSettingsContinuousPtr and GetJobJobSettingsSettingsContinuousPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsContinuousPtrInput` via: +// GetClusterClusterInfoGcpAttributesPtrInput is an input type that accepts GetClusterClusterInfoGcpAttributesArgs, GetClusterClusterInfoGcpAttributesPtr and GetClusterClusterInfoGcpAttributesPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoGcpAttributesPtrInput` via: // -// GetJobJobSettingsSettingsContinuousArgs{...} +// GetClusterClusterInfoGcpAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsContinuousPtrInput interface { +type GetClusterClusterInfoGcpAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput - ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsContinuousPtrOutput + ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput + ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoGcpAttributesPtrOutput } -type getJobJobSettingsSettingsContinuousPtrType GetJobJobSettingsSettingsContinuousArgs +type getClusterClusterInfoGcpAttributesPtrType GetClusterClusterInfoGcpAttributesArgs -func GetJobJobSettingsSettingsContinuousPtr(v *GetJobJobSettingsSettingsContinuousArgs) GetJobJobSettingsSettingsContinuousPtrInput { - return (*getJobJobSettingsSettingsContinuousPtrType)(v) +func GetClusterClusterInfoGcpAttributesPtr(v *GetClusterClusterInfoGcpAttributesArgs) GetClusterClusterInfoGcpAttributesPtrInput { + return (*getClusterClusterInfoGcpAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsContinuousPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsContinuous)(nil)).Elem() +func (*getClusterClusterInfoGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoGcpAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsContinuousPtrType) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { - return i.ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoGcpAttributesPtrType) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { + return i.ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsContinuousPtrType) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsContinuousPtrOutput) +func (i *getClusterClusterInfoGcpAttributesPtrType) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoGcpAttributesPtrOutput) } -type GetJobJobSettingsSettingsContinuousOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoGcpAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsContinuousOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsContinuous)(nil)).Elem() +func (GetClusterClusterInfoGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoGcpAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousOutput() GetJobJobSettingsSettingsContinuousOutput { +func (o GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesOutput() GetClusterClusterInfoGcpAttributesOutput { return o } -func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousOutput { +func (o GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesOutput { return o } -func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { - return o.ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { + return o.ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsContinuous) *GetJobJobSettingsSettingsContinuous { +func (o GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoGcpAttributes) *GetClusterClusterInfoGcpAttributes { return &v - }).(GetJobJobSettingsSettingsContinuousPtrOutput) + }).(GetClusterClusterInfoGcpAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsContinuousOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsContinuous) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoGcpAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsContinuousPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) +} -func (GetJobJobSettingsSettingsContinuousPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsContinuous)(nil)).Elem() +func (o GetClusterClusterInfoGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsContinuousPtrOutput) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { +func (o GetClusterClusterInfoGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +} + +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 GetJobJobSettingsSettingsContinuousPtrOutput) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { +func (o GetClusterClusterInfoGcpAttributesPtrOutput) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsContinuousPtrOutput) Elem() GetJobJobSettingsSettingsContinuousOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsContinuous) GetJobJobSettingsSettingsContinuous { +func (o GetClusterClusterInfoGcpAttributesPtrOutput) Elem() GetClusterClusterInfoGcpAttributesOutput { + return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) GetClusterClusterInfoGcpAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsContinuous + var ret GetClusterClusterInfoGcpAttributes return ret - }).(GetJobJobSettingsSettingsContinuousOutput) + }).(GetClusterClusterInfoGcpAttributesOutput) } -func (o GetJobJobSettingsSettingsContinuousPtrOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsContinuous) *string { +func (o GetClusterClusterInfoGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *string { if v == nil { return nil } - return v.PauseStatus + return v.Availability }).(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"` +func (o GetClusterClusterInfoGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *int { + if v == nil { + return nil + } + return v.BootDiskSize + }).(pulumi.IntPtrOutput) } -// 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 +func (o GetClusterClusterInfoGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *string { + if v == nil { + return nil + } + return v.GoogleServiceAccount + }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsDbtTaskOutput() GetJobJobSettingsSettingsDbtTaskOutput - ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsDbtTaskOutput +func (o GetClusterClusterInfoGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *int { + if v == nil { + return nil + } + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) } -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"` +func (o GetClusterClusterInfoGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *bool { + if v == nil { + return nil + } + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) } -func (GetJobJobSettingsSettingsDbtTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsDbtTask)(nil)).Elem() +func (o GetClusterClusterInfoGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskOutput() GetJobJobSettingsSettingsDbtTaskOutput { - return i.ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(context.Background()) +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"` } -func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDbtTaskOutput) +// GetClusterClusterInfoInitScriptInput is an input type that accepts GetClusterClusterInfoInitScriptArgs and GetClusterClusterInfoInitScriptOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptInput` via: +// +// GetClusterClusterInfoInitScriptArgs{...} +type GetClusterClusterInfoInitScriptInput interface { + pulumi.Input + + ToGetClusterClusterInfoInitScriptOutput() GetClusterClusterInfoInitScriptOutput + ToGetClusterClusterInfoInitScriptOutputWithContext(context.Context) GetClusterClusterInfoInitScriptOutput } -func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(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 GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDbtTaskOutput).ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx) +func (GetClusterClusterInfoInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScript)(nil)).Elem() } -// GetJobJobSettingsSettingsDbtTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsDbtTaskArgs, GetJobJobSettingsSettingsDbtTaskPtr and GetJobJobSettingsSettingsDbtTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsDbtTaskPtrInput` via: -// -// GetJobJobSettingsSettingsDbtTaskArgs{...} -// -// or: +func (i GetClusterClusterInfoInitScriptArgs) ToGetClusterClusterInfoInitScriptOutput() GetClusterClusterInfoInitScriptOutput { + return i.ToGetClusterClusterInfoInitScriptOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoInitScriptArgs) ToGetClusterClusterInfoInitScriptOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptOutput) +} + +// GetClusterClusterInfoInitScriptArrayInput is an input type that accepts GetClusterClusterInfoInitScriptArray and GetClusterClusterInfoInitScriptArrayOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptArrayInput` via: // -// nil -type GetJobJobSettingsSettingsDbtTaskPtrInput interface { +// GetClusterClusterInfoInitScriptArray{ GetClusterClusterInfoInitScriptArgs{...} } +type GetClusterClusterInfoInitScriptArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput - ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput + ToGetClusterClusterInfoInitScriptArrayOutput() GetClusterClusterInfoInitScriptArrayOutput + ToGetClusterClusterInfoInitScriptArrayOutputWithContext(context.Context) GetClusterClusterInfoInitScriptArrayOutput } -type getJobJobSettingsSettingsDbtTaskPtrType GetJobJobSettingsSettingsDbtTaskArgs +type GetClusterClusterInfoInitScriptArray []GetClusterClusterInfoInitScriptInput -func GetJobJobSettingsSettingsDbtTaskPtr(v *GetJobJobSettingsSettingsDbtTaskArgs) GetJobJobSettingsSettingsDbtTaskPtrInput { - return (*getJobJobSettingsSettingsDbtTaskPtrType)(v) +func (GetClusterClusterInfoInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterClusterInfoInitScript)(nil)).Elem() } -func (*getJobJobSettingsSettingsDbtTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsDbtTask)(nil)).Elem() +func (i GetClusterClusterInfoInitScriptArray) ToGetClusterClusterInfoInitScriptArrayOutput() GetClusterClusterInfoInitScriptArrayOutput { + return i.ToGetClusterClusterInfoInitScriptArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsDbtTaskPtrType) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptArray) ToGetClusterClusterInfoInitScriptArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptArrayOutput) } -func (i *getJobJobSettingsSettingsDbtTaskPtrType) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDbtTaskPtrOutput) +type GetClusterClusterInfoInitScriptOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScript)(nil)).Elem() } -type GetJobJobSettingsSettingsDbtTaskOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoInitScriptOutput) ToGetClusterClusterInfoInitScriptOutput() GetClusterClusterInfoInitScriptOutput { + return o +} -func (GetJobJobSettingsSettingsDbtTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsDbtTask)(nil)).Elem() +func (o GetClusterClusterInfoInitScriptOutput) ToGetClusterClusterInfoInitScriptOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptOutput { + return o } -func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskOutput() GetJobJobSettingsSettingsDbtTaskOutput { +func (o GetClusterClusterInfoInitScriptOutput) Abfss() GetClusterClusterInfoInitScriptAbfssPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptAbfss { return v.Abfss }).(GetClusterClusterInfoInitScriptAbfssPtrOutput) +} + +func (o GetClusterClusterInfoInitScriptOutput) Dbfs() GetClusterClusterInfoInitScriptDbfsPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptDbfs { return v.Dbfs }).(GetClusterClusterInfoInitScriptDbfsPtrOutput) +} + +func (o GetClusterClusterInfoInitScriptOutput) File() GetClusterClusterInfoInitScriptFilePtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptFile { return v.File }).(GetClusterClusterInfoInitScriptFilePtrOutput) +} + +func (o GetClusterClusterInfoInitScriptOutput) Gcs() GetClusterClusterInfoInitScriptGcsPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptGcs { return v.Gcs }).(GetClusterClusterInfoInitScriptGcsPtrOutput) +} + +func (o GetClusterClusterInfoInitScriptOutput) S3() GetClusterClusterInfoInitScriptS3PtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptS3 { return v.S3 }).(GetClusterClusterInfoInitScriptS3PtrOutput) +} + +func (o GetClusterClusterInfoInitScriptOutput) Volumes() GetClusterClusterInfoInitScriptVolumesPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptVolumes { return v.Volumes }).(GetClusterClusterInfoInitScriptVolumesPtrOutput) +} + +func (o GetClusterClusterInfoInitScriptOutput) Workspace() GetClusterClusterInfoInitScriptWorkspacePtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptWorkspace { return v.Workspace }).(GetClusterClusterInfoInitScriptWorkspacePtrOutput) +} + +type GetClusterClusterInfoInitScriptArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoInitScriptArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterClusterInfoInitScript)(nil)).Elem() +} + +func (o GetClusterClusterInfoInitScriptArrayOutput) ToGetClusterClusterInfoInitScriptArrayOutput() GetClusterClusterInfoInitScriptArrayOutput { return o } -func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskOutput { +func (o GetClusterClusterInfoInitScriptArrayOutput) ToGetClusterClusterInfoInitScriptArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptArrayOutput { return o } -func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Background()) +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 GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsDbtTask) *GetJobJobSettingsSettingsDbtTask { - return &v - }).(GetJobJobSettingsSettingsDbtTaskPtrOutput) +type GetClusterClusterInfoInitScriptAbfss struct { + Destination string `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsDbtTaskOutput) Catalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.Catalog }).(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 + + ToGetClusterClusterInfoInitScriptAbfssOutput() GetClusterClusterInfoInitScriptAbfssOutput + ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(context.Context) GetClusterClusterInfoInitScriptAbfssOutput } -func (o GetJobJobSettingsSettingsDbtTaskOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) +type GetClusterClusterInfoInitScriptAbfssArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) +func (GetClusterClusterInfoInitScriptAbfssArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) +func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssOutput() GetClusterClusterInfoInitScriptAbfssOutput { + return i.ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsDbtTaskOutput) Schema() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) +func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptAbfssOutput) } -func (o GetJobJobSettingsSettingsDbtTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { + return i.ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptAbfssOutput).ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx) } -type GetJobJobSettingsSettingsDbtTaskPtrOutput 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 + + ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput + ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput +} + +type getClusterClusterInfoInitScriptAbfssPtrType GetClusterClusterInfoInitScriptAbfssArgs + +func GetClusterClusterInfoInitScriptAbfssPtr(v *GetClusterClusterInfoInitScriptAbfssArgs) GetClusterClusterInfoInitScriptAbfssPtrInput { + return (*getClusterClusterInfoInitScriptAbfssPtrType)(v) +} + +func (*getClusterClusterInfoInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() +} + +func (i *getClusterClusterInfoInitScriptAbfssPtrType) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { + return i.ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoInitScriptAbfssPtrType) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptAbfssPtrOutput) +} + +type GetClusterClusterInfoInitScriptAbfssOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsDbtTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsDbtTask)(nil)).Elem() +func (GetClusterClusterInfoInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { +func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssOutput() GetClusterClusterInfoInitScriptAbfssOutput { return o } -func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { +func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssOutput { 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 GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { + return o.ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(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 GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptAbfss) *GetClusterClusterInfoInitScriptAbfss { + return &v + }).(GetClusterClusterInfoInitScriptAbfssPtrOutput) } -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 GetClusterClusterInfoInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { - if v == nil { - return nil - } - return v.ProfilesDirectory - }).(pulumi.StringPtrOutput) +type GetClusterClusterInfoInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptAbfss)(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 GetClusterClusterInfoInitScriptAbfssPtrOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { + 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 GetClusterClusterInfoInitScriptAbfssPtrOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { + return o } -func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *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.Source - }).(pulumi.StringPtrOutput) + var ret GetClusterClusterInfoInitScriptAbfss + return ret + }).(GetClusterClusterInfoInitScriptAbfssOutput) } -func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { +func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptAbfss) *string { if v == nil { return nil } - return v.WarehouseId + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsDeployment struct { - Kind string `pulumi:"kind"` - MetadataFilePath *string `pulumi:"metadataFilePath"` +type GetClusterClusterInfoInitScriptDbfs struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsDeploymentInput is an input type that accepts GetJobJobSettingsSettingsDeploymentArgs and GetJobJobSettingsSettingsDeploymentOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsDeploymentInput` via: +// GetClusterClusterInfoInitScriptDbfsInput is an input type that accepts GetClusterClusterInfoInitScriptDbfsArgs and GetClusterClusterInfoInitScriptDbfsOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptDbfsInput` via: // -// GetJobJobSettingsSettingsDeploymentArgs{...} -type GetJobJobSettingsSettingsDeploymentInput interface { +// GetClusterClusterInfoInitScriptDbfsArgs{...} +type GetClusterClusterInfoInitScriptDbfsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsDeploymentOutput() GetJobJobSettingsSettingsDeploymentOutput - ToGetJobJobSettingsSettingsDeploymentOutputWithContext(context.Context) GetJobJobSettingsSettingsDeploymentOutput + ToGetClusterClusterInfoInitScriptDbfsOutput() GetClusterClusterInfoInitScriptDbfsOutput + ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(context.Context) GetClusterClusterInfoInitScriptDbfsOutput } -type GetJobJobSettingsSettingsDeploymentArgs struct { - Kind pulumi.StringInput `pulumi:"kind"` - MetadataFilePath pulumi.StringPtrInput `pulumi:"metadataFilePath"` +type GetClusterClusterInfoInitScriptDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsDeploymentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsDeployment)(nil)).Elem() +func (GetClusterClusterInfoInitScriptDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentOutput() GetJobJobSettingsSettingsDeploymentOutput { - return i.ToGetJobJobSettingsSettingsDeploymentOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsOutput() GetClusterClusterInfoInitScriptDbfsOutput { + return i.ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDeploymentOutput) +func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptDbfsOutput) } -func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { - return i.ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { + return i.ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDeploymentOutput).ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptDbfsOutput).ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsDeploymentPtrInput is an input type that accepts GetJobJobSettingsSettingsDeploymentArgs, GetJobJobSettingsSettingsDeploymentPtr and GetJobJobSettingsSettingsDeploymentPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsDeploymentPtrInput` via: +// GetClusterClusterInfoInitScriptDbfsPtrInput is an input type that accepts GetClusterClusterInfoInitScriptDbfsArgs, GetClusterClusterInfoInitScriptDbfsPtr and GetClusterClusterInfoInitScriptDbfsPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptDbfsPtrInput` via: // -// GetJobJobSettingsSettingsDeploymentArgs{...} +// GetClusterClusterInfoInitScriptDbfsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsDeploymentPtrInput interface { +type GetClusterClusterInfoInitScriptDbfsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput - ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput + ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput + ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput } -type getJobJobSettingsSettingsDeploymentPtrType GetJobJobSettingsSettingsDeploymentArgs +type getClusterClusterInfoInitScriptDbfsPtrType GetClusterClusterInfoInitScriptDbfsArgs -func GetJobJobSettingsSettingsDeploymentPtr(v *GetJobJobSettingsSettingsDeploymentArgs) GetJobJobSettingsSettingsDeploymentPtrInput { - return (*getJobJobSettingsSettingsDeploymentPtrType)(v) +func GetClusterClusterInfoInitScriptDbfsPtr(v *GetClusterClusterInfoInitScriptDbfsArgs) GetClusterClusterInfoInitScriptDbfsPtrInput { + return (*getClusterClusterInfoInitScriptDbfsPtrType)(v) } -func (*getJobJobSettingsSettingsDeploymentPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsDeployment)(nil)).Elem() +func (*getClusterClusterInfoInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsDeploymentPtrType) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { - return i.ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoInitScriptDbfsPtrType) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { + return i.ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsDeploymentPtrType) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDeploymentPtrOutput) +func (i *getClusterClusterInfoInitScriptDbfsPtrType) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptDbfsPtrOutput) } -type GetJobJobSettingsSettingsDeploymentOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptDbfsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsDeploymentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsDeployment)(nil)).Elem() +func (GetClusterClusterInfoInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentOutput() GetJobJobSettingsSettingsDeploymentOutput { +func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsOutput() GetClusterClusterInfoInitScriptDbfsOutput { return o } -func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentOutput { +func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsOutput { return o } -func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { - return o.ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { + return o.ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsDeployment) *GetJobJobSettingsSettingsDeployment { +func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptDbfs) *GetClusterClusterInfoInitScriptDbfs { return &v - }).(GetJobJobSettingsSettingsDeploymentPtrOutput) -} - -func (o GetJobJobSettingsSettingsDeploymentOutput) Kind() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDeployment) string { return v.Kind }).(pulumi.StringOutput) + }).(GetClusterClusterInfoInitScriptDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsDeploymentOutput) MetadataFilePath() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDeployment) *string { return v.MetadataFilePath }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsDeploymentPtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsDeploymentPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsDeployment)(nil)).Elem() +func (GetClusterClusterInfoInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsDeploymentPtrOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { +func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsDeploymentPtrOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { +func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsDeploymentPtrOutput) Elem() GetJobJobSettingsSettingsDeploymentOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDeployment) GetJobJobSettingsSettingsDeployment { +func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) Elem() GetClusterClusterInfoInitScriptDbfsOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptDbfs) GetClusterClusterInfoInitScriptDbfs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsDeployment + var ret GetClusterClusterInfoInitScriptDbfs return ret - }).(GetJobJobSettingsSettingsDeploymentOutput) -} - -func (o GetJobJobSettingsSettingsDeploymentPtrOutput) Kind() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDeployment) *string { - if v == nil { - return nil - } - return &v.Kind - }).(pulumi.StringPtrOutput) + }).(GetClusterClusterInfoInitScriptDbfsOutput) } -func (o GetJobJobSettingsSettingsDeploymentPtrOutput) MetadataFilePath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDeployment) *string { +func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptDbfs) *string { if v == nil { return nil } - return v.MetadataFilePath + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsEmailNotifications struct { - NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` - OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures []string `pulumi:"onFailures"` - OnStarts []string `pulumi:"onStarts"` - OnSuccesses []string `pulumi:"onSuccesses"` +type GetClusterClusterInfoInitScriptFile struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsEmailNotificationsInput is an input type that accepts GetJobJobSettingsSettingsEmailNotificationsArgs and GetJobJobSettingsSettingsEmailNotificationsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsEmailNotificationsInput` via: +// GetClusterClusterInfoInitScriptFileInput is an input type that accepts GetClusterClusterInfoInitScriptFileArgs and GetClusterClusterInfoInitScriptFileOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptFileInput` via: // -// GetJobJobSettingsSettingsEmailNotificationsArgs{...} -type GetJobJobSettingsSettingsEmailNotificationsInput interface { +// GetClusterClusterInfoInitScriptFileArgs{...} +type GetClusterClusterInfoInitScriptFileInput interface { pulumi.Input - ToGetJobJobSettingsSettingsEmailNotificationsOutput() GetJobJobSettingsSettingsEmailNotificationsOutput - ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsEmailNotificationsOutput + ToGetClusterClusterInfoInitScriptFileOutput() GetClusterClusterInfoInitScriptFileOutput + ToGetClusterClusterInfoInitScriptFileOutputWithContext(context.Context) GetClusterClusterInfoInitScriptFileOutput } -type GetJobJobSettingsSettingsEmailNotificationsArgs struct { - NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` - OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` - OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` - OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` +type GetClusterClusterInfoInitScriptFileArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsEmailNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() +func (GetClusterClusterInfoInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptFile)(nil)).Elem() } -func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsOutput() GetJobJobSettingsSettingsEmailNotificationsOutput { - return i.ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFileOutput() GetClusterClusterInfoInitScriptFileOutput { + return i.ToGetClusterClusterInfoInitScriptFileOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEmailNotificationsOutput) +func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFileOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptFileOutput) } -func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { + return i.ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEmailNotificationsOutput).ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptFileOutput).ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsEmailNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsEmailNotificationsArgs, GetJobJobSettingsSettingsEmailNotificationsPtr and GetJobJobSettingsSettingsEmailNotificationsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsEmailNotificationsPtrInput` via: +// GetClusterClusterInfoInitScriptFilePtrInput is an input type that accepts GetClusterClusterInfoInitScriptFileArgs, GetClusterClusterInfoInitScriptFilePtr and GetClusterClusterInfoInitScriptFilePtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptFilePtrInput` via: // -// GetJobJobSettingsSettingsEmailNotificationsArgs{...} +// GetClusterClusterInfoInitScriptFileArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsEmailNotificationsPtrInput interface { +type GetClusterClusterInfoInitScriptFilePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput - ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput + ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput + ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptFilePtrOutput } -type getJobJobSettingsSettingsEmailNotificationsPtrType GetJobJobSettingsSettingsEmailNotificationsArgs +type getClusterClusterInfoInitScriptFilePtrType GetClusterClusterInfoInitScriptFileArgs -func GetJobJobSettingsSettingsEmailNotificationsPtr(v *GetJobJobSettingsSettingsEmailNotificationsArgs) GetJobJobSettingsSettingsEmailNotificationsPtrInput { - return (*getJobJobSettingsSettingsEmailNotificationsPtrType)(v) +func GetClusterClusterInfoInitScriptFilePtr(v *GetClusterClusterInfoInitScriptFileArgs) GetClusterClusterInfoInitScriptFilePtrInput { + return (*getClusterClusterInfoInitScriptFilePtrType)(v) } -func (*getJobJobSettingsSettingsEmailNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() +func (*getClusterClusterInfoInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptFile)(nil)).Elem() } -func (i *getJobJobSettingsSettingsEmailNotificationsPtrType) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoInitScriptFilePtrType) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { + return i.ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsEmailNotificationsPtrType) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) +func (i *getClusterClusterInfoInitScriptFilePtrType) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptFilePtrOutput) } -type GetJobJobSettingsSettingsEmailNotificationsOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptFileOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsEmailNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() +func (GetClusterClusterInfoInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsOutput() GetJobJobSettingsSettingsEmailNotificationsOutput { +func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFileOutput() GetClusterClusterInfoInitScriptFileOutput { return o } -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsOutput { +func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFileOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFileOutput { return o } -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return o.ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { + return o.ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsEmailNotifications) *GetJobJobSettingsSettingsEmailNotifications { +func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptFile) *GetClusterClusterInfoInitScriptFile { return &v - }).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) -} - -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { - return v.OnDurationWarningThresholdExceededs - }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) + }).(GetClusterClusterInfoInitScriptFilePtrOutput) } -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) +func (o GetClusterClusterInfoInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsEmailNotificationsPtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptFilePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsEmailNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() +func (GetClusterClusterInfoInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { +func (o GetClusterClusterInfoInitScriptFilePtrOutput) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { +func (o GetClusterClusterInfoInitScriptFilePtrOutput) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsEmailNotificationsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) GetJobJobSettingsSettingsEmailNotifications { +func (o GetClusterClusterInfoInitScriptFilePtrOutput) Elem() GetClusterClusterInfoInitScriptFileOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptFile) GetClusterClusterInfoInitScriptFile { if v != nil { return *v } - var ret GetJobJobSettingsSettingsEmailNotifications + var ret GetClusterClusterInfoInitScriptFile return ret - }).(GetJobJobSettingsSettingsEmailNotificationsOutput) -} - -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 GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnDurationWarningThresholdExceededs - }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnFailures - }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnStarts - }).(pulumi.StringArrayOutput) + }).(GetClusterClusterInfoInitScriptFileOutput) } -func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { +func (o GetClusterClusterInfoInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptFile) *string { if v == nil { return nil } - return v.OnSuccesses - }).(pulumi.StringArrayOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -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"` +type GetClusterClusterInfoInitScriptGcs struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsGitSourceInput is an input type that accepts GetJobJobSettingsSettingsGitSourceArgs and GetJobJobSettingsSettingsGitSourceOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourceInput` via: +// GetClusterClusterInfoInitScriptGcsInput is an input type that accepts GetClusterClusterInfoInitScriptGcsArgs and GetClusterClusterInfoInitScriptGcsOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptGcsInput` via: // -// GetJobJobSettingsSettingsGitSourceArgs{...} -type GetJobJobSettingsSettingsGitSourceInput interface { +// GetClusterClusterInfoInitScriptGcsArgs{...} +type GetClusterClusterInfoInitScriptGcsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsGitSourceOutput() GetJobJobSettingsSettingsGitSourceOutput - ToGetJobJobSettingsSettingsGitSourceOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourceOutput + ToGetClusterClusterInfoInitScriptGcsOutput() GetClusterClusterInfoInitScriptGcsOutput + ToGetClusterClusterInfoInitScriptGcsOutputWithContext(context.Context) GetClusterClusterInfoInitScriptGcsOutput } -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 GetClusterClusterInfoInitScriptGcsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsGitSourceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsGitSource)(nil)).Elem() +func (GetClusterClusterInfoInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptGcs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourceOutput() GetJobJobSettingsSettingsGitSourceOutput { - return i.ToGetJobJobSettingsSettingsGitSourceOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsOutput() GetClusterClusterInfoInitScriptGcsOutput { + return i.ToGetClusterClusterInfoInitScriptGcsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceOutput) +func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptGcsOutput) } -func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { - return i.ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { + return i.ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceOutput).ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx) +func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptGcsOutput).ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsGitSourcePtrInput is an input type that accepts GetJobJobSettingsSettingsGitSourceArgs, GetJobJobSettingsSettingsGitSourcePtr and GetJobJobSettingsSettingsGitSourcePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourcePtrInput` via: +// GetClusterClusterInfoInitScriptGcsPtrInput is an input type that accepts GetClusterClusterInfoInitScriptGcsArgs, GetClusterClusterInfoInitScriptGcsPtr and GetClusterClusterInfoInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptGcsPtrInput` via: // -// GetJobJobSettingsSettingsGitSourceArgs{...} +// GetClusterClusterInfoInitScriptGcsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsGitSourcePtrInput interface { +type GetClusterClusterInfoInitScriptGcsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput - ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput -} - -type getJobJobSettingsSettingsGitSourcePtrType GetJobJobSettingsSettingsGitSourceArgs - -func GetJobJobSettingsSettingsGitSourcePtr(v *GetJobJobSettingsSettingsGitSourceArgs) GetJobJobSettingsSettingsGitSourcePtrInput { - return (*getJobJobSettingsSettingsGitSourcePtrType)(v) -} - -func (*getJobJobSettingsSettingsGitSourcePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsGitSource)(nil)).Elem() -} - -func (i *getJobJobSettingsSettingsGitSourcePtrType) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { - return i.ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Background()) -} - -func (i *getJobJobSettingsSettingsGitSourcePtrType) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourcePtrOutput) -} - -type GetJobJobSettingsSettingsGitSourceOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsGitSourceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsGitSource)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourceOutput() GetJobJobSettingsSettingsGitSourceOutput { - return o -} - -func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceOutput { - return o -} - -func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { - return o.ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsGitSource) *GetJobJobSettingsSettingsGitSource { - 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) + ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput + ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput } -func (o GetJobJobSettingsSettingsGitSourceOutput) JobSource() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *GetJobJobSettingsSettingsGitSourceJobSource { - return v.JobSource - }).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) +type getClusterClusterInfoInitScriptGcsPtrType GetClusterClusterInfoInitScriptGcsArgs + +func GetClusterClusterInfoInitScriptGcsPtr(v *GetClusterClusterInfoInitScriptGcsArgs) GetClusterClusterInfoInitScriptGcsPtrInput { + return (*getClusterClusterInfoInitScriptGcsPtrType)(v) } -func (o GetJobJobSettingsSettingsGitSourceOutput) Provider() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *string { return v.Provider }).(pulumi.StringPtrOutput) +func (*getClusterClusterInfoInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsGitSourceOutput) Tag() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *string { return v.Tag }).(pulumi.StringPtrOutput) +func (i *getClusterClusterInfoInitScriptGcsPtrType) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { + return i.ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsGitSourceOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) string { return v.Url }).(pulumi.StringOutput) +func (i *getClusterClusterInfoInitScriptGcsPtrType) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptGcsPtrOutput) } -type GetJobJobSettingsSettingsGitSourcePtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptGcsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsGitSourcePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsGitSource)(nil)).Elem() +func (GetClusterClusterInfoInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { +func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsOutput() GetClusterClusterInfoInitScriptGcsOutput { return o } -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { +func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsOutput { return o } -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 GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { + return o.ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Background()) } -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 GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptGcs) *GetClusterClusterInfoInitScriptGcs { + return &v + }).(GetClusterClusterInfoInitScriptGcsPtrOutput) } -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 GetClusterClusterInfoInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) JobSource() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *GetJobJobSettingsSettingsGitSourceJobSource { - if v == nil { - return nil - } - return v.JobSource - }).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) +type GetClusterClusterInfoInitScriptGcsPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptGcs)(nil)).Elem() } -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 GetClusterClusterInfoInitScriptGcsPtrOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { + return o } -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Tag() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { - if v == nil { - return nil +func (o GetClusterClusterInfoInitScriptGcsPtrOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { + return o +} + +func (o GetClusterClusterInfoInitScriptGcsPtrOutput) Elem() GetClusterClusterInfoInitScriptGcsOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptGcs) GetClusterClusterInfoInitScriptGcs { + if v != nil { + return *v } - return v.Tag - }).(pulumi.StringPtrOutput) + var ret GetClusterClusterInfoInitScriptGcs + return ret + }).(GetClusterClusterInfoInitScriptGcsOutput) } -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { +func (o GetClusterClusterInfoInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptGcs) *string { if v == nil { return nil } - return &v.Url + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsGitSourceJobSource struct { - DirtyState *string `pulumi:"dirtyState"` - ImportFromGitBranch string `pulumi:"importFromGitBranch"` - JobConfigPath string `pulumi:"jobConfigPath"` +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"` } -// GetJobJobSettingsSettingsGitSourceJobSourceInput is an input type that accepts GetJobJobSettingsSettingsGitSourceJobSourceArgs and GetJobJobSettingsSettingsGitSourceJobSourceOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourceJobSourceInput` via: +// GetClusterClusterInfoInitScriptS3Input is an input type that accepts GetClusterClusterInfoInitScriptS3Args and GetClusterClusterInfoInitScriptS3Output values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptS3Input` via: // -// GetJobJobSettingsSettingsGitSourceJobSourceArgs{...} -type GetJobJobSettingsSettingsGitSourceJobSourceInput interface { +// GetClusterClusterInfoInitScriptS3Args{...} +type GetClusterClusterInfoInitScriptS3Input interface { pulumi.Input - ToGetJobJobSettingsSettingsGitSourceJobSourceOutput() GetJobJobSettingsSettingsGitSourceJobSourceOutput - ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourceJobSourceOutput + ToGetClusterClusterInfoInitScriptS3Output() GetClusterClusterInfoInitScriptS3Output + ToGetClusterClusterInfoInitScriptS3OutputWithContext(context.Context) GetClusterClusterInfoInitScriptS3Output } -type GetJobJobSettingsSettingsGitSourceJobSourceArgs struct { - DirtyState pulumi.StringPtrInput `pulumi:"dirtyState"` - ImportFromGitBranch pulumi.StringInput `pulumi:"importFromGitBranch"` - JobConfigPath pulumi.StringInput `pulumi:"jobConfigPath"` +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 (GetJobJobSettingsSettingsGitSourceJobSourceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() +func (GetClusterClusterInfoInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptS3)(nil)).Elem() } -func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourceOutput() GetJobJobSettingsSettingsGitSourceJobSourceOutput { - return i.ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3Output() GetClusterClusterInfoInitScriptS3Output { + return i.ToGetClusterClusterInfoInitScriptS3OutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceJobSourceOutput) +func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3OutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptS3Output) } -func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return i.ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { + return i.ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceJobSourceOutput).ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx) +func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptS3Output).ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsGitSourceJobSourcePtrInput is an input type that accepts GetJobJobSettingsSettingsGitSourceJobSourceArgs, GetJobJobSettingsSettingsGitSourceJobSourcePtr and GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourceJobSourcePtrInput` via: +// GetClusterClusterInfoInitScriptS3PtrInput is an input type that accepts GetClusterClusterInfoInitScriptS3Args, GetClusterClusterInfoInitScriptS3Ptr and GetClusterClusterInfoInitScriptS3PtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptS3PtrInput` via: // -// GetJobJobSettingsSettingsGitSourceJobSourceArgs{...} +// GetClusterClusterInfoInitScriptS3Args{...} // // or: // // nil -type GetJobJobSettingsSettingsGitSourceJobSourcePtrInput interface { +type GetClusterClusterInfoInitScriptS3PtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput - ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput + ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput + ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptS3PtrOutput } -type getJobJobSettingsSettingsGitSourceJobSourcePtrType GetJobJobSettingsSettingsGitSourceJobSourceArgs +type getClusterClusterInfoInitScriptS3PtrType GetClusterClusterInfoInitScriptS3Args -func GetJobJobSettingsSettingsGitSourceJobSourcePtr(v *GetJobJobSettingsSettingsGitSourceJobSourceArgs) GetJobJobSettingsSettingsGitSourceJobSourcePtrInput { - return (*getJobJobSettingsSettingsGitSourceJobSourcePtrType)(v) +func GetClusterClusterInfoInitScriptS3Ptr(v *GetClusterClusterInfoInitScriptS3Args) GetClusterClusterInfoInitScriptS3PtrInput { + return (*getClusterClusterInfoInitScriptS3PtrType)(v) } -func (*getJobJobSettingsSettingsGitSourceJobSourcePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() +func (*getClusterClusterInfoInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptS3)(nil)).Elem() } -func (i *getJobJobSettingsSettingsGitSourceJobSourcePtrType) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return i.ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoInitScriptS3PtrType) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { + return i.ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsGitSourceJobSourcePtrType) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) +func (i *getClusterClusterInfoInitScriptS3PtrType) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptS3PtrOutput) } -type GetJobJobSettingsSettingsGitSourceJobSourceOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptS3Output struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsGitSourceJobSourceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() +func (GetClusterClusterInfoInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourceOutput() GetJobJobSettingsSettingsGitSourceJobSourceOutput { +func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3Output() GetClusterClusterInfoInitScriptS3Output { return o } -func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourceOutput { +func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3OutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3Output { return o } -func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return o.ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { + return o.ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsGitSourceJobSource) *GetJobJobSettingsSettingsGitSourceJobSource { +func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptS3) *GetClusterClusterInfoInitScriptS3 { return &v - }).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) + }).(GetClusterClusterInfoInitScriptS3PtrOutput) } -func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) DirtyState() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSourceJobSource) *string { return v.DirtyState }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ImportFromGitBranch() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSourceJobSource) string { return v.ImportFromGitBranch }).(pulumi.StringOutput) +func (o GetClusterClusterInfoInitScriptS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) JobConfigPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSourceJobSource) string { return v.JobConfigPath }).(pulumi.StringOutput) +func (o GetClusterClusterInfoInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() +func (o GetClusterClusterInfoInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { +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 GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { +func (o GetClusterClusterInfoInitScriptS3PtrOutput) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) Elem() GetJobJobSettingsSettingsGitSourceJobSourceOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) GetJobJobSettingsSettingsGitSourceJobSource { +func (o GetClusterClusterInfoInitScriptS3PtrOutput) Elem() GetClusterClusterInfoInitScriptS3Output { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) GetClusterClusterInfoInitScriptS3 { if v != nil { return *v } - var ret GetJobJobSettingsSettingsGitSourceJobSource + var ret GetClusterClusterInfoInitScriptS3 return ret - }).(GetJobJobSettingsSettingsGitSourceJobSourceOutput) + }).(GetClusterClusterInfoInitScriptS3Output) } -func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) DirtyState() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) *string { +func (o GetClusterClusterInfoInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { if v == nil { return nil } - return v.DirtyState + return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ImportFromGitBranch() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) *string { +func (o GetClusterClusterInfoInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { if v == nil { return nil } - return &v.ImportFromGitBranch + return &v.Destination }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) JobConfigPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) *string { +func (o GetClusterClusterInfoInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *bool { if v == nil { return nil } - return &v.JobConfigPath + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { + if v == nil { + return nil + } + return v.EncryptionType }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsHealth struct { - Rules []GetJobJobSettingsSettingsHealthRule `pulumi:"rules"` +func (o GetClusterClusterInfoInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsHealthInput is an input type that accepts GetJobJobSettingsSettingsHealthArgs and GetJobJobSettingsSettingsHealthOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthInput` via: +func (o GetClusterClusterInfoInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) +} + +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: // -// GetJobJobSettingsSettingsHealthArgs{...} -type GetJobJobSettingsSettingsHealthInput interface { +// GetClusterClusterInfoInitScriptVolumesArgs{...} +type GetClusterClusterInfoInitScriptVolumesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsHealthOutput() GetJobJobSettingsSettingsHealthOutput - ToGetJobJobSettingsSettingsHealthOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthOutput + ToGetClusterClusterInfoInitScriptVolumesOutput() GetClusterClusterInfoInitScriptVolumesOutput + ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(context.Context) GetClusterClusterInfoInitScriptVolumesOutput } -type GetJobJobSettingsSettingsHealthArgs struct { - Rules GetJobJobSettingsSettingsHealthRuleArrayInput `pulumi:"rules"` +type GetClusterClusterInfoInitScriptVolumesArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsHealthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsHealth)(nil)).Elem() +func (GetClusterClusterInfoInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthOutput() GetJobJobSettingsSettingsHealthOutput { - return i.ToGetJobJobSettingsSettingsHealthOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesOutput() GetClusterClusterInfoInitScriptVolumesOutput { + return i.ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthOutput) +func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptVolumesOutput) } -func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { - return i.ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { + return i.ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthOutput).ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptVolumesOutput).ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsHealthPtrInput is an input type that accepts GetJobJobSettingsSettingsHealthArgs, GetJobJobSettingsSettingsHealthPtr and GetJobJobSettingsSettingsHealthPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthPtrInput` via: +// GetClusterClusterInfoInitScriptVolumesPtrInput is an input type that accepts GetClusterClusterInfoInitScriptVolumesArgs, GetClusterClusterInfoInitScriptVolumesPtr and GetClusterClusterInfoInitScriptVolumesPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptVolumesPtrInput` via: // -// GetJobJobSettingsSettingsHealthArgs{...} +// GetClusterClusterInfoInitScriptVolumesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsHealthPtrInput interface { +type GetClusterClusterInfoInitScriptVolumesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput - ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthPtrOutput + ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput + ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput } -type getJobJobSettingsSettingsHealthPtrType GetJobJobSettingsSettingsHealthArgs +type getClusterClusterInfoInitScriptVolumesPtrType GetClusterClusterInfoInitScriptVolumesArgs -func GetJobJobSettingsSettingsHealthPtr(v *GetJobJobSettingsSettingsHealthArgs) GetJobJobSettingsSettingsHealthPtrInput { - return (*getJobJobSettingsSettingsHealthPtrType)(v) +func GetClusterClusterInfoInitScriptVolumesPtr(v *GetClusterClusterInfoInitScriptVolumesArgs) GetClusterClusterInfoInitScriptVolumesPtrInput { + return (*getClusterClusterInfoInitScriptVolumesPtrType)(v) } -func (*getJobJobSettingsSettingsHealthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsHealth)(nil)).Elem() +func (*getClusterClusterInfoInitScriptVolumesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsHealthPtrType) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { - return i.ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoInitScriptVolumesPtrType) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { + return i.ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsHealthPtrType) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthPtrOutput) +func (i *getClusterClusterInfoInitScriptVolumesPtrType) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptVolumesPtrOutput) } -type GetJobJobSettingsSettingsHealthOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptVolumesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsHealthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsHealth)(nil)).Elem() +func (GetClusterClusterInfoInitScriptVolumesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthOutput() GetJobJobSettingsSettingsHealthOutput { +func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesOutput() GetClusterClusterInfoInitScriptVolumesOutput { return o } -func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthOutput { +func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesOutput { return o } -func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { - return o.ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { + return o.ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsHealth) *GetJobJobSettingsSettingsHealth { +func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptVolumes) *GetClusterClusterInfoInitScriptVolumes { return &v - }).(GetJobJobSettingsSettingsHealthPtrOutput) + }).(GetClusterClusterInfoInitScriptVolumesPtrOutput) } -func (o GetJobJobSettingsSettingsHealthOutput) Rules() GetJobJobSettingsSettingsHealthRuleArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsHealth) []GetJobJobSettingsSettingsHealthRule { return v.Rules }).(GetJobJobSettingsSettingsHealthRuleArrayOutput) +func (o GetClusterClusterInfoInitScriptVolumesOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsHealthPtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsHealthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsHealth)(nil)).Elem() +func (GetClusterClusterInfoInitScriptVolumesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsHealthPtrOutput) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { +func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { return o } -func (o GetJobJobSettingsSettingsHealthPtrOutput) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { +func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { return o } -func (o GetJobJobSettingsSettingsHealthPtrOutput) Elem() GetJobJobSettingsSettingsHealthOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsHealth) GetJobJobSettingsSettingsHealth { +func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) Elem() GetClusterClusterInfoInitScriptVolumesOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptVolumes) GetClusterClusterInfoInitScriptVolumes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsHealth + var ret GetClusterClusterInfoInitScriptVolumes return ret - }).(GetJobJobSettingsSettingsHealthOutput) + }).(GetClusterClusterInfoInitScriptVolumesOutput) } -func (o GetJobJobSettingsSettingsHealthPtrOutput) Rules() GetJobJobSettingsSettingsHealthRuleArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsHealth) []GetJobJobSettingsSettingsHealthRule { +func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptVolumes) *string { if v == nil { return nil } - return v.Rules - }).(GetJobJobSettingsSettingsHealthRuleArrayOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsHealthRule struct { - Metric *string `pulumi:"metric"` - Op *string `pulumi:"op"` - Value *int `pulumi:"value"` +type GetClusterClusterInfoInitScriptWorkspace struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsHealthRuleInput is an input type that accepts GetJobJobSettingsSettingsHealthRuleArgs and GetJobJobSettingsSettingsHealthRuleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthRuleInput` via: +// GetClusterClusterInfoInitScriptWorkspaceInput is an input type that accepts GetClusterClusterInfoInitScriptWorkspaceArgs and GetClusterClusterInfoInitScriptWorkspaceOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptWorkspaceInput` via: // -// GetJobJobSettingsSettingsHealthRuleArgs{...} -type GetJobJobSettingsSettingsHealthRuleInput interface { +// GetClusterClusterInfoInitScriptWorkspaceArgs{...} +type GetClusterClusterInfoInitScriptWorkspaceInput interface { pulumi.Input - ToGetJobJobSettingsSettingsHealthRuleOutput() GetJobJobSettingsSettingsHealthRuleOutput - ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthRuleOutput + ToGetClusterClusterInfoInitScriptWorkspaceOutput() GetClusterClusterInfoInitScriptWorkspaceOutput + ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(context.Context) GetClusterClusterInfoInitScriptWorkspaceOutput } -type GetJobJobSettingsSettingsHealthRuleArgs struct { - Metric pulumi.StringPtrInput `pulumi:"metric"` - Op pulumi.StringPtrInput `pulumi:"op"` - Value pulumi.IntPtrInput `pulumi:"value"` +type GetClusterClusterInfoInitScriptWorkspaceArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsHealthRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsHealthRule)(nil)).Elem() +func (GetClusterClusterInfoInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() } -func (i GetJobJobSettingsSettingsHealthRuleArgs) ToGetJobJobSettingsSettingsHealthRuleOutput() GetJobJobSettingsSettingsHealthRuleOutput { - return i.ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspaceOutput() GetClusterClusterInfoInitScriptWorkspaceOutput { + return i.ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsHealthRuleArgs) ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthRuleOutput) +func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptWorkspaceOutput) } -// GetJobJobSettingsSettingsHealthRuleArrayInput is an input type that accepts GetJobJobSettingsSettingsHealthRuleArray and GetJobJobSettingsSettingsHealthRuleArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthRuleArrayInput` via: +func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { + return i.ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptWorkspaceOutput).ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoInitScriptWorkspacePtrInput is an input type that accepts GetClusterClusterInfoInitScriptWorkspaceArgs, GetClusterClusterInfoInitScriptWorkspacePtr and GetClusterClusterInfoInitScriptWorkspacePtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptWorkspacePtrInput` via: // -// GetJobJobSettingsSettingsHealthRuleArray{ GetJobJobSettingsSettingsHealthRuleArgs{...} } -type GetJobJobSettingsSettingsHealthRuleArrayInput interface { +// GetClusterClusterInfoInitScriptWorkspaceArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoInitScriptWorkspacePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsHealthRuleArrayOutput() GetJobJobSettingsSettingsHealthRuleArrayOutput - ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthRuleArrayOutput + ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput + ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput } -type GetJobJobSettingsSettingsHealthRuleArray []GetJobJobSettingsSettingsHealthRuleInput +type getClusterClusterInfoInitScriptWorkspacePtrType GetClusterClusterInfoInitScriptWorkspaceArgs -func (GetJobJobSettingsSettingsHealthRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsHealthRule)(nil)).Elem() +func GetClusterClusterInfoInitScriptWorkspacePtr(v *GetClusterClusterInfoInitScriptWorkspaceArgs) GetClusterClusterInfoInitScriptWorkspacePtrInput { + return (*getClusterClusterInfoInitScriptWorkspacePtrType)(v) } -func (i GetJobJobSettingsSettingsHealthRuleArray) ToGetJobJobSettingsSettingsHealthRuleArrayOutput() GetJobJobSettingsSettingsHealthRuleArrayOutput { - return i.ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(context.Background()) +func (*getClusterClusterInfoInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() } -func (i GetJobJobSettingsSettingsHealthRuleArray) ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthRuleArrayOutput) +func (i *getClusterClusterInfoInitScriptWorkspacePtrType) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { + return i.ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsHealthRuleOutput struct{ *pulumi.OutputState } +func (i *getClusterClusterInfoInitScriptWorkspacePtrType) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptWorkspacePtrOutput) +} -func (GetJobJobSettingsSettingsHealthRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsHealthRule)(nil)).Elem() +type GetClusterClusterInfoInitScriptWorkspaceOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsHealthRuleOutput) ToGetJobJobSettingsSettingsHealthRuleOutput() GetJobJobSettingsSettingsHealthRuleOutput { +func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspaceOutput() GetClusterClusterInfoInitScriptWorkspaceOutput { return o } -func (o GetJobJobSettingsSettingsHealthRuleOutput) ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleOutput { +func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspaceOutput { return o } -func (o GetJobJobSettingsSettingsHealthRuleOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsHealthRule) *string { return v.Metric }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { + return o.ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsHealthRuleOutput) Op() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsHealthRule) *string { return v.Op }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptWorkspace) *GetClusterClusterInfoInitScriptWorkspace { + return &v + }).(GetClusterClusterInfoInitScriptWorkspacePtrOutput) } -func (o GetJobJobSettingsSettingsHealthRuleOutput) Value() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsHealthRule) *int { return v.Value }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsHealthRuleArrayOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsHealthRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsHealthRule)(nil)).Elem() +func (GetClusterClusterInfoInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsHealthRuleArrayOutput) ToGetJobJobSettingsSettingsHealthRuleArrayOutput() GetJobJobSettingsSettingsHealthRuleArrayOutput { +func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { return o } -func (o GetJobJobSettingsSettingsHealthRuleArrayOutput) ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleArrayOutput { +func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { return o } -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 GetClusterClusterInfoInitScriptWorkspacePtrOutput) Elem() GetClusterClusterInfoInitScriptWorkspaceOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptWorkspace) GetClusterClusterInfoInitScriptWorkspace { + if v != nil { + return *v + } + var ret GetClusterClusterInfoInitScriptWorkspace + return ret + }).(GetClusterClusterInfoInitScriptWorkspaceOutput) } -type GetJobJobSettingsSettingsJobCluster struct { - JobClusterKey *string `pulumi:"jobClusterKey"` - NewCluster *GetJobJobSettingsSettingsJobClusterNewCluster `pulumi:"newCluster"` +func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptWorkspace) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsJobClusterInput is an input type that accepts GetJobJobSettingsSettingsJobClusterArgs and GetJobJobSettingsSettingsJobClusterOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterInput` via: +type GetClusterClusterInfoTerminationReason struct { + Code *string `pulumi:"code"` + Parameters map[string]interface{} `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: // -// GetJobJobSettingsSettingsJobClusterArgs{...} -type GetJobJobSettingsSettingsJobClusterInput interface { +// GetClusterClusterInfoTerminationReasonArgs{...} +type GetClusterClusterInfoTerminationReasonInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterOutput() GetJobJobSettingsSettingsJobClusterOutput - ToGetJobJobSettingsSettingsJobClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterOutput + ToGetClusterClusterInfoTerminationReasonOutput() GetClusterClusterInfoTerminationReasonOutput + ToGetClusterClusterInfoTerminationReasonOutputWithContext(context.Context) GetClusterClusterInfoTerminationReasonOutput } -type GetJobJobSettingsSettingsJobClusterArgs struct { - JobClusterKey pulumi.StringPtrInput `pulumi:"jobClusterKey"` - NewCluster GetJobJobSettingsSettingsJobClusterNewClusterPtrInput `pulumi:"newCluster"` +type GetClusterClusterInfoTerminationReasonArgs struct { + Code pulumi.StringPtrInput `pulumi:"code"` + Parameters pulumi.MapInput `pulumi:"parameters"` + Type pulumi.StringPtrInput `pulumi:"type"` } -func (GetJobJobSettingsSettingsJobClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobCluster)(nil)).Elem() +func (GetClusterClusterInfoTerminationReasonArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoTerminationReason)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterArgs) ToGetJobJobSettingsSettingsJobClusterOutput() GetJobJobSettingsSettingsJobClusterOutput { - return i.ToGetJobJobSettingsSettingsJobClusterOutputWithContext(context.Background()) +func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonOutput() GetClusterClusterInfoTerminationReasonOutput { + return i.ToGetClusterClusterInfoTerminationReasonOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterArgs) ToGetJobJobSettingsSettingsJobClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterOutput) +func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoTerminationReasonOutput) } -// 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 - - ToGetJobJobSettingsSettingsJobClusterArrayOutput() GetJobJobSettingsSettingsJobClusterArrayOutput - ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterArrayOutput +func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { + return i.ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsJobClusterArray []GetJobJobSettingsSettingsJobClusterInput - -func (GetJobJobSettingsSettingsJobClusterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobCluster)(nil)).Elem() +func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoTerminationReasonOutput).ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx) } -func (i GetJobJobSettingsSettingsJobClusterArray) ToGetJobJobSettingsSettingsJobClusterArrayOutput() GetJobJobSettingsSettingsJobClusterArrayOutput { - return i.ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(context.Background()) -} +// 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 -func (i GetJobJobSettingsSettingsJobClusterArray) ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterArrayOutput) + ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput + ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Context) GetClusterClusterInfoTerminationReasonPtrOutput } -type GetJobJobSettingsSettingsJobClusterOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobCluster)(nil)).Elem() -} +type getClusterClusterInfoTerminationReasonPtrType GetClusterClusterInfoTerminationReasonArgs -func (o GetJobJobSettingsSettingsJobClusterOutput) ToGetJobJobSettingsSettingsJobClusterOutput() GetJobJobSettingsSettingsJobClusterOutput { - return o +func GetClusterClusterInfoTerminationReasonPtr(v *GetClusterClusterInfoTerminationReasonArgs) GetClusterClusterInfoTerminationReasonPtrInput { + return (*getClusterClusterInfoTerminationReasonPtrType)(v) } -func (o GetJobJobSettingsSettingsJobClusterOutput) ToGetJobJobSettingsSettingsJobClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterOutput { - return o +func (*getClusterClusterInfoTerminationReasonPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoTerminationReason)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterOutput) JobClusterKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobCluster) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) +func (i *getClusterClusterInfoTerminationReasonPtrType) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { + return i.ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterOutput) NewCluster() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobCluster) *GetJobJobSettingsSettingsJobClusterNewCluster { - return v.NewCluster - }).(GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) +func (i *getClusterClusterInfoTerminationReasonPtrType) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoTerminationReasonPtrOutput) } -type GetJobJobSettingsSettingsJobClusterArrayOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoTerminationReasonOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobCluster)(nil)).Elem() +func (GetClusterClusterInfoTerminationReasonOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoTerminationReason)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterArrayOutput) ToGetJobJobSettingsSettingsJobClusterArrayOutput() GetJobJobSettingsSettingsJobClusterArrayOutput { +func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonOutput() GetClusterClusterInfoTerminationReasonOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterArrayOutput) ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterArrayOutput { +func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonOutput { 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 GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { + return o.ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Background()) } -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]interface{} `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]interface{} `pulumi:"sparkConf"` - SparkEnvVars map[string]interface{} `pulumi:"sparkEnvVars"` - SparkVersion string `pulumi:"sparkVersion"` - SshPublicKeys []string `pulumi:"sshPublicKeys"` - WorkloadType *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType `pulumi:"workloadType"` +func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoTerminationReason) *GetClusterClusterInfoTerminationReason { + return &v + }).(GetClusterClusterInfoTerminationReasonPtrOutput) } -// 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 - - ToGetJobJobSettingsSettingsJobClusterNewClusterOutput() GetJobJobSettingsSettingsJobClusterNewClusterOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterOutput +func (o GetClusterClusterInfoTerminationReasonOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoTerminationReason) *string { return v.Code }).(pulumi.StringPtrOutput) } -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.MapInput `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.MapInput `pulumi:"sparkConf"` - SparkEnvVars pulumi.MapInput `pulumi:"sparkEnvVars"` - SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` - SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` - WorkloadType GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` +func (o GetClusterClusterInfoTerminationReasonOutput) Parameters() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterClusterInfoTerminationReason) map[string]interface{} { return v.Parameters }).(pulumi.MapOutput) } -func (GetJobJobSettingsSettingsJobClusterNewClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewCluster)(nil)).Elem() +func (o GetClusterClusterInfoTerminationReasonOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoTerminationReason) *string { return v.Type }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterOutput() GetJobJobSettingsSettingsJobClusterNewClusterOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(context.Background()) -} +type GetClusterClusterInfoTerminationReasonPtrOutput struct{ *pulumi.OutputState } -func (i GetJobJobSettingsSettingsJobClusterNewClusterArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterOutput) +func (GetClusterClusterInfoTerminationReasonPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoTerminationReason)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoTerminationReasonPtrOutput) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { + return o } -func (i GetJobJobSettingsSettingsJobClusterNewClusterArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(ctx) +func (o GetClusterClusterInfoTerminationReasonPtrOutput) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { + return o } -// GetJobJobSettingsSettingsJobClusterNewClusterPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterArgs, GetJobJobSettingsSettingsJobClusterNewClusterPtr and GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterPtrInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsJobClusterNewClusterPtrInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput +func (o GetClusterClusterInfoTerminationReasonPtrOutput) Elem() GetClusterClusterInfoTerminationReasonOutput { + return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) GetClusterClusterInfoTerminationReason { + if v != nil { + return *v + } + var ret GetClusterClusterInfoTerminationReason + return ret + }).(GetClusterClusterInfoTerminationReasonOutput) } -type getJobJobSettingsSettingsJobClusterNewClusterPtrType GetJobJobSettingsSettingsJobClusterNewClusterArgs - -func GetJobJobSettingsSettingsJobClusterNewClusterPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterArgs) GetJobJobSettingsSettingsJobClusterNewClusterPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterPtrType)(v) +func (o GetClusterClusterInfoTerminationReasonPtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) *string { + if v == nil { + return nil + } + return v.Code + }).(pulumi.StringPtrOutput) } -func (*getJobJobSettingsSettingsJobClusterNewClusterPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewCluster)(nil)).Elem() +func (o GetClusterClusterInfoTerminationReasonPtrOutput) Parameters() pulumi.MapOutput { + return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) map[string]interface{} { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.MapOutput) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoTerminationReasonPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) +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"` + // 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 GetJobJobSettingsSettingsJobClusterNewClusterOutput struct{ *pulumi.OutputState } +// 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 -func (GetJobJobSettingsSettingsJobClusterNewClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewCluster)(nil)).Elem() + ToGetCurrentMetastoreMetastoreInfoOutput() GetCurrentMetastoreMetastoreInfoOutput + ToGetCurrentMetastoreMetastoreInfoOutputWithContext(context.Context) GetCurrentMetastoreMetastoreInfoOutput } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterOutput() GetJobJobSettingsSettingsJobClusterNewClusterOutput { - return o +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"` + // 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 (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterOutput { - return o +func (GetCurrentMetastoreMetastoreInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCurrentMetastoreMetastoreInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(context.Background()) +func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoOutput() GetCurrentMetastoreMetastoreInfoOutput { + return i.ToGetCurrentMetastoreMetastoreInfoOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewCluster { - return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) +func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCurrentMetastoreMetastoreInfoOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) +func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { + return i.ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) Autoscale() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { - return v.Autoscale - }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) +func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCurrentMetastoreMetastoreInfoOutput).ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) -} +// 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 -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) AwsAttributes() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { - return v.AwsAttributes - }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) + ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput + ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) AzureAttributes() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { - return v.AzureAttributes - }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) +type getCurrentMetastoreMetastoreInfoPtrType GetCurrentMetastoreMetastoreInfoArgs + +func GetCurrentMetastoreMetastoreInfoPtr(v *GetCurrentMetastoreMetastoreInfoArgs) GetCurrentMetastoreMetastoreInfoPtrInput { + return (*getCurrentMetastoreMetastoreInfoPtrType)(v) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +func (*getCurrentMetastoreMetastoreInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetCurrentMetastoreMetastoreInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterLogConf() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf { - return v.ClusterLogConf - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) +func (i *getCurrentMetastoreMetastoreInfoPtrType) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { + return i.ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterMountInfos() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) []GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo { - return v.ClusterMountInfos - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) +func (i *getCurrentMetastoreMetastoreInfoPtrType) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCurrentMetastoreMetastoreInfoPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) +type GetCurrentMetastoreMetastoreInfoOutput struct{ *pulumi.OutputState } + +func (GetCurrentMetastoreMetastoreInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCurrentMetastoreMetastoreInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) CustomTags() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) map[string]interface{} { return v.CustomTags }).(pulumi.MapOutput) +func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoOutput() GetCurrentMetastoreMetastoreInfoOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) +func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DockerImage() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage { - return v.DockerImage - }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) +func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { + return o.ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DriverInstancePoolId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) +func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCurrentMetastoreMetastoreInfo) *GetCurrentMetastoreMetastoreInfo { + return &v + }).(GetCurrentMetastoreMetastoreInfoPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DriverNodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) +func (o GetCurrentMetastoreMetastoreInfoOutput) Cloud() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.Cloud }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) EnableElasticDisk() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) +// 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 GetJobJobSettingsSettingsJobClusterNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolOutput) +// 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 GetJobJobSettingsSettingsJobClusterNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { - return v.GcpAttributes - }).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) +// 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 GetJobJobSettingsSettingsJobClusterNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.IdempotencyToken }).(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) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) InitScripts() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) []GetJobJobSettingsSettingsJobClusterNewClusterInitScript { - return v.InitScripts - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) +// 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) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +// 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 GetJobJobSettingsSettingsJobClusterNewClusterOutput) NodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) +// 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 GetJobJobSettingsSettingsJobClusterNewClusterOutput) NumWorkers() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) +// Metastore ID. +func (o GetCurrentMetastoreMetastoreInfoOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +// Name of metastore. +func (o GetCurrentMetastoreMetastoreInfoOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.RuntimeEngine }).(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) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.SingleUserName }).(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) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SparkConf() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) map[string]interface{} { return v.SparkConf }).(pulumi.MapOutput) +// (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) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SparkEnvVars() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) map[string]interface{} { return v.SparkEnvVars }).(pulumi.MapOutput) +// 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 (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SparkVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) +// 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 (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +// 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 (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { - return v.WorkloadType - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) +// 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) } -type GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput struct{ *pulumi.OutputState } +// 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 (GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewCluster)(nil)).Elem() +type GetCurrentMetastoreMetastoreInfoPtrOutput struct{ *pulumi.OutputState } + +func (GetCurrentMetastoreMetastoreInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetCurrentMetastoreMetastoreInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) GetJobJobSettingsSettingsJobClusterNewCluster { +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) Elem() GetCurrentMetastoreMetastoreInfoOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) GetCurrentMetastoreMetastoreInfo { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewCluster + var ret GetCurrentMetastoreMetastoreInfo return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *bool { - if v == nil { - return nil - } - return v.ApplyPolicyDefaultValues - }).(pulumi.BoolPtrOutput) + }).(GetCurrentMetastoreMetastoreInfoOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) Autoscale() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) Cloud() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { if v == nil { return nil } - return v.Autoscale - }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) + return v.Cloud + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *int { +// 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.AutoterminationMinutes + return v.CreatedAt }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) AwsAttributes() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { - if v == nil { - return nil - } - return v.AwsAttributes - }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) AzureAttributes() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { +// 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.AzureAttributes - }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) + return v.CreatedBy + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { +// 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.ClusterId + return v.DefaultDataAccessConfigId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ClusterLogConf() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf { +// 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.ClusterLogConf - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) + return v.DeltaSharingOrganizationName + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ClusterMountInfos() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) []GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo { +// 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.ClusterMountInfos - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) + return v.DeltaSharingRecipientTokenLifetimeInSeconds + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { +// 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.ClusterName + return v.DeltaSharingScope }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) CustomTags() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) map[string]interface{} { +// 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.CustomTags - }).(pulumi.MapOutput) + return v.GlobalMetastoreId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { +// Metastore ID. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { if v == nil { return nil } - return v.DataSecurityMode + return v.MetastoreId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) DockerImage() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage { +// Name of metastore. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { if v == nil { return nil } - return v.DockerImage - }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) + return v.Name + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { +// 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.DriverInstancePoolId + return v.Owner }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { +// 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.DriverNodeTypeId + return v.PrivilegeModelVersion }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *bool { +// (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.EnableElasticDisk - }).(pulumi.BoolPtrOutput) + return v.Region + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *bool { +// 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.EnableLocalDiskEncryption - }).(pulumi.BoolPtrOutput) + return v.StorageRoot + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) GcpAttributes() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { +// 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.GcpAttributes - }).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) + return v.StorageRootCredentialId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { +// 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.IdempotencyToken + return v.StorageRootCredentialName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) InitScripts() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) []GetJobJobSettingsSettingsJobClusterNewClusterInitScript { +// 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.InitScripts - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) + return v.UpdatedAt + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { +// 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.InstancePoolId + return v.UpdatedBy }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { - if v == nil { - return nil - } - return &v.NodeTypeId - }).(pulumi.StringPtrOutput) +type GetDbfsFilePathsPathList struct { + FileSize *int `pulumi:"fileSize"` + // Path on DBFS for the file to perform listing + Path *string `pulumi:"path"` } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *int { - if v == nil { - return nil - } - return &v.NumWorkers - }).(pulumi.IntPtrOutput) +// 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 } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { - if v == nil { - return nil - } - return v.PolicyId - }).(pulumi.StringPtrOutput) +type GetDbfsFilePathsPathListArgs struct { + FileSize pulumi.IntPtrInput `pulumi:"fileSize"` + // Path on DBFS for the file to perform listing + Path pulumi.StringPtrInput `pulumi:"path"` } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { - if v == nil { - return nil - } - return v.RuntimeEngine - }).(pulumi.StringPtrOutput) +func (GetDbfsFilePathsPathListArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbfsFilePathsPathList)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { - if v == nil { - return nil - } - return v.SingleUserName - }).(pulumi.StringPtrOutput) +func (i GetDbfsFilePathsPathListArgs) ToGetDbfsFilePathsPathListOutput() GetDbfsFilePathsPathListOutput { + return i.ToGetDbfsFilePathsPathListOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) SparkConf() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) map[string]interface{} { - if v == nil { - return nil - } - return v.SparkConf - }).(pulumi.MapOutput) +func (i GetDbfsFilePathsPathListArgs) ToGetDbfsFilePathsPathListOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbfsFilePathsPathListOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) SparkEnvVars() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) map[string]interface{} { - if v == nil { - return nil - } - return v.SparkEnvVars - }).(pulumi.MapOutput) +// 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 (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { - if v == nil { - return nil - } - return &v.SparkVersion - }).(pulumi.StringPtrOutput) +type GetDbfsFilePathsPathListArray []GetDbfsFilePathsPathListInput + +func (GetDbfsFilePathsPathListArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbfsFilePathsPathList)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) []string { - if v == nil { - return nil - } - return v.SshPublicKeys - }).(pulumi.StringArrayOutput) +func (i GetDbfsFilePathsPathListArray) ToGetDbfsFilePathsPathListArrayOutput() GetDbfsFilePathsPathListArrayOutput { + return i.ToGetDbfsFilePathsPathListArrayOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) WorkloadType() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { - if v == nil { - return nil - } - return v.WorkloadType - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) +func (i GetDbfsFilePathsPathListArray) ToGetDbfsFilePathsPathListArrayOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbfsFilePathsPathListArrayOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAutoscale struct { - MaxWorkers *int `pulumi:"maxWorkers"` - MinWorkers *int `pulumi:"minWorkers"` +type GetDbfsFilePathsPathListOutput struct{ *pulumi.OutputState } + +func (GetDbfsFilePathsPathListOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbfsFilePathsPathList)(nil)).Elem() } -// GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs and GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleInput interface { - pulumi.Input +func (o GetDbfsFilePathsPathListOutput) ToGetDbfsFilePathsPathListOutput() GetDbfsFilePathsPathListOutput { + return o +} - ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput +func (o GetDbfsFilePathsPathListOutput) ToGetDbfsFilePathsPathListOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListOutput { + return o } -type GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs struct { - MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` - MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +func (o GetDbfsFilePathsPathListOutput) FileSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetDbfsFilePathsPathList) *int { return v.FileSize }).(pulumi.IntPtrOutput) } -func (GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() +// 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 (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(context.Background()) +type GetDbfsFilePathsPathListArrayOutput struct{ *pulumi.OutputState } + +func (GetDbfsFilePathsPathListArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbfsFilePathsPathList)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) +func (o GetDbfsFilePathsPathListArrayOutput) ToGetDbfsFilePathsPathListArrayOutput() GetDbfsFilePathsPathListArrayOutput { + return o } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (o GetDbfsFilePathsPathListArrayOutput) ToGetDbfsFilePathsPathListArrayOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListArrayOutput { + return o } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx) +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) } -// GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs, GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtr and GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs{...} -// -// or: +type GetInstancePoolPoolInfo struct { + AwsAttributes *GetInstancePoolPoolInfoAwsAttributes `pulumi:"awsAttributes"` + AzureAttributes *GetInstancePoolPoolInfoAzureAttributes `pulumi:"azureAttributes"` + CustomTags map[string]interface{} `pulumi:"customTags"` + DefaultTags map[string]interface{} `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: // -// nil -type GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput interface { +// GetInstancePoolPoolInfoArgs{...} +type GetInstancePoolPoolInfoInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput + ToGetInstancePoolPoolInfoOutput() GetInstancePoolPoolInfoOutput + ToGetInstancePoolPoolInfoOutputWithContext(context.Context) GetInstancePoolPoolInfoOutput } -type getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs - -func GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType)(v) +type GetInstancePoolPoolInfoArgs struct { + AwsAttributes GetInstancePoolPoolInfoAwsAttributesPtrInput `pulumi:"awsAttributes"` + AzureAttributes GetInstancePoolPoolInfoAzureAttributesPtrInput `pulumi:"azureAttributes"` + CustomTags pulumi.MapInput `pulumi:"customTags"` + DefaultTags pulumi.MapInput `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 (*getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() +func (GetInstancePoolPoolInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfo)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoOutput() GetInstancePoolPoolInfoOutput { + return i.ToGetInstancePoolPoolInfoOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) +func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() +func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { + return i.ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { - return o +func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoOutput).ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { - return o +// 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 } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) +type getInstancePoolPoolInfoPtrType GetInstancePoolPoolInfoArgs + +func GetInstancePoolPoolInfoPtr(v *GetInstancePoolPoolInfoArgs) GetInstancePoolPoolInfoPtrInput { + return (*getInstancePoolPoolInfoPtrType)(v) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { - return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) +func (*getInstancePoolPoolInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +func (i *getInstancePoolPoolInfoPtrType) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { + return i.ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +func (i *getInstancePoolPoolInfoPtrType) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() +func (GetInstancePoolPoolInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { +func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoOutput() GetInstancePoolPoolInfoOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { +func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsJobClusterNewClusterAutoscale - return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) +func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { + return o.ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { - if v == nil { - return nil - } - return v.MaxWorkers - }).(pulumi.IntPtrOutput) +func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfo { + return &v + }).(GetInstancePoolPoolInfoPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { - if v == nil { - return nil - } - return v.MinWorkers - }).(pulumi.IntPtrOutput) +func (o GetInstancePoolPoolInfoOutput) AwsAttributes() GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAwsAttributes { return v.AwsAttributes }).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) } -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 GetInstancePoolPoolInfoOutput) AzureAttributes() GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAzureAttributes { return v.AzureAttributes }).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput +func (o GetInstancePoolPoolInfoOutput) CustomTags() pulumi.MapOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) map[string]interface{} { return v.CustomTags }).(pulumi.MapOutput) } -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 (o GetInstancePoolPoolInfoOutput) DefaultTags() pulumi.MapOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) map[string]interface{} { return v.DefaultTags }).(pulumi.MapOutput) } -func (GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() +func (o GetInstancePoolPoolInfoOutput) DiskSpec() GetInstancePoolPoolInfoDiskSpecPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoDiskSpec { return v.DiskSpec }).(GetInstancePoolPoolInfoDiskSpecPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *bool { return v.EnableElasticDisk }).(pulumi.BoolPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) +func (o GetInstancePoolPoolInfoOutput) GcpAttributes() GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoGcpAttributes { return v.GcpAttributes }).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoOutput) IdleInstanceAutoterminationMinutes() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) int { return v.IdleInstanceAutoterminationMinutes }).(pulumi.IntOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx) +func (o GetInstancePoolPoolInfoOutput) InstancePoolFleetAttributes() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoInstancePoolFleetAttribute { + return v.InstancePoolFleetAttributes + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput +func (o GetInstancePoolPoolInfoOutput) InstancePoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) string { return v.InstancePoolId }).(pulumi.StringOutput) } -type getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs - -func GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType)(v) +func (o GetInstancePoolPoolInfoOutput) InstancePoolName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) string { return v.InstancePoolName }).(pulumi.StringOutput) } -func (*getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() +func (o GetInstancePoolPoolInfoOutput) MaxCapacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *int { return v.MaxCapacity }).(pulumi.IntPtrOutput) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoOutput) MinIdleInstances() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *int { return v.MinIdleInstances }).(pulumi.IntPtrOutput) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) +func (o GetInstancePoolPoolInfoOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() +func (o GetInstancePoolPoolInfoOutput) PreloadedDockerImages() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoPreloadedDockerImage { + return v.PreloadedDockerImages + }).(GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { - return o +func (o GetInstancePoolPoolInfoOutput) PreloadedSparkVersions() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) []string { return v.PreloadedSparkVersions }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { - return o +func (o GetInstancePoolPoolInfoOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *string { return v.State }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoOutput) Stats() GetInstancePoolPoolInfoStatsPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoStats { return v.Stats }).(GetInstancePoolPoolInfoStatsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { - return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) +type GetInstancePoolPoolInfoPtrOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (o GetInstancePoolPoolInfoPtrOutput) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) +func (o GetInstancePoolPoolInfoPtrOutput) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) +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 GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) +func (o GetInstancePoolPoolInfoPtrOutput) AwsAttributes() GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAwsAttributes { + if v == nil { + return nil + } + return v.AwsAttributes + }).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +func (o GetInstancePoolPoolInfoPtrOutput) AzureAttributes() GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAzureAttributes { + if v == nil { + return nil + } + return v.AzureAttributes + }).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { - return v.InstanceProfileArn - }).(pulumi.StringPtrOutput) +func (o GetInstancePoolPoolInfoPtrOutput) CustomTags() pulumi.MapOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) map[string]interface{} { + if v == nil { + return nil + } + return v.CustomTags + }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +func (o GetInstancePoolPoolInfoPtrOutput) DefaultTags() pulumi.MapOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) map[string]interface{} { + if v == nil { + return nil + } + return v.DefaultTags + }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o GetInstancePoolPoolInfoPtrOutput) DiskSpec() GetInstancePoolPoolInfoDiskSpecPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoDiskSpec { + if v == nil { + return nil + } + return v.DiskSpec + }).(GetInstancePoolPoolInfoDiskSpecPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } +func (o GetInstancePoolPoolInfoPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *bool { + if v == nil { + return nil + } + return v.EnableElasticDisk + }).(pulumi.BoolPtrOutput) +} -func (GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() +func (o GetInstancePoolPoolInfoPtrOutput) GcpAttributes() GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoGcpAttributes { + if v == nil { + return nil + } + return v.GcpAttributes + }).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return o +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 GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return o +func (o GetInstancePoolPoolInfoPtrOutput) InstancePoolFleetAttributes() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoInstancePoolFleetAttribute { + if v == nil { + return nil + } + return v.InstancePoolFleetAttributes + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { - if v != nil { - return *v +func (o GetInstancePoolPoolInfoPtrOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *string { + if v == nil { + return nil } - var ret GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes - return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) + return &v.InstancePoolId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { +func (o GetInstancePoolPoolInfoPtrOutput) InstancePoolName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *string { if v == nil { return nil } - return v.Availability + return &v.InstancePoolName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { +func (o GetInstancePoolPoolInfoPtrOutput) MaxCapacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *int { if v == nil { return nil } - return v.EbsVolumeCount + return v.MaxCapacity }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { +func (o GetInstancePoolPoolInfoPtrOutput) MinIdleInstances() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *int { if v == nil { return nil } - return v.EbsVolumeSize + return v.MinIdleInstances }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { +func (o GetInstancePoolPoolInfoPtrOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *string { if v == nil { return nil } - return v.EbsVolumeType + return v.NodeTypeId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { +func (o GetInstancePoolPoolInfoPtrOutput) PreloadedDockerImages() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoPreloadedDockerImage { if v == nil { return nil } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) + return v.PreloadedDockerImages + }).(GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { +func (o GetInstancePoolPoolInfoPtrOutput) PreloadedSparkVersions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) []string { if v == nil { return nil } - return v.InstanceProfileArn - }).(pulumi.StringPtrOutput) + return v.PreloadedSparkVersions + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { +func (o GetInstancePoolPoolInfoPtrOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *string { if v == nil { return nil } - return v.SpotBidPricePercent - }).(pulumi.IntPtrOutput) + return v.State + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { +func (o GetInstancePoolPoolInfoPtrOutput) Stats() GetInstancePoolPoolInfoStatsPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoStats { if v == nil { return nil } - return v.ZoneId - }).(pulumi.StringPtrOutput) + return v.Stats + }).(GetInstancePoolPoolInfoStatsPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes struct { - Availability *string `pulumi:"availability"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +type GetInstancePoolPoolInfoAwsAttributes struct { + Availability *string `pulumi:"availability"` + SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` + ZoneId string `pulumi:"zoneId"` } -// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs and GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesInput` via: +// GetInstancePoolPoolInfoAwsAttributesInput is an input type that accepts GetInstancePoolPoolInfoAwsAttributesArgs and GetInstancePoolPoolInfoAwsAttributesOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoAwsAttributesInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesInput interface { +// GetInstancePoolPoolInfoAwsAttributesArgs{...} +type GetInstancePoolPoolInfoAwsAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput + ToGetInstancePoolPoolInfoAwsAttributesOutput() GetInstancePoolPoolInfoAwsAttributesOutput + ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(context.Context) GetInstancePoolPoolInfoAwsAttributesOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +type GetInstancePoolPoolInfoAwsAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` + ZoneId pulumi.StringInput `pulumi:"zoneId"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() +func (GetInstancePoolPoolInfoAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesOutput() GetInstancePoolPoolInfoAwsAttributesOutput { + return i.ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) +func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAwsAttributesOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return i.ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx) +func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAwsAttributesOutput).ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput` via: +// GetInstancePoolPoolInfoAwsAttributesPtrInput is an input type that accepts GetInstancePoolPoolInfoAwsAttributesArgs, GetInstancePoolPoolInfoAwsAttributesPtr and GetInstancePoolPoolInfoAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoAwsAttributesPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs{...} +// GetInstancePoolPoolInfoAwsAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput interface { +type GetInstancePoolPoolInfoAwsAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput + ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput + ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs +type getInstancePoolPoolInfoAwsAttributesPtrType GetInstancePoolPoolInfoAwsAttributesArgs -func GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType)(v) +func GetInstancePoolPoolInfoAwsAttributesPtr(v *GetInstancePoolPoolInfoAwsAttributesArgs) GetInstancePoolPoolInfoAwsAttributesPtrInput { + return (*getInstancePoolPoolInfoAwsAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() +func (*getInstancePoolPoolInfoAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i *getInstancePoolPoolInfoAwsAttributesPtrType) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return i.ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) +func (i *getInstancePoolPoolInfoAwsAttributesPtrType) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoAwsAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() +func (GetInstancePoolPoolInfoAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { +func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesOutput() GetInstancePoolPoolInfoAwsAttributesOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { +func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return o.ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { +func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoAwsAttributes) *GetInstancePoolPoolInfoAwsAttributes { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) + }).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (o GetInstancePoolPoolInfoAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +func (o GetInstancePoolPoolInfoAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *float64 { - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) +func (o GetInstancePoolPoolInfoAwsAttributesOutput) ZoneId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoAwsAttributes) string { return v.ZoneId }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoAwsAttributesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() +func (GetInstancePoolPoolInfoAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { +func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { +func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { +func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) Elem() GetInstancePoolPoolInfoAwsAttributesOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoAwsAttributes) GetInstancePoolPoolInfoAwsAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes + var ret GetInstancePoolPoolInfoAwsAttributes return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) + }).(GetInstancePoolPoolInfoAwsAttributesOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *string { +func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoAwsAttributes) *string { if v == nil { return nil } @@ -66328,5830 +66958,5627 @@ func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) A }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *int { +func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoAwsAttributes) *int { if v == nil { return nil } - return v.FirstOnDemand + return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *float64 { +func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoAwsAttributes) *string { if v == nil { return nil } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) + return &v.ZoneId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf struct { - Dbfs *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs `pulumi:"dbfs"` - S3 *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 `pulumi:"s3"` +type GetInstancePoolPoolInfoAzureAttributes struct { + Availability *string `pulumi:"availability"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfInput` via: +// GetInstancePoolPoolInfoAzureAttributesInput is an input type that accepts GetInstancePoolPoolInfoAzureAttributesArgs and GetInstancePoolPoolInfoAzureAttributesOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoAzureAttributesInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfInput interface { +// GetInstancePoolPoolInfoAzureAttributesArgs{...} +type GetInstancePoolPoolInfoAzureAttributesInput interface { pulumi.Input - - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput + + ToGetInstancePoolPoolInfoAzureAttributesOutput() GetInstancePoolPoolInfoAzureAttributesOutput + ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(context.Context) GetInstancePoolPoolInfoAzureAttributesOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs struct { - Dbfs GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` +type GetInstancePoolPoolInfoAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() +func (GetInstancePoolPoolInfoAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesOutput() GetInstancePoolPoolInfoAzureAttributesOutput { + return i.ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) +func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAzureAttributesOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return i.ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx) +func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAzureAttributesOutput).ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput` via: +// GetInstancePoolPoolInfoAzureAttributesPtrInput is an input type that accepts GetInstancePoolPoolInfoAzureAttributesArgs, GetInstancePoolPoolInfoAzureAttributesPtr and GetInstancePoolPoolInfoAzureAttributesPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoAzureAttributesPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs{...} +// GetInstancePoolPoolInfoAzureAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput interface { +type GetInstancePoolPoolInfoAzureAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput + ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput + ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs +type getInstancePoolPoolInfoAzureAttributesPtrType GetInstancePoolPoolInfoAzureAttributesArgs -func GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType)(v) +func GetInstancePoolPoolInfoAzureAttributesPtr(v *GetInstancePoolPoolInfoAzureAttributesArgs) GetInstancePoolPoolInfoAzureAttributesPtrInput { + return (*getInstancePoolPoolInfoAzureAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() +func (*getInstancePoolPoolInfoAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i *getInstancePoolPoolInfoAzureAttributesPtrType) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return i.ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) +func (i *getInstancePoolPoolInfoAzureAttributesPtrType) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoAzureAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() +func (GetInstancePoolPoolInfoAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { +func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesOutput() GetInstancePoolPoolInfoAzureAttributesOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { +func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return o.ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf { +func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoAzureAttributes) *GetInstancePoolPoolInfoAzureAttributes { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) + }).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) Dbfs() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) +func (o GetInstancePoolPoolInfoAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { - return v.S3 - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) +func (o GetInstancePoolPoolInfoAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoAzureAttributesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() +func (GetInstancePoolPoolInfoAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { +func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { +func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf { +func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) Elem() GetInstancePoolPoolInfoAzureAttributesOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoAzureAttributes) GetInstancePoolPoolInfoAzureAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf + var ret GetInstancePoolPoolInfoAzureAttributes return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) + }).(GetInstancePoolPoolInfoAzureAttributesOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) Dbfs() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { +func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoAzureAttributes) *string { if v == nil { return nil } - return v.Dbfs - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) + return v.Availability + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) S3() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { +func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoAzureAttributes) *float64 { if v == nil { return nil } - return v.S3 - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs struct { - Destination string `pulumi:"destination"` +type GetInstancePoolPoolInfoDiskSpec struct { + DiskCount *int `pulumi:"diskCount"` + DiskSize *int `pulumi:"diskSize"` + DiskType *GetInstancePoolPoolInfoDiskSpecDiskType `pulumi:"diskType"` } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsInput` via: +// GetInstancePoolPoolInfoDiskSpecInput is an input type that accepts GetInstancePoolPoolInfoDiskSpecArgs and GetInstancePoolPoolInfoDiskSpecOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoDiskSpecInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsInput interface { +// GetInstancePoolPoolInfoDiskSpecArgs{...} +type GetInstancePoolPoolInfoDiskSpecInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput + ToGetInstancePoolPoolInfoDiskSpecOutput() GetInstancePoolPoolInfoDiskSpecOutput + ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(context.Context) GetInstancePoolPoolInfoDiskSpecOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetInstancePoolPoolInfoDiskSpecArgs struct { + DiskCount pulumi.IntPtrInput `pulumi:"diskCount"` + DiskSize pulumi.IntPtrInput `pulumi:"diskSize"` + DiskType GetInstancePoolPoolInfoDiskSpecDiskTypePtrInput `pulumi:"diskType"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetInstancePoolPoolInfoDiskSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecOutput() GetInstancePoolPoolInfoDiskSpecOutput { + return i.ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) +func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { + return i.ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) +func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecOutput).ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput` via: +// GetInstancePoolPoolInfoDiskSpecPtrInput is an input type that accepts GetInstancePoolPoolInfoDiskSpecArgs, GetInstancePoolPoolInfoDiskSpecPtr and GetInstancePoolPoolInfoDiskSpecPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoDiskSpecPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs{...} +// GetInstancePoolPoolInfoDiskSpecArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput interface { +type GetInstancePoolPoolInfoDiskSpecPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput + ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput + ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs +type getInstancePoolPoolInfoDiskSpecPtrType GetInstancePoolPoolInfoDiskSpecArgs -func GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType)(v) +func GetInstancePoolPoolInfoDiskSpecPtr(v *GetInstancePoolPoolInfoDiskSpecArgs) GetInstancePoolPoolInfoDiskSpecPtrInput { + return (*getInstancePoolPoolInfoDiskSpecPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() +func (*getInstancePoolPoolInfoDiskSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i *getInstancePoolPoolInfoDiskSpecPtrType) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { + return i.ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) +func (i *getInstancePoolPoolInfoDiskSpecPtrType) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoDiskSpecOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetInstancePoolPoolInfoDiskSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { +func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecOutput() GetInstancePoolPoolInfoDiskSpecOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { +func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { + return o.ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { +func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoDiskSpec) *GetInstancePoolPoolInfoDiskSpec { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) + }).(GetInstancePoolPoolInfoDiskSpecPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetInstancePoolPoolInfoDiskSpecOutput) DiskCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpec) *int { return v.DiskCount }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } +func (o GetInstancePoolPoolInfoDiskSpecOutput) DiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpec) *int { return v.DiskSize }).(pulumi.IntPtrOutput) +} -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() +func (o GetInstancePoolPoolInfoDiskSpecOutput) DiskType() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpec) *GetInstancePoolPoolInfoDiskSpecDiskType { return v.DiskType }).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { +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 GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { +func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { +func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) Elem() GetInstancePoolPoolInfoDiskSpecOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) GetInstancePoolPoolInfoDiskSpec { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs + var ret GetInstancePoolPoolInfoDiskSpec return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) + }).(GetInstancePoolPoolInfoDiskSpecOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) *string { +func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) DiskCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) *int { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.DiskCount + }).(pulumi.IntPtrOutput) } -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"` +func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) DiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) *int { + if v == nil { + return nil + } + return v.DiskSize + }).(pulumi.IntPtrOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Input` via: +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: // -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args{...} -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Input interface { +// GetInstancePoolPoolInfoDiskSpecDiskTypeArgs{...} +type GetInstancePoolPoolInfoDiskSpecDiskTypeInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output + ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutput() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput + ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypeOutput } -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 GetInstancePoolPoolInfoDiskSpecDiskTypeArgs struct { + AzureDiskVolumeType pulumi.StringPtrInput `pulumi:"azureDiskVolumeType"` + EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() +func (GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpecDiskType)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutput() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { + return i.ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) +func (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return i.ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx) +func (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecDiskTypeOutput).ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput` via: +// GetInstancePoolPoolInfoDiskSpecDiskTypePtrInput is an input type that accepts GetInstancePoolPoolInfoDiskSpecDiskTypeArgs, GetInstancePoolPoolInfoDiskSpecDiskTypePtr and GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoDiskSpecDiskTypePtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args{...} +// GetInstancePoolPoolInfoDiskSpecDiskTypeArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput interface { +type GetInstancePoolPoolInfoDiskSpecDiskTypePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput + ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput + ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args +type getInstancePoolPoolInfoDiskSpecDiskTypePtrType GetInstancePoolPoolInfoDiskSpecDiskTypeArgs -func GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType)(v) +func GetInstancePoolPoolInfoDiskSpecDiskTypePtr(v *GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) GetInstancePoolPoolInfoDiskSpecDiskTypePtrInput { + return (*getInstancePoolPoolInfoDiskSpecDiskTypePtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() +func (*getInstancePoolPoolInfoDiskSpecDiskTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpecDiskType)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i *getInstancePoolPoolInfoDiskSpecDiskTypePtrType) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return i.ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) +func (i *getInstancePoolPoolInfoDiskSpecDiskTypePtrType) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoDiskSpecDiskTypeOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() +func (GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpecDiskType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { +func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutput() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { +func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return o.ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { +func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoDiskSpecDiskType) *GetInstancePoolPoolInfoDiskSpecDiskType { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) + }).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) AzureDiskVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpecDiskType) *string { return v.AzureDiskVolumeType }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpecDiskType) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() +func (GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpecDiskType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { +func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { +func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { +func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) Elem() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpecDiskType) GetInstancePoolPoolInfoDiskSpecDiskType { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 + var ret GetInstancePoolPoolInfoDiskSpecDiskType return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) -} - -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 GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) -} - -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 GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.KmsKey - }).(pulumi.StringPtrOutput) + }).(GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { +func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) AzureDiskVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpecDiskType) *string { if v == nil { return nil } - return v.Region + return v.AzureDiskVolumeType }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo struct { - LocalMountDirPath string `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` -} - -// 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 -} - -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() -} - -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpecDiskType) *string { + if v == nil { + return nil + } + return v.EbsVolumeType + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) +type GetInstancePoolPoolInfoGcpAttributes struct { + GcpAvailability *string `pulumi:"gcpAvailability"` + LocalSsdCount *int `pulumi:"localSsdCount"` } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray and GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayInput` via: +// GetInstancePoolPoolInfoGcpAttributesInput is an input type that accepts GetInstancePoolPoolInfoGcpAttributesArgs and GetInstancePoolPoolInfoGcpAttributesOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoGcpAttributesInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray{ GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs{...} } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayInput interface { +// GetInstancePoolPoolInfoGcpAttributesArgs{...} +type GetInstancePoolPoolInfoGcpAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput + ToGetInstancePoolPoolInfoGcpAttributesOutput() GetInstancePoolPoolInfoGcpAttributesOutput + ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(context.Context) GetInstancePoolPoolInfoGcpAttributesOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoInput +type GetInstancePoolPoolInfoGcpAttributesArgs struct { + GcpAvailability pulumi.StringPtrInput `pulumi:"gcpAvailability"` + LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` +} -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)(nil)).Elem() +func (GetInstancePoolPoolInfoGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesOutput() GetInstancePoolPoolInfoGcpAttributesOutput { + return i.ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) +func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoGcpAttributesOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } +func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return i.ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Background()) +} -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)(nil)).Elem() +func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoGcpAttributesOutput).ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { - return o +// 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 } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { - return o +type getInstancePoolPoolInfoGcpAttributesPtrType GetInstancePoolPoolInfoGcpAttributesArgs + +func GetInstancePoolPoolInfoGcpAttributesPtr(v *GetInstancePoolPoolInfoGcpAttributesArgs) GetInstancePoolPoolInfoGcpAttributesPtrInput { + return (*getInstancePoolPoolInfoGcpAttributesPtrType)(v) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo) string { - return v.LocalMountDirPath - }).(pulumi.StringOutput) +func (*getInstancePoolPoolInfoGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo { - return v.NetworkFilesystemInfo - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (i *getInstancePoolPoolInfoGcpAttributesPtrType) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return i.ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo) *string { - return v.RemoteMountDirPath - }).(pulumi.StringPtrOutput) +func (i *getInstancePoolPoolInfoGcpAttributesPtrType) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoGcpAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)(nil)).Elem() +func (GetInstancePoolPoolInfoGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { +func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesOutput() GetInstancePoolPoolInfoGcpAttributesOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { +func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesOutput { 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 GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return o.ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(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 GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoGcpAttributes) *GetInstancePoolPoolInfoGcpAttributes { + return &v + }).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { - MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` - ServerAddress pulumi.StringInput `pulumi:"serverAddress"` +func (o GetInstancePoolPoolInfoGcpAttributesOutput) GcpAvailability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoGcpAttributes) *string { return v.GcpAvailability }).(pulumi.StringPtrOutput) } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (o GetInstancePoolPoolInfoGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) -} +type GetInstancePoolPoolInfoGcpAttributesPtrOutput struct{ *pulumi.OutputState } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (GetInstancePoolPoolInfoGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { +func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - 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 GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo) *string { - return v.MountOptions +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 GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo) string { - return v.ServerAddress - }).(pulumi.StringOutput) +func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoGcpAttributes) *int { + if v == nil { + return nil + } + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImage struct { - BasicAuth *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` - Url string `pulumi:"url"` +type GetInstancePoolPoolInfoInstancePoolFleetAttribute struct { + FleetOnDemandOption *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption `pulumi:"fleetOnDemandOption"` + FleetSpotOption *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption `pulumi:"fleetSpotOption"` + LaunchTemplateOverrides []GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride `pulumi:"launchTemplateOverrides"` } -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs and GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImageInput` via: +// GetInstancePoolPoolInfoInstancePoolFleetAttributeInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs and GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageInput interface { +// GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs{...} +type GetInstancePoolPoolInfoInstancePoolFleetAttributeInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput -} - -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs struct { - BasicAuth GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - Url pulumi.StringInput `pulumi:"url"` -} - -func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(context.Background()) +type GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs struct { + FleetOnDemandOption GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput `pulumi:"fleetOnDemandOption"` + FleetSpotOption GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput `pulumi:"fleetSpotOption"` + LaunchTemplateOverrides GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput `pulumi:"launchTemplateOverrides"` } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs, GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtr and GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs{...} -// -// or: +// GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeArray and GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayInput` via: // -// nil -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput interface { +// GetInstancePoolPoolInfoInstancePoolFleetAttributeArray{ GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs{...} } +type GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput } -type getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs - -func GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType)(v) -} +type GetInstancePoolPoolInfoInstancePoolFleetAttributeArray []GetInstancePoolPoolInfoInstancePoolFleetAttributeInput -func (*getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { 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 GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) FleetOnDemandOption() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttribute) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption { + return v.FleetOnDemandOption + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) BasicAuth() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { - return v.BasicAuth - }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) FleetSpotOption() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttribute) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption { + return v.FleetSpotOption + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) LaunchTemplateOverrides() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttribute) []GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride { + return v.LaunchTemplateOverrides + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { return o } -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 GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) BasicAuth() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { - if v == nil { - return nil - } - return v.BasicAuth - }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) -} - -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 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 GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption struct { + AllocationStrategy string `pulumi:"allocationStrategy"` + InstancePoolsToUseCount *int `pulumi:"instancePoolsToUseCount"` } -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthInput` via: +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs and GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthInput interface { +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs{...} +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs struct { + AllocationStrategy pulumi.StringInput `pulumi:"allocationStrategy"` + InstancePoolsToUseCount pulumi.IntPtrInput `pulumi:"instancePoolsToUseCount"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput).ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs, GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtr and GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput` via: +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs, GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtr and GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs{...} +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput interface { +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs +type getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs -func GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType)(v) +func GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtr(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput { + return (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() +func (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) +func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return o.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) AllocationStrategy() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) string { + return v.AllocationStrategy + }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *int { + return v.InstancePoolsToUseCount + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) Elem() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth + var ret GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) *string { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) AllocationStrategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *string { if v == nil { return nil } - return &v.Password + return &v.AllocationStrategy }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) *string { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *int { if v == nil { return nil } - return &v.Username - }).(pulumi.StringPtrOutput) + return v.InstancePoolsToUseCount + }).(pulumi.IntPtrOutput) } -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 GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption struct { + AllocationStrategy string `pulumi:"allocationStrategy"` + InstancePoolsToUseCount *int `pulumi:"instancePoolsToUseCount"` } -// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs and GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesInput` via: +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs and GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesInput interface { +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs{...} +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput } -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 GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs struct { + AllocationStrategy pulumi.StringInput `pulumi:"allocationStrategy"` + InstancePoolsToUseCount pulumi.IntPtrInput `pulumi:"instancePoolsToUseCount"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput).ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs, GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtr and GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput` via: +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs, GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtr and GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs{...} +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput interface { +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs +type getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs -func GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType)(v) +func GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtr(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput { + return (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() +func (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) +func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return o.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption { 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) + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *bool { - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) AllocationStrategy() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) string { + return v.AllocationStrategy + }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *int { + return v.InstancePoolsToUseCount + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) Elem() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes + var ret GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption 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) + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) AllocationStrategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *string { if v == nil { return nil } - return v.GoogleServiceAccount + return &v.AllocationStrategy }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *int { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *int { if v == nil { return nil } - return v.LocalSsdCount + return v.InstancePoolsToUseCount }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *bool { - if v == nil { - return nil - } - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) -} - -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 GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride struct { + AvailabilityZone string `pulumi:"availabilityZone"` + InstanceType string `pulumi:"instanceType"` } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptInput` via: +// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs and GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptInput interface { +// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs{...} +type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput } -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"` +type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs struct { + AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` + InstanceType pulumi.StringInput `pulumi:"instanceType"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayInput` via: +// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray and GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray{ GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs{...} } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayInput interface { +// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray{ GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs{...} } +type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray []GetJobJobSettingsSettingsJobClusterNewClusterInitScriptInput +type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray []GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideInput -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Abfss() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss { - return v.Abfss - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Dbfs() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) File() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile { - return v.File - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Gcs() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs { - return v.Gcs - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) S3() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 { - return v.S3 - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Volumes() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes { - return v.Volumes - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) AvailabilityZone() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride) string { + return v.AvailabilityZone + }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Workspace() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace { - return v.Workspace - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) InstanceType() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride) string { + return v.InstanceType + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { return o } -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 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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss struct { - Destination string `pulumi:"destination"` +type GetInstancePoolPoolInfoPreloadedDockerImage struct { + BasicAuth *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth `pulumi:"basicAuth"` + Url string `pulumi:"url"` } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssInput` via: +// GetInstancePoolPoolInfoPreloadedDockerImageInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageArgs and GetInstancePoolPoolInfoPreloadedDockerImageOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssInput interface { +// GetInstancePoolPoolInfoPreloadedDockerImageArgs{...} +type GetInstancePoolPoolInfoPreloadedDockerImageInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput -} - -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(nil)).Elem() + ToGetInstancePoolPoolInfoPreloadedDockerImageOutput() GetInstancePoolPoolInfoPreloadedDockerImageOutput + ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageOutput } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(context.Background()) +type GetInstancePoolPoolInfoPreloadedDockerImageArgs struct { + BasicAuth GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + Url pulumi.StringInput `pulumi:"url"` } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) +func (GetInstancePoolPoolInfoPreloadedDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoPreloadedDockerImageArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageOutput() GetInstancePoolPoolInfoPreloadedDockerImageOutput { + return i.ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx) +func (i GetInstancePoolPoolInfoPreloadedDockerImageArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs{...} -// -// or: +// GetInstancePoolPoolInfoPreloadedDockerImageArrayInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageArray and GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageArrayInput` via: // -// nil -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput interface { +// GetInstancePoolPoolInfoPreloadedDockerImageArray{ GetInstancePoolPoolInfoPreloadedDockerImageArgs{...} } +type GetInstancePoolPoolInfoPreloadedDockerImageArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput + ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutput() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput + ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput } -type getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs - -func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType)(v) -} +type GetInstancePoolPoolInfoPreloadedDockerImageArray []GetInstancePoolPoolInfoPreloadedDockerImageInput -func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(nil)).Elem() +func (GetInstancePoolPoolInfoPreloadedDockerImageArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoPreloadedDockerImageArray) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutput() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { + return i.ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) +func (i GetInstancePoolPoolInfoPreloadedDockerImageArray) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoPreloadedDockerImageOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(nil)).Elem() +func (GetInstancePoolPoolInfoPreloadedDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { +func (o GetInstancePoolPoolInfoPreloadedDockerImageOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageOutput() GetInstancePoolPoolInfoPreloadedDockerImageOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { +func (o GetInstancePoolPoolInfoPreloadedDockerImageOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss { - return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) +func (o GetInstancePoolPoolInfoPreloadedDockerImageOutput) BasicAuth() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoPreloadedDockerImage) *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth { + return v.BasicAuth + }).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +func (o GetInstancePoolPoolInfoPreloadedDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoPreloadedDockerImage) string { return v.Url }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(nil)).Elem() +func (GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { +func (o GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutput() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { +func (o GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss - return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs struct { - Destination string `pulumi:"destination"` +type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsInput` via: +// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs and GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsInput interface { +// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs{...} +type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput + ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput + ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() +func (GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { + return i.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) +func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return i.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx) +func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput).ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput` via: +// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs, GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtr and GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs{...} +// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput interface { +type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput + ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput + ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs +type getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs -func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType)(v) +func GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtr(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput { + return (*getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() +func (*getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i *getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return i.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) +func (i *getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() +func (GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return o.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs { +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) + }).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() +type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs { +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) Elem() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs + var ret GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) + }).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) *string { +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) *string { if v == nil { return nil } - return &v.Destination + return &v.Password }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile struct { - Destination string `pulumi:"destination"` +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Username + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileInput` via: +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: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileInput interface { +// GetInstancePoolPoolInfoStatsArgs{...} +type GetInstancePoolPoolInfoStatsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput + ToGetInstancePoolPoolInfoStatsOutput() GetInstancePoolPoolInfoStatsOutput + ToGetInstancePoolPoolInfoStatsOutputWithContext(context.Context) GetInstancePoolPoolInfoStatsOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetInstancePoolPoolInfoStatsArgs struct { + IdleCount pulumi.IntPtrInput `pulumi:"idleCount"` + PendingIdleCount pulumi.IntPtrInput `pulumi:"pendingIdleCount"` + PendingUsedCount pulumi.IntPtrInput `pulumi:"pendingUsedCount"` + UsedCount pulumi.IntPtrInput `pulumi:"usedCount"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() +func (GetInstancePoolPoolInfoStatsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoStats)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsOutput() GetInstancePoolPoolInfoStatsOutput { + return i.ToGetInstancePoolPoolInfoStatsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) +func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoStatsOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { + return i.ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx) +func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoStatsOutput).ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput` via: +// GetInstancePoolPoolInfoStatsPtrInput is an input type that accepts GetInstancePoolPoolInfoStatsArgs, GetInstancePoolPoolInfoStatsPtr and GetInstancePoolPoolInfoStatsPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoStatsPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs{...} +// GetInstancePoolPoolInfoStatsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput interface { +type GetInstancePoolPoolInfoStatsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput + ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput + ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoStatsPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs +type getInstancePoolPoolInfoStatsPtrType GetInstancePoolPoolInfoStatsArgs -func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType)(v) +func GetInstancePoolPoolInfoStatsPtr(v *GetInstancePoolPoolInfoStatsArgs) GetInstancePoolPoolInfoStatsPtrInput { + return (*getInstancePoolPoolInfoStatsPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() +func (*getInstancePoolPoolInfoStatsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoStats)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i *getInstancePoolPoolInfoStatsPtrType) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { + return i.ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) +func (i *getInstancePoolPoolInfoStatsPtrType) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoStatsPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } +type GetInstancePoolPoolInfoStatsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() +func (GetInstancePoolPoolInfoStatsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoStats)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { +func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsOutput() GetInstancePoolPoolInfoStatsOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { +func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { + return o.ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile { +func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoStats) *GetInstancePoolPoolInfoStats { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) + }).(GetInstancePoolPoolInfoStatsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) +func (o GetInstancePoolPoolInfoStatsOutput) IdleCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.IdleCount }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } +func (o GetInstancePoolPoolInfoStatsOutput) PendingIdleCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.PendingIdleCount }).(pulumi.IntPtrOutput) +} -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() +func (o GetInstancePoolPoolInfoStatsOutput) PendingUsedCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.PendingUsedCount }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { +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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { +func (o GetInstancePoolPoolInfoStatsPtrOutput) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile { +func (o GetInstancePoolPoolInfoStatsPtrOutput) Elem() GetInstancePoolPoolInfoStatsOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) GetInstancePoolPoolInfoStats { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile + var ret GetInstancePoolPoolInfoStats return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) + }).(GetInstancePoolPoolInfoStatsOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) *string { +func (o GetInstancePoolPoolInfoStatsPtrOutput) IdleCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.IdleCount + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs struct { - Destination string `pulumi:"destination"` +func (o GetInstancePoolPoolInfoStatsPtrOutput) PendingIdleCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { + if v == nil { + return nil + } + return v.PendingIdleCount + }).(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 GetInstancePoolPoolInfoStatsPtrOutput) PendingUsedCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { + if v == nil { + return nil + } + return v.PendingUsedCount + }).(pulumi.IntPtrOutput) +} - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput +func (o GetInstancePoolPoolInfoStatsPtrOutput) UsedCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { + if v == nil { + return nil + } + return v.UsedCount + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +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"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() +// 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 (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(context.Background()) +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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) +func (GetInstanceProfilesInstanceProfileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstanceProfilesInstanceProfile)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i GetInstanceProfilesInstanceProfileArgs) ToGetInstanceProfilesInstanceProfileOutput() GetInstanceProfilesInstanceProfileOutput { + return i.ToGetInstanceProfilesInstanceProfileOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx) +func (i GetInstanceProfilesInstanceProfileArgs) ToGetInstanceProfilesInstanceProfileOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstanceProfilesInstanceProfileOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs{...} -// -// or: +// GetInstanceProfilesInstanceProfileArrayInput is an input type that accepts GetInstanceProfilesInstanceProfileArray and GetInstanceProfilesInstanceProfileArrayOutput values. +// You can construct a concrete instance of `GetInstanceProfilesInstanceProfileArrayInput` via: // -// nil -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput interface { +// GetInstanceProfilesInstanceProfileArray{ GetInstanceProfilesInstanceProfileArgs{...} } +type GetInstanceProfilesInstanceProfileArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput + ToGetInstanceProfilesInstanceProfileArrayOutput() GetInstanceProfilesInstanceProfileArrayOutput + ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(context.Context) GetInstanceProfilesInstanceProfileArrayOutput } -type getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs - -func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType)(v) -} +type GetInstanceProfilesInstanceProfileArray []GetInstanceProfilesInstanceProfileInput -func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() +func (GetInstanceProfilesInstanceProfileArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstanceProfilesInstanceProfile)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i GetInstanceProfilesInstanceProfileArray) ToGetInstanceProfilesInstanceProfileArrayOutput() GetInstanceProfilesInstanceProfileArrayOutput { + return i.ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) +func (i GetInstanceProfilesInstanceProfileArray) ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstanceProfilesInstanceProfileArrayOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } +type GetInstanceProfilesInstanceProfileOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() +func (GetInstanceProfilesInstanceProfileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstanceProfilesInstanceProfile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { +func (o GetInstanceProfilesInstanceProfileOutput) ToGetInstanceProfilesInstanceProfileOutput() GetInstanceProfilesInstanceProfileOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { +func (o GetInstanceProfilesInstanceProfileOutput) ToGetInstanceProfilesInstanceProfileOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +// 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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs { - return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) +// 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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) +// Name of the instance profile. +func (o GetInstanceProfilesInstanceProfileOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstanceProfilesInstanceProfile) string { return v.Name }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() +// 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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return o +type GetInstanceProfilesInstanceProfileArrayOutput struct{ *pulumi.OutputState } + +func (GetInstanceProfilesInstanceProfileArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstanceProfilesInstanceProfile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { +func (o GetInstanceProfilesInstanceProfileArrayOutput) ToGetInstanceProfilesInstanceProfileArrayOutput() GetInstanceProfilesInstanceProfileArrayOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs - return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) +func (o GetInstanceProfilesInstanceProfileArrayOutput) ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileArrayOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +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 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 GetJobJobSettings struct { + CreatedTime *int `pulumi:"createdTime"` + CreatorUserName *string `pulumi:"creatorUserName"` + JobId *int `pulumi:"jobId"` + RunAsUserName string `pulumi:"runAsUserName"` + Settings *GetJobJobSettingsSettings `pulumi:"settings"` } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Input is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Input` via: +// GetJobJobSettingsInput is an input type that accepts GetJobJobSettingsArgs and GetJobJobSettingsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Input interface { +// GetJobJobSettingsArgs{...} +type GetJobJobSettingsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output + ToGetJobJobSettingsOutput() GetJobJobSettingsOutput + ToGetJobJobSettingsOutputWithContext(context.Context) GetJobJobSettingsOutput } -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 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 (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettings)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(context.Background()) +func (i GetJobJobSettingsArgs) ToGetJobJobSettingsOutput() GetJobJobSettingsOutput { + return i.ToGetJobJobSettingsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) +func (i GetJobJobSettingsArgs) ToGetJobJobSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsArgs) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { + return i.ToGetJobJobSettingsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx) +func (i GetJobJobSettingsArgs) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsOutput).ToGetJobJobSettingsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Ptr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput` via: +// GetJobJobSettingsPtrInput is an input type that accepts GetJobJobSettingsArgs, GetJobJobSettingsPtr and GetJobJobSettingsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args{...} +// GetJobJobSettingsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput interface { +type GetJobJobSettingsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput + ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput + ToGetJobJobSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args +type getJobJobSettingsPtrType GetJobJobSettingsArgs -func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType)(v) +func GetJobJobSettingsPtr(v *GetJobJobSettingsArgs) GetJobJobSettingsPtrInput { + return (*getJobJobSettingsPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() +func (*getJobJobSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettings)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsPtrType) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { + return i.ToGetJobJobSettingsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) +func (i *getJobJobSettingsPtrType) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output struct{ *pulumi.OutputState } +type GetJobJobSettingsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettings)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { +func (o GetJobJobSettingsOutput) ToGetJobJobSettingsOutput() GetJobJobSettingsOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { +func (o GetJobJobSettingsOutput) ToGetJobJobSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsOutput) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { + return o.ToGetJobJobSettingsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 { +func (o GetJobJobSettingsOutput) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettings) *GetJobJobSettings { 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) + }).(GetJobJobSettingsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsOutput) CreatedTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettings) *int { return v.CreatedTime }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsOutput) CreatorUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettings) *string { return v.CreatorUserName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsOutput) JobId() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettings) *int { return v.JobId }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsOutput) RunAsUserName() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettings) string { return v.RunAsUserName }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsOutput) Settings() GetJobJobSettingsSettingsPtrOutput { + return o.ApplyT(func(v GetJobJobSettings) *GetJobJobSettingsSettings { return v.Settings }).(GetJobJobSettingsSettingsPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettings)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { +func (o GetJobJobSettingsPtrOutput) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { +func (o GetJobJobSettingsPtrOutput) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 { +func (o GetJobJobSettingsPtrOutput) Elem() GetJobJobSettingsOutput { + return o.ApplyT(func(v *GetJobJobSettings) GetJobJobSettings { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 + var ret GetJobJobSettings 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) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *bool { +func (o GetJobJobSettingsPtrOutput) CreatedTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettings) *int { if v == nil { return nil } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) + return v.CreatedTime + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsPtrOutput) CreatorUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettings) *string { if v == nil { return nil } - return v.EncryptionType + return v.CreatorUserName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsPtrOutput) JobId() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettings) *int { if v == nil { return nil } - return v.Endpoint - }).(pulumi.StringPtrOutput) + return v.JobId + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsPtrOutput) RunAsUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettings) *string { if v == nil { return nil } - return v.KmsKey + return &v.RunAsUserName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsPtrOutput) Settings() GetJobJobSettingsSettingsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettings) *GetJobJobSettingsSettings { if v == nil { return nil } - return v.Region - }).(pulumi.StringPtrOutput) + return v.Settings + }).(GetJobJobSettingsSettingsPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettings struct { + Computes []GetJobJobSettingsSettingsCompute `pulumi:"computes"` + Continuous *GetJobJobSettingsSettingsContinuous `pulumi:"continuous"` + DbtTask *GetJobJobSettingsSettingsDbtTask `pulumi:"dbtTask"` + Deployment *GetJobJobSettingsSettingsDeployment `pulumi:"deployment"` + Description *string `pulumi:"description"` + EditMode *string `pulumi:"editMode"` + EmailNotifications *GetJobJobSettingsSettingsEmailNotifications `pulumi:"emailNotifications"` + 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]interface{} `pulumi:"tags"` + Tasks []GetJobJobSettingsSettingsTask `pulumi:"tasks"` + TimeoutSeconds *int `pulumi:"timeoutSeconds"` + Trigger *GetJobJobSettingsSettingsTrigger `pulumi:"trigger"` + WebhookNotifications *GetJobJobSettingsSettingsWebhookNotifications `pulumi:"webhookNotifications"` } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesInput` via: +// GetJobJobSettingsSettingsInput is an input type that accepts GetJobJobSettingsSettingsArgs and GetJobJobSettingsSettingsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesInput interface { +// GetJobJobSettingsSettingsArgs{...} +type GetJobJobSettingsSettingsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput + ToGetJobJobSettingsSettingsOutput() GetJobJobSettingsSettingsOutput + ToGetJobJobSettingsSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsArgs struct { + Computes GetJobJobSettingsSettingsComputeArrayInput `pulumi:"computes"` + 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"` + 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.MapInput `pulumi:"tags"` + Tasks GetJobJobSettingsSettingsTaskArrayInput `pulumi:"tasks"` + TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` + Trigger GetJobJobSettingsSettingsTriggerPtrInput `pulumi:"trigger"` + WebhookNotifications GetJobJobSettingsSettingsWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettings)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsOutput() GetJobJobSettingsSettingsOutput { + return i.ToGetJobJobSettingsSettingsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) +func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsOutput).ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput` via: +// GetJobJobSettingsSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsArgs, GetJobJobSettingsSettingsPtr and GetJobJobSettingsSettingsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs{...} +// GetJobJobSettingsSettingsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput interface { +type GetJobJobSettingsSettingsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput + ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput + ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs +type getJobJobSettingsSettingsPtrType GetJobJobSettingsSettingsArgs -func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType)(v) +func GetJobJobSettingsSettingsPtr(v *GetJobJobSettingsSettingsArgs) GetJobJobSettingsSettingsPtrInput { + return (*getJobJobSettingsSettingsPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() +func (*getJobJobSettingsSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettings)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsPtrType) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) +func (i *getJobJobSettingsSettingsPtrType) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettings)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsOutput() GetJobJobSettingsSettingsOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { + return o.ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes { +func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettings) *GetJobJobSettingsSettings { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) -} - -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return o + }).(GetJobJobSettingsSettingsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return o +func (o GetJobJobSettingsSettingsOutput) Computes() GetJobJobSettingsSettingsComputeArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsCompute { return v.Computes }).(GetJobJobSettingsSettingsComputeArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes - return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) +func (o GetJobJobSettingsSettingsOutput) Continuous() GetJobJobSettingsSettingsContinuousPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsContinuous { return v.Continuous }).(GetJobJobSettingsSettingsContinuousPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsOutput) DbtTask() GetJobJobSettingsSettingsDbtTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDbtTask { return v.DbtTask }).(GetJobJobSettingsSettingsDbtTaskPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace struct { - Destination string `pulumi:"destination"` +func (o GetJobJobSettingsSettingsOutput) Deployment() GetJobJobSettingsSettingsDeploymentPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDeployment { return v.Deployment }).(GetJobJobSettingsSettingsDeploymentPtrOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput +func (o GetJobJobSettingsSettingsOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *string { return v.Description }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +func (o GetJobJobSettingsSettingsOutput) EditMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *string { return v.EditMode }).(pulumi.StringPtrOutput) } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() +func (o GetJobJobSettingsSettingsOutput) EmailNotifications() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsEmailNotifications { + return v.EmailNotifications + }).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsOutput) ExistingClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) +func (o GetJobJobSettingsSettingsOutput) Format() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) string { return v.Format }).(pulumi.StringOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsOutput) GitSource() GetJobJobSettingsSettingsGitSourcePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsGitSource { return v.GitSource }).(GetJobJobSettingsSettingsGitSourcePtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) +func (o GetJobJobSettingsSettingsOutput) Health() GetJobJobSettingsSettingsHealthPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsHealth { return v.Health }).(GetJobJobSettingsSettingsHealthPtrOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput +func (o GetJobJobSettingsSettingsOutput) JobClusters() GetJobJobSettingsSettingsJobClusterArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsJobCluster { return v.JobClusters }).(GetJobJobSettingsSettingsJobClusterArrayOutput) } -type getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs - -func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType)(v) +func (o GetJobJobSettingsSettingsOutput) Libraries() GetJobJobSettingsSettingsLibraryArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsLibrary { return v.Libraries }).(GetJobJobSettingsSettingsLibraryArrayOutput) } -func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() +func (o GetJobJobSettingsSettingsOutput) MaxConcurrentRuns() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.MaxConcurrentRuns }).(pulumi.IntPtrOutput) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsOutput) MaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) +func (o GetJobJobSettingsSettingsOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() +// 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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { - return o +func (o GetJobJobSettingsSettingsOutput) NewCluster() GetJobJobSettingsSettingsNewClusterPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNewCluster { return v.NewCluster }).(GetJobJobSettingsSettingsNewClusterPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { - return o +func (o GetJobJobSettingsSettingsOutput) NotebookTask() GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotebookTask { return v.NotebookTask }).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsOutput) NotificationSettings() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotificationSettings { + return v.NotificationSettings + }).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace { - return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) +func (o GetJobJobSettingsSettingsOutput) Parameters() GetJobJobSettingsSettingsParameterArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsParameter { return v.Parameters }).(GetJobJobSettingsSettingsParameterArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsOutput) PipelineTask() GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPipelineTask { return v.PipelineTask }).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() +func (o GetJobJobSettingsSettingsOutput) PythonWheelTask() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPythonWheelTask { return v.PythonWheelTask }).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return o +func (o GetJobJobSettingsSettingsOutput) Queue() GetJobJobSettingsSettingsQueuePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsQueue { return v.Queue }).(GetJobJobSettingsSettingsQueuePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return o +func (o GetJobJobSettingsSettingsOutput) RetryOnTimeout() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *bool { return v.RetryOnTimeout }).(pulumi.BoolPtrOutput) } -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 GetJobJobSettingsSettingsOutput) RunAs() GetJobJobSettingsSettingsRunAsOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) GetJobJobSettingsSettingsRunAs { return v.RunAs }).(GetJobJobSettingsSettingsRunAsOutput) } -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 GetJobJobSettingsSettingsOutput) RunJobTask() GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsRunJobTask { return v.RunJobTask }).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType struct { - Clients GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients `pulumi:"clients"` +func (o GetJobJobSettingsSettingsOutput) Schedule() GetJobJobSettingsSettingsSchedulePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSchedule { return v.Schedule }).(GetJobJobSettingsSettingsSchedulePtrOutput) } -// 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 - - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput +func (o GetJobJobSettingsSettingsOutput) SparkJarTask() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkJarTask { return v.SparkJarTask }).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs struct { - Clients GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsInput `pulumi:"clients"` +func (o GetJobJobSettingsSettingsOutput) SparkPythonTask() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkPythonTask { return v.SparkPythonTask }).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) } -func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() +func (o GetJobJobSettingsSettingsOutput) SparkSubmitTask() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkSubmitTask { return v.SparkSubmitTask }).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsOutput) Tags() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) map[string]interface{} { return v.Tags }).(pulumi.MapOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) +func (o GetJobJobSettingsSettingsOutput) Tasks() GetJobJobSettingsSettingsTaskArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsTask { return v.Tasks }).(GetJobJobSettingsSettingsTaskArrayOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsOutput) TimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx) +func (o GetJobJobSettingsSettingsOutput) Trigger() GetJobJobSettingsSettingsTriggerPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsTrigger { return v.Trigger }).(GetJobJobSettingsSettingsTriggerPtrOutput) } -// 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 +func (o GetJobJobSettingsSettingsOutput) WebhookNotifications() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsWebhookNotifications { + return v.WebhookNotifications + }).(GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) } -type getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs - -func GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType)(v) -} +type GetJobJobSettingsSettingsPtrOutput struct{ *pulumi.OutputState } -func (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() +func (GetJobJobSettingsSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettings)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsPtrOutput) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { + return o } -func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) +func (o GetJobJobSettingsSettingsPtrOutput) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { + return o } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() +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 GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { - return o +func (o GetJobJobSettingsSettingsPtrOutput) Computes() GetJobJobSettingsSettingsComputeArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsCompute { + if v == nil { + return nil + } + return v.Computes + }).(GetJobJobSettingsSettingsComputeArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { - return o +func (o GetJobJobSettingsSettingsPtrOutput) Continuous() GetJobJobSettingsSettingsContinuousPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsContinuous { + if v == nil { + return nil + } + return v.Continuous + }).(GetJobJobSettingsSettingsContinuousPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsPtrOutput) DbtTask() GetJobJobSettingsSettingsDbtTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDbtTask { + if v == nil { + return nil + } + return v.DbtTask + }).(GetJobJobSettingsSettingsDbtTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { - return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) +func (o GetJobJobSettingsSettingsPtrOutput) Deployment() GetJobJobSettingsSettingsDeploymentPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDeployment { + if v == nil { + return nil + } + return v.Deployment + }).(GetJobJobSettingsSettingsDeploymentPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { - return v.Clients - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) +func (o GetJobJobSettingsSettingsPtrOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { + if v == nil { + return nil + } + return v.Description + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() +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 GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return o +func (o GetJobJobSettingsSettingsPtrOutput) EmailNotifications() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsEmailNotifications { + if v == nil { + return nil + } + return v.EmailNotifications + }).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return o +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 GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { - if v != nil { - return *v +func (o GetJobJobSettingsSettingsPtrOutput) Format() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { + if v == nil { + return nil } - var ret GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType - return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) + return &v.Format + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { +func (o GetJobJobSettingsSettingsPtrOutput) GitSource() GetJobJobSettingsSettingsGitSourcePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsGitSource { if v == nil { return nil } - return &v.Clients - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) + return v.GitSource + }).(GetJobJobSettingsSettingsGitSourcePtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients struct { - Jobs *bool `pulumi:"jobs"` - Notebooks *bool `pulumi:"notebooks"` +func (o GetJobJobSettingsSettingsPtrOutput) Health() GetJobJobSettingsSettingsHealthPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsHealth { + if v == nil { + return nil + } + return v.Health + }).(GetJobJobSettingsSettingsHealthPtrOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs and GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput +func (o GetJobJobSettingsSettingsPtrOutput) JobClusters() GetJobJobSettingsSettingsJobClusterArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsJobCluster { + if v == nil { + return nil + } + return v.JobClusters + }).(GetJobJobSettingsSettingsJobClusterArrayOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs struct { - Jobs pulumi.BoolPtrInput `pulumi:"jobs"` - Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` +func (o GetJobJobSettingsSettingsPtrOutput) Libraries() GetJobJobSettingsSettingsLibraryArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsLibrary { + if v == nil { + return nil + } + return v.Libraries + }).(GetJobJobSettingsSettingsLibraryArrayOutput) } -func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() +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 GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsPtrOutput) MaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *int { + if v == nil { + return nil + } + return v.MaxRetries + }).(pulumi.IntPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) +func (o GetJobJobSettingsSettingsPtrOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *int { + if v == nil { + return nil + } + return v.MinRetryIntervalMillis + }).(pulumi.IntPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +// 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 (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) +func (o GetJobJobSettingsSettingsPtrOutput) NewCluster() GetJobJobSettingsSettingsNewClusterPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNewCluster { + if v == nil { + return nil + } + return v.NewCluster + }).(GetJobJobSettingsSettingsNewClusterPtrOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs, GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtr and GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput +func (o GetJobJobSettingsSettingsPtrOutput) NotebookTask() GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotebookTask { + if v == nil { + return nil + } + return v.NotebookTask + }).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) } -type getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs - -func GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType)(v) +func (o GetJobJobSettingsSettingsPtrOutput) NotificationSettings() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotificationSettings { + if v == nil { + return nil + } + return v.NotificationSettings + }).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) } -func (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() +func (o GetJobJobSettingsSettingsPtrOutput) Parameters() GetJobJobSettingsSettingsParameterArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsParameter { + if v == nil { + return nil + } + return v.Parameters + }).(GetJobJobSettingsSettingsParameterArrayOutput) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsPtrOutput) PipelineTask() GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPipelineTask { + if v == nil { + return nil + } + return v.PipelineTask + }).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) +func (o GetJobJobSettingsSettingsPtrOutput) PythonWheelTask() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPythonWheelTask { + if v == nil { + return nil + } + return v.PythonWheelTask + }).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() +func (o GetJobJobSettingsSettingsPtrOutput) Queue() GetJobJobSettingsSettingsQueuePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsQueue { + if v == nil { + return nil + } + return v.Queue + }).(GetJobJobSettingsSettingsQueuePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { - return o +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 GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { - return o +func (o GetJobJobSettingsSettingsPtrOutput) RunAs() GetJobJobSettingsSettingsRunAsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsRunAs { + if v == nil { + return nil + } + return &v.RunAs + }).(GetJobJobSettingsSettingsRunAsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsPtrOutput) RunJobTask() GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsRunJobTask { + if v == nil { + return nil + } + return v.RunJobTask + }).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { - return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) +func (o GetJobJobSettingsSettingsPtrOutput) Schedule() GetJobJobSettingsSettingsSchedulePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSchedule { + if v == nil { + return nil + } + return v.Schedule + }).(GetJobJobSettingsSettingsSchedulePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsPtrOutput) SparkJarTask() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkJarTask { + if v == nil { + return nil + } + return v.SparkJarTask + }).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsPtrOutput) SparkPythonTask() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkPythonTask { + if v == nil { + return nil + } + return v.SparkPythonTask + }).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() +func (o GetJobJobSettingsSettingsPtrOutput) SparkSubmitTask() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkSubmitTask { + if v == nil { + return nil + } + return v.SparkSubmitTask + }).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return o +func (o GetJobJobSettingsSettingsPtrOutput) Tags() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) map[string]interface{} { + if v == nil { + return nil + } + return v.Tags + }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return o +func (o GetJobJobSettingsSettingsPtrOutput) Tasks() GetJobJobSettingsSettingsTaskArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsTask { + if v == nil { + return nil + } + return v.Tasks + }).(GetJobJobSettingsSettingsTaskArrayOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { - if v != nil { - return *v +func (o GetJobJobSettingsSettingsPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *int { + if v == nil { + return nil } - var ret GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients - return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) + return v.TimeoutSeconds + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { +func (o GetJobJobSettingsSettingsPtrOutput) Trigger() GetJobJobSettingsSettingsTriggerPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsTrigger { if v == nil { return nil } - return v.Jobs - }).(pulumi.BoolPtrOutput) + return v.Trigger + }).(GetJobJobSettingsSettingsTriggerPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { +func (o GetJobJobSettingsSettingsPtrOutput) WebhookNotifications() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsWebhookNotifications { if v == nil { return nil } - return v.Notebooks - }).(pulumi.BoolPtrOutput) + return v.WebhookNotifications + }).(GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) } -type GetJobJobSettingsSettingsLibrary struct { - Cran *GetJobJobSettingsSettingsLibraryCran `pulumi:"cran"` - Egg *string `pulumi:"egg"` - Jar *string `pulumi:"jar"` - Maven *GetJobJobSettingsSettingsLibraryMaven `pulumi:"maven"` - Pypi *GetJobJobSettingsSettingsLibraryPypi `pulumi:"pypi"` - Whl *string `pulumi:"whl"` +type GetJobJobSettingsSettingsCompute struct { + ComputeKey *string `pulumi:"computeKey"` + Spec *GetJobJobSettingsSettingsComputeSpec `pulumi:"spec"` } -// GetJobJobSettingsSettingsLibraryInput is an input type that accepts GetJobJobSettingsSettingsLibraryArgs and GetJobJobSettingsSettingsLibraryOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryInput` via: +// GetJobJobSettingsSettingsComputeInput is an input type that accepts GetJobJobSettingsSettingsComputeArgs and GetJobJobSettingsSettingsComputeOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsComputeInput` via: // -// GetJobJobSettingsSettingsLibraryArgs{...} -type GetJobJobSettingsSettingsLibraryInput interface { +// GetJobJobSettingsSettingsComputeArgs{...} +type GetJobJobSettingsSettingsComputeInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryOutput() GetJobJobSettingsSettingsLibraryOutput - ToGetJobJobSettingsSettingsLibraryOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryOutput + ToGetJobJobSettingsSettingsComputeOutput() GetJobJobSettingsSettingsComputeOutput + ToGetJobJobSettingsSettingsComputeOutputWithContext(context.Context) GetJobJobSettingsSettingsComputeOutput } -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"` - Whl pulumi.StringPtrInput `pulumi:"whl"` +type GetJobJobSettingsSettingsComputeArgs struct { + ComputeKey pulumi.StringPtrInput `pulumi:"computeKey"` + Spec GetJobJobSettingsSettingsComputeSpecPtrInput `pulumi:"spec"` } -func (GetJobJobSettingsSettingsLibraryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibrary)(nil)).Elem() +func (GetJobJobSettingsSettingsComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsCompute)(nil)).Elem() } -func (i GetJobJobSettingsSettingsLibraryArgs) ToGetJobJobSettingsSettingsLibraryOutput() GetJobJobSettingsSettingsLibraryOutput { - return i.ToGetJobJobSettingsSettingsLibraryOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsComputeArgs) ToGetJobJobSettingsSettingsComputeOutput() GetJobJobSettingsSettingsComputeOutput { + return i.ToGetJobJobSettingsSettingsComputeOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryArgs) ToGetJobJobSettingsSettingsLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryOutput) +func (i GetJobJobSettingsSettingsComputeArgs) ToGetJobJobSettingsSettingsComputeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsComputeOutput) } -// GetJobJobSettingsSettingsLibraryArrayInput is an input type that accepts GetJobJobSettingsSettingsLibraryArray and GetJobJobSettingsSettingsLibraryArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryArrayInput` via: +// GetJobJobSettingsSettingsComputeArrayInput is an input type that accepts GetJobJobSettingsSettingsComputeArray and GetJobJobSettingsSettingsComputeArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsComputeArrayInput` via: // -// GetJobJobSettingsSettingsLibraryArray{ GetJobJobSettingsSettingsLibraryArgs{...} } -type GetJobJobSettingsSettingsLibraryArrayInput interface { +// GetJobJobSettingsSettingsComputeArray{ GetJobJobSettingsSettingsComputeArgs{...} } +type GetJobJobSettingsSettingsComputeArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryArrayOutput() GetJobJobSettingsSettingsLibraryArrayOutput - ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryArrayOutput + ToGetJobJobSettingsSettingsComputeArrayOutput() GetJobJobSettingsSettingsComputeArrayOutput + ToGetJobJobSettingsSettingsComputeArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsComputeArrayOutput } -type GetJobJobSettingsSettingsLibraryArray []GetJobJobSettingsSettingsLibraryInput +type GetJobJobSettingsSettingsComputeArray []GetJobJobSettingsSettingsComputeInput -func (GetJobJobSettingsSettingsLibraryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsLibrary)(nil)).Elem() +func (GetJobJobSettingsSettingsComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsCompute)(nil)).Elem() } -func (i GetJobJobSettingsSettingsLibraryArray) ToGetJobJobSettingsSettingsLibraryArrayOutput() GetJobJobSettingsSettingsLibraryArrayOutput { - return i.ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsComputeArray) ToGetJobJobSettingsSettingsComputeArrayOutput() GetJobJobSettingsSettingsComputeArrayOutput { + return i.ToGetJobJobSettingsSettingsComputeArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryArray) ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryArrayOutput) +func (i GetJobJobSettingsSettingsComputeArray) ToGetJobJobSettingsSettingsComputeArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsComputeArrayOutput) } -type GetJobJobSettingsSettingsLibraryOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsComputeOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsLibraryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibrary)(nil)).Elem() +func (GetJobJobSettingsSettingsComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsCompute)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryOutput) ToGetJobJobSettingsSettingsLibraryOutput() GetJobJobSettingsSettingsLibraryOutput { +func (o GetJobJobSettingsSettingsComputeOutput) ToGetJobJobSettingsSettingsComputeOutput() GetJobJobSettingsSettingsComputeOutput { return o } -func (o GetJobJobSettingsSettingsLibraryOutput) ToGetJobJobSettingsSettingsLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryOutput { +func (o GetJobJobSettingsSettingsComputeOutput) ToGetJobJobSettingsSettingsComputeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsComputeOutput { 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 GetJobJobSettingsSettingsComputeOutput) ComputeKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsCompute) *string { return v.ComputeKey }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsLibraryOutput) Whl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsComputeOutput) Spec() GetJobJobSettingsSettingsComputeSpecPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsCompute) *GetJobJobSettingsSettingsComputeSpec { return v.Spec }).(GetJobJobSettingsSettingsComputeSpecPtrOutput) } -type GetJobJobSettingsSettingsLibraryArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsComputeArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsLibraryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsLibrary)(nil)).Elem() +func (GetJobJobSettingsSettingsComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsCompute)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryArrayOutput) ToGetJobJobSettingsSettingsLibraryArrayOutput() GetJobJobSettingsSettingsLibraryArrayOutput { +func (o GetJobJobSettingsSettingsComputeArrayOutput) ToGetJobJobSettingsSettingsComputeArrayOutput() GetJobJobSettingsSettingsComputeArrayOutput { return o } -func (o GetJobJobSettingsSettingsLibraryArrayOutput) ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryArrayOutput { +func (o GetJobJobSettingsSettingsComputeArrayOutput) ToGetJobJobSettingsSettingsComputeArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsComputeArrayOutput { 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 GetJobJobSettingsSettingsComputeArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsCompute { + return vs[0].([]GetJobJobSettingsSettingsCompute)[vs[1].(int)] + }).(GetJobJobSettingsSettingsComputeOutput) } -type GetJobJobSettingsSettingsLibraryCran struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +type GetJobJobSettingsSettingsComputeSpec struct { + Kind *string `pulumi:"kind"` } -// GetJobJobSettingsSettingsLibraryCranInput is an input type that accepts GetJobJobSettingsSettingsLibraryCranArgs and GetJobJobSettingsSettingsLibraryCranOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryCranInput` via: +// GetJobJobSettingsSettingsComputeSpecInput is an input type that accepts GetJobJobSettingsSettingsComputeSpecArgs and GetJobJobSettingsSettingsComputeSpecOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsComputeSpecInput` via: // -// GetJobJobSettingsSettingsLibraryCranArgs{...} -type GetJobJobSettingsSettingsLibraryCranInput interface { +// GetJobJobSettingsSettingsComputeSpecArgs{...} +type GetJobJobSettingsSettingsComputeSpecInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryCranOutput() GetJobJobSettingsSettingsLibraryCranOutput - ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryCranOutput + ToGetJobJobSettingsSettingsComputeSpecOutput() GetJobJobSettingsSettingsComputeSpecOutput + ToGetJobJobSettingsSettingsComputeSpecOutputWithContext(context.Context) GetJobJobSettingsSettingsComputeSpecOutput } -type GetJobJobSettingsSettingsLibraryCranArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type GetJobJobSettingsSettingsComputeSpecArgs struct { + Kind pulumi.StringPtrInput `pulumi:"kind"` } -func (GetJobJobSettingsSettingsLibraryCranArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsComputeSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsComputeSpec)(nil)).Elem() } -func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranOutput() GetJobJobSettingsSettingsLibraryCranOutput { - return i.ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsComputeSpecArgs) ToGetJobJobSettingsSettingsComputeSpecOutput() GetJobJobSettingsSettingsComputeSpecOutput { + return i.ToGetJobJobSettingsSettingsComputeSpecOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryCranOutput) +func (i GetJobJobSettingsSettingsComputeSpecArgs) ToGetJobJobSettingsSettingsComputeSpecOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsComputeSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsComputeSpecOutput) } -func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { - return i.ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsComputeSpecArgs) ToGetJobJobSettingsSettingsComputeSpecPtrOutput() GetJobJobSettingsSettingsComputeSpecPtrOutput { + return i.ToGetJobJobSettingsSettingsComputeSpecPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryCranOutput).ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsComputeSpecArgs) ToGetJobJobSettingsSettingsComputeSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsComputeSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsComputeSpecOutput).ToGetJobJobSettingsSettingsComputeSpecPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsLibraryCranPtrInput is an input type that accepts GetJobJobSettingsSettingsLibraryCranArgs, GetJobJobSettingsSettingsLibraryCranPtr and GetJobJobSettingsSettingsLibraryCranPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryCranPtrInput` via: +// GetJobJobSettingsSettingsComputeSpecPtrInput is an input type that accepts GetJobJobSettingsSettingsComputeSpecArgs, GetJobJobSettingsSettingsComputeSpecPtr and GetJobJobSettingsSettingsComputeSpecPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsComputeSpecPtrInput` via: // -// GetJobJobSettingsSettingsLibraryCranArgs{...} +// GetJobJobSettingsSettingsComputeSpecArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsLibraryCranPtrInput interface { +type GetJobJobSettingsSettingsComputeSpecPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput - ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput + ToGetJobJobSettingsSettingsComputeSpecPtrOutput() GetJobJobSettingsSettingsComputeSpecPtrOutput + ToGetJobJobSettingsSettingsComputeSpecPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsComputeSpecPtrOutput } -type getJobJobSettingsSettingsLibraryCranPtrType GetJobJobSettingsSettingsLibraryCranArgs +type getJobJobSettingsSettingsComputeSpecPtrType GetJobJobSettingsSettingsComputeSpecArgs -func GetJobJobSettingsSettingsLibraryCranPtr(v *GetJobJobSettingsSettingsLibraryCranArgs) GetJobJobSettingsSettingsLibraryCranPtrInput { - return (*getJobJobSettingsSettingsLibraryCranPtrType)(v) +func GetJobJobSettingsSettingsComputeSpecPtr(v *GetJobJobSettingsSettingsComputeSpecArgs) GetJobJobSettingsSettingsComputeSpecPtrInput { + return (*getJobJobSettingsSettingsComputeSpecPtrType)(v) } -func (*getJobJobSettingsSettingsLibraryCranPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() +func (*getJobJobSettingsSettingsComputeSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsComputeSpec)(nil)).Elem() } -func (i *getJobJobSettingsSettingsLibraryCranPtrType) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { - return i.ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsComputeSpecPtrType) ToGetJobJobSettingsSettingsComputeSpecPtrOutput() GetJobJobSettingsSettingsComputeSpecPtrOutput { + return i.ToGetJobJobSettingsSettingsComputeSpecPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsLibraryCranPtrType) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryCranPtrOutput) +func (i *getJobJobSettingsSettingsComputeSpecPtrType) ToGetJobJobSettingsSettingsComputeSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsComputeSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsComputeSpecPtrOutput) } -type GetJobJobSettingsSettingsLibraryCranOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsComputeSpecOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsLibraryCranOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsComputeSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsComputeSpec)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranOutput() GetJobJobSettingsSettingsLibraryCranOutput { +func (o GetJobJobSettingsSettingsComputeSpecOutput) ToGetJobJobSettingsSettingsComputeSpecOutput() GetJobJobSettingsSettingsComputeSpecOutput { return o } -func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranOutput { +func (o GetJobJobSettingsSettingsComputeSpecOutput) ToGetJobJobSettingsSettingsComputeSpecOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsComputeSpecOutput { return o } -func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { - return o.ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsComputeSpecOutput) ToGetJobJobSettingsSettingsComputeSpecPtrOutput() GetJobJobSettingsSettingsComputeSpecPtrOutput { + return o.ToGetJobJobSettingsSettingsComputeSpecPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsLibraryCran) *GetJobJobSettingsSettingsLibraryCran { +func (o GetJobJobSettingsSettingsComputeSpecOutput) ToGetJobJobSettingsSettingsComputeSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsComputeSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsComputeSpec) *GetJobJobSettingsSettingsComputeSpec { return &v - }).(GetJobJobSettingsSettingsLibraryCranPtrOutput) -} - -func (o GetJobJobSettingsSettingsLibraryCranOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryCran) string { return v.Package }).(pulumi.StringOutput) + }).(GetJobJobSettingsSettingsComputeSpecPtrOutput) } -func (o GetJobJobSettingsSettingsLibraryCranOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsComputeSpecOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsComputeSpec) *string { return v.Kind }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsLibraryCranPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsComputeSpecPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsLibraryCranPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsComputeSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsComputeSpec)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { +func (o GetJobJobSettingsSettingsComputeSpecPtrOutput) ToGetJobJobSettingsSettingsComputeSpecPtrOutput() GetJobJobSettingsSettingsComputeSpecPtrOutput { return o } -func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { +func (o GetJobJobSettingsSettingsComputeSpecPtrOutput) ToGetJobJobSettingsSettingsComputeSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsComputeSpecPtrOutput { return o } -func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) Elem() GetJobJobSettingsSettingsLibraryCranOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryCran) GetJobJobSettingsSettingsLibraryCran { +func (o GetJobJobSettingsSettingsComputeSpecPtrOutput) Elem() GetJobJobSettingsSettingsComputeSpecOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsComputeSpec) GetJobJobSettingsSettingsComputeSpec { if v != nil { return *v } - var ret GetJobJobSettingsSettingsLibraryCran + var ret GetJobJobSettingsSettingsComputeSpec 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) + }).(GetJobJobSettingsSettingsComputeSpecOutput) } -func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryCran) *string { +func (o GetJobJobSettingsSettingsComputeSpecPtrOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsComputeSpec) *string { if v == nil { return nil } - return v.Repo + return v.Kind }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsLibraryMaven struct { - Coordinates string `pulumi:"coordinates"` - Exclusions []string `pulumi:"exclusions"` - Repo *string `pulumi:"repo"` +type GetJobJobSettingsSettingsContinuous struct { + PauseStatus *string `pulumi:"pauseStatus"` } -// GetJobJobSettingsSettingsLibraryMavenInput is an input type that accepts GetJobJobSettingsSettingsLibraryMavenArgs and GetJobJobSettingsSettingsLibraryMavenOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryMavenInput` via: +// GetJobJobSettingsSettingsContinuousInput is an input type that accepts GetJobJobSettingsSettingsContinuousArgs and GetJobJobSettingsSettingsContinuousOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsContinuousInput` via: // -// GetJobJobSettingsSettingsLibraryMavenArgs{...} -type GetJobJobSettingsSettingsLibraryMavenInput interface { +// GetJobJobSettingsSettingsContinuousArgs{...} +type GetJobJobSettingsSettingsContinuousInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryMavenOutput() GetJobJobSettingsSettingsLibraryMavenOutput - ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryMavenOutput + ToGetJobJobSettingsSettingsContinuousOutput() GetJobJobSettingsSettingsContinuousOutput + ToGetJobJobSettingsSettingsContinuousOutputWithContext(context.Context) GetJobJobSettingsSettingsContinuousOutput } -type GetJobJobSettingsSettingsLibraryMavenArgs struct { - Coordinates pulumi.StringInput `pulumi:"coordinates"` - Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type GetJobJobSettingsSettingsContinuousArgs struct { + PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` } -func (GetJobJobSettingsSettingsLibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsContinuousArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsContinuous)(nil)).Elem() } -func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenOutput() GetJobJobSettingsSettingsLibraryMavenOutput { - return i.ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousOutput() GetJobJobSettingsSettingsContinuousOutput { + return i.ToGetJobJobSettingsSettingsContinuousOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryMavenOutput) +func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsContinuousOutput) } -func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { - return i.ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { + return i.ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryMavenOutput).ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsContinuousOutput).ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsLibraryMavenPtrInput is an input type that accepts GetJobJobSettingsSettingsLibraryMavenArgs, GetJobJobSettingsSettingsLibraryMavenPtr and GetJobJobSettingsSettingsLibraryMavenPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryMavenPtrInput` via: +// GetJobJobSettingsSettingsContinuousPtrInput is an input type that accepts GetJobJobSettingsSettingsContinuousArgs, GetJobJobSettingsSettingsContinuousPtr and GetJobJobSettingsSettingsContinuousPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsContinuousPtrInput` via: // -// GetJobJobSettingsSettingsLibraryMavenArgs{...} +// GetJobJobSettingsSettingsContinuousArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsLibraryMavenPtrInput interface { +type GetJobJobSettingsSettingsContinuousPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput - ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput + ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput + ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsContinuousPtrOutput } -type getJobJobSettingsSettingsLibraryMavenPtrType GetJobJobSettingsSettingsLibraryMavenArgs +type getJobJobSettingsSettingsContinuousPtrType GetJobJobSettingsSettingsContinuousArgs -func GetJobJobSettingsSettingsLibraryMavenPtr(v *GetJobJobSettingsSettingsLibraryMavenArgs) GetJobJobSettingsSettingsLibraryMavenPtrInput { - return (*getJobJobSettingsSettingsLibraryMavenPtrType)(v) +func GetJobJobSettingsSettingsContinuousPtr(v *GetJobJobSettingsSettingsContinuousArgs) GetJobJobSettingsSettingsContinuousPtrInput { + return (*getJobJobSettingsSettingsContinuousPtrType)(v) } -func (*getJobJobSettingsSettingsLibraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() +func (*getJobJobSettingsSettingsContinuousPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsContinuous)(nil)).Elem() } -func (i *getJobJobSettingsSettingsLibraryMavenPtrType) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { - return i.ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsContinuousPtrType) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { + return i.ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsLibraryMavenPtrType) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryMavenPtrOutput) +func (i *getJobJobSettingsSettingsContinuousPtrType) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsContinuousPtrOutput) } -type GetJobJobSettingsSettingsLibraryMavenOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsContinuousOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsLibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsContinuousOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsContinuous)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenOutput() GetJobJobSettingsSettingsLibraryMavenOutput { +func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousOutput() GetJobJobSettingsSettingsContinuousOutput { return o } -func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenOutput { +func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousOutput { return o } -func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { - return o.ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { + return o.ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsLibraryMaven) *GetJobJobSettingsSettingsLibraryMaven { +func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsContinuous) *GetJobJobSettingsSettingsContinuous { return &v - }).(GetJobJobSettingsSettingsLibraryMavenPtrOutput) -} - -func (o GetJobJobSettingsSettingsLibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) + }).(GetJobJobSettingsSettingsContinuousPtrOutput) } -func (o GetJobJobSettingsSettingsLibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsContinuousOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsContinuous) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsLibraryMavenPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsContinuousPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsLibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsContinuousPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsContinuous)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { +func (o GetJobJobSettingsSettingsContinuousPtrOutput) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { return o } -func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { +func (o GetJobJobSettingsSettingsContinuousPtrOutput) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { return o } -func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Elem() GetJobJobSettingsSettingsLibraryMavenOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) GetJobJobSettingsSettingsLibraryMaven { +func (o GetJobJobSettingsSettingsContinuousPtrOutput) Elem() GetJobJobSettingsSettingsContinuousOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsContinuous) GetJobJobSettingsSettingsContinuous { if v != nil { return *v } - var ret GetJobJobSettingsSettingsLibraryMaven + var ret GetJobJobSettingsSettingsContinuous return ret - }).(GetJobJobSettingsSettingsLibraryMavenOutput) -} - -func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) *string { - if v == nil { - return nil - } - return &v.Coordinates - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) []string { - if v == nil { - return nil - } - return v.Exclusions - }).(pulumi.StringArrayOutput) + }).(GetJobJobSettingsSettingsContinuousOutput) } -func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) *string { +func (o GetJobJobSettingsSettingsContinuousPtrOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsContinuous) *string { if v == nil { return nil } - return v.Repo + return v.PauseStatus }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsLibraryPypi struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +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"` } -// GetJobJobSettingsSettingsLibraryPypiInput is an input type that accepts GetJobJobSettingsSettingsLibraryPypiArgs and GetJobJobSettingsSettingsLibraryPypiOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryPypiInput` via: +// GetJobJobSettingsSettingsDbtTaskInput is an input type that accepts GetJobJobSettingsSettingsDbtTaskArgs and GetJobJobSettingsSettingsDbtTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsDbtTaskInput` via: // -// GetJobJobSettingsSettingsLibraryPypiArgs{...} -type GetJobJobSettingsSettingsLibraryPypiInput interface { +// GetJobJobSettingsSettingsDbtTaskArgs{...} +type GetJobJobSettingsSettingsDbtTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryPypiOutput() GetJobJobSettingsSettingsLibraryPypiOutput - ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryPypiOutput + ToGetJobJobSettingsSettingsDbtTaskOutput() GetJobJobSettingsSettingsDbtTaskOutput + ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsDbtTaskOutput } -type GetJobJobSettingsSettingsLibraryPypiArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +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"` } -func (GetJobJobSettingsSettingsLibraryPypiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() +func (GetJobJobSettingsSettingsDbtTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsDbtTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiOutput() GetJobJobSettingsSettingsLibraryPypiOutput { - return i.ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskOutput() GetJobJobSettingsSettingsDbtTaskOutput { + return i.ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryPypiOutput) +func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDbtTaskOutput) } -func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { - return i.ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryPypiOutput).ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDbtTaskOutput).ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsLibraryPypiPtrInput is an input type that accepts GetJobJobSettingsSettingsLibraryPypiArgs, GetJobJobSettingsSettingsLibraryPypiPtr and GetJobJobSettingsSettingsLibraryPypiPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryPypiPtrInput` via: +// GetJobJobSettingsSettingsDbtTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsDbtTaskArgs, GetJobJobSettingsSettingsDbtTaskPtr and GetJobJobSettingsSettingsDbtTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsDbtTaskPtrInput` via: // -// GetJobJobSettingsSettingsLibraryPypiArgs{...} +// GetJobJobSettingsSettingsDbtTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsLibraryPypiPtrInput interface { +type GetJobJobSettingsSettingsDbtTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput - ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput + ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput + ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput } -type getJobJobSettingsSettingsLibraryPypiPtrType GetJobJobSettingsSettingsLibraryPypiArgs +type getJobJobSettingsSettingsDbtTaskPtrType GetJobJobSettingsSettingsDbtTaskArgs -func GetJobJobSettingsSettingsLibraryPypiPtr(v *GetJobJobSettingsSettingsLibraryPypiArgs) GetJobJobSettingsSettingsLibraryPypiPtrInput { - return (*getJobJobSettingsSettingsLibraryPypiPtrType)(v) +func GetJobJobSettingsSettingsDbtTaskPtr(v *GetJobJobSettingsSettingsDbtTaskArgs) GetJobJobSettingsSettingsDbtTaskPtrInput { + return (*getJobJobSettingsSettingsDbtTaskPtrType)(v) } -func (*getJobJobSettingsSettingsLibraryPypiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() +func (*getJobJobSettingsSettingsDbtTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsDbtTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsLibraryPypiPtrType) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { - return i.ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsDbtTaskPtrType) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsLibraryPypiPtrType) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryPypiPtrOutput) +func (i *getJobJobSettingsSettingsDbtTaskPtrType) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDbtTaskPtrOutput) } -type GetJobJobSettingsSettingsLibraryPypiOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsDbtTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsLibraryPypiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() +func (GetJobJobSettingsSettingsDbtTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsDbtTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiOutput() GetJobJobSettingsSettingsLibraryPypiOutput { +func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskOutput() GetJobJobSettingsSettingsDbtTaskOutput { return o } -func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiOutput { +func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskOutput { return o } -func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { - return o.ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsLibraryPypi) *GetJobJobSettingsSettingsLibraryPypi { +func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsDbtTask) *GetJobJobSettingsSettingsDbtTask { return &v - }).(GetJobJobSettingsSettingsLibraryPypiPtrOutput) + }).(GetJobJobSettingsSettingsDbtTaskPtrOutput) } -func (o GetJobJobSettingsSettingsLibraryPypiOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryPypi) string { return v.Package }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsDbtTaskOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsLibraryPypiOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsDbtTaskOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsLibraryPypiPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsLibraryPypiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() +func (o GetJobJobSettingsSettingsDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { +func (o GetJobJobSettingsSettingsDbtTaskOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsDbtTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsDbtTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsDbtTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsDbtTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) Elem() GetJobJobSettingsSettingsLibraryPypiOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryPypi) GetJobJobSettingsSettingsLibraryPypi { +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) Elem() GetJobJobSettingsSettingsDbtTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) GetJobJobSettingsSettingsDbtTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsLibraryPypi + var ret GetJobJobSettingsSettingsDbtTask return ret - }).(GetJobJobSettingsSettingsLibraryPypiOutput) + }).(GetJobJobSettingsSettingsDbtTaskOutput) } -func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryPypi) *string { +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { if v == nil { return nil } - return &v.Package + return v.Catalog }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryPypi) *string { +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) []string { if v == nil { return nil } - return v.Repo + return v.Commands + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { + if v == nil { + return nil + } + return v.ProfilesDirectory }).(pulumi.StringPtrOutput) } -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]interface{} `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]interface{} `pulumi:"sparkConf"` - SparkEnvVars map[string]interface{} `pulumi:"sparkEnvVars"` - SparkVersion string `pulumi:"sparkVersion"` - SshPublicKeys []string `pulumi:"sshPublicKeys"` - WorkloadType *GetJobJobSettingsSettingsNewClusterWorkloadType `pulumi:"workloadType"` +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { + if v == nil { + return nil + } + return v.ProjectDirectory + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsNewClusterInput is an input type that accepts GetJobJobSettingsSettingsNewClusterArgs and GetJobJobSettingsSettingsNewClusterOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInput` via: -// -// GetJobJobSettingsSettingsNewClusterArgs{...} -type GetJobJobSettingsSettingsNewClusterInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { + if v == nil { + return nil + } + return v.Schema + }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsNewClusterOutput() GetJobJobSettingsSettingsNewClusterOutput - ToGetJobJobSettingsSettingsNewClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterOutput +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { + if v == nil { + return nil + } + return v.Source + }).(pulumi.StringPtrOutput) } -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.MapInput `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.MapInput `pulumi:"sparkConf"` - SparkEnvVars pulumi.MapInput `pulumi:"sparkEnvVars"` - SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` - SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` - WorkloadType GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { + if v == nil { + return nil + } + return v.WarehouseId + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsDeployment struct { + Kind string `pulumi:"kind"` + MetadataFilePath *string `pulumi:"metadataFilePath"` } -func (GetJobJobSettingsSettingsNewClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewCluster)(nil)).Elem() +// GetJobJobSettingsSettingsDeploymentInput is an input type that accepts GetJobJobSettingsSettingsDeploymentArgs and GetJobJobSettingsSettingsDeploymentOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsDeploymentInput` via: +// +// GetJobJobSettingsSettingsDeploymentArgs{...} +type GetJobJobSettingsSettingsDeploymentInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsDeploymentOutput() GetJobJobSettingsSettingsDeploymentOutput + ToGetJobJobSettingsSettingsDeploymentOutputWithContext(context.Context) GetJobJobSettingsSettingsDeploymentOutput } -func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterOutput() GetJobJobSettingsSettingsNewClusterOutput { - return i.ToGetJobJobSettingsSettingsNewClusterOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsDeploymentArgs struct { + Kind pulumi.StringInput `pulumi:"kind"` + MetadataFilePath pulumi.StringPtrInput `pulumi:"metadataFilePath"` } -func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterOutput) +func (GetJobJobSettingsSettingsDeploymentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsDeployment)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentOutput() GetJobJobSettingsSettingsDeploymentOutput { + return i.ToGetJobJobSettingsSettingsDeploymentOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterOutput).ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDeploymentOutput) } -// GetJobJobSettingsSettingsNewClusterPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterArgs, GetJobJobSettingsSettingsNewClusterPtr and GetJobJobSettingsSettingsNewClusterPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterPtrInput` via: +func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { + return i.ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDeploymentOutput).ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsDeploymentPtrInput is an input type that accepts GetJobJobSettingsSettingsDeploymentArgs, GetJobJobSettingsSettingsDeploymentPtr and GetJobJobSettingsSettingsDeploymentPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsDeploymentPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterArgs{...} +// GetJobJobSettingsSettingsDeploymentArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterPtrInput interface { +type GetJobJobSettingsSettingsDeploymentPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput - ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput + ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput + ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput } -type getJobJobSettingsSettingsNewClusterPtrType GetJobJobSettingsSettingsNewClusterArgs +type getJobJobSettingsSettingsDeploymentPtrType GetJobJobSettingsSettingsDeploymentArgs -func GetJobJobSettingsSettingsNewClusterPtr(v *GetJobJobSettingsSettingsNewClusterArgs) GetJobJobSettingsSettingsNewClusterPtrInput { - return (*getJobJobSettingsSettingsNewClusterPtrType)(v) +func GetJobJobSettingsSettingsDeploymentPtr(v *GetJobJobSettingsSettingsDeploymentArgs) GetJobJobSettingsSettingsDeploymentPtrInput { + return (*getJobJobSettingsSettingsDeploymentPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewCluster)(nil)).Elem() +func (*getJobJobSettingsSettingsDeploymentPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsDeployment)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterPtrType) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsDeploymentPtrType) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { + return i.ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterPtrType) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterPtrOutput) +func (i *getJobJobSettingsSettingsDeploymentPtrType) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDeploymentPtrOutput) } -type GetJobJobSettingsSettingsNewClusterOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsDeploymentOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewCluster)(nil)).Elem() +func (GetJobJobSettingsSettingsDeploymentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsDeployment)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterOutput() GetJobJobSettingsSettingsNewClusterOutput { +func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentOutput() GetJobJobSettingsSettingsDeploymentOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterOutput { +func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { + return o.ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewCluster { +func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsDeployment) *GetJobJobSettingsSettingsDeployment { return &v - }).(GetJobJobSettingsSettingsNewClusterPtrOutput) + }).(GetJobJobSettingsSettingsDeploymentPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsDeploymentOutput) Kind() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDeployment) string { return v.Kind }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) Autoscale() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAutoscale { - return v.Autoscale - }).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) +func (o GetJobJobSettingsSettingsDeploymentOutput) MetadataFilePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDeployment) *string { return v.MetadataFilePath }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsDeploymentPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsDeploymentPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsDeployment)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterOutput) AwsAttributes() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAwsAttributes { - return v.AwsAttributes - }).(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) +func (o GetJobJobSettingsSettingsDeploymentPtrOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterOutput) AzureAttributes() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAzureAttributes { - return v.AzureAttributes - }).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) +func (o GetJobJobSettingsSettingsDeploymentPtrOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsDeploymentPtrOutput) Elem() GetJobJobSettingsSettingsDeploymentOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDeployment) GetJobJobSettingsSettingsDeployment { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsDeployment + return ret + }).(GetJobJobSettingsSettingsDeploymentOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) ClusterLogConf() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterClusterLogConf { - return v.ClusterLogConf - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) +func (o GetJobJobSettingsSettingsDeploymentPtrOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDeployment) *string { + if v == nil { + return nil + } + return &v.Kind + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) ClusterMountInfos() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterClusterMountInfo { - return v.ClusterMountInfos - }).(GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) +func (o GetJobJobSettingsSettingsDeploymentPtrOutput) MetadataFilePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDeployment) *string { + if v == nil { + return nil + } + return v.MetadataFilePath + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsEmailNotifications struct { + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` + OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures []string `pulumi:"onFailures"` + OnStarts []string `pulumi:"onStarts"` + OnSuccesses []string `pulumi:"onSuccesses"` } -func (o GetJobJobSettingsSettingsNewClusterOutput) CustomTags() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) map[string]interface{} { return v.CustomTags }).(pulumi.MapOutput) +// GetJobJobSettingsSettingsEmailNotificationsInput is an input type that accepts GetJobJobSettingsSettingsEmailNotificationsArgs and GetJobJobSettingsSettingsEmailNotificationsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsEmailNotificationsInput` via: +// +// GetJobJobSettingsSettingsEmailNotificationsArgs{...} +type GetJobJobSettingsSettingsEmailNotificationsInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsEmailNotificationsOutput() GetJobJobSettingsSettingsEmailNotificationsOutput + ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsEmailNotificationsOutput } -func (o GetJobJobSettingsSettingsNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsEmailNotificationsArgs struct { + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` + OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` + OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` + OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` } -func (o GetJobJobSettingsSettingsNewClusterOutput) DockerImage() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterDockerImage { - return v.DockerImage - }).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) +func (GetJobJobSettingsSettingsEmailNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterOutput) DriverInstancePoolId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) +func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsOutput() GetJobJobSettingsSettingsEmailNotificationsOutput { + return i.ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterOutput) DriverNodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) +func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEmailNotificationsOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) EnableElasticDisk() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) +func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolOutput) +func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEmailNotificationsOutput).ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterGcpAttributes { - return v.GcpAttributes - }).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) +// GetJobJobSettingsSettingsEmailNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsEmailNotificationsArgs, GetJobJobSettingsSettingsEmailNotificationsPtr and GetJobJobSettingsSettingsEmailNotificationsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsEmailNotificationsPtrInput` via: +// +// GetJobJobSettingsSettingsEmailNotificationsArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsEmailNotificationsPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput + ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput } -func (o GetJobJobSettingsSettingsNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) +type getJobJobSettingsSettingsEmailNotificationsPtrType GetJobJobSettingsSettingsEmailNotificationsArgs + +func GetJobJobSettingsSettingsEmailNotificationsPtr(v *GetJobJobSettingsSettingsEmailNotificationsArgs) GetJobJobSettingsSettingsEmailNotificationsPtrInput { + return (*getJobJobSettingsSettingsEmailNotificationsPtrType)(v) } -func (o GetJobJobSettingsSettingsNewClusterOutput) InitScripts() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterInitScript { - return v.InitScripts - }).(GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) +func (*getJobJobSettingsSettingsEmailNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsEmailNotificationsPtrType) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterOutput) NodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) +func (i *getJobJobSettingsSettingsEmailNotificationsPtrType) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) NumWorkers() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) +type GetJobJobSettingsSettingsEmailNotificationsOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsEmailNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsOutput() GetJobJobSettingsSettingsEmailNotificationsOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return o.ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterOutput) SparkConf() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) map[string]interface{} { return v.SparkConf }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsEmailNotifications) *GetJobJobSettingsSettingsEmailNotifications { + return &v + }).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) SparkEnvVars() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) map[string]interface{} { return v.SparkEnvVars }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) SparkVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { + return v.OnDurationWarningThresholdExceededs + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterWorkloadType { - return v.WorkloadType - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsNewClusterPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) +} -func (GetJobJobSettingsSettingsNewClusterPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewCluster)(nil)).Elem() +type GetJobJobSettingsSettingsEmailNotificationsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsEmailNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) GetJobJobSettingsSettingsNewCluster { +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsEmailNotificationsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) GetJobJobSettingsSettingsEmailNotifications { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewCluster + var ret GetJobJobSettingsSettingsEmailNotifications return ret - }).(GetJobJobSettingsSettingsNewClusterOutput) + }).(GetJobJobSettingsSettingsEmailNotificationsOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *bool { +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) *bool { if v == nil { return nil } - return v.ApplyPolicyDefaultValues + return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) Autoscale() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAutoscale { +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { if v == nil { return nil } - return v.Autoscale - }).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) + return v.OnDurationWarningThresholdExceededs + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *int { +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { if v == nil { return nil } - return v.AutoterminationMinutes - }).(pulumi.IntPtrOutput) + return v.OnFailures + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) AwsAttributes() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { if v == nil { return nil } - return v.AwsAttributes - }).(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) + return v.OnStarts + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) AzureAttributes() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAzureAttributes { +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { if v == nil { return nil } - return v.AzureAttributes - }).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) + return v.OnSuccesses + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return v.ClusterId - }).(pulumi.StringPtrOutput) +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 GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterLogConf() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterClusterLogConf { - if v == nil { - return nil - } - return v.ClusterLogConf - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) +// GetJobJobSettingsSettingsGitSourceInput is an input type that accepts GetJobJobSettingsSettingsGitSourceArgs and GetJobJobSettingsSettingsGitSourceOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourceInput` via: +// +// GetJobJobSettingsSettingsGitSourceArgs{...} +type GetJobJobSettingsSettingsGitSourceInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsGitSourceOutput() GetJobJobSettingsSettingsGitSourceOutput + ToGetJobJobSettingsSettingsGitSourceOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourceOutput } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterMountInfos() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterClusterMountInfo { - if v == nil { - return nil - } - return v.ClusterMountInfos - }).(GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) +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 (o GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return v.ClusterName - }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsGitSourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsGitSource)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) CustomTags() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) map[string]interface{} { - if v == nil { - return nil - } - return v.CustomTags - }).(pulumi.MapOutput) +func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourceOutput() GetJobJobSettingsSettingsGitSourceOutput { + return i.ToGetJobJobSettingsSettingsGitSourceOutputWithContext(context.Background()) } -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 GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) DockerImage() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterDockerImage { - if v == nil { - return nil - } - return v.DockerImage - }).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) +func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { + return i.ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return &v.DriverInstancePoolId - }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceOutput).ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return &v.DriverNodeTypeId - }).(pulumi.StringPtrOutput) +// GetJobJobSettingsSettingsGitSourcePtrInput is an input type that accepts GetJobJobSettingsSettingsGitSourceArgs, GetJobJobSettingsSettingsGitSourcePtr and GetJobJobSettingsSettingsGitSourcePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourcePtrInput` via: +// +// GetJobJobSettingsSettingsGitSourceArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsGitSourcePtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput + ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *bool { - if v == nil { - return nil - } - return &v.EnableElasticDisk - }).(pulumi.BoolPtrOutput) +type getJobJobSettingsSettingsGitSourcePtrType GetJobJobSettingsSettingsGitSourceArgs + +func GetJobJobSettingsSettingsGitSourcePtr(v *GetJobJobSettingsSettingsGitSourceArgs) GetJobJobSettingsSettingsGitSourcePtrInput { + return (*getJobJobSettingsSettingsGitSourcePtrType)(v) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *bool { - if v == nil { - return nil - } - return &v.EnableLocalDiskEncryption - }).(pulumi.BoolPtrOutput) +func (*getJobJobSettingsSettingsGitSourcePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsGitSource)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) GcpAttributes() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterGcpAttributes { - if v == nil { - return nil - } - return v.GcpAttributes - }).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) +func (i *getJobJobSettingsSettingsGitSourcePtrType) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { + return i.ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsGitSourcePtrType) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourcePtrOutput) +} + +type GetJobJobSettingsSettingsGitSourceOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsGitSourceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsGitSource)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourceOutput() GetJobJobSettingsSettingsGitSourceOutput { + return o +} + +func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceOutput { + return o +} + +func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { + return o.ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsGitSource) *GetJobJobSettingsSettingsGitSource { + 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 GetJobJobSettingsSettingsNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return v.IdempotencyToken - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsGitSourceOutput) Provider() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *string { return v.Provider }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) InitScripts() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterInitScript { - if v == nil { - return nil - } - return v.InitScripts - }).(GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) +func (o GetJobJobSettingsSettingsGitSourceOutput) Tag() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *string { return v.Tag }).(pulumi.StringPtrOutput) } -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 GetJobJobSettingsSettingsGitSourceOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) string { return v.Url }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return &v.NodeTypeId - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsGitSourcePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsGitSourcePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsGitSource)(nil)).Elem() } -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 GetJobJobSettingsSettingsGitSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { + return o } -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 GetJobJobSettingsSettingsGitSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Elem() GetJobJobSettingsSettingsGitSourceOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) GetJobJobSettingsSettingsGitSource { + if v != nil { + return *v } - return v.RuntimeEngine - }).(pulumi.StringPtrOutput) + var ret GetJobJobSettingsSettingsGitSource + return ret + }).(GetJobJobSettingsSettingsGitSourceOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Branch() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { if v == nil { return nil } - return v.SingleUserName + return v.Branch }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) SparkConf() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) map[string]interface{} { +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Commit() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { if v == nil { return nil } - return v.SparkConf - }).(pulumi.MapOutput) + return v.Commit + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) SparkEnvVars() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) map[string]interface{} { +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) JobSource() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *GetJobJobSettingsSettingsGitSourceJobSource { if v == nil { return nil } - return v.SparkEnvVars - }).(pulumi.MapOutput) + return v.JobSource + }).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Provider() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { if v == nil { return nil } - return &v.SparkVersion + return v.Provider }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) []string { +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Tag() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { if v == nil { return nil } - return v.SshPublicKeys - }).(pulumi.StringArrayOutput) + return v.Tag + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) WorkloadType() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterWorkloadType { +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { if v == nil { return nil } - return v.WorkloadType - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) + return &v.Url + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterAutoscale struct { - MaxWorkers *int `pulumi:"maxWorkers"` - MinWorkers *int `pulumi:"minWorkers"` +type GetJobJobSettingsSettingsGitSourceJobSource struct { + DirtyState *string `pulumi:"dirtyState"` + ImportFromGitBranch string `pulumi:"importFromGitBranch"` + JobConfigPath string `pulumi:"jobConfigPath"` } -// GetJobJobSettingsSettingsNewClusterAutoscaleInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAutoscaleArgs and GetJobJobSettingsSettingsNewClusterAutoscaleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAutoscaleInput` via: +// GetJobJobSettingsSettingsGitSourceJobSourceInput is an input type that accepts GetJobJobSettingsSettingsGitSourceJobSourceArgs and GetJobJobSettingsSettingsGitSourceJobSourceOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourceJobSourceInput` via: // -// GetJobJobSettingsSettingsNewClusterAutoscaleArgs{...} -type GetJobJobSettingsSettingsNewClusterAutoscaleInput interface { +// GetJobJobSettingsSettingsGitSourceJobSourceArgs{...} +type GetJobJobSettingsSettingsGitSourceJobSourceInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterAutoscaleOutput() GetJobJobSettingsSettingsNewClusterAutoscaleOutput - ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAutoscaleOutput + ToGetJobJobSettingsSettingsGitSourceJobSourceOutput() GetJobJobSettingsSettingsGitSourceJobSourceOutput + ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourceJobSourceOutput } -type GetJobJobSettingsSettingsNewClusterAutoscaleArgs struct { - MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` - MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +type GetJobJobSettingsSettingsGitSourceJobSourceArgs struct { + DirtyState pulumi.StringPtrInput `pulumi:"dirtyState"` + ImportFromGitBranch pulumi.StringInput `pulumi:"importFromGitBranch"` + JobConfigPath pulumi.StringInput `pulumi:"jobConfigPath"` } -func (GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsGitSourceJobSourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutput() GetJobJobSettingsSettingsNewClusterAutoscaleOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourceOutput() GetJobJobSettingsSettingsGitSourceJobSourceOutput { + return i.ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAutoscaleOutput) +func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceJobSourceOutput) } -func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return i.ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceJobSourceOutput).ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAutoscaleArgs, GetJobJobSettingsSettingsNewClusterAutoscalePtr and GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAutoscalePtrInput` via: +// GetJobJobSettingsSettingsGitSourceJobSourcePtrInput is an input type that accepts GetJobJobSettingsSettingsGitSourceJobSourceArgs, GetJobJobSettingsSettingsGitSourceJobSourcePtr and GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourceJobSourcePtrInput` via: // -// GetJobJobSettingsSettingsNewClusterAutoscaleArgs{...} +// GetJobJobSettingsSettingsGitSourceJobSourceArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterAutoscalePtrInput interface { +type GetJobJobSettingsSettingsGitSourceJobSourcePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput - ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput + ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput + ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput } -type getJobJobSettingsSettingsNewClusterAutoscalePtrType GetJobJobSettingsSettingsNewClusterAutoscaleArgs +type getJobJobSettingsSettingsGitSourceJobSourcePtrType GetJobJobSettingsSettingsGitSourceJobSourceArgs -func GetJobJobSettingsSettingsNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsNewClusterAutoscaleArgs) GetJobJobSettingsSettingsNewClusterAutoscalePtrInput { - return (*getJobJobSettingsSettingsNewClusterAutoscalePtrType)(v) +func GetJobJobSettingsSettingsGitSourceJobSourcePtr(v *GetJobJobSettingsSettingsGitSourceJobSourceArgs) GetJobJobSettingsSettingsGitSourceJobSourcePtrInput { + return (*getJobJobSettingsSettingsGitSourceJobSourcePtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() +func (*getJobJobSettingsSettingsGitSourceJobSourcePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsGitSourceJobSourcePtrType) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return i.ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) +func (i *getJobJobSettingsSettingsGitSourceJobSourcePtrType) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) } -type GetJobJobSettingsSettingsNewClusterAutoscaleOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsGitSourceJobSourceOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsGitSourceJobSourceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutput() GetJobJobSettingsSettingsNewClusterAutoscaleOutput { +func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourceOutput() GetJobJobSettingsSettingsGitSourceJobSourceOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscaleOutput { +func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourceOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return o.ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterAutoscale) *GetJobJobSettingsSettingsNewClusterAutoscale { +func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsGitSourceJobSource) *GetJobJobSettingsSettingsGitSourceJobSource { return &v - }).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) + }).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) DirtyState() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSourceJobSource) *string { return v.DirtyState }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ImportFromGitBranch() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSourceJobSource) string { return v.ImportFromGitBranch }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) JobConfigPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSourceJobSource) string { return v.JobConfigPath }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() +type GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { +func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { +func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterAutoscaleOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAutoscale) GetJobJobSettingsSettingsNewClusterAutoscale { +func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) Elem() GetJobJobSettingsSettingsGitSourceJobSourceOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) GetJobJobSettingsSettingsGitSourceJobSource { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterAutoscale + var ret GetJobJobSettingsSettingsGitSourceJobSource return ret - }).(GetJobJobSettingsSettingsNewClusterAutoscaleOutput) + }).(GetJobJobSettingsSettingsGitSourceJobSourceOutput) } -func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAutoscale) *int { +func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) DirtyState() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) *string { if v == nil { return nil } - return v.MaxWorkers - }).(pulumi.IntPtrOutput) + return v.DirtyState + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAutoscale) *int { +func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ImportFromGitBranch() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) *string { if v == nil { return nil } - return v.MinWorkers - }).(pulumi.IntPtrOutput) + return &v.ImportFromGitBranch + }).(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 GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) JobConfigPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) *string { + if v == nil { + return nil + } + return &v.JobConfigPath + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsNewClusterAwsAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAwsAttributesInput` via: +type GetJobJobSettingsSettingsHealth struct { + Rules []GetJobJobSettingsSettingsHealthRule `pulumi:"rules"` +} + +// GetJobJobSettingsSettingsHealthInput is an input type that accepts GetJobJobSettingsSettingsHealthArgs and GetJobJobSettingsSettingsHealthOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthInput` via: // -// GetJobJobSettingsSettingsNewClusterAwsAttributesArgs{...} -type GetJobJobSettingsSettingsNewClusterAwsAttributesInput interface { +// GetJobJobSettingsSettingsHealthArgs{...} +type GetJobJobSettingsSettingsHealthInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput - ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesOutput + ToGetJobJobSettingsSettingsHealthOutput() GetJobJobSettingsSettingsHealthOutput + ToGetJobJobSettingsSettingsHealthOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthOutput } -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 GetJobJobSettingsSettingsHealthArgs struct { + Rules GetJobJobSettingsSettingsHealthRuleArrayInput `pulumi:"rules"` } -func (GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsHealthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsHealth)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthOutput() GetJobJobSettingsSettingsHealthOutput { + return i.ToGetJobJobSettingsSettingsHealthOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) +func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthOutput) } -func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { + return i.ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthOutput).ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput` via: +// GetJobJobSettingsSettingsHealthPtrInput is an input type that accepts GetJobJobSettingsSettingsHealthArgs, GetJobJobSettingsSettingsHealthPtr and GetJobJobSettingsSettingsHealthPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterAwsAttributesArgs{...} +// GetJobJobSettingsSettingsHealthArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput interface { +type GetJobJobSettingsSettingsHealthPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput - ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput + ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput + ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthPtrOutput } -type getJobJobSettingsSettingsNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsNewClusterAwsAttributesArgs +type getJobJobSettingsSettingsHealthPtrType GetJobJobSettingsSettingsHealthArgs -func GetJobJobSettingsSettingsNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput { - return (*getJobJobSettingsSettingsNewClusterAwsAttributesPtrType)(v) +func GetJobJobSettingsSettingsHealthPtr(v *GetJobJobSettingsSettingsHealthArgs) GetJobJobSettingsSettingsHealthPtrInput { + return (*getJobJobSettingsSettingsHealthPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsHealthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsHealth)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsHealthPtrType) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { + return i.ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) +func (i *getJobJobSettingsSettingsHealthPtrType) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthPtrOutput) } -type GetJobJobSettingsSettingsNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsHealthOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsHealthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsHealth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { +func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthOutput() GetJobJobSettingsSettingsHealthOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { +func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { + return o.ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterAwsAttributes) *GetJobJobSettingsSettingsNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsHealth) *GetJobJobSettingsSettingsHealth { 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) -} - -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsHealthPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsHealthOutput) Rules() GetJobJobSettingsSettingsHealthRuleArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsHealth) []GetJobJobSettingsSettingsHealthRule { return v.Rules }).(GetJobJobSettingsSettingsHealthRuleArrayOutput) } -type GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsHealthPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsHealthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsHealth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { +func (o GetJobJobSettingsSettingsHealthPtrOutput) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { +func (o GetJobJobSettingsSettingsHealthPtrOutput) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) GetJobJobSettingsSettingsNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsHealthPtrOutput) Elem() GetJobJobSettingsSettingsHealthOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsHealth) GetJobJobSettingsSettingsHealth { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterAwsAttributes + var ret GetJobJobSettingsSettingsHealth 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) -} - -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 GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.InstanceProfileArn - }).(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) + }).(GetJobJobSettingsSettingsHealthOutput) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { +func (o GetJobJobSettingsSettingsHealthPtrOutput) Rules() GetJobJobSettingsSettingsHealthRuleArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsHealth) []GetJobJobSettingsSettingsHealthRule { if v == nil { return nil } - return v.ZoneId - }).(pulumi.StringPtrOutput) -} - -type GetJobJobSettingsSettingsNewClusterAzureAttributes struct { - Availability *string `pulumi:"availability"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` + return v.Rules + }).(GetJobJobSettingsSettingsHealthRuleArrayOutput) } -// GetJobJobSettingsSettingsNewClusterAzureAttributesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAzureAttributesArgs and GetJobJobSettingsSettingsNewClusterAzureAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAzureAttributesInput` via: -// -// GetJobJobSettingsSettingsNewClusterAzureAttributesArgs{...} -type GetJobJobSettingsSettingsNewClusterAzureAttributesInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput - ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesOutput +type GetJobJobSettingsSettingsHealthRule struct { + Metric *string `pulumi:"metric"` + Op *string `pulumi:"op"` + Value *int `pulumi:"value"` } -type GetJobJobSettingsSettingsNewClusterAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` -} +// 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 -func (GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() + ToGetJobJobSettingsSettingsHealthRuleOutput() GetJobJobSettingsSettingsHealthRuleOutput + ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthRuleOutput } -func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsHealthRuleArgs struct { + Metric pulumi.StringPtrInput `pulumi:"metric"` + Op pulumi.StringPtrInput `pulumi:"op"` + Value pulumi.IntPtrInput `pulumi:"value"` } -func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) +func (GetJobJobSettingsSettingsHealthRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsHealthRule)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsHealthRuleArgs) ToGetJobJobSettingsSettingsHealthRuleOutput() GetJobJobSettingsSettingsHealthRuleOutput { + return i.ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsHealthRuleArgs) ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthRuleOutput) } -// GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput` via: -// -// GetJobJobSettingsSettingsNewClusterAzureAttributesArgs{...} -// -// or: +// GetJobJobSettingsSettingsHealthRuleArrayInput is an input type that accepts GetJobJobSettingsSettingsHealthRuleArray and GetJobJobSettingsSettingsHealthRuleArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthRuleArrayInput` via: // -// nil -type GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput interface { +// GetJobJobSettingsSettingsHealthRuleArray{ GetJobJobSettingsSettingsHealthRuleArgs{...} } +type GetJobJobSettingsSettingsHealthRuleArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput - ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput + ToGetJobJobSettingsSettingsHealthRuleArrayOutput() GetJobJobSettingsSettingsHealthRuleArrayOutput + ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthRuleArrayOutput } -type getJobJobSettingsSettingsNewClusterAzureAttributesPtrType GetJobJobSettingsSettingsNewClusterAzureAttributesArgs - -func GetJobJobSettingsSettingsNewClusterAzureAttributesPtr(v *GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput { - return (*getJobJobSettingsSettingsNewClusterAzureAttributesPtrType)(v) -} +type GetJobJobSettingsSettingsHealthRuleArray []GetJobJobSettingsSettingsHealthRuleInput -func (*getJobJobSettingsSettingsNewClusterAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsHealthRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsHealthRule)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsHealthRuleArray) ToGetJobJobSettingsSettingsHealthRuleArrayOutput() GetJobJobSettingsSettingsHealthRuleArrayOutput { + return i.ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) +func (i GetJobJobSettingsSettingsHealthRuleArray) ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthRuleArrayOutput) } -type GetJobJobSettingsSettingsNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsHealthRuleOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsHealthRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsHealthRule)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { +func (o GetJobJobSettingsSettingsHealthRuleOutput) ToGetJobJobSettingsSettingsHealthRuleOutput() GetJobJobSettingsSettingsHealthRuleOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { +func (o GetJobJobSettingsSettingsHealthRuleOutput) ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterAzureAttributes) *GetJobJobSettingsSettingsNewClusterAzureAttributes { - return &v - }).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsHealthRuleOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsHealthRule) *string { return v.Metric }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsHealthRuleOutput) Op() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsHealthRule) *string { return v.Op }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +func (o GetJobJobSettingsSettingsHealthRuleOutput) Value() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsHealthRule) *int { return v.Value }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsHealthRuleArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsHealthRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsHealthRule)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { +func (o GetJobJobSettingsSettingsHealthRuleArrayOutput) ToGetJobJobSettingsSettingsHealthRuleArrayOutput() GetJobJobSettingsSettingsHealthRuleArrayOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { +func (o GetJobJobSettingsSettingsHealthRuleArrayOutput) ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleArrayOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAzureAttributes) GetJobJobSettingsSettingsNewClusterAzureAttributes { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsNewClusterAzureAttributes - return ret - }).(GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAzureAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) -} - -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 GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAzureAttributes) *float64 { - if v == nil { - return nil - } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) +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) } -type GetJobJobSettingsSettingsNewClusterClusterLogConf struct { - Dbfs *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs `pulumi:"dbfs"` - S3 *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 `pulumi:"s3"` +type GetJobJobSettingsSettingsJobCluster struct { + JobClusterKey *string `pulumi:"jobClusterKey"` + NewCluster *GetJobJobSettingsSettingsJobClusterNewCluster `pulumi:"newCluster"` } -// GetJobJobSettingsSettingsNewClusterClusterLogConfInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfArgs and GetJobJobSettingsSettingsNewClusterClusterLogConfOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfInput` via: +// GetJobJobSettingsSettingsJobClusterInput is an input type that accepts GetJobJobSettingsSettingsJobClusterArgs and GetJobJobSettingsSettingsJobClusterOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterInput` via: // -// GetJobJobSettingsSettingsNewClusterClusterLogConfArgs{...} -type GetJobJobSettingsSettingsNewClusterClusterLogConfInput interface { +// GetJobJobSettingsSettingsJobClusterArgs{...} +type GetJobJobSettingsSettingsJobClusterInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfOutput - ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfOutput -} - -type GetJobJobSettingsSettingsNewClusterClusterLogConfArgs struct { - Dbfs GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` -} - -func (GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() + ToGetJobJobSettingsSettingsJobClusterOutput() GetJobJobSettingsSettingsJobClusterOutput + ToGetJobJobSettingsSettingsJobClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterOutput } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsJobClusterArgs struct { + JobClusterKey pulumi.StringPtrInput `pulumi:"jobClusterKey"` + NewCluster GetJobJobSettingsSettingsJobClusterNewClusterPtrInput `pulumi:"newCluster"` } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) +func (GetJobJobSettingsSettingsJobClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobCluster)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterArgs) ToGetJobJobSettingsSettingsJobClusterOutput() GetJobJobSettingsSettingsJobClusterOutput { + return i.ToGetJobJobSettingsSettingsJobClusterOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterArgs) ToGetJobJobSettingsSettingsJobClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterOutput) } -// GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput` via: -// -// GetJobJobSettingsSettingsNewClusterClusterLogConfArgs{...} -// -// or: +// GetJobJobSettingsSettingsJobClusterArrayInput is an input type that accepts GetJobJobSettingsSettingsJobClusterArray and GetJobJobSettingsSettingsJobClusterArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterArrayInput` via: // -// nil -type GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput interface { +// GetJobJobSettingsSettingsJobClusterArray{ GetJobJobSettingsSettingsJobClusterArgs{...} } +type GetJobJobSettingsSettingsJobClusterArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput - ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput + ToGetJobJobSettingsSettingsJobClusterArrayOutput() GetJobJobSettingsSettingsJobClusterArrayOutput + ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterArrayOutput } -type getJobJobSettingsSettingsNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsNewClusterClusterLogConfArgs - -func GetJobJobSettingsSettingsNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput { - return (*getJobJobSettingsSettingsNewClusterClusterLogConfPtrType)(v) -} +type GetJobJobSettingsSettingsJobClusterArray []GetJobJobSettingsSettingsJobClusterInput -func (*getJobJobSettingsSettingsNewClusterClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobCluster)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterArray) ToGetJobJobSettingsSettingsJobClusterArrayOutput() GetJobJobSettingsSettingsJobClusterArrayOutput { + return i.ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) +func (i GetJobJobSettingsSettingsJobClusterArray) ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterArrayOutput) } -type GetJobJobSettingsSettingsNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobCluster)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { +func (o GetJobJobSettingsSettingsJobClusterOutput) ToGetJobJobSettingsSettingsJobClusterOutput() GetJobJobSettingsSettingsJobClusterOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { +func (o GetJobJobSettingsSettingsJobClusterOutput) ToGetJobJobSettingsSettingsJobClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConf { - return &v - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) Dbfs() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterOutput) JobClusterKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobCluster) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { - return v.S3 - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) +func (o GetJobJobSettingsSettingsJobClusterOutput) NewCluster() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobCluster) *GetJobJobSettingsSettingsJobClusterNewCluster { + return v.NewCluster + }).(GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) } -type GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobCluster)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterArrayOutput) ToGetJobJobSettingsSettingsJobClusterArrayOutput() GetJobJobSettingsSettingsJobClusterArrayOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterArrayOutput) ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterArrayOutput { return o } -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 GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) Dbfs() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { - if v == nil { - return nil - } - return v.Dbfs - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) S3() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { - if v == nil { - return nil - } - return v.S3 - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) +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) } -type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs struct { - Destination string `pulumi:"destination"` +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]interface{} `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]interface{} `pulumi:"sparkConf"` + SparkEnvVars map[string]interface{} `pulumi:"sparkEnvVars"` + SparkVersion string `pulumi:"sparkVersion"` + SshPublicKeys []string `pulumi:"sshPublicKeys"` + WorkloadType *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType `pulumi:"workloadType"` } -// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterArgs and GetJobJobSettingsSettingsJobClusterNewClusterOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInput` via: // -// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs{...} -type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput - ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterOutput() GetJobJobSettingsSettingsJobClusterNewClusterOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterOutput } -type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +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.MapInput `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.MapInput `pulumi:"sparkConf"` + SparkEnvVars pulumi.MapInput `pulumi:"sparkEnvVars"` + SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` + SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` + WorkloadType GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` } -func (GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewCluster)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterOutput() GetJobJobSettingsSettingsJobClusterNewClusterOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterOutput) } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterArgs, GetJobJobSettingsSettingsJobClusterNewClusterPtr and GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput - ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput } -type getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs +type getJobJobSettingsSettingsJobClusterNewClusterPtrType GetJobJobSettingsSettingsJobClusterNewClusterArgs -func GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput { - return (*getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterArgs) GetJobJobSettingsSettingsJobClusterNewClusterPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewCluster)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) } -type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewCluster)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterOutput() GetJobJobSettingsSettingsJobClusterNewClusterOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewCluster { return &v - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) -} - -type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return o + }).(GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs - return ret - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) Autoscale() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { + return v.Autoscale + }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) } -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 GetJobJobSettingsSettingsJobClusterNewClusterOutput) AwsAttributes() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { + return v.AwsAttributes + }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) } -// GetJobJobSettingsSettingsNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfS3Input` via: -// -// GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args{...} -type GetJobJobSettingsSettingsNewClusterClusterLogConfS3Input interface { - pulumi.Input - - ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output - ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) AzureAttributes() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { + return v.AzureAttributes + }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) } -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 (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) } -func (GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterLogConf() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf { + return v.ClusterLogConf + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterMountInfos() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) []GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo { + return v.ClusterMountInfos + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) CustomTags() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) map[string]interface{} { return v.CustomTags }).(pulumi.MapOutput) } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput` via: -// -// GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput - ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DockerImage() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage { + return v.DockerImage + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) } -type getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DriverInstancePoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) +} -func GetJobJobSettingsSettingsNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput { - return (*getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType)(v) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DriverNodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) } -func (*getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) EnableElasticDisk() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) } -func (i *getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolOutput) } -func (i *getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { + return v.GcpAttributes + }).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) } -type GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) InitScripts() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) []GetJobJobSettingsSettingsJobClusterNewClusterInitScript { + return v.InitScripts + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) NodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) NumWorkers() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { - return &v - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SparkConf() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) map[string]interface{} { return v.SparkConf }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SparkEnvVars() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) map[string]interface{} { return v.SparkEnvVars }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SparkVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { + return v.WorkloadType + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) } -type GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewCluster)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Elem() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) GetJobJobSettingsSettingsJobClusterNewCluster { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterClusterLogConfS3 + var ret GetJobJobSettingsSettingsJobClusterNewCluster return ret - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) + }).(GetJobJobSettingsSettingsJobClusterNewClusterOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *bool { if v == nil { return nil } - return v.CannedAcl - }).(pulumi.StringPtrOutput) + return v.ApplyPolicyDefaultValues + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) Autoscale() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.Autoscale + }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *bool { +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) AutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *int { if v == nil { return nil } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) + return v.AutoterminationMinutes + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) AwsAttributes() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { if v == nil { return nil } - return v.EncryptionType - }).(pulumi.StringPtrOutput) + return v.AwsAttributes + }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) AzureAttributes() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { if v == nil { return nil } - return v.Endpoint - }).(pulumi.StringPtrOutput) + return v.AzureAttributes + }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { if v == nil { return nil } - return v.KmsKey + return v.ClusterId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ClusterLogConf() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf { if v == nil { return nil } - return v.Region - }).(pulumi.StringPtrOutput) -} - -type GetJobJobSettingsSettingsNewClusterClusterMountInfo struct { - LocalMountDirPath string `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` -} - -// 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 -} - -type GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs struct { - LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` -} - -func (GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) -} - -// 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 - - ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput - ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput -} - -type GetJobJobSettingsSettingsNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsNewClusterClusterMountInfoInput - -func (GetJobJobSettingsSettingsNewClusterClusterMountInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() + return v.ClusterLogConf + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ClusterMountInfos() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) []GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo { + if v == nil { + return nil + } + return v.ClusterMountInfos + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) } -func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return v.ClusterName + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) CustomTags() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) map[string]interface{} { + if v == nil { + return nil + } + return v.CustomTags + }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return v.DataSecurityMode + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) DockerImage() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage { + if v == nil { + return nil + } + return v.DockerImage + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return &v.DriverInstancePoolId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfo) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo { - return v.NetworkFilesystemInfo - }).(GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return &v.DriverNodeTypeId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *bool { + if v == nil { + return nil + } + return &v.EnableElasticDisk + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *bool { + if v == nil { + return nil + } + return &v.EnableLocalDiskEncryption + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) GcpAttributes() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { + if v == nil { + return nil + } + return v.GcpAttributes + }).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return v.IdempotencyToken + }).(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) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) InitScripts() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) []GetJobJobSettingsSettingsJobClusterNewClusterInitScript { + if v == nil { + return nil + } + return v.InitScripts + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) } -type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo struct { - MountOptions *string `pulumi:"mountOptions"` - ServerAddress string `pulumi:"serverAddress"` +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return v.InstancePoolId + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs and GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: -// -// GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} -type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput - ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return &v.NodeTypeId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { - MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` - ServerAddress pulumi.StringInput `pulumi:"serverAddress"` +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *int { + if v == nil { + return nil + } + return &v.NumWorkers + }).(pulumi.IntPtrOutput) } -func (GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return v.PolicyId + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return v.RuntimeEngine + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return v.SingleUserName + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) SparkConf() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) map[string]interface{} { + if v == nil { + return nil + } + return v.SparkConf + }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) SparkEnvVars() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) map[string]interface{} { + if v == nil { + return nil + } + return v.SparkEnvVars + }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *string { + if v == nil { + return nil + } + return &v.SparkVersion + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo) *string { - return v.MountOptions - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) []string { + if v == nil { + return nil + } + return v.SshPublicKeys + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo) string { - return v.ServerAddress - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterPtrOutput) WorkloadType() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { + if v == nil { + return nil + } + return v.WorkloadType + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) } -type GetJobJobSettingsSettingsNewClusterDockerImage struct { - BasicAuth *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` - Url string `pulumi:"url"` +type GetJobJobSettingsSettingsJobClusterNewClusterAutoscale struct { + MaxWorkers *int `pulumi:"maxWorkers"` + MinWorkers *int `pulumi:"minWorkers"` } -// GetJobJobSettingsSettingsNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageArgs and GetJobJobSettingsSettingsNewClusterDockerImageOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImageInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs and GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleInput` via: // -// GetJobJobSettingsSettingsNewClusterDockerImageArgs{...} -type GetJobJobSettingsSettingsNewClusterDockerImageInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterDockerImageOutput() GetJobJobSettingsSettingsNewClusterDockerImageOutput - ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImageOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput } -type GetJobJobSettingsSettingsNewClusterDockerImageArgs struct { - BasicAuth GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - Url pulumi.StringInput `pulumi:"url"` +type GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs struct { + MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` + MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` } - -func (GetJobJobSettingsSettingsNewClusterDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() + +func (GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageOutput() GetJobJobSettingsSettingsNewClusterDockerImageOutput { - return i.ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) } -func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageArgs, GetJobJobSettingsSettingsNewClusterDockerImagePtr and GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImagePtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs, GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtr and GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput` via: // -// GetJobJobSettingsSettingsNewClusterDockerImageArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterDockerImagePtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput - ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput } -type getJobJobSettingsSettingsNewClusterDockerImagePtrType GetJobJobSettingsSettingsNewClusterDockerImageArgs +type getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs -func GetJobJobSettingsSettingsNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsNewClusterDockerImageArgs) GetJobJobSettingsSettingsNewClusterDockerImagePtrInput { - return (*getJobJobSettingsSettingsNewClusterDockerImagePtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterDockerImagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) } -type GetJobJobSettingsSettingsNewClusterDockerImageOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageOutput() GetJobJobSettingsSettingsNewClusterDockerImageOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterDockerImage) *GetJobJobSettingsSettingsNewClusterDockerImage { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { return &v - }).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) BasicAuth() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImage) *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { - return v.BasicAuth - }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterDockerImageOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImage) GetJobJobSettingsSettingsNewClusterDockerImage { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterDockerImage + var ret GetJobJobSettingsSettingsJobClusterNewClusterAutoscale return ret - }).(GetJobJobSettingsSettingsNewClusterDockerImageOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) BasicAuth() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImage) *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { if v == nil { return nil } - return v.BasicAuth - }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) + return v.MaxWorkers + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImage) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { if v == nil { return nil } - return &v.Url - }).(pulumi.StringPtrOutput) + return v.MinWorkers + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +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"` } -// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesInput` via: // -// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs{...} -type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput - ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput } -type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` +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 (GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { - return i.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) } -func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs, GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtr and GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput - ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput } -type getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs +type getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs -func GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput { - return (*getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) } -type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { return &v - }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) +} -func (GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { +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 GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth + var ret GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes return ret - }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { if v == nil { return nil } - return &v.Password + return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { if v == nil { return nil } - return &v.Username + 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) } -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 GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -// GetJobJobSettingsSettingsNewClusterGcpAttributesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterGcpAttributesArgs and GetJobJobSettingsSettingsNewClusterGcpAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterGcpAttributesInput` via: +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.InstanceProfileArn + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes struct { + Availability *string `pulumi:"availability"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +} + +// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs and GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesInput` via: // -// GetJobJobSettingsSettingsNewClusterGcpAttributesArgs{...} -type GetJobJobSettingsSettingsNewClusterGcpAttributesInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput - ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput } -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"` +type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` } -func (GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { - return i.ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) } -func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterGcpAttributesArgs, GetJobJobSettingsSettingsNewClusterGcpAttributesPtr and GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterGcpAttributesArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput - ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput } -type getJobJobSettingsSettingsNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsNewClusterGcpAttributesArgs +type getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs -func GetJobJobSettingsSettingsNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput { - return (*getJobJobSettingsSettingsNewClusterGcpAttributesPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) } -type GetJobJobSettingsSettingsNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterGcpAttributes) *GetJobJobSettingsSettingsNewClusterGcpAttributes { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { return &v - }).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *float64 { + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) } -type GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) GetJobJobSettingsSettingsNewClusterGcpAttributes { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterGcpAttributes - return ret - }).(GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { - if v == nil { - return nil - } - 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) + var ret GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes + return ret + }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *string { if v == nil { return nil } - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) + return v.Availability + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *bool { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *int { if v == nil { return nil } - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *float64 { if v == nil { return nil } - return v.ZoneId - }).(pulumi.StringPtrOutput) + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) } -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"` +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf struct { + Dbfs *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs `pulumi:"dbfs"` + S3 *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 `pulumi:"s3"` } -// GetJobJobSettingsSettingsNewClusterInitScriptInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptArgs and GetJobJobSettingsSettingsNewClusterInitScriptOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptArgs{...} -type GetJobJobSettingsSettingsNewClusterInitScriptInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptOutput() GetJobJobSettingsSettingsNewClusterInitScriptOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput } -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"` +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs struct { + Dbfs GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` + S3 GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` } -func (GetJobJobSettingsSettingsNewClusterInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptOutput() GetJobJobSettingsSettingsNewClusterInitScriptOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) } -// GetJobJobSettingsSettingsNewClusterInitScriptArrayInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptArray and GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptArrayInput` via: +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptArray{ GetJobJobSettingsSettingsNewClusterInitScriptArgs{...} } -type GetJobJobSettingsSettingsNewClusterInitScriptArrayInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput } -type GetJobJobSettingsSettingsNewClusterInitScriptArray []GetJobJobSettingsSettingsNewClusterInitScriptInput +type getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs -func (GetJobJobSettingsSettingsNewClusterInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() +func GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType)(v) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptArray) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterInitScriptArray) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsNewClusterInitScriptOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsNewClusterInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() +func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptOutput() GetJobJobSettingsSettingsNewClusterInitScriptOutput { - return o +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Abfss() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptAbfss { - return v.Abfss - }).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Dbfs() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) File() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptFile { - return v.File - }).(GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf { + return &v + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Gcs() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptGcs { - return v.Gcs - }).(GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) Dbfs() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { + return v.Dbfs + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) S3() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptS3 { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { return v.S3 - }).(GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Volumes() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptVolumes { - return v.Volumes - }).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) -} +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Workspace() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace { - return v.Workspace - }).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() } -type GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf + return ret + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) } -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 GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) Dbfs() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { + if v == nil { + return nil + } + return v.Dbfs + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptAbfss struct { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) S3() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { + if v == nil { + return nil + } + return v.S3 + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) +} + +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs struct { Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsNewClusterInitScriptAbfssInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs and GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptAbfssInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs{...} -type GetJobJobSettingsSettingsNewClusterInitScriptAbfssInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput } -type GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs struct { +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs struct { Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs, GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtr and GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput } -type getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs +type getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs -func GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput { - return (*getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsNewClusterInitScriptAbfss { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { return &v - }).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptAbfss) GetJobJobSettingsSettingsNewClusterInitScriptAbfss { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterInitScriptAbfss + var ret GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs return ret - }).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptAbfss) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) *string { if v == nil { return nil } @@ -72159,11916 +72586,11377 @@ func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) Destination }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptDbfs struct { - Destination string `pulumi:"destination"` +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"` } -// GetJobJobSettingsSettingsNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptDbfsInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Input` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs{...} -type GetJobJobSettingsSettingsNewClusterInitScriptDbfsInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args{...} +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Input interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output } -type GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +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 (GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs, GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtr and GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput } -type getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs +type getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args -func GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput { - return (*getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsNewClusterInitScriptDbfs { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { return &v - }).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +} + +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 GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptDbfs) GetJobJobSettingsSettingsNewClusterInitScriptDbfs { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterInitScriptDbfs - return ret - }).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) + var ret GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 + return ret + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) +} + +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 GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) +} + +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 GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptDbfs) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return &v.Destination + return v.Region }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptFile struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo struct { + LocalMountDirPath string `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` } -// GetJobJobSettingsSettingsNewClusterInitScriptFileInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptFileArgs and GetJobJobSettingsSettingsNewClusterInitScriptFileOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptFileInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs and GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptFileArgs{...} -type GetJobJobSettingsSettingsNewClusterInitScriptFileInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFileOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput } -type GetJobJobSettingsSettingsNewClusterInitScriptFileArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs struct { + LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` } -func (GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +// 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 GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx) +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoInput + +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)(nil)).Elem() } -// GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput` via: -// -// GetJobJobSettingsSettingsNewClusterInitScriptFileArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput interface { - pulumi.Input +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) +} - ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) } -type getJobJobSettingsSettingsNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsNewClusterInitScriptFileArgs +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } -func GetJobJobSettingsSettingsNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput { - return (*getJobJobSettingsSettingsNewClusterInitScriptFilePtrType)(v) +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)(nil)).Elem() } -func (*getJobJobSettingsSettingsNewClusterInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { + return o } -func (i *getJobJobSettingsSettingsNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { + return o } -func (i *getJobJobSettingsSettingsNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo) string { + return v.LocalMountDirPath + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo { + return v.NetworkFilesystemInfo + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +} -func (GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo) *string { + return v.RemoteMountDirPath + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { +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 GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(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 GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptFile) *GetJobJobSettingsSettingsNewClusterInitScriptFile { - return &v - }).(GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo struct { + MountOptions *string `pulumi:"mountOptions"` + ServerAddress string `pulumi:"serverAddress"` } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptFile) string { return v.Destination }).(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 } -type GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { + MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` + ServerAddress pulumi.StringInput `pulumi:"serverAddress"` +} -func (GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return o +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +} + +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 GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptFile) GetJobJobSettingsSettingsNewClusterInitScriptFile { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsNewClusterInitScriptFile - return ret - }).(GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptFile) *string { - if v == nil { - return nil - } - return &v.Destination +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo) *string { + return v.MountOptions }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptGcs struct { - Destination string `pulumi:"destination"` +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo) string { + return v.ServerAddress + }).(pulumi.StringOutput) } -// GetJobJobSettingsSettingsNewClusterInitScriptGcsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs and GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptGcsInput` via: +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImage struct { + BasicAuth *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` + Url string `pulumi:"url"` +} + +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs and GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImageInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs{...} -type GetJobJobSettingsSettingsNewClusterInitScriptGcsInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput } -type GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs struct { + BasicAuth GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + Url pulumi.StringInput `pulumi:"url"` } -func (GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs, GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtr and GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput } -type getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs +type getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs -func GetJobJobSettingsSettingsNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput { - return (*getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptGcs) *GetJobJobSettingsSettingsNewClusterInitScriptGcs { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage { return &v - }).(GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) BasicAuth() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { + return v.BasicAuth + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptGcs) GetJobJobSettingsSettingsNewClusterInitScriptGcs { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) GetJobJobSettingsSettingsJobClusterNewClusterDockerImage { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterInitScriptGcs + var ret GetJobJobSettingsSettingsJobClusterNewClusterDockerImage return ret - }).(GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptGcs) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) BasicAuth() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { if v == nil { return nil } - return &v.Destination + return v.BasicAuth + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *string { + if v == nil { + return nil + } + return &v.Url }).(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"` +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` } -// GetJobJobSettingsSettingsNewClusterInitScriptS3Input is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptS3Args and GetJobJobSettingsSettingsNewClusterInitScriptS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptS3Input` via: +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptS3Args{...} -type GetJobJobSettingsSettingsNewClusterInitScriptS3Input interface { +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptS3Output() GetJobJobSettingsSettingsNewClusterInitScriptS3Output - ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3Output + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput } -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"` +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` } -func (GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3Output() GetJobJobSettingsSettingsNewClusterInitScriptS3Output { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptS3Output) +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptS3Args, GetJobJobSettingsSettingsNewClusterInitScriptS3Ptr and GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs, GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtr and GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptS3Args{...} +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput } -type getJobJobSettingsSettingsNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsNewClusterInitScriptS3Args +type getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs -func GetJobJobSettingsSettingsNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsNewClusterInitScriptS3Args) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput { - return (*getJobJobSettingsSettingsNewClusterInitScriptS3PtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptS3Output struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3Output() GetJobJobSettingsSettingsNewClusterInitScriptS3Output { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3Output { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptS3) *GetJobJobSettingsSettingsNewClusterInitScriptS3 { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { return &v - }).(GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) -} - -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 GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return o + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) } -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 GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) } -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 GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) } - -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) + +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() } -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 GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return o } -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 GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { - if v == nil { - return nil +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { + if v != nil { + return *v } - return v.Endpoint - }).(pulumi.StringPtrOutput) + var ret GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth + return ret + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) *string { if v == nil { return nil } - return v.KmsKey + return &v.Password }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) *string { if v == nil { return nil } - return v.Region + return &v.Username }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptVolumes struct { - Destination string `pulumi:"destination"` +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"` } -// GetJobJobSettingsSettingsNewClusterInitScriptVolumesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs and GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptVolumesInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs and GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs{...} -type GetJobJobSettingsSettingsNewClusterInitScriptVolumesInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput } -type GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +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 (GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs, GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtr and GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs, GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtr and GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput } -type getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs +type getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs -func GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput { - return (*getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsNewClusterInitScriptVolumes { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { return &v - }).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) +} -func (GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { + return v.GoogleServiceAccount + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { +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) +} + +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 GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptVolumes) GetJobJobSettingsSettingsNewClusterInitScriptVolumes { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterInitScriptVolumes + var ret GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes return ret - }).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptVolumes) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { if v == nil { return nil } - return &v.Destination + return v.Availability }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptWorkspace struct { - Destination string `pulumi:"destination"` +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *int { + if v == nil { + return nil + } + return v.BootDiskSize + }).(pulumi.IntPtrOutput) } -// GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs and GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceInput` via: -// -// GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs{...} -type GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.GoogleServiceAccount + }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *int { + if v == nil { + return nil + } + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs struct { - Destination pulumi.StringInput `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) } -func (GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) +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 (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) +// 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 GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(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 GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() } -// GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs, GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtr and GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput` via: -// -// GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput interface { - pulumi.Input +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(context.Background()) +} - ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) } -type getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray{ GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs{...} } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayInput interface { + pulumi.Input -func GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput { - return (*getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType)(v) + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput } -func (*getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray []GetJobJobSettingsSettingsJobClusterNewClusterInitScriptInput + +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Abfss() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss { + return v.Abfss + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace { - return &v - }).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Dbfs() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs { + return v.Dbfs + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) File() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile { + return v.File + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Gcs() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs { + return v.Gcs + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) +} -func (GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) S3() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 { + return v.S3 + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Volumes() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes { + return v.Volumes + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Workspace() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace { + return v.Workspace + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) +} + +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { 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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { + 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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsJobClusterNewClusterInitScript { + return vs[0].([]GetJobJobSettingsSettingsJobClusterNewClusterInitScript)[vs[1].(int)] + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) } -type GetJobJobSettingsSettingsNewClusterWorkloadType struct { - Clients GetJobJobSettingsSettingsNewClusterWorkloadTypeClients `pulumi:"clients"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsNewClusterWorkloadTypeInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs and GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypeInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssInput` via: // -// GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs{...} -type GetJobJobSettingsSettingsNewClusterWorkloadTypeInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput - ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput } -type GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs struct { - Clients GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput `pulumi:"clients"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadType)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { - return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs, GetJobJobSettingsSettingsNewClusterWorkloadTypePtr and GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput - ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput } -type getJobJobSettingsSettingsNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs +type getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs -func GetJobJobSettingsSettingsNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput { - return (*getJobJobSettingsSettingsNewClusterWorkloadTypePtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterWorkloadTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadType)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) } -type GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadType)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterWorkloadType) *GetJobJobSettingsSettingsNewClusterWorkloadType { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss { return &v - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterWorkloadType) GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { - return v.Clients - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadType)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadType) GetJobJobSettingsSettingsNewClusterWorkloadType { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterWorkloadType + var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss return ret - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadType) *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) *string { if v == nil { return nil } - return &v.Clients - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterWorkloadTypeClients struct { - Jobs *bool `pulumi:"jobs"` - Notebooks *bool `pulumi:"notebooks"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs and GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsInput` via: // -// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs{...} -type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput - ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput } -type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs struct { - Jobs pulumi.BoolPtrInput `pulumi:"jobs"` - Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { - return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs, GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtr and GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput - ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput } -type getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs +type getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs -func GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput { - return (*getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) } -type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs { return &v - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterWorkloadTypeClients + var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs return ret - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { - if v == nil { - return nil - } - return v.Jobs - }).(pulumi.BoolPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) *string { if v == nil { return nil } - return v.Notebooks - }).(pulumi.BoolPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNotebookTask struct { - BaseParameters map[string]interface{} `pulumi:"baseParameters"` - NotebookPath string `pulumi:"notebookPath"` - Source *string `pulumi:"source"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsNotebookTaskInput is an input type that accepts GetJobJobSettingsSettingsNotebookTaskArgs and GetJobJobSettingsSettingsNotebookTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNotebookTaskInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileInput` via: // -// GetJobJobSettingsSettingsNotebookTaskArgs{...} -type GetJobJobSettingsSettingsNotebookTaskInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNotebookTaskOutput() GetJobJobSettingsSettingsNotebookTaskOutput - ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsNotebookTaskOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput } -type GetJobJobSettingsSettingsNotebookTaskArgs struct { - BaseParameters pulumi.MapInput `pulumi:"baseParameters"` - NotebookPath pulumi.StringInput `pulumi:"notebookPath"` - Source pulumi.StringPtrInput `pulumi:"source"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsNotebookTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskOutput() GetJobJobSettingsSettingsNotebookTaskOutput { - return i.ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotebookTaskOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) } -func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotebookTaskOutput).ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNotebookTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsNotebookTaskArgs, GetJobJobSettingsSettingsNotebookTaskPtr and GetJobJobSettingsSettingsNotebookTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNotebookTaskPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput` via: // -// GetJobJobSettingsSettingsNotebookTaskArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNotebookTaskPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput - ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput } -type getJobJobSettingsSettingsNotebookTaskPtrType GetJobJobSettingsSettingsNotebookTaskArgs +type getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs -func GetJobJobSettingsSettingsNotebookTaskPtr(v *GetJobJobSettingsSettingsNotebookTaskArgs) GetJobJobSettingsSettingsNotebookTaskPtrInput { - return (*getJobJobSettingsSettingsNotebookTaskPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType)(v) } -func (*getJobJobSettingsSettingsNotebookTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNotebookTaskPtrType) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNotebookTaskPtrType) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) } -type GetJobJobSettingsSettingsNotebookTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNotebookTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskOutput() GetJobJobSettingsSettingsNotebookTaskOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { return o } -func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { return o } -func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNotebookTask) *GetJobJobSettingsSettingsNotebookTask { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile { return &v - }).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsNotebookTaskOutput) BaseParameters() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) map[string]interface{} { return v.BaseParameters }).(pulumi.MapOutput) -} - -func (o GetJobJobSettingsSettingsNotebookTaskOutput) NotebookPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) } -func (o GetJobJobSettingsSettingsNotebookTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNotebookTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNotebookTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) Elem() GetJobJobSettingsSettingsNotebookTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) GetJobJobSettingsSettingsNotebookTask { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNotebookTask + var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile return ret - }).(GetJobJobSettingsSettingsNotebookTaskOutput) -} - -func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) BaseParameters() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) map[string]interface{} { - if v == nil { - return nil - } - return v.BaseParameters - }).(pulumi.MapOutput) -} - -func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) NotebookPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) *string { - if v == nil { - return nil - } - return &v.NotebookPath - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) } -func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) *string { if v == nil { return nil } - return v.Source + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNotificationSettings struct { - NoAlertForCanceledRuns *bool `pulumi:"noAlertForCanceledRuns"` - NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsNotificationSettingsInput is an input type that accepts GetJobJobSettingsSettingsNotificationSettingsArgs and GetJobJobSettingsSettingsNotificationSettingsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNotificationSettingsInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsInput` via: // -// GetJobJobSettingsSettingsNotificationSettingsArgs{...} -type GetJobJobSettingsSettingsNotificationSettingsInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNotificationSettingsOutput() GetJobJobSettingsSettingsNotificationSettingsOutput - ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsNotificationSettingsOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput } -type GetJobJobSettingsSettingsNotificationSettingsArgs struct { - NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` - NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsNotificationSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsOutput() GetJobJobSettingsSettingsNotificationSettingsOutput { - return i.ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotificationSettingsOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) } -func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotificationSettingsOutput).ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNotificationSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsNotificationSettingsArgs, GetJobJobSettingsSettingsNotificationSettingsPtr and GetJobJobSettingsSettingsNotificationSettingsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNotificationSettingsPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput` via: // -// GetJobJobSettingsSettingsNotificationSettingsArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNotificationSettingsPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput - ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput } -type getJobJobSettingsSettingsNotificationSettingsPtrType GetJobJobSettingsSettingsNotificationSettingsArgs +type getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs -func GetJobJobSettingsSettingsNotificationSettingsPtr(v *GetJobJobSettingsSettingsNotificationSettingsArgs) GetJobJobSettingsSettingsNotificationSettingsPtrInput { - return (*getJobJobSettingsSettingsNotificationSettingsPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType)(v) } -func (*getJobJobSettingsSettingsNotificationSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNotificationSettingsPtrType) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNotificationSettingsPtrType) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) } -type GetJobJobSettingsSettingsNotificationSettingsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNotificationSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsOutput() GetJobJobSettingsSettingsNotificationSettingsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { return o } -func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { return o } -func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return o.ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNotificationSettings) *GetJobJobSettingsSettingsNotificationSettings { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs { return &v - }).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) -} - -func (o GetJobJobSettingsSettingsNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNotificationSettings) *bool { return v.NoAlertForCanceledRuns }).(pulumi.BoolPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) } -func (o GetJobJobSettingsSettingsNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNotificationSettings) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNotificationSettingsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNotificationSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { return o } -func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { return o } -func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) Elem() GetJobJobSettingsSettingsNotificationSettingsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotificationSettings) GetJobJobSettingsSettingsNotificationSettings { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNotificationSettings + var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs return ret - }).(GetJobJobSettingsSettingsNotificationSettingsOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) } -func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotificationSettings) *bool { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) *string { if v == nil { return nil } - return v.NoAlertForCanceledRuns - }).(pulumi.BoolPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotificationSettings) *bool { - if v == nil { - return nil - } - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) +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"` +} + +// 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 +} + +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 (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx) +} + +// 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 +} + +type getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args + +func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType)(v) +} + +func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsParameter struct { - Default string `pulumi:"default"` - // the job name of Job if the resource was matched by id. - Name string `pulumi:"name"` +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) } -// 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 +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output struct{ *pulumi.OutputState } - ToGetJobJobSettingsSettingsParameterOutput() GetJobJobSettingsSettingsParameterOutput - ToGetJobJobSettingsSettingsParameterOutputWithContext(context.Context) GetJobJobSettingsSettingsParameterOutput +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() } -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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { + return o } -func (GetJobJobSettingsSettingsParameterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsParameter)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { + return o } -func (i GetJobJobSettingsSettingsParameterArgs) ToGetJobJobSettingsSettingsParameterOutput() GetJobJobSettingsSettingsParameterOutput { - return i.ToGetJobJobSettingsSettingsParameterOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsParameterArgs) ToGetJobJobSettingsSettingsParameterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsParameterOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 { + return &v + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) } -// 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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsParameterArrayOutput() GetJobJobSettingsSettingsParameterArrayOutput - ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsParameterArrayOutput +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsParameterArray []GetJobJobSettingsSettingsParameterInput +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +} -func (GetJobJobSettingsSettingsParameterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsParameter)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsParameterArray) ToGetJobJobSettingsSettingsParameterArrayOutput() GetJobJobSettingsSettingsParameterArrayOutput { - return i.ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsParameterArray) ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsParameterArrayOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsParameterOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsParameterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsParameter)(nil)).Elem() +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsParameterOutput) ToGetJobJobSettingsSettingsParameterOutput() GetJobJobSettingsSettingsParameterOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsParameterOutput) ToGetJobJobSettingsSettingsParameterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsParameterOutput) Default() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsParameter) string { return v.Default }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 + return ret + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) } -// 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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.CannedAcl + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsParameterArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsParameterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsParameter)(nil)).Elem() +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 GetJobJobSettingsSettingsParameterArrayOutput) ToGetJobJobSettingsSettingsParameterArrayOutput() GetJobJobSettingsSettingsParameterArrayOutput { - return o +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 GetJobJobSettingsSettingsParameterArrayOutput) ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterArrayOutput { - return o +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 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 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsPipelineTask struct { - FullRefresh *bool `pulumi:"fullRefresh"` - PipelineId string `pulumi:"pipelineId"` +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsPipelineTaskInput is an input type that accepts GetJobJobSettingsSettingsPipelineTaskArgs and GetJobJobSettingsSettingsPipelineTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsPipelineTaskInput` via: +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes struct { + Destination string `pulumi:"destination"` +} + +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesInput` via: // -// GetJobJobSettingsSettingsPipelineTaskArgs{...} -type GetJobJobSettingsSettingsPipelineTaskInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsPipelineTaskOutput() GetJobJobSettingsSettingsPipelineTaskOutput - ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsPipelineTaskOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput } -type GetJobJobSettingsSettingsPipelineTaskArgs struct { - FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` - PipelineId pulumi.StringInput `pulumi:"pipelineId"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsPipelineTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskOutput() GetJobJobSettingsSettingsPipelineTaskOutput { - return i.ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPipelineTaskOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) } -func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPipelineTaskOutput).ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsPipelineTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsPipelineTaskArgs, GetJobJobSettingsSettingsPipelineTaskPtr and GetJobJobSettingsSettingsPipelineTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsPipelineTaskPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput` via: // -// GetJobJobSettingsSettingsPipelineTaskArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsPipelineTaskPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput - ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput } -type getJobJobSettingsSettingsPipelineTaskPtrType GetJobJobSettingsSettingsPipelineTaskArgs +type getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs -func GetJobJobSettingsSettingsPipelineTaskPtr(v *GetJobJobSettingsSettingsPipelineTaskArgs) GetJobJobSettingsSettingsPipelineTaskPtrInput { - return (*getJobJobSettingsSettingsPipelineTaskPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType)(v) } -func (*getJobJobSettingsSettingsPipelineTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsPipelineTaskPtrType) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsPipelineTaskPtrType) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) } -type GetJobJobSettingsSettingsPipelineTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsPipelineTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskOutput() GetJobJobSettingsSettingsPipelineTaskOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { return o } -func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { return o } -func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsPipelineTask) *GetJobJobSettingsSettingsPipelineTask { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes { return &v - }).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) } -func (o GetJobJobSettingsSettingsPipelineTaskOutput) PipelineId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsPipelineTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsPipelineTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { return o } -func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { return o } -func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) Elem() GetJobJobSettingsSettingsPipelineTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPipelineTask) GetJobJobSettingsSettingsPipelineTask { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsPipelineTask + var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes return ret - }).(GetJobJobSettingsSettingsPipelineTaskOutput) -} - -func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPipelineTask) *bool { - if v == nil { - return nil - } - return v.FullRefresh - }).(pulumi.BoolPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) } -func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPipelineTask) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) *string { if v == nil { return nil } - return &v.PipelineId + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsPythonWheelTask struct { - EntryPoint *string `pulumi:"entryPoint"` - NamedParameters map[string]interface{} `pulumi:"namedParameters"` - PackageName *string `pulumi:"packageName"` - Parameters []string `pulumi:"parameters"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsPythonWheelTaskInput is an input type that accepts GetJobJobSettingsSettingsPythonWheelTaskArgs and GetJobJobSettingsSettingsPythonWheelTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsPythonWheelTaskInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceInput` via: // -// GetJobJobSettingsSettingsPythonWheelTaskArgs{...} -type GetJobJobSettingsSettingsPythonWheelTaskInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceInput interface { pulumi.Input - ToGetJobJobSettingsSettingsPythonWheelTaskOutput() GetJobJobSettingsSettingsPythonWheelTaskOutput - ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsPythonWheelTaskOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput } -type GetJobJobSettingsSettingsPythonWheelTaskArgs struct { - EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` - NamedParameters pulumi.MapInput `pulumi:"namedParameters"` - PackageName pulumi.StringPtrInput `pulumi:"packageName"` - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsPythonWheelTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() } -func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskOutput() GetJobJobSettingsSettingsPythonWheelTaskOutput { - return i.ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPythonWheelTaskOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) } -func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPythonWheelTaskOutput).ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsPythonWheelTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsPythonWheelTaskArgs, GetJobJobSettingsSettingsPythonWheelTaskPtr and GetJobJobSettingsSettingsPythonWheelTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsPythonWheelTaskPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput` via: // -// GetJobJobSettingsSettingsPythonWheelTaskArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsPythonWheelTaskPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput - ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput } -type getJobJobSettingsSettingsPythonWheelTaskPtrType GetJobJobSettingsSettingsPythonWheelTaskArgs +type getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs -func GetJobJobSettingsSettingsPythonWheelTaskPtr(v *GetJobJobSettingsSettingsPythonWheelTaskArgs) GetJobJobSettingsSettingsPythonWheelTaskPtrInput { - return (*getJobJobSettingsSettingsPythonWheelTaskPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType)(v) } -func (*getJobJobSettingsSettingsPythonWheelTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() } -func (i *getJobJobSettingsSettingsPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) } -type GetJobJobSettingsSettingsPythonWheelTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsPythonWheelTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskOutput() GetJobJobSettingsSettingsPythonWheelTaskOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { return o } -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { return o } -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsPythonWheelTask) *GetJobJobSettingsSettingsPythonWheelTask { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace { return &v - }).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) EntryPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) *string { return v.EntryPoint }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) NamedParameters() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) map[string]interface{} { return v.NamedParameters }).(pulumi.MapOutput) -} - -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) } -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { return o } -func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { return o } -func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) Elem() GetJobJobSettingsSettingsPythonWheelTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) GetJobJobSettingsSettingsPythonWheelTask { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace { if v != nil { return *v } - var ret GetJobJobSettingsSettingsPythonWheelTask + var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace 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.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) map[string]interface{} { - if v == nil { - return nil - } - return v.NamedParameters - }).(pulumi.MapOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) } -func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) *string { if v == nil { return nil } - return v.PackageName + return &v.Destination }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) -} - -type GetJobJobSettingsSettingsQueue struct { - Enabled bool `pulumi:"enabled"` +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType struct { + Clients GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients `pulumi:"clients"` } -// GetJobJobSettingsSettingsQueueInput is an input type that accepts GetJobJobSettingsSettingsQueueArgs and GetJobJobSettingsSettingsQueueOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsQueueInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs and GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeInput` via: // -// GetJobJobSettingsSettingsQueueArgs{...} -type GetJobJobSettingsSettingsQueueInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeInput interface { pulumi.Input - ToGetJobJobSettingsSettingsQueueOutput() GetJobJobSettingsSettingsQueueOutput - ToGetJobJobSettingsSettingsQueueOutputWithContext(context.Context) GetJobJobSettingsSettingsQueueOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput } -type GetJobJobSettingsSettingsQueueArgs struct { - Enabled pulumi.BoolInput `pulumi:"enabled"` +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs struct { + Clients GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsInput `pulumi:"clients"` } -func (GetJobJobSettingsSettingsQueueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsQueue)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() } -func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueueOutput() GetJobJobSettingsSettingsQueueOutput { - return i.ToGetJobJobSettingsSettingsQueueOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueueOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueueOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsQueueOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) } -func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { - return i.ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsQueueOutput).ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsQueuePtrInput is an input type that accepts GetJobJobSettingsSettingsQueueArgs, GetJobJobSettingsSettingsQueuePtr and GetJobJobSettingsSettingsQueuePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsQueuePtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs, GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtr and GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput` via: // -// GetJobJobSettingsSettingsQueueArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsQueuePtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput - ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsQueuePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput } -type getJobJobSettingsSettingsQueuePtrType GetJobJobSettingsSettingsQueueArgs +type getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs -func GetJobJobSettingsSettingsQueuePtr(v *GetJobJobSettingsSettingsQueueArgs) GetJobJobSettingsSettingsQueuePtrInput { - return (*getJobJobSettingsSettingsQueuePtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType)(v) } -func (*getJobJobSettingsSettingsQueuePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsQueue)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() } -func (i *getJobJobSettingsSettingsQueuePtrType) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { - return i.ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsQueuePtrType) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsQueuePtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) } -type GetJobJobSettingsSettingsQueueOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsQueueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsQueue)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueueOutput() GetJobJobSettingsSettingsQueueOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { return o } -func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueueOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueueOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { return o } -func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { - return o.ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsQueue) *GetJobJobSettingsSettingsQueue { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { return &v - }).(GetJobJobSettingsSettingsQueuePtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) } -func (o GetJobJobSettingsSettingsQueueOutput) Enabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsQueue) bool { return v.Enabled }).(pulumi.BoolOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { + return v.Clients + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) } -type GetJobJobSettingsSettingsQueuePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsQueuePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsQueue)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsQueuePtrOutput) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { return o } -func (o GetJobJobSettingsSettingsQueuePtrOutput) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { return o } -func (o GetJobJobSettingsSettingsQueuePtrOutput) Elem() GetJobJobSettingsSettingsQueueOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsQueue) GetJobJobSettingsSettingsQueue { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { if v != nil { return *v } - var ret GetJobJobSettingsSettingsQueue + var ret GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType return ret - }).(GetJobJobSettingsSettingsQueueOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) } -func (o GetJobJobSettingsSettingsQueuePtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsQueue) *bool { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { if v == nil { return nil } - return &v.Enabled - }).(pulumi.BoolPtrOutput) + return &v.Clients + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) } -type GetJobJobSettingsSettingsRunAs struct { - ServicePrincipalName *string `pulumi:"servicePrincipalName"` - UserName *string `pulumi:"userName"` +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients struct { + Jobs *bool `pulumi:"jobs"` + Notebooks *bool `pulumi:"notebooks"` } -// GetJobJobSettingsSettingsRunAsInput is an input type that accepts GetJobJobSettingsSettingsRunAsArgs and GetJobJobSettingsSettingsRunAsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsRunAsInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs and GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsInput` via: // -// GetJobJobSettingsSettingsRunAsArgs{...} -type GetJobJobSettingsSettingsRunAsInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsRunAsOutput() GetJobJobSettingsSettingsRunAsOutput - ToGetJobJobSettingsSettingsRunAsOutputWithContext(context.Context) GetJobJobSettingsSettingsRunAsOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput } -type GetJobJobSettingsSettingsRunAsArgs struct { - ServicePrincipalName pulumi.StringPtrInput `pulumi:"servicePrincipalName"` - UserName pulumi.StringPtrInput `pulumi:"userName"` +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs struct { + Jobs pulumi.BoolPtrInput `pulumi:"jobs"` + Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` } -func (GetJobJobSettingsSettingsRunAsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsRunAs)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsOutput() GetJobJobSettingsSettingsRunAsOutput { - return i.ToGetJobJobSettingsSettingsRunAsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunAsOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) } -func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { - return i.ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunAsOutput).ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsRunAsPtrInput is an input type that accepts GetJobJobSettingsSettingsRunAsArgs, GetJobJobSettingsSettingsRunAsPtr and GetJobJobSettingsSettingsRunAsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsRunAsPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs, GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtr and GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput` via: // -// GetJobJobSettingsSettingsRunAsArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsRunAsPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput - ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsRunAsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput } -type getJobJobSettingsSettingsRunAsPtrType GetJobJobSettingsSettingsRunAsArgs +type getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs -func GetJobJobSettingsSettingsRunAsPtr(v *GetJobJobSettingsSettingsRunAsArgs) GetJobJobSettingsSettingsRunAsPtrInput { - return (*getJobJobSettingsSettingsRunAsPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType)(v) } -func (*getJobJobSettingsSettingsRunAsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsRunAs)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i *getJobJobSettingsSettingsRunAsPtrType) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { - return i.ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsRunAsPtrType) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunAsPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) } -type GetJobJobSettingsSettingsRunAsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsRunAsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsRunAs)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsOutput() GetJobJobSettingsSettingsRunAsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { return o } -func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { return o } -func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { - return o.ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsRunAs) *GetJobJobSettingsSettingsRunAs { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { return &v - }).(GetJobJobSettingsSettingsRunAsPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) } -func (o GetJobJobSettingsSettingsRunAsOutput) ServicePrincipalName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsRunAs) *string { return v.ServicePrincipalName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsRunAsOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsRunAs) *string { return v.UserName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsRunAsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsRunAsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsRunAs)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o GetJobJobSettingsSettingsRunAsPtrOutput) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o GetJobJobSettingsSettingsRunAsPtrOutput) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o GetJobJobSettingsSettingsRunAsPtrOutput) Elem() GetJobJobSettingsSettingsRunAsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsRunAs) GetJobJobSettingsSettingsRunAs { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { if v != nil { return *v } - var ret GetJobJobSettingsSettingsRunAs + var ret GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients return ret - }).(GetJobJobSettingsSettingsRunAsOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) } -func (o GetJobJobSettingsSettingsRunAsPtrOutput) ServicePrincipalName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsRunAs) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return v.ServicePrincipalName - }).(pulumi.StringPtrOutput) + return v.Jobs + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsRunAsPtrOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsRunAs) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return v.UserName - }).(pulumi.StringPtrOutput) + return v.Notebooks + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsRunJobTask struct { - JobId int `pulumi:"jobId"` - JobParameters map[string]interface{} `pulumi:"jobParameters"` +type GetJobJobSettingsSettingsLibrary struct { + Cran *GetJobJobSettingsSettingsLibraryCran `pulumi:"cran"` + Egg *string `pulumi:"egg"` + Jar *string `pulumi:"jar"` + Maven *GetJobJobSettingsSettingsLibraryMaven `pulumi:"maven"` + Pypi *GetJobJobSettingsSettingsLibraryPypi `pulumi:"pypi"` + Whl *string `pulumi:"whl"` } -// GetJobJobSettingsSettingsRunJobTaskInput is an input type that accepts GetJobJobSettingsSettingsRunJobTaskArgs and GetJobJobSettingsSettingsRunJobTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsRunJobTaskInput` via: +// GetJobJobSettingsSettingsLibraryInput is an input type that accepts GetJobJobSettingsSettingsLibraryArgs and GetJobJobSettingsSettingsLibraryOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryInput` via: // -// GetJobJobSettingsSettingsRunJobTaskArgs{...} -type GetJobJobSettingsSettingsRunJobTaskInput interface { +// GetJobJobSettingsSettingsLibraryArgs{...} +type GetJobJobSettingsSettingsLibraryInput interface { pulumi.Input - ToGetJobJobSettingsSettingsRunJobTaskOutput() GetJobJobSettingsSettingsRunJobTaskOutput - ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsRunJobTaskOutput -} - -type GetJobJobSettingsSettingsRunJobTaskArgs struct { - JobId pulumi.IntInput `pulumi:"jobId"` - JobParameters pulumi.MapInput `pulumi:"jobParameters"` -} - -func (GetJobJobSettingsSettingsRunJobTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() + ToGetJobJobSettingsSettingsLibraryOutput() GetJobJobSettingsSettingsLibraryOutput + ToGetJobJobSettingsSettingsLibraryOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryOutput } -func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskOutput() GetJobJobSettingsSettingsRunJobTaskOutput { - return i.ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(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"` + Whl pulumi.StringPtrInput `pulumi:"whl"` } -func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunJobTaskOutput) +func (GetJobJobSettingsSettingsLibraryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibrary)(nil)).Elem() } -func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsLibraryArgs) ToGetJobJobSettingsSettingsLibraryOutput() GetJobJobSettingsSettingsLibraryOutput { + return i.ToGetJobJobSettingsSettingsLibraryOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunJobTaskOutput).ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsLibraryArgs) ToGetJobJobSettingsSettingsLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryOutput) } -// GetJobJobSettingsSettingsRunJobTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsRunJobTaskArgs, GetJobJobSettingsSettingsRunJobTaskPtr and GetJobJobSettingsSettingsRunJobTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsRunJobTaskPtrInput` via: -// -// GetJobJobSettingsSettingsRunJobTaskArgs{...} -// -// or: +// GetJobJobSettingsSettingsLibraryArrayInput is an input type that accepts GetJobJobSettingsSettingsLibraryArray and GetJobJobSettingsSettingsLibraryArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryArrayInput` via: // -// nil -type GetJobJobSettingsSettingsRunJobTaskPtrInput interface { +// GetJobJobSettingsSettingsLibraryArray{ GetJobJobSettingsSettingsLibraryArgs{...} } +type GetJobJobSettingsSettingsLibraryArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput - ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput + ToGetJobJobSettingsSettingsLibraryArrayOutput() GetJobJobSettingsSettingsLibraryArrayOutput + ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryArrayOutput } -type getJobJobSettingsSettingsRunJobTaskPtrType GetJobJobSettingsSettingsRunJobTaskArgs - -func GetJobJobSettingsSettingsRunJobTaskPtr(v *GetJobJobSettingsSettingsRunJobTaskArgs) GetJobJobSettingsSettingsRunJobTaskPtrInput { - return (*getJobJobSettingsSettingsRunJobTaskPtrType)(v) -} +type GetJobJobSettingsSettingsLibraryArray []GetJobJobSettingsSettingsLibraryInput -func (*getJobJobSettingsSettingsRunJobTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() +func (GetJobJobSettingsSettingsLibraryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsLibrary)(nil)).Elem() } -func (i *getJobJobSettingsSettingsRunJobTaskPtrType) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsLibraryArray) ToGetJobJobSettingsSettingsLibraryArrayOutput() GetJobJobSettingsSettingsLibraryArrayOutput { + return i.ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsRunJobTaskPtrType) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) +func (i GetJobJobSettingsSettingsLibraryArray) ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryArrayOutput) } -type GetJobJobSettingsSettingsRunJobTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsLibraryOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsRunJobTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() +func (GetJobJobSettingsSettingsLibraryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibrary)(nil)).Elem() } -func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskOutput() GetJobJobSettingsSettingsRunJobTaskOutput { +func (o GetJobJobSettingsSettingsLibraryOutput) ToGetJobJobSettingsSettingsLibraryOutput() GetJobJobSettingsSettingsLibraryOutput { return o } -func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskOutput { +func (o GetJobJobSettingsSettingsLibraryOutput) ToGetJobJobSettingsSettingsLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryOutput { return o } -func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsLibraryOutput) Cran() GetJobJobSettingsSettingsLibraryCranPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *GetJobJobSettingsSettingsLibraryCran { return v.Cran }).(GetJobJobSettingsSettingsLibraryCranPtrOutput) } -func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsRunJobTask) *GetJobJobSettingsSettingsRunJobTask { - return &v - }).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) +func (o GetJobJobSettingsSettingsLibraryOutput) Egg() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsRunJobTaskOutput) JobId() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsRunJobTask) int { return v.JobId }).(pulumi.IntOutput) +func (o GetJobJobSettingsSettingsLibraryOutput) Jar() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsRunJobTaskOutput) JobParameters() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsRunJobTask) map[string]interface{} { return v.JobParameters }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsLibraryOutput) Maven() GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *GetJobJobSettingsSettingsLibraryMaven { return v.Maven }).(GetJobJobSettingsSettingsLibraryMavenPtrOutput) } -type GetJobJobSettingsSettingsRunJobTaskPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsRunJobTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsLibraryOutput) Pypi() GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *GetJobJobSettingsSettingsLibraryPypi { return v.Pypi }).(GetJobJobSettingsSettingsLibraryPypiPtrOutput) } -func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return o +func (o GetJobJobSettingsSettingsLibraryOutput) Whl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return o +type GetJobJobSettingsSettingsLibraryArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsLibraryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsLibrary)(nil)).Elem() } -func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) Elem() GetJobJobSettingsSettingsRunJobTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsRunJobTask) GetJobJobSettingsSettingsRunJobTask { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsRunJobTask - return ret - }).(GetJobJobSettingsSettingsRunJobTaskOutput) +func (o GetJobJobSettingsSettingsLibraryArrayOutput) ToGetJobJobSettingsSettingsLibraryArrayOutput() GetJobJobSettingsSettingsLibraryArrayOutput { + return o } -func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsRunJobTask) *int { - if v == nil { - return nil - } - return &v.JobId - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsLibraryArrayOutput) ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryArrayOutput { + return o } -func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) JobParameters() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsRunJobTask) map[string]interface{} { - if v == nil { - return nil - } - return v.JobParameters - }).(pulumi.MapOutput) +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) } -type GetJobJobSettingsSettingsSchedule struct { - PauseStatus *string `pulumi:"pauseStatus"` - QuartzCronExpression string `pulumi:"quartzCronExpression"` - TimezoneId string `pulumi:"timezoneId"` +type GetJobJobSettingsSettingsLibraryCran struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -// GetJobJobSettingsSettingsScheduleInput is an input type that accepts GetJobJobSettingsSettingsScheduleArgs and GetJobJobSettingsSettingsScheduleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsScheduleInput` via: +// GetJobJobSettingsSettingsLibraryCranInput is an input type that accepts GetJobJobSettingsSettingsLibraryCranArgs and GetJobJobSettingsSettingsLibraryCranOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryCranInput` via: // -// GetJobJobSettingsSettingsScheduleArgs{...} -type GetJobJobSettingsSettingsScheduleInput interface { +// GetJobJobSettingsSettingsLibraryCranArgs{...} +type GetJobJobSettingsSettingsLibraryCranInput interface { pulumi.Input - ToGetJobJobSettingsSettingsScheduleOutput() GetJobJobSettingsSettingsScheduleOutput - ToGetJobJobSettingsSettingsScheduleOutputWithContext(context.Context) GetJobJobSettingsSettingsScheduleOutput + ToGetJobJobSettingsSettingsLibraryCranOutput() GetJobJobSettingsSettingsLibraryCranOutput + ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryCranOutput } -type GetJobJobSettingsSettingsScheduleArgs struct { - PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` - QuartzCronExpression pulumi.StringInput `pulumi:"quartzCronExpression"` - TimezoneId pulumi.StringInput `pulumi:"timezoneId"` +type GetJobJobSettingsSettingsLibraryCranArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (GetJobJobSettingsSettingsScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSchedule)(nil)).Elem() +func (GetJobJobSettingsSettingsLibraryCranArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() } -func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsScheduleOutput() GetJobJobSettingsSettingsScheduleOutput { - return i.ToGetJobJobSettingsSettingsScheduleOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranOutput() GetJobJobSettingsSettingsLibraryCranOutput { + return i.ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsScheduleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsScheduleOutput) +func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryCranOutput) } -func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { - return i.ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { + return i.ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsScheduleOutput).ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryCranOutput).ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsSchedulePtrInput is an input type that accepts GetJobJobSettingsSettingsScheduleArgs, GetJobJobSettingsSettingsSchedulePtr and GetJobJobSettingsSettingsSchedulePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsSchedulePtrInput` via: +// GetJobJobSettingsSettingsLibraryCranPtrInput is an input type that accepts GetJobJobSettingsSettingsLibraryCranArgs, GetJobJobSettingsSettingsLibraryCranPtr and GetJobJobSettingsSettingsLibraryCranPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryCranPtrInput` via: // -// GetJobJobSettingsSettingsScheduleArgs{...} +// GetJobJobSettingsSettingsLibraryCranArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsSchedulePtrInput interface { +type GetJobJobSettingsSettingsLibraryCranPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput - ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSchedulePtrOutput + ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput + ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput } -type getJobJobSettingsSettingsSchedulePtrType GetJobJobSettingsSettingsScheduleArgs +type getJobJobSettingsSettingsLibraryCranPtrType GetJobJobSettingsSettingsLibraryCranArgs -func GetJobJobSettingsSettingsSchedulePtr(v *GetJobJobSettingsSettingsScheduleArgs) GetJobJobSettingsSettingsSchedulePtrInput { - return (*getJobJobSettingsSettingsSchedulePtrType)(v) +func GetJobJobSettingsSettingsLibraryCranPtr(v *GetJobJobSettingsSettingsLibraryCranArgs) GetJobJobSettingsSettingsLibraryCranPtrInput { + return (*getJobJobSettingsSettingsLibraryCranPtrType)(v) } -func (*getJobJobSettingsSettingsSchedulePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSchedule)(nil)).Elem() +func (*getJobJobSettingsSettingsLibraryCranPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() } -func (i *getJobJobSettingsSettingsSchedulePtrType) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { - return i.ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsLibraryCranPtrType) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { + return i.ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsSchedulePtrType) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSchedulePtrOutput) +func (i *getJobJobSettingsSettingsLibraryCranPtrType) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryCranPtrOutput) } -type GetJobJobSettingsSettingsScheduleOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsLibraryCranOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSchedule)(nil)).Elem() +func (GetJobJobSettingsSettingsLibraryCranOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() } -func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsScheduleOutput() GetJobJobSettingsSettingsScheduleOutput { +func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranOutput() GetJobJobSettingsSettingsLibraryCranOutput { return o } -func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsScheduleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsScheduleOutput { +func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranOutput { return o } -func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { - return o.ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { + return o.ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSchedule) *GetJobJobSettingsSettingsSchedule { +func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsLibraryCran) *GetJobJobSettingsSettingsLibraryCran { return &v - }).(GetJobJobSettingsSettingsSchedulePtrOutput) -} - -func (o GetJobJobSettingsSettingsScheduleOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSchedule) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsLibraryCranPtrOutput) } -func (o GetJobJobSettingsSettingsScheduleOutput) QuartzCronExpression() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSchedule) string { return v.QuartzCronExpression }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsLibraryCranOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryCran) string { return v.Package }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsScheduleOutput) TimezoneId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSchedule) string { return v.TimezoneId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsLibraryCranOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsSchedulePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsLibraryCranPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsSchedulePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSchedule)(nil)).Elem() +func (GetJobJobSettingsSettingsLibraryCranPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() } -func (o GetJobJobSettingsSettingsSchedulePtrOutput) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { +func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { return o } -func (o GetJobJobSettingsSettingsSchedulePtrOutput) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { +func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { return o } -func (o GetJobJobSettingsSettingsSchedulePtrOutput) Elem() GetJobJobSettingsSettingsScheduleOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) GetJobJobSettingsSettingsSchedule { +func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) Elem() GetJobJobSettingsSettingsLibraryCranOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryCran) GetJobJobSettingsSettingsLibraryCran { if v != nil { return *v } - var ret GetJobJobSettingsSettingsSchedule + var ret GetJobJobSettingsSettingsLibraryCran 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) + }).(GetJobJobSettingsSettingsLibraryCranOutput) } -func (o GetJobJobSettingsSettingsSchedulePtrOutput) QuartzCronExpression() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) *string { +func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryCran) *string { if v == nil { return nil } - return &v.QuartzCronExpression + return &v.Package }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsSchedulePtrOutput) TimezoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) *string { +func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryCran) *string { if v == nil { return nil } - return &v.TimezoneId + return v.Repo }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsSparkJarTask struct { - JarUri *string `pulumi:"jarUri"` - MainClassName *string `pulumi:"mainClassName"` - Parameters []string `pulumi:"parameters"` +type GetJobJobSettingsSettingsLibraryMaven struct { + Coordinates string `pulumi:"coordinates"` + Exclusions []string `pulumi:"exclusions"` + Repo *string `pulumi:"repo"` } -// GetJobJobSettingsSettingsSparkJarTaskInput is an input type that accepts GetJobJobSettingsSettingsSparkJarTaskArgs and GetJobJobSettingsSettingsSparkJarTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkJarTaskInput` via: +// GetJobJobSettingsSettingsLibraryMavenInput is an input type that accepts GetJobJobSettingsSettingsLibraryMavenArgs and GetJobJobSettingsSettingsLibraryMavenOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryMavenInput` via: // -// GetJobJobSettingsSettingsSparkJarTaskArgs{...} -type GetJobJobSettingsSettingsSparkJarTaskInput interface { +// GetJobJobSettingsSettingsLibraryMavenArgs{...} +type GetJobJobSettingsSettingsLibraryMavenInput interface { pulumi.Input - ToGetJobJobSettingsSettingsSparkJarTaskOutput() GetJobJobSettingsSettingsSparkJarTaskOutput - ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkJarTaskOutput + ToGetJobJobSettingsSettingsLibraryMavenOutput() GetJobJobSettingsSettingsLibraryMavenOutput + ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryMavenOutput } -type GetJobJobSettingsSettingsSparkJarTaskArgs struct { - JarUri pulumi.StringPtrInput `pulumi:"jarUri"` - MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type GetJobJobSettingsSettingsLibraryMavenArgs struct { + Coordinates pulumi.StringInput `pulumi:"coordinates"` + Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (GetJobJobSettingsSettingsSparkJarTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() +func (GetJobJobSettingsSettingsLibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() } -func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskOutput() GetJobJobSettingsSettingsSparkJarTaskOutput { - return i.ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenOutput() GetJobJobSettingsSettingsLibraryMavenOutput { + return i.ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkJarTaskOutput) +func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryMavenOutput) } -func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return i.ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkJarTaskOutput).ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryMavenOutput).ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsSparkJarTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsSparkJarTaskArgs, GetJobJobSettingsSettingsSparkJarTaskPtr and GetJobJobSettingsSettingsSparkJarTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkJarTaskPtrInput` via: +// GetJobJobSettingsSettingsLibraryMavenPtrInput is an input type that accepts GetJobJobSettingsSettingsLibraryMavenArgs, GetJobJobSettingsSettingsLibraryMavenPtr and GetJobJobSettingsSettingsLibraryMavenPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryMavenPtrInput` via: // -// GetJobJobSettingsSettingsSparkJarTaskArgs{...} +// GetJobJobSettingsSettingsLibraryMavenArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsSparkJarTaskPtrInput interface { +type GetJobJobSettingsSettingsLibraryMavenPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput - ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput + ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput + ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput } -type getJobJobSettingsSettingsSparkJarTaskPtrType GetJobJobSettingsSettingsSparkJarTaskArgs +type getJobJobSettingsSettingsLibraryMavenPtrType GetJobJobSettingsSettingsLibraryMavenArgs -func GetJobJobSettingsSettingsSparkJarTaskPtr(v *GetJobJobSettingsSettingsSparkJarTaskArgs) GetJobJobSettingsSettingsSparkJarTaskPtrInput { - return (*getJobJobSettingsSettingsSparkJarTaskPtrType)(v) +func GetJobJobSettingsSettingsLibraryMavenPtr(v *GetJobJobSettingsSettingsLibraryMavenArgs) GetJobJobSettingsSettingsLibraryMavenPtrInput { + return (*getJobJobSettingsSettingsLibraryMavenPtrType)(v) } -func (*getJobJobSettingsSettingsSparkJarTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() +func (*getJobJobSettingsSettingsLibraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() } -func (i *getJobJobSettingsSettingsSparkJarTaskPtrType) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsLibraryMavenPtrType) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return i.ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsSparkJarTaskPtrType) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) +func (i *getJobJobSettingsSettingsLibraryMavenPtrType) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryMavenPtrOutput) } -type GetJobJobSettingsSettingsSparkJarTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsLibraryMavenOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsSparkJarTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() +func (GetJobJobSettingsSettingsLibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() } -func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskOutput() GetJobJobSettingsSettingsSparkJarTaskOutput { +func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenOutput() GetJobJobSettingsSettingsLibraryMavenOutput { return o } -func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskOutput { +func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenOutput { return o } -func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return o.ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSparkJarTask) *GetJobJobSettingsSettingsSparkJarTask { +func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsLibraryMaven) *GetJobJobSettingsSettingsLibraryMaven { return &v - }).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) + }).(GetJobJobSettingsSettingsLibraryMavenPtrOutput) } -func (o GetJobJobSettingsSettingsSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsLibraryMavenOutput) Coordinates() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsLibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsSparkJarTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsLibraryMavenPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsSparkJarTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() +func (GetJobJobSettingsSettingsLibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() } -func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { +func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { return o } -func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { +func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { return o } -func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) Elem() GetJobJobSettingsSettingsSparkJarTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) GetJobJobSettingsSettingsSparkJarTask { +func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Elem() GetJobJobSettingsSettingsLibraryMavenOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) GetJobJobSettingsSettingsLibraryMaven { if v != nil { return *v } - var ret GetJobJobSettingsSettingsSparkJarTask + var ret GetJobJobSettingsSettingsLibraryMaven return ret - }).(GetJobJobSettingsSettingsSparkJarTaskOutput) + }).(GetJobJobSettingsSettingsLibraryMavenOutput) } -func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) *string { +func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) *string { if v == nil { return nil } - return v.JarUri + return &v.Coordinates }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) *string { +func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) []string { if v == nil { return nil } - return v.MainClassName - }).(pulumi.StringPtrOutput) + return v.Exclusions + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) []string { +func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) *string { if v == nil { return nil } - return v.Parameters - }).(pulumi.StringArrayOutput) + return v.Repo + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsSparkPythonTask struct { - Parameters []string `pulumi:"parameters"` - PythonFile string `pulumi:"pythonFile"` - Source *string `pulumi:"source"` +type GetJobJobSettingsSettingsLibraryPypi struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -// GetJobJobSettingsSettingsSparkPythonTaskInput is an input type that accepts GetJobJobSettingsSettingsSparkPythonTaskArgs and GetJobJobSettingsSettingsSparkPythonTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkPythonTaskInput` via: +// GetJobJobSettingsSettingsLibraryPypiInput is an input type that accepts GetJobJobSettingsSettingsLibraryPypiArgs and GetJobJobSettingsSettingsLibraryPypiOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryPypiInput` via: // -// GetJobJobSettingsSettingsSparkPythonTaskArgs{...} -type GetJobJobSettingsSettingsSparkPythonTaskInput interface { +// GetJobJobSettingsSettingsLibraryPypiArgs{...} +type GetJobJobSettingsSettingsLibraryPypiInput interface { pulumi.Input - ToGetJobJobSettingsSettingsSparkPythonTaskOutput() GetJobJobSettingsSettingsSparkPythonTaskOutput - ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkPythonTaskOutput + ToGetJobJobSettingsSettingsLibraryPypiOutput() GetJobJobSettingsSettingsLibraryPypiOutput + ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryPypiOutput } -type GetJobJobSettingsSettingsSparkPythonTaskArgs struct { - Parameters pulumi.StringArrayInput `pulumi:"parameters"` - PythonFile pulumi.StringInput `pulumi:"pythonFile"` - Source pulumi.StringPtrInput `pulumi:"source"` +type GetJobJobSettingsSettingsLibraryPypiArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (GetJobJobSettingsSettingsSparkPythonTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() +func (GetJobJobSettingsSettingsLibraryPypiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() } -func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskOutput() GetJobJobSettingsSettingsSparkPythonTaskOutput { - return i.ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiOutput() GetJobJobSettingsSettingsLibraryPypiOutput { + return i.ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkPythonTaskOutput) +func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryPypiOutput) } -func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return i.ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkPythonTaskOutput).ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryPypiOutput).ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsSparkPythonTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsSparkPythonTaskArgs, GetJobJobSettingsSettingsSparkPythonTaskPtr and GetJobJobSettingsSettingsSparkPythonTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkPythonTaskPtrInput` via: +// GetJobJobSettingsSettingsLibraryPypiPtrInput is an input type that accepts GetJobJobSettingsSettingsLibraryPypiArgs, GetJobJobSettingsSettingsLibraryPypiPtr and GetJobJobSettingsSettingsLibraryPypiPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryPypiPtrInput` via: // -// GetJobJobSettingsSettingsSparkPythonTaskArgs{...} +// GetJobJobSettingsSettingsLibraryPypiArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsSparkPythonTaskPtrInput interface { +type GetJobJobSettingsSettingsLibraryPypiPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput - ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput + ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput + ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput } -type getJobJobSettingsSettingsSparkPythonTaskPtrType GetJobJobSettingsSettingsSparkPythonTaskArgs +type getJobJobSettingsSettingsLibraryPypiPtrType GetJobJobSettingsSettingsLibraryPypiArgs -func GetJobJobSettingsSettingsSparkPythonTaskPtr(v *GetJobJobSettingsSettingsSparkPythonTaskArgs) GetJobJobSettingsSettingsSparkPythonTaskPtrInput { - return (*getJobJobSettingsSettingsSparkPythonTaskPtrType)(v) +func GetJobJobSettingsSettingsLibraryPypiPtr(v *GetJobJobSettingsSettingsLibraryPypiArgs) GetJobJobSettingsSettingsLibraryPypiPtrInput { + return (*getJobJobSettingsSettingsLibraryPypiPtrType)(v) } -func (*getJobJobSettingsSettingsSparkPythonTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() +func (*getJobJobSettingsSettingsLibraryPypiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() } -func (i *getJobJobSettingsSettingsSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsLibraryPypiPtrType) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return i.ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) +func (i *getJobJobSettingsSettingsLibraryPypiPtrType) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryPypiPtrOutput) } -type GetJobJobSettingsSettingsSparkPythonTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsLibraryPypiOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsSparkPythonTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() +func (GetJobJobSettingsSettingsLibraryPypiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() } -func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskOutput() GetJobJobSettingsSettingsSparkPythonTaskOutput { +func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiOutput() GetJobJobSettingsSettingsLibraryPypiOutput { return o } -func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskOutput { +func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiOutput { return o } -func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return o.ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSparkPythonTask) *GetJobJobSettingsSettingsSparkPythonTask { +func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsLibraryPypi) *GetJobJobSettingsSettingsLibraryPypi { return &v - }).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) + }).(GetJobJobSettingsSettingsLibraryPypiPtrOutput) } -func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsLibraryPypiOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryPypi) string { return v.Package }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSparkPythonTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsLibraryPypiOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsLibraryPypiPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() +func (GetJobJobSettingsSettingsLibraryPypiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() } -func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { +func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { return o } -func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { +func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { return o } -func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) Elem() GetJobJobSettingsSettingsSparkPythonTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) GetJobJobSettingsSettingsSparkPythonTask { +func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) Elem() GetJobJobSettingsSettingsLibraryPypiOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryPypi) GetJobJobSettingsSettingsLibraryPypi { if v != nil { return *v } - var ret GetJobJobSettingsSettingsSparkPythonTask + var ret GetJobJobSettingsSettingsLibraryPypi return ret - }).(GetJobJobSettingsSettingsSparkPythonTaskOutput) -} - -func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) + }).(GetJobJobSettingsSettingsLibraryPypiOutput) } -func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) PythonFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) *string { +func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryPypi) *string { if v == nil { return nil } - return &v.PythonFile + return &v.Package }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) *string { +func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryPypi) *string { if v == nil { return nil } - return v.Source + return v.Repo }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsSparkSubmitTask struct { - Parameters []string `pulumi:"parameters"` +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]interface{} `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]interface{} `pulumi:"sparkConf"` + SparkEnvVars map[string]interface{} `pulumi:"sparkEnvVars"` + SparkVersion string `pulumi:"sparkVersion"` + SshPublicKeys []string `pulumi:"sshPublicKeys"` + WorkloadType *GetJobJobSettingsSettingsNewClusterWorkloadType `pulumi:"workloadType"` } -// GetJobJobSettingsSettingsSparkSubmitTaskInput is an input type that accepts GetJobJobSettingsSettingsSparkSubmitTaskArgs and GetJobJobSettingsSettingsSparkSubmitTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkSubmitTaskInput` via: +// GetJobJobSettingsSettingsNewClusterInput is an input type that accepts GetJobJobSettingsSettingsNewClusterArgs and GetJobJobSettingsSettingsNewClusterOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInput` via: // -// GetJobJobSettingsSettingsSparkSubmitTaskArgs{...} -type GetJobJobSettingsSettingsSparkSubmitTaskInput interface { +// GetJobJobSettingsSettingsNewClusterArgs{...} +type GetJobJobSettingsSettingsNewClusterInput interface { pulumi.Input - ToGetJobJobSettingsSettingsSparkSubmitTaskOutput() GetJobJobSettingsSettingsSparkSubmitTaskOutput - ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkSubmitTaskOutput + ToGetJobJobSettingsSettingsNewClusterOutput() GetJobJobSettingsSettingsNewClusterOutput + ToGetJobJobSettingsSettingsNewClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterOutput } -type GetJobJobSettingsSettingsSparkSubmitTaskArgs struct { - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +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.MapInput `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.MapInput `pulumi:"sparkConf"` + SparkEnvVars pulumi.MapInput `pulumi:"sparkEnvVars"` + SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` + SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` + WorkloadType GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` } -func (GetJobJobSettingsSettingsSparkSubmitTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewCluster)(nil)).Elem() } -func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskOutput() GetJobJobSettingsSettingsSparkSubmitTaskOutput { - return i.ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterOutput() GetJobJobSettingsSettingsNewClusterOutput { + return i.ToGetJobJobSettingsSettingsNewClusterOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkSubmitTaskOutput) +func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterOutput) } -func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkSubmitTaskOutput).ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterOutput).ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsSparkSubmitTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsSparkSubmitTaskArgs, GetJobJobSettingsSettingsSparkSubmitTaskPtr and GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkSubmitTaskPtrInput` via: +// GetJobJobSettingsSettingsNewClusterPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterArgs, GetJobJobSettingsSettingsNewClusterPtr and GetJobJobSettingsSettingsNewClusterPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterPtrInput` via: // -// GetJobJobSettingsSettingsSparkSubmitTaskArgs{...} +// GetJobJobSettingsSettingsNewClusterArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsSparkSubmitTaskPtrInput interface { +type GetJobJobSettingsSettingsNewClusterPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput - ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput + ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput + ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput } -type getJobJobSettingsSettingsSparkSubmitTaskPtrType GetJobJobSettingsSettingsSparkSubmitTaskArgs +type getJobJobSettingsSettingsNewClusterPtrType GetJobJobSettingsSettingsNewClusterArgs -func GetJobJobSettingsSettingsSparkSubmitTaskPtr(v *GetJobJobSettingsSettingsSparkSubmitTaskArgs) GetJobJobSettingsSettingsSparkSubmitTaskPtrInput { - return (*getJobJobSettingsSettingsSparkSubmitTaskPtrType)(v) +func GetJobJobSettingsSettingsNewClusterPtr(v *GetJobJobSettingsSettingsNewClusterArgs) GetJobJobSettingsSettingsNewClusterPtrInput { + return (*getJobJobSettingsSettingsNewClusterPtrType)(v) } -func (*getJobJobSettingsSettingsSparkSubmitTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewCluster)(nil)).Elem() } -func (i *getJobJobSettingsSettingsSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterPtrType) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterPtrType) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterPtrOutput) } -type GetJobJobSettingsSettingsSparkSubmitTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsSparkSubmitTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewCluster)(nil)).Elem() } -func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskOutput() GetJobJobSettingsSettingsSparkSubmitTaskOutput { +func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterOutput() GetJobJobSettingsSettingsNewClusterOutput { return o } -func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskOutput { +func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterOutput { return o } -func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSparkSubmitTask) *GetJobJobSettingsSettingsSparkSubmitTask { +func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewCluster { return &v - }).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterPtrOutput) } -func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNewClusterOutput) Autoscale() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAutoscale { + return v.Autoscale + }).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) +} -func (GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return o +func (o GetJobJobSettingsSettingsNewClusterOutput) AwsAttributes() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAwsAttributes { + return v.AwsAttributes + }).(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) AzureAttributes() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAzureAttributes { + return v.AzureAttributes + }).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) ClusterLogConf() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterClusterLogConf { + return v.ClusterLogConf + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) ClusterMountInfos() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterClusterMountInfo { + return v.ClusterMountInfos + }).(GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) CustomTags() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) map[string]interface{} { return v.CustomTags }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) DockerImage() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterDockerImage { + return v.DockerImage + }).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) DriverInstancePoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) DriverNodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) EnableElasticDisk() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) } -func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return o +func (o GetJobJobSettingsSettingsNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolOutput) } -func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) Elem() GetJobJobSettingsSettingsSparkSubmitTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkSubmitTask) GetJobJobSettingsSettingsSparkSubmitTask { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsSparkSubmitTask - return ret - }).(GetJobJobSettingsSettingsSparkSubmitTaskOutput) +func (o GetJobJobSettingsSettingsNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterGcpAttributes { + return v.GcpAttributes + }).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkSubmitTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTask struct { - ComputeKey *string `pulumi:"computeKey"` - ConditionTask *GetJobJobSettingsSettingsTaskConditionTask `pulumi:"conditionTask"` - DbtTask *GetJobJobSettingsSettingsTaskDbtTask `pulumi:"dbtTask"` - DependsOns []GetJobJobSettingsSettingsTaskDependsOn `pulumi:"dependsOns"` - Description *string `pulumi:"description"` - EmailNotifications *GetJobJobSettingsSettingsTaskEmailNotifications `pulumi:"emailNotifications"` - 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"` +func (o GetJobJobSettingsSettingsNewClusterOutput) InitScripts() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterInitScript { + return v.InitScripts + }).(GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) } -// 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 +func (o GetJobJobSettingsSettingsNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskArgs struct { - ComputeKey pulumi.StringPtrInput `pulumi:"computeKey"` - ConditionTask GetJobJobSettingsSettingsTaskConditionTaskPtrInput `pulumi:"conditionTask"` - DbtTask GetJobJobSettingsSettingsTaskDbtTaskPtrInput `pulumi:"dbtTask"` - DependsOns GetJobJobSettingsSettingsTaskDependsOnArrayInput `pulumi:"dependsOns"` - Description pulumi.StringPtrInput `pulumi:"description"` - EmailNotifications GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput `pulumi:"emailNotifications"` - 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.StringPtrInput `pulumi:"taskKey"` - TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` - WebhookNotifications GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` +func (o GetJobJobSettingsSettingsNewClusterOutput) NodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) } -func (GetJobJobSettingsSettingsTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterOutput) NumWorkers() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) } -func (i GetJobJobSettingsSettingsTaskArgs) ToGetJobJobSettingsSettingsTaskOutput() GetJobJobSettingsSettingsTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskArgs) ToGetJobJobSettingsSettingsTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskOutput) +func (o GetJobJobSettingsSettingsNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) } -// 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 +func (o GetJobJobSettingsSettingsNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsTaskArrayOutput() GetJobJobSettingsSettingsTaskArrayOutput - ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskArrayOutput +func (o GetJobJobSettingsSettingsNewClusterOutput) SparkConf() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) map[string]interface{} { return v.SparkConf }).(pulumi.MapOutput) } -type GetJobJobSettingsSettingsTaskArray []GetJobJobSettingsSettingsTaskInput +func (o GetJobJobSettingsSettingsNewClusterOutput) SparkEnvVars() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) map[string]interface{} { return v.SparkEnvVars }).(pulumi.MapOutput) +} -func (GetJobJobSettingsSettingsTaskArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterOutput) SparkVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) } -func (i GetJobJobSettingsSettingsTaskArray) ToGetJobJobSettingsSettingsTaskArrayOutput() GetJobJobSettingsSettingsTaskArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) } -func (i GetJobJobSettingsSettingsTaskArray) ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterWorkloadType { + return v.WorkloadType + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) } -type GetJobJobSettingsSettingsTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewCluster)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskOutput) ToGetJobJobSettingsSettingsTaskOutput() GetJobJobSettingsSettingsTaskOutput { +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskOutput) ToGetJobJobSettingsSettingsTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskOutput { +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskOutput) ComputeKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.ComputeKey }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskOutput) ConditionTask() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskConditionTask { - return v.ConditionTask - }).(GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) +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 GetJobJobSettingsSettingsTaskOutput) DbtTask() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskDbtTask { return v.DbtTask }).(GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) +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 GetJobJobSettingsSettingsTaskOutput) DependsOns() GetJobJobSettingsSettingsTaskDependsOnArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) []GetJobJobSettingsSettingsTaskDependsOn { return v.DependsOns }).(GetJobJobSettingsSettingsTaskDependsOnArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) Autoscale() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAutoscale { + if v == nil { + return nil + } + return v.Autoscale + }).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.Description }).(pulumi.StringPtrOutput) +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 GetJobJobSettingsSettingsTaskOutput) EmailNotifications() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskEmailNotifications { - return v.EmailNotifications - }).(GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) AwsAttributes() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAwsAttributes { + if v == nil { + return nil + } + return v.AwsAttributes + }).(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) ExistingClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) AzureAttributes() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAzureAttributes { + if v == nil { + return nil + } + return v.AzureAttributes + }).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) ForEachTask() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskForEachTask { return v.ForEachTask }).(GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return v.ClusterId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) Health() GetJobJobSettingsSettingsTaskHealthPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskHealth { return v.Health }).(GetJobJobSettingsSettingsTaskHealthPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterLogConf() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterClusterLogConf { + if v == nil { + return nil + } + return v.ClusterLogConf + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) JobClusterKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterMountInfos() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterClusterMountInfo { + if v == nil { + return nil + } + return v.ClusterMountInfos + }).(GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) Libraries() GetJobJobSettingsSettingsTaskLibraryArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) []GetJobJobSettingsSettingsTaskLibrary { return v.Libraries }).(GetJobJobSettingsSettingsTaskLibraryArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return v.ClusterName + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) MaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) CustomTags() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) map[string]interface{} { + if v == nil { + return nil + } + return v.CustomTags + }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return v.DataSecurityMode + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) NewCluster() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskNewCluster { return v.NewCluster }).(GetJobJobSettingsSettingsTaskNewClusterPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) DockerImage() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterDockerImage { + if v == nil { + return nil + } + return v.DockerImage + }).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) NotebookTask() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskNotebookTask { - return v.NotebookTask - }).(GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return &v.DriverInstancePoolId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) NotificationSettings() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskNotificationSettings { - return v.NotificationSettings - }).(GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return &v.DriverNodeTypeId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) PipelineTask() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskPipelineTask { - return v.PipelineTask - }).(GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *bool { + if v == nil { + return nil + } + return &v.EnableElasticDisk + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) PythonWheelTask() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskPythonWheelTask { - return v.PythonWheelTask - }).(GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *bool { + if v == nil { + return nil + } + return &v.EnableLocalDiskEncryption + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) RetryOnTimeout() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) bool { return v.RetryOnTimeout }).(pulumi.BoolOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) GcpAttributes() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterGcpAttributes { + if v == nil { + return nil + } + return v.GcpAttributes + }).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) RunIf() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.RunIf }).(pulumi.StringPtrOutput) +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 GetJobJobSettingsSettingsTaskOutput) RunJobTask() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskRunJobTask { return v.RunJobTask }).(GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) InitScripts() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterInitScript { + if v == nil { + return nil + } + return v.InitScripts + }).(GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) SparkJarTask() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSparkJarTask { - return v.SparkJarTask - }).(GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) +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 GetJobJobSettingsSettingsTaskOutput) SparkPythonTask() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSparkPythonTask { - return v.SparkPythonTask - }).(GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) +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 GetJobJobSettingsSettingsTaskOutput) SparkSubmitTask() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSparkSubmitTask { - return v.SparkSubmitTask - }).(GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) +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 GetJobJobSettingsSettingsTaskOutput) SqlTask() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSqlTask { return v.SqlTask }).(GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) +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 GetJobJobSettingsSettingsTaskOutput) TaskKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.TaskKey }).(pulumi.StringPtrOutput) +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 GetJobJobSettingsSettingsTaskOutput) TimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) +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 GetJobJobSettingsSettingsTaskOutput) WebhookNotifications() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskWebhookNotifications { - return v.WebhookNotifications - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) SparkConf() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) map[string]interface{} { + if v == nil { + return nil + } + return v.SparkConf + }).(pulumi.MapOutput) } -type GetJobJobSettingsSettingsTaskArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) SparkEnvVars() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) map[string]interface{} { + if v == nil { + return nil + } + return v.SparkEnvVars + }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsTaskArrayOutput) ToGetJobJobSettingsSettingsTaskArrayOutput() GetJobJobSettingsSettingsTaskArrayOutput { - 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 GetJobJobSettingsSettingsTaskArrayOutput) ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskArrayOutput { - 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 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 GetJobJobSettingsSettingsNewClusterPtrOutput) WorkloadType() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterWorkloadType { + if v == nil { + return nil + } + return v.WorkloadType + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) } -type GetJobJobSettingsSettingsTaskConditionTask struct { - Left *string `pulumi:"left"` - Op *string `pulumi:"op"` - Right *string `pulumi:"right"` +type GetJobJobSettingsSettingsNewClusterAutoscale struct { + MaxWorkers *int `pulumi:"maxWorkers"` + MinWorkers *int `pulumi:"minWorkers"` } -// GetJobJobSettingsSettingsTaskConditionTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskConditionTaskArgs and GetJobJobSettingsSettingsTaskConditionTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskConditionTaskInput` via: +// GetJobJobSettingsSettingsNewClusterAutoscaleInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAutoscaleArgs and GetJobJobSettingsSettingsNewClusterAutoscaleOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAutoscaleInput` via: // -// GetJobJobSettingsSettingsTaskConditionTaskArgs{...} -type GetJobJobSettingsSettingsTaskConditionTaskInput interface { +// GetJobJobSettingsSettingsNewClusterAutoscaleArgs{...} +type GetJobJobSettingsSettingsNewClusterAutoscaleInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskConditionTaskOutput - ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskConditionTaskOutput + ToGetJobJobSettingsSettingsNewClusterAutoscaleOutput() GetJobJobSettingsSettingsNewClusterAutoscaleOutput + ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAutoscaleOutput } -type GetJobJobSettingsSettingsTaskConditionTaskArgs struct { - Left pulumi.StringPtrInput `pulumi:"left"` - Op pulumi.StringPtrInput `pulumi:"op"` - Right pulumi.StringPtrInput `pulumi:"right"` +type GetJobJobSettingsSettingsNewClusterAutoscaleArgs struct { + MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` + MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` } -func (GetJobJobSettingsSettingsTaskConditionTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskConditionTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutput() GetJobJobSettingsSettingsNewClusterAutoscaleOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskConditionTaskOutput) +func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAutoscaleOutput) } -func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskConditionTaskOutput).ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskConditionTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskConditionTaskArgs, GetJobJobSettingsSettingsTaskConditionTaskPtr and GetJobJobSettingsSettingsTaskConditionTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskConditionTaskPtrInput` via: +// GetJobJobSettingsSettingsNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAutoscaleArgs, GetJobJobSettingsSettingsNewClusterAutoscalePtr and GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAutoscalePtrInput` via: // -// GetJobJobSettingsSettingsTaskConditionTaskArgs{...} +// GetJobJobSettingsSettingsNewClusterAutoscaleArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskConditionTaskPtrInput interface { +type GetJobJobSettingsSettingsNewClusterAutoscalePtrInput interface { pulumi.Input - - ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput - ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput + + ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput + ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput } -type getJobJobSettingsSettingsTaskConditionTaskPtrType GetJobJobSettingsSettingsTaskConditionTaskArgs +type getJobJobSettingsSettingsNewClusterAutoscalePtrType GetJobJobSettingsSettingsNewClusterAutoscaleArgs -func GetJobJobSettingsSettingsTaskConditionTaskPtr(v *GetJobJobSettingsSettingsTaskConditionTaskArgs) GetJobJobSettingsSettingsTaskConditionTaskPtrInput { - return (*getJobJobSettingsSettingsTaskConditionTaskPtrType)(v) +func GetJobJobSettingsSettingsNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsNewClusterAutoscaleArgs) GetJobJobSettingsSettingsNewClusterAutoscalePtrInput { + return (*getJobJobSettingsSettingsNewClusterAutoscalePtrType)(v) } -func (*getJobJobSettingsSettingsTaskConditionTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) } -type GetJobJobSettingsSettingsTaskConditionTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterAutoscaleOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskConditionTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskConditionTaskOutput { +func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutput() GetJobJobSettingsSettingsNewClusterAutoscaleOutput { return o } -func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskOutput { +func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscaleOutput { return o } -func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskConditionTask) *GetJobJobSettingsSettingsTaskConditionTask { +func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterAutoscale) *GetJobJobSettingsSettingsNewClusterAutoscale { return &v - }).(GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) Left() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskConditionTask) *string { return v.Left }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) } -func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) Op() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskConditionTask) *string { return v.Op }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) Right() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskConditionTask) *string { return v.Right }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsTaskConditionTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskConditionTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) GetJobJobSettingsSettingsTaskConditionTask { +func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterAutoscaleOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAutoscale) GetJobJobSettingsSettingsNewClusterAutoscale { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskConditionTask + var ret GetJobJobSettingsSettingsNewClusterAutoscale return ret - }).(GetJobJobSettingsSettingsTaskConditionTaskOutput) -} - -func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Left() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) *string { - if v == nil { - return nil - } - return v.Left - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterAutoscaleOutput) } -func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Op() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) *string { +func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAutoscale) *int { if v == nil { return nil } - return v.Op - }).(pulumi.StringPtrOutput) + return v.MaxWorkers + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Right() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) *string { +func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAutoscale) *int { if v == nil { return nil } - return v.Right - }).(pulumi.StringPtrOutput) + return v.MinWorkers + }).(pulumi.IntPtrOutput) } -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 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"` } -// GetJobJobSettingsSettingsTaskDbtTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskDbtTaskArgs and GetJobJobSettingsSettingsTaskDbtTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDbtTaskInput` via: +// GetJobJobSettingsSettingsNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsNewClusterAwsAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAwsAttributesInput` via: // -// GetJobJobSettingsSettingsTaskDbtTaskArgs{...} -type GetJobJobSettingsSettingsTaskDbtTaskInput interface { +// GetJobJobSettingsSettingsNewClusterAwsAttributesArgs{...} +type GetJobJobSettingsSettingsNewClusterAwsAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskDbtTaskOutput - ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDbtTaskOutput + ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput + ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesOutput } -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 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 (GetJobJobSettingsSettingsTaskDbtTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskDbtTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDbtTaskOutput) +func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) } -func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDbtTaskOutput).ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskDbtTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskDbtTaskArgs, GetJobJobSettingsSettingsTaskDbtTaskPtr and GetJobJobSettingsSettingsTaskDbtTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDbtTaskPtrInput` via: +// GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput` via: // -// GetJobJobSettingsSettingsTaskDbtTaskArgs{...} +// GetJobJobSettingsSettingsNewClusterAwsAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskDbtTaskPtrInput interface { +type GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput - ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput + ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput + ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput } -type getJobJobSettingsSettingsTaskDbtTaskPtrType GetJobJobSettingsSettingsTaskDbtTaskArgs +type getJobJobSettingsSettingsNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsNewClusterAwsAttributesArgs -func GetJobJobSettingsSettingsTaskDbtTaskPtr(v *GetJobJobSettingsSettingsTaskDbtTaskArgs) GetJobJobSettingsSettingsTaskDbtTaskPtrInput { - return (*getJobJobSettingsSettingsTaskDbtTaskPtrType)(v) +func GetJobJobSettingsSettingsNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput { + return (*getJobJobSettingsSettingsNewClusterAwsAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsTaskDbtTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) } -type GetJobJobSettingsSettingsTaskDbtTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskDbtTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskDbtTaskOutput { +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { return o } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskOutput { +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { return o } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskDbtTask) *GetJobJobSettingsSettingsTaskDbtTask { +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterAwsAttributes) *GetJobJobSettingsSettingsNewClusterAwsAttributes { return &v - }).(GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Catalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Schema() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsTaskDbtTaskPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() +type GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskDbtTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) GetJobJobSettingsSettingsTaskDbtTask { +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) GetJobJobSettingsSettingsNewClusterAwsAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskDbtTask + var ret GetJobJobSettingsSettingsNewClusterAwsAttributes return ret - }).(GetJobJobSettingsSettingsTaskDbtTaskOutput) + }).(GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Catalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { if v == nil { return nil } - return v.Catalog + return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) []string { +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { if v == nil { return nil } - return v.Commands - }).(pulumi.StringArrayOutput) + return v.EbsVolumeCount + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { if v == nil { return nil } - return v.ProfilesDirectory - }).(pulumi.StringPtrOutput) + return v.EbsVolumeSize + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ProjectDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { if v == nil { return nil } - return v.ProjectDirectory + return v.EbsVolumeType }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Schema() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { if v == nil { return nil } - return v.Schema - }).(pulumi.StringPtrOutput) + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { if v == nil { return nil } - return v.Source + return v.InstanceProfileArn }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { if v == nil { return nil } - return v.WarehouseId - }).(pulumi.StringPtrOutput) -} - -type GetJobJobSettingsSettingsTaskDependsOn struct { - Outcome *string `pulumi:"outcome"` - TaskKey string `pulumi:"taskKey"` -} - -// GetJobJobSettingsSettingsTaskDependsOnInput is an input type that accepts GetJobJobSettingsSettingsTaskDependsOnArgs and GetJobJobSettingsSettingsTaskDependsOnOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDependsOnInput` via: -// -// GetJobJobSettingsSettingsTaskDependsOnArgs{...} -type GetJobJobSettingsSettingsTaskDependsOnInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskDependsOnOutput() GetJobJobSettingsSettingsTaskDependsOnOutput - ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDependsOnOutput -} - -type GetJobJobSettingsSettingsTaskDependsOnArgs struct { - Outcome pulumi.StringPtrInput `pulumi:"outcome"` - TaskKey pulumi.StringInput `pulumi:"taskKey"` -} - -func (GetJobJobSettingsSettingsTaskDependsOnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskDependsOnOutput() GetJobJobSettingsSettingsTaskDependsOnOutput { - return i.ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDependsOnOutput) -} - -// GetJobJobSettingsSettingsTaskDependsOnArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskDependsOnArray and GetJobJobSettingsSettingsTaskDependsOnArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDependsOnArrayInput` via: -// -// GetJobJobSettingsSettingsTaskDependsOnArray{ GetJobJobSettingsSettingsTaskDependsOnArgs{...} } -type GetJobJobSettingsSettingsTaskDependsOnArrayInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskDependsOnArrayOutput - ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDependsOnArrayOutput -} - -type GetJobJobSettingsSettingsTaskDependsOnArray []GetJobJobSettingsSettingsTaskDependsOnInput - -func (GetJobJobSettingsSettingsTaskDependsOnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskDependsOnArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDependsOnArrayOutput) -} - -type GetJobJobSettingsSettingsTaskDependsOnOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskDependsOnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskDependsOnOutput() GetJobJobSettingsSettingsTaskDependsOnOutput { - return o -} - -func (o GetJobJobSettingsSettingsTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnOutput { - return o -} - -func (o GetJobJobSettingsSettingsTaskDependsOnOutput) Outcome() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDependsOn) *string { return v.Outcome }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskDependsOnOutput) TaskKey() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDependsOn) string { return v.TaskKey }).(pulumi.StringOutput) -} - -type GetJobJobSettingsSettingsTaskDependsOnArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskDependsOnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskDependsOnArrayOutput { - return o -} - -func (o GetJobJobSettingsSettingsTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnArrayOutput { - return o + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) } -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 GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskEmailNotifications struct { - OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures []string `pulumi:"onFailures"` - OnStarts []string `pulumi:"onStarts"` - OnSuccesses []string `pulumi:"onSuccesses"` +type GetJobJobSettingsSettingsNewClusterAzureAttributes struct { + Availability *string `pulumi:"availability"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` } -// GetJobJobSettingsSettingsTaskEmailNotificationsInput is an input type that accepts GetJobJobSettingsSettingsTaskEmailNotificationsArgs and GetJobJobSettingsSettingsTaskEmailNotificationsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskEmailNotificationsInput` via: +// GetJobJobSettingsSettingsNewClusterAzureAttributesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAzureAttributesArgs and GetJobJobSettingsSettingsNewClusterAzureAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAzureAttributesInput` via: // -// GetJobJobSettingsSettingsTaskEmailNotificationsArgs{...} -type GetJobJobSettingsSettingsTaskEmailNotificationsInput interface { +// GetJobJobSettingsSettingsNewClusterAzureAttributesArgs{...} +type GetJobJobSettingsSettingsNewClusterAzureAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskEmailNotificationsOutput - ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsOutput + ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput + ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesOutput } -type GetJobJobSettingsSettingsTaskEmailNotificationsArgs struct { - OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` - OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` - OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` +type GetJobJobSettingsSettingsNewClusterAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` } -func (GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskEmailNotificationsOutput { - return i.ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskEmailNotificationsOutput) +func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) } -func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskEmailNotificationsOutput).ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskEmailNotificationsArgs, GetJobJobSettingsSettingsTaskEmailNotificationsPtr and GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput` via: +// GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput` via: // -// GetJobJobSettingsSettingsTaskEmailNotificationsArgs{...} +// GetJobJobSettingsSettingsNewClusterAzureAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput interface { +type GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput - ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput + ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput + ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput } -type getJobJobSettingsSettingsTaskEmailNotificationsPtrType GetJobJobSettingsSettingsTaskEmailNotificationsArgs +type getJobJobSettingsSettingsNewClusterAzureAttributesPtrType GetJobJobSettingsSettingsNewClusterAzureAttributesArgs -func GetJobJobSettingsSettingsTaskEmailNotificationsPtr(v *GetJobJobSettingsSettingsTaskEmailNotificationsArgs) GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput { - return (*getJobJobSettingsSettingsTaskEmailNotificationsPtrType)(v) +func GetJobJobSettingsSettingsNewClusterAzureAttributesPtr(v *GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput { + return (*getJobJobSettingsSettingsNewClusterAzureAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsTaskEmailNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) } -type GetJobJobSettingsSettingsTaskEmailNotificationsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskEmailNotificationsOutput { +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { return o } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsOutput { +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { return o } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskEmailNotifications) *GetJobJobSettingsSettingsTaskEmailNotifications { - return &v - }).(GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { - return v.OnDurationWarningThresholdExceededs - }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterAzureAttributes) *GetJobJobSettingsSettingsNewClusterAzureAttributes { + return &v + }).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) } -type GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsTaskEmailNotificationsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) GetJobJobSettingsSettingsTaskEmailNotifications { +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAzureAttributes) GetJobJobSettingsSettingsNewClusterAzureAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskEmailNotifications + var ret GetJobJobSettingsSettingsNewClusterAzureAttributes return ret - }).(GetJobJobSettingsSettingsTaskEmailNotificationsOutput) -} - -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnDurationWarningThresholdExceededs - }).(pulumi.StringArrayOutput) + }).(GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAzureAttributes) *string { if v == nil { return nil } - return v.OnFailures - }).(pulumi.StringArrayOutput) + return v.Availability + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAzureAttributes) *int { if v == nil { return nil } - return v.OnStarts - }).(pulumi.StringArrayOutput) + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAzureAttributes) *float64 { if v == nil { return nil } - return v.OnSuccesses - }).(pulumi.StringArrayOutput) + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTask struct { - Concurrency *int `pulumi:"concurrency"` - Inputs string `pulumi:"inputs"` - Task GetJobJobSettingsSettingsTaskForEachTaskTask `pulumi:"task"` +type GetJobJobSettingsSettingsNewClusterClusterLogConf struct { + Dbfs *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs `pulumi:"dbfs"` + S3 *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 `pulumi:"s3"` } -// GetJobJobSettingsSettingsTaskForEachTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskInput` via: +// GetJobJobSettingsSettingsNewClusterClusterLogConfInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfArgs and GetJobJobSettingsSettingsNewClusterClusterLogConfOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskInput interface { +// GetJobJobSettingsSettingsNewClusterClusterLogConfArgs{...} +type GetJobJobSettingsSettingsNewClusterClusterLogConfInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfOutput } -type GetJobJobSettingsSettingsTaskForEachTaskArgs struct { - Concurrency pulumi.IntPtrInput `pulumi:"concurrency"` - Inputs pulumi.StringInput `pulumi:"inputs"` - Task GetJobJobSettingsSettingsTaskForEachTaskTaskInput `pulumi:"task"` +type GetJobJobSettingsSettingsNewClusterClusterLogConfArgs struct { + Dbfs GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` + S3 GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` } -func (GetJobJobSettingsSettingsTaskForEachTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskOutput) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskPtrInput` via: +// GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskArgs{...} +// GetJobJobSettingsSettingsNewClusterClusterLogConfArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskPtrInput interface { +type GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskArgs +type getJobJobSettingsSettingsNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsNewClusterClusterLogConfArgs -func GetJobJobSettingsSettingsTaskForEachTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskPtrType)(v) +func GetJobJobSettingsSettingsNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput { + return (*getJobJobSettingsSettingsNewClusterClusterLogConfPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTask) *GetJobJobSettingsSettingsTaskForEachTask { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConf { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) Concurrency() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTask) *int { return v.Concurrency }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) Inputs() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTask) string { return v.Inputs }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) Dbfs() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { + return v.Dbfs + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) Task() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTask) GetJobJobSettingsSettingsTaskForEachTaskTask { - return v.Task - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { + return v.S3 + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) GetJobJobSettingsSettingsTaskForEachTask { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConf) GetJobJobSettingsSettingsNewClusterClusterLogConf { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTask + var ret GetJobJobSettingsSettingsNewClusterClusterLogConf 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) + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Inputs() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) *string { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) Dbfs() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { if v == nil { return nil } - return &v.Inputs - }).(pulumi.StringPtrOutput) + return v.Dbfs + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Task() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) *GetJobJobSettingsSettingsTaskForEachTaskTask { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) S3() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { if v == nil { return nil } - return &v.Task - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) + return v.S3 + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTask struct { - ComputeKey *string `pulumi:"computeKey"` - ConditionTask *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask `pulumi:"conditionTask"` - DbtTask *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask `pulumi:"dbtTask"` - DependsOns []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn `pulumi:"dependsOns"` - Description *string `pulumi:"description"` - EmailNotifications *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications `pulumi:"emailNotifications"` - 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 GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskInput` via: +// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskInput interface { +// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs{...} +type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskArgs struct { - ComputeKey pulumi.StringPtrInput `pulumi:"computeKey"` - ConditionTask GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput `pulumi:"conditionTask"` - DbtTask GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput `pulumi:"dbtTask"` - DependsOns GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput `pulumi:"dependsOns"` - Description pulumi.StringPtrInput `pulumi:"description"` - EmailNotifications GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput `pulumi:"emailNotifications"` - 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.StringPtrInput `pulumi:"taskKey"` - TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` - WebhookNotifications GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` +type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput` via: +// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskArgs{...} +// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput interface { +type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskArgs +type getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskPtrType)(v) +func GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput { + return (*getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTask { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ComputeKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.ComputeKey }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ConditionTask() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { - return v.ConditionTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) DbtTask() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { - return v.DbtTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) DependsOns() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn { - return v.DependsOns - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.Description }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) EmailNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { - return v.EmailNotifications - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) -} +type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ExistingClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) Health() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { - return v.Health - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) JobClusterKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) Libraries() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary { - return v.Libraries - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs + return ret + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) MaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) +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 GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) NewCluster() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { - return v.NewCluster - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) -} +// GetJobJobSettingsSettingsNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfS3Input` via: +// +// GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args{...} +type GetJobJobSettingsSettingsNewClusterClusterLogConfS3Input interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) NotebookTask() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { - return v.NotebookTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) + ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output + ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) NotificationSettings() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { - return v.NotificationSettings - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) +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 (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) PipelineTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { - return v.PipelineTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) +func (GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) PythonWheelTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { - return v.PythonWheelTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) RetryOnTimeout() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) bool { return v.RetryOnTimeout }).(pulumi.BoolOutput) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) RunIf() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.RunIf }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) RunJobTask() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { - return v.RunJobTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SparkJarTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { - return v.SparkJarTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) -} +// GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput` via: +// +// GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SparkPythonTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { - return v.SparkPythonTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) + ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SparkSubmitTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { - return v.SparkSubmitTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) -} +type getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SqlTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { - return v.SqlTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) +func GetJobJobSettingsSettingsNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput { + return (*getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType)(v) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) TaskKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.TaskKey }).(pulumi.StringPtrOutput) +func (*getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) TimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) WebhookNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications { - return v.WebhookNotifications - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { 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 GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ComputeKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { - if v == nil { - return nil - } - return v.ComputeKey - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ConditionTask() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { - if v == nil { - return nil - } - return v.ConditionTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) DbtTask() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { - if v == nil { - return nil - } - return v.DbtTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { + return &v + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) DependsOns() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn { - if v == nil { - return nil - } - return v.DependsOns - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { - if v == nil { - return nil - } - return v.Description - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) EmailNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { - if v == nil { - return nil - } - return v.EmailNotifications - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ExistingClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { - if v == nil { - return nil - } - return v.ExistingClusterId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Health() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { - if v == nil { - return nil - } - return v.Health - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) JobClusterKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { - if v == nil { - return nil - } - return v.JobClusterKey - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Libraries() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary { - if v == nil { - return nil - } - return v.Libraries - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) MaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *int { - if v == nil { - return nil - } - return v.MaxRetries - }).(pulumi.IntPtrOutput) -} +type GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *int { - if v == nil { - return nil - } - return v.MinRetryIntervalMillis - }).(pulumi.IntPtrOutput) +func (GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) NewCluster() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { - if v == nil { - return nil - } - return v.NewCluster - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) NotebookTask() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { - if v == nil { - return nil - } - return v.NotebookTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) NotificationSettings() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { - if v == nil { - return nil +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Elem() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { + if v != nil { + return *v } - return v.NotificationSettings - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) + var ret GetJobJobSettingsSettingsNewClusterClusterLogConfS3 + return ret + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) PipelineTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.PipelineTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) + return v.CannedAcl + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) PythonWheelTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.PythonWheelTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) RetryOnTimeout() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *bool { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *bool { if v == nil { return nil } - return &v.RetryOnTimeout + return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) RunIf() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.RunIf + return v.EncryptionType }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) RunJobTask() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.RunJobTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) + return v.Endpoint + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SparkJarTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.SparkJarTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) + return v.KmsKey + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SparkPythonTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.SparkPythonTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) + return v.Region + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SparkSubmitTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { - if v == nil { - return nil - } - return v.SparkSubmitTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) +type GetJobJobSettingsSettingsNewClusterClusterMountInfo struct { + LocalMountDirPath string `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SqlTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { - if v == nil { - return nil - } - return v.SqlTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) +// 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 (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) TaskKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { - if v == nil { - return nil - } - return v.TaskKey - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs struct { + LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *int { - if v == nil { - return nil - } - return v.TimeoutSeconds - }).(pulumi.IntPtrOutput) +func (GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) WebhookNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications { - if v == nil { - return nil - } - return v.WebhookNotifications - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) +func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask struct { - Left *string `pulumi:"left"` - Op *string `pulumi:"op"` - Right *string `pulumi:"right"` +func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskInput` via: +// GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterMountInfoArray and GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskInput interface { +// GetJobJobSettingsSettingsNewClusterClusterMountInfoArray{ GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs{...} } +type GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput + ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput + ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs struct { - Left pulumi.StringPtrInput `pulumi:"left"` - Op pulumi.StringPtrInput `pulumi:"op"` - Right pulumi.StringPtrInput `pulumi:"right"` -} +type GetJobJobSettingsSettingsNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsNewClusterClusterMountInfoInput -func (GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterMountInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) +func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) -} +type GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx) +func (GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() } -// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { + return o } -type getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType)(v) +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { + return o } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfo) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo { + return v.NetworkFilesystemInfo + }).(GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) +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 GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) +type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo struct { + MountOptions *string `pulumi:"mountOptions"` + ServerAddress string `pulumi:"serverAddress"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) Left() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *string { return v.Left }).(pulumi.StringPtrOutput) -} +// GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs and GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: +// +// GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} +type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) Op() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *string { return v.Op }).(pulumi.StringPtrOutput) + ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput + ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) Right() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *string { return v.Right }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { + MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` + ServerAddress pulumi.StringInput `pulumi:"serverAddress"` } -type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput struct{ *pulumi.OutputState } +func (GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() +func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return o +func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return o +type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o } -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 GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Op() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *string { - if v == nil { - return nil - } - return v.Op +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo) *string { + return v.MountOptions }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Right() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *string { - if v == nil { - return nil - } - return v.Right - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo) string { + return v.ServerAddress + }).(pulumi.StringOutput) } -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 GetJobJobSettingsSettingsNewClusterDockerImage struct { + BasicAuth *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` + Url string `pulumi:"url"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskInput` via: +// GetJobJobSettingsSettingsNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageArgs and GetJobJobSettingsSettingsNewClusterDockerImageOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImageInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskInput interface { +// GetJobJobSettingsSettingsNewClusterDockerImageArgs{...} +type GetJobJobSettingsSettingsNewClusterDockerImageInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput + ToGetJobJobSettingsSettingsNewClusterDockerImageOutput() GetJobJobSettingsSettingsNewClusterDockerImageOutput + ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImageOutput } -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 GetJobJobSettingsSettingsNewClusterDockerImageArgs struct { + BasicAuth GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + Url pulumi.StringInput `pulumi:"url"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageOutput() GetJobJobSettingsSettingsNewClusterDockerImageOutput { + return i.ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) +func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput` via: +// GetJobJobSettingsSettingsNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageArgs, GetJobJobSettingsSettingsNewClusterDockerImagePtr and GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImagePtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs{...} +// GetJobJobSettingsSettingsNewClusterDockerImageArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput interface { +type GetJobJobSettingsSettingsNewClusterDockerImagePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput + ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput + ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs +type getJobJobSettingsSettingsNewClusterDockerImagePtrType GetJobJobSettingsSettingsNewClusterDockerImageArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType)(v) +func GetJobJobSettingsSettingsNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsNewClusterDockerImageArgs) GetJobJobSettingsSettingsNewClusterDockerImagePtrInput { + return (*getJobJobSettingsSettingsNewClusterDockerImagePtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterDockerImagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterDockerImageOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { +func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageOutput() GetJobJobSettingsSettingsNewClusterDockerImageOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { +func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { +func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterDockerImage) *GetJobJobSettingsSettingsNewClusterDockerImage { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Catalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) -} - -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) + }).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) BasicAuth() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImage) *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { + return v.BasicAuth + }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { +func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterDockerImageOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImage) GetJobJobSettingsSettingsNewClusterDockerImage { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask + var ret GetJobJobSettingsSettingsNewClusterDockerImage 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) + }).(GetJobJobSettingsSettingsNewClusterDockerImageOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { +func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) BasicAuth() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImage) *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { if v == nil { return nil } - return v.ProfilesDirectory - }).(pulumi.StringPtrOutput) + return v.BasicAuth + }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ProjectDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { +func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImage) *string { if v == nil { return nil } - return v.ProjectDirectory + return &v.Url }).(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) +type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { - if v == nil { - return nil - } - return v.Source - }).(pulumi.StringPtrOutput) -} +// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthInput` via: +// +// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs{...} +type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { - if v == nil { - return nil - } - return v.WarehouseId - }).(pulumi.StringPtrOutput) + ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput + ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn struct { - Outcome *string `pulumi:"outcome"` - TaskKey string `pulumi:"taskKey"` +type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput +func (GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs struct { - Outcome pulumi.StringPtrInput `pulumi:"outcome"` - TaskKey pulumi.StringInput `pulumi:"taskKey"` +func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { + return i.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() +func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) +func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray and GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput` via: +// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs, GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtr and GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput interface { +// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput + ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput + ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput +type getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs -func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() +func GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput { + return (*getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType)(v) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) +func (i *getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput struct{ *pulumi.OutputState } +func (i *getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() +type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) Outcome() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn) *string { return v.Outcome }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) TaskKey() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn) string { return v.TaskKey }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { + return &v + }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { +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 GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { 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 GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth + return ret + }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications struct { - OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures []string `pulumi:"onFailures"` - OnStarts []string `pulumi:"onStarts"` - OnSuccesses []string `pulumi:"onSuccesses"` +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Password + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsInput` via: +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Username + }).(pulumi.StringPtrOutput) +} + +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"` +} + +// GetJobJobSettingsSettingsNewClusterGcpAttributesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterGcpAttributesArgs and GetJobJobSettingsSettingsNewClusterGcpAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterGcpAttributesInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsInput interface { +// GetJobJobSettingsSettingsNewClusterGcpAttributesArgs{...} +type GetJobJobSettingsSettingsNewClusterGcpAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput + ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput + ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs struct { - OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` - OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` - OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` +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 (GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { + return i.ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) +func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput` via: +// GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterGcpAttributesArgs, GetJobJobSettingsSettingsNewClusterGcpAttributesPtr and GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs{...} +// GetJobJobSettingsSettingsNewClusterGcpAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput interface { +type GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput + ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput + ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs +type getJobJobSettingsSettingsNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsNewClusterGcpAttributesArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType)(v) +func GetJobJobSettingsSettingsNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput { + return (*getJobJobSettingsSettingsNewClusterGcpAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterGcpAttributes) *GetJobJobSettingsSettingsNewClusterGcpAttributes { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { - return v.OnDurationWarningThresholdExceededs - }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { +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 GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) GetJobJobSettingsSettingsNewClusterGcpAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications + var ret GetJobJobSettingsSettingsNewClusterGcpAttributes return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) + }).(GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { if v == nil { return nil } - return v.OnDurationWarningThresholdExceededs - }).(pulumi.StringArrayOutput) + return v.Availability + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { if v == nil { return nil } - return v.OnFailures - }).(pulumi.StringArrayOutput) + return v.BootDiskSize + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { if v == nil { return nil } - return v.OnStarts - }).(pulumi.StringArrayOutput) + return v.GoogleServiceAccount + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { if v == nil { return nil } - return v.OnSuccesses - }).(pulumi.StringArrayOutput) + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealth struct { - Rules []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule `pulumi:"rules"` +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *bool { + if v == nil { + return nil + } + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(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"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptArgs and GetJobJobSettingsSettingsNewClusterInitScriptOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptArgs{...} +type GetJobJobSettingsSettingsNewClusterInitScriptInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs struct { - Rules GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput `pulumi:"rules"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() + ToGetJobJobSettingsSettingsNewClusterInitScriptOutput() GetJobJobSettingsSettingsNewClusterInitScriptOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(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 GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) +func (GetJobJobSettingsSettingsNewClusterInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptOutput() GetJobJobSettingsSettingsNewClusterInitScriptOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs{...} -// -// or: +// GetJobJobSettingsSettingsNewClusterInitScriptArrayInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptArray and GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptArray{ GetJobJobSettingsSettingsNewClusterInitScriptArgs{...} } +type GetJobJobSettingsSettingsNewClusterInitScriptArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType)(v) -} +type GetJobJobSettingsSettingsNewClusterInitScriptArray []GetJobJobSettingsSettingsNewClusterInitScriptInput -func (*getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptArray) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptArray) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptOutput() GetJobJobSettingsSettingsNewClusterInitScriptOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Abfss() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptAbfss { + return v.Abfss + }).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Dbfs() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptDbfs { + return v.Dbfs + }).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) Rules() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule { - return v.Rules - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) File() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptFile { + return v.File + }).(GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Gcs() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptGcs { + return v.Gcs + }).(GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) S3() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptS3 { + return v.S3 + }).(GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return o +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Volumes() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptVolumes { + return v.Volumes + }).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Workspace() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace { + return v.Workspace + }).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskHealth - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) Rules() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule { - if v == nil { - return nil - } - return v.Rules - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) +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 GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule struct { - Metric *string `pulumi:"metric"` - Op *string `pulumi:"op"` - Value *int `pulumi:"value"` +type GetJobJobSettingsSettingsNewClusterInitScriptAbfss struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptAbfssInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs and GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptAbfssInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs{...} +type GetJobJobSettingsSettingsNewClusterInitScriptAbfssInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs struct { - Metric pulumi.StringPtrInput `pulumi:"metric"` - Op pulumi.StringPtrInput `pulumi:"op"` - Value pulumi.IntPtrInput `pulumi:"value"` +type GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput` via: +func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs, GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtr and GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleInput +type getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs -func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() +func GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput { + return (*getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType)(v) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput struct{ *pulumi.OutputState } +func (i *getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() +type GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule) *string { return v.Metric }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) Op() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule) *string { return v.Op }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsNewClusterInitScriptAbfss { + return &v + }).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) Value() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule) *int { return v.Value }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { return o } -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 (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptAbfss) GetJobJobSettingsSettingsNewClusterInitScriptAbfss { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsNewClusterInitScriptAbfss + return ret + }).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary struct { - Cran *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran `pulumi:"cran"` - Egg *string `pulumi:"egg"` - Jar *string `pulumi:"jar"` - Maven *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven `pulumi:"maven"` - Pypi *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi `pulumi:"pypi"` - Whl *string `pulumi:"whl"` +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptAbfss) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryInput` via: +type GetJobJobSettingsSettingsNewClusterInitScriptDbfs struct { + Destination string `pulumi:"destination"` +} + +// GetJobJobSettingsSettingsNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptDbfsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs{...} +type GetJobJobSettingsSettingsNewClusterInitScriptDbfsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput } -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"` - Whl pulumi.StringPtrInput `pulumi:"whl"` +type GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput` via: +func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs, GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtr and GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray []GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryInput +type getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() +func GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput { + return (*getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType)(v) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() +func (i *getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { - return o +type GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Cran() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran { - return v.Cran - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Egg() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Jar() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsNewClusterInitScriptDbfs { + return &v + }).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Maven() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven { - return v.Maven - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Pypi() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi { - return v.Pypi - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) -} +type GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Whl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { - 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 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 GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptDbfs) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +type GetJobJobSettingsSettingsNewClusterInitScriptFile struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptFileInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptFileArgs and GetJobJobSettingsSettingsNewClusterInitScriptFileOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptFileInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptFileArgs{...} +type GetJobJobSettingsSettingsNewClusterInitScriptFileInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFileOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type GetJobJobSettingsSettingsNewClusterInitScriptFileArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs{...} +// GetJobJobSettingsSettingsNewClusterInitScriptFileArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput interface { +type GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs +type getJobJobSettingsSettingsNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsNewClusterInitScriptFileArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType)(v) +func GetJobJobSettingsSettingsNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput { + return (*getJobJobSettingsSettingsNewClusterInitScriptFilePtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran { +func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptFile) *GetJobJobSettingsSettingsNewClusterInitScriptFile { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) string { return v.Package }).(pulumi.StringOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran { +func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptFile) GetJobJobSettingsSettingsNewClusterInitScriptFile { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran + var ret GetJobJobSettingsSettingsNewClusterInitScriptFile return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *string { - if v == nil { - return nil - } - return &v.Package - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *string { +func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptFile) *string { if v == nil { return nil } - return v.Repo + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven struct { - Coordinates string `pulumi:"coordinates"` - Exclusions []string `pulumi:"exclusions"` - Repo *string `pulumi:"repo"` +type GetJobJobSettingsSettingsNewClusterInitScriptGcs struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptGcsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs and GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptGcsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs{...} +type GetJobJobSettingsSettingsNewClusterInitScriptGcsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs struct { - Coordinates pulumi.StringInput `pulumi:"coordinates"` - Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs{...} +// GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput interface { +type GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs +type getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType)(v) +func GetJobJobSettingsSettingsNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput { + return (*getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven { +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptGcs) *GetJobJobSettingsSettingsNewClusterInitScriptGcs { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven { +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptGcs) GetJobJobSettingsSettingsNewClusterInitScriptGcs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven + var ret GetJobJobSettingsSettingsNewClusterInitScriptGcs return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *string { - if v == nil { - return nil - } - return &v.Coordinates - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) []string { - if v == nil { - return nil - } - return v.Exclusions - }).(pulumi.StringArrayOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *string { +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptGcs) *string { if v == nil { return nil } - return v.Repo + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +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"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptS3Input is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptS3Args and GetJobJobSettingsSettingsNewClusterInitScriptS3Output values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptS3Input` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptS3Args{...} +type GetJobJobSettingsSettingsNewClusterInitScriptS3Input interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptS3Output() GetJobJobSettingsSettingsNewClusterInitScriptS3Output + ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3Output } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +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 (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3Output() GetJobJobSettingsSettingsNewClusterInitScriptS3Output { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptS3Output) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptS3Args, GetJobJobSettingsSettingsNewClusterInitScriptS3Ptr and GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs{...} +// GetJobJobSettingsSettingsNewClusterInitScriptS3Args{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput interface { +type GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs +type getJobJobSettingsSettingsNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsNewClusterInitScriptS3Args -func GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType)(v) +func GetJobJobSettingsSettingsNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsNewClusterInitScriptS3Args) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput { + return (*getJobJobSettingsSettingsNewClusterInitScriptS3PtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptS3Output struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3Output() GetJobJobSettingsSettingsNewClusterInitScriptS3Output { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3Output { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptS3) *GetJobJobSettingsSettingsNewClusterInitScriptS3 { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) string { return v.Package }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +} + +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 GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptS3Output { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) GetJobJobSettingsSettingsNewClusterInitScriptS3 { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi + var ret GetJobJobSettingsSettingsNewClusterInitScriptS3 return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptS3Output) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *string { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { if v == nil { return nil } - return &v.Package + return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *string { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.Repo + return &v.Destination }).(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]interface{} `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]interface{} `pulumi:"sparkConf"` - SparkEnvVars map[string]interface{} `pulumi:"sparkEnvVars"` - SparkVersion string `pulumi:"sparkVersion"` - SshPublicKeys []string `pulumi:"sshPublicKeys"` - WorkloadType *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType `pulumi:"workloadType"` -} - -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput -} - -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.MapInput `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.MapInput `pulumi:"sparkConf"` - SparkEnvVars pulumi.MapInput `pulumi:"sparkEnvVars"` - SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` - SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` - WorkloadType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx) -} - -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) +} -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType)(v) +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) +type GetJobJobSettingsSettingsNewClusterInitScriptVolumes struct { + Destination string `pulumi:"destination"` } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput struct{ *pulumi.OutputState } +// GetJobJobSettingsSettingsNewClusterInitScriptVolumesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs and GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptVolumesInput` via: +// +// GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs{...} +type GetJobJobSettingsSettingsNewClusterInitScriptVolumesInput interface { + pulumi.Input -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() + ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { - return o +type GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { - return o +func (GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { - return v.ApplyPolicyDefaultValues - }).(pulumi.BoolPtrOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) Autoscale() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { - return v.Autoscale - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) +// GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs, GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtr and GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput` via: +// +// GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) +type getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs + +func GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput { + return (*getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType)(v) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) AwsAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { - return v.AwsAttributes - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) +func (*getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) AzureAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { - return v.AzureAttributes - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterLogConf() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { - return v.ClusterLogConf - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) +type GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterMountInfos() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo { - return v.ClusterMountInfos - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) CustomTags() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { - return v.CustomTags - }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsNewClusterInitScriptVolumes { + return &v + }).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DockerImage() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage { - return v.DockerImage - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DriverInstancePoolId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) +type GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DriverNodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) EnableElasticDisk() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) bool { - return v.EnableLocalDiskEncryption - }).(pulumi.BoolOutput) +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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { - return v.GcpAttributes - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) +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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsNewClusterInitScriptWorkspace struct { + Destination string `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) InitScripts() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript { - return v.InitScripts - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) +// GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs and GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceInput` via: +// +// GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs{...} +type GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) NodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) +func (GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) NumWorkers() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SparkConf() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { - return v.SparkConf - }).(pulumi.MapOutput) +// GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs, GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtr and GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput` via: +// +// GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SparkEnvVars() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { - return v.SparkEnvVars - }).(pulumi.MapOutput) +type getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs + +func GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput { + return (*getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType)(v) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SparkVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) +func (*getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { - return v.WorkloadType - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { - if v == nil { - return nil - } - return v.ApplyPolicyDefaultValues - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace { + return &v + }).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) Autoscale() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { - if v == nil { - return nil - } - return v.Autoscale - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *int { - if v == nil { - return nil - } - return v.AutoterminationMinutes - }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) AwsAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { - if v == nil { - return nil - } - return v.AwsAttributes - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) AzureAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { - if v == nil { - return nil +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) GetJobJobSettingsSettingsNewClusterInitScriptWorkspace { + if v != nil { + return *v } - return v.AzureAttributes - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) + var ret GetJobJobSettingsSettingsNewClusterInitScriptWorkspace + return ret + }).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) *string { if v == nil { return nil } - return v.ClusterId + return &v.Destination }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterLogConf() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { - if v == nil { - return nil - } - return v.ClusterLogConf - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) +type GetJobJobSettingsSettingsNewClusterWorkloadType struct { + Clients GetJobJobSettingsSettingsNewClusterWorkloadTypeClients `pulumi:"clients"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterMountInfos() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo { - if v == nil { - return nil - } - return v.ClusterMountInfos - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) +// GetJobJobSettingsSettingsNewClusterWorkloadTypeInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs and GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypeInput` via: +// +// GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs{...} +type GetJobJobSettingsSettingsNewClusterWorkloadTypeInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.ClusterName - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs struct { + Clients GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput `pulumi:"clients"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) CustomTags() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { - if v == nil { - return nil - } - return v.CustomTags - }).(pulumi.MapOutput) +func (GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadType)(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 GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { + return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(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 GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) } -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 GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(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 GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { - if v == nil { - return nil - } - return &v.EnableElasticDisk - }).(pulumi.BoolPtrOutput) +// GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs, GetJobJobSettingsSettingsNewClusterWorkloadTypePtr and GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput` via: +// +// GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { - if v == nil { - return nil - } - return &v.EnableLocalDiskEncryption - }).(pulumi.BoolPtrOutput) +type getJobJobSettingsSettingsNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs + +func GetJobJobSettingsSettingsNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput { + return (*getJobJobSettingsSettingsNewClusterWorkloadTypePtrType)(v) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) GcpAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { - if v == nil { - return nil - } - return v.GcpAttributes - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) +func (*getJobJobSettingsSettingsNewClusterWorkloadTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadType)(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 *getJobJobSettingsSettingsNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(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 *getJobJobSettingsSettingsNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.InstancePoolId - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadType)(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 GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { + 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 GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { + 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 GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(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 GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterWorkloadType) *GetJobJobSettingsSettingsNewClusterWorkloadType { + return &v + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) } -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 GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterWorkloadType) GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { + return v.Clients + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SparkConf() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { - if v == nil { - return nil - } - return v.SparkConf - }).(pulumi.MapOutput) +type GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SparkEnvVars() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { - if v == nil { - return nil - } - return v.SparkEnvVars - }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return &v.SparkVersion - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []string { - if v == nil { - return nil +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadType) GetJobJobSettingsSettingsNewClusterWorkloadType { + if v != nil { + return *v } - return v.SshPublicKeys - }).(pulumi.StringArrayOutput) + var ret GetJobJobSettingsSettingsNewClusterWorkloadType + return ret + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) WorkloadType() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadType) *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { if v == nil { return nil } - return v.WorkloadType - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) + return &v.Clients + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale struct { - MaxWorkers *int `pulumi:"maxWorkers"` - MinWorkers *int `pulumi:"minWorkers"` +type GetJobJobSettingsSettingsNewClusterWorkloadTypeClients struct { + Jobs *bool `pulumi:"jobs"` + Notebooks *bool `pulumi:"notebooks"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleInput` via: +// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs and GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleInput interface { +// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs{...} +type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs struct { - MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` - MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs struct { + Jobs pulumi.BoolPtrInput `pulumi:"jobs"` + Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { + return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) +func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput` via: +// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs, GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtr and GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs{...} +// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput interface { +type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs +type getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType)(v) +func GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput { + return (*getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) +func (i *getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale + var ret GetJobJobSettingsSettingsNewClusterWorkloadTypeClients return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *int { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return v.MaxWorkers - }).(pulumi.IntPtrOutput) + return v.Jobs + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *int { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return v.MinWorkers - }).(pulumi.IntPtrOutput) + return v.Notebooks + }).(pulumi.BoolPtrOutput) } -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 GetJobJobSettingsSettingsNotebookTask struct { + BaseParameters map[string]interface{} `pulumi:"baseParameters"` + NotebookPath string `pulumi:"notebookPath"` + Source *string `pulumi:"source"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesInput` via: +// GetJobJobSettingsSettingsNotebookTaskInput is an input type that accepts GetJobJobSettingsSettingsNotebookTaskArgs and GetJobJobSettingsSettingsNotebookTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNotebookTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesInput interface { +// GetJobJobSettingsSettingsNotebookTaskArgs{...} +type GetJobJobSettingsSettingsNotebookTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput + ToGetJobJobSettingsSettingsNotebookTaskOutput() GetJobJobSettingsSettingsNotebookTaskOutput + ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsNotebookTaskOutput } -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 GetJobJobSettingsSettingsNotebookTaskArgs struct { + BaseParameters pulumi.MapInput `pulumi:"baseParameters"` + NotebookPath pulumi.StringInput `pulumi:"notebookPath"` + Source pulumi.StringPtrInput `pulumi:"source"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsNotebookTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskOutput() GetJobJobSettingsSettingsNotebookTaskOutput { + return i.ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) +func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotebookTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotebookTaskOutput).ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput` via: +// GetJobJobSettingsSettingsNotebookTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsNotebookTaskArgs, GetJobJobSettingsSettingsNotebookTaskPtr and GetJobJobSettingsSettingsNotebookTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNotebookTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs{...} +// GetJobJobSettingsSettingsNotebookTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput interface { +type GetJobJobSettingsSettingsNotebookTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput + ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput + ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs +type getJobJobSettingsSettingsNotebookTaskPtrType GetJobJobSettingsSettingsNotebookTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType)(v) +func GetJobJobSettingsSettingsNotebookTaskPtr(v *GetJobJobSettingsSettingsNotebookTaskArgs) GetJobJobSettingsSettingsNotebookTaskPtrInput { + return (*getJobJobSettingsSettingsNotebookTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsNotebookTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNotebookTaskPtrType) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) +func (i *getJobJobSettingsSettingsNotebookTaskPtrType) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNotebookTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsNotebookTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { +func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskOutput() GetJobJobSettingsSettingsNotebookTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { +func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNotebookTask) *GetJobJobSettingsSettingsNotebookTask { 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) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { - return v.InstanceProfileArn - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNotebookTaskOutput) BaseParameters() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) map[string]interface{} { return v.BaseParameters }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { - return v.SpotBidPricePercent - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsNotebookTaskOutput) NotebookPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNotebookTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNotebookTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsNotebookTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { +func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { +func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) Elem() GetJobJobSettingsSettingsNotebookTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) GetJobJobSettingsSettingsNotebookTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes + var ret GetJobJobSettingsSettingsNotebookTask 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) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.EbsVolumeType - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsNotebookTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { +func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) BaseParameters() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) map[string]interface{} { if v == nil { return nil } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) + return v.BaseParameters + }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { +func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) NotebookPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) *string { if v == nil { return nil } - return v.InstanceProfileArn + return &v.NotebookPath }).(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 { +func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) *string { if v == nil { return nil } - return v.ZoneId + return v.Source }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes struct { - Availability *string `pulumi:"availability"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +type GetJobJobSettingsSettingsNotificationSettings struct { + NoAlertForCanceledRuns *bool `pulumi:"noAlertForCanceledRuns"` + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesInput` via: +// GetJobJobSettingsSettingsNotificationSettingsInput is an input type that accepts GetJobJobSettingsSettingsNotificationSettingsArgs and GetJobJobSettingsSettingsNotificationSettingsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNotificationSettingsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesInput interface { +// GetJobJobSettingsSettingsNotificationSettingsArgs{...} +type GetJobJobSettingsSettingsNotificationSettingsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput + ToGetJobJobSettingsSettingsNotificationSettingsOutput() GetJobJobSettingsSettingsNotificationSettingsOutput + ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsNotificationSettingsOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +type GetJobJobSettingsSettingsNotificationSettingsArgs struct { + NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsNotificationSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsOutput() GetJobJobSettingsSettingsNotificationSettingsOutput { + return i.ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) +func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotificationSettingsOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotificationSettingsOutput).ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput` via: +// GetJobJobSettingsSettingsNotificationSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsNotificationSettingsArgs, GetJobJobSettingsSettingsNotificationSettingsPtr and GetJobJobSettingsSettingsNotificationSettingsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNotificationSettingsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs{...} +// GetJobJobSettingsSettingsNotificationSettingsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput interface { +type GetJobJobSettingsSettingsNotificationSettingsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput + ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput + ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs +type getJobJobSettingsSettingsNotificationSettingsPtrType GetJobJobSettingsSettingsNotificationSettingsArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType)(v) +func GetJobJobSettingsSettingsNotificationSettingsPtr(v *GetJobJobSettingsSettingsNotificationSettingsArgs) GetJobJobSettingsSettingsNotificationSettingsPtrInput { + return (*getJobJobSettingsSettingsNotificationSettingsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsNotificationSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNotificationSettingsPtrType) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) +func (i *getJobJobSettingsSettingsNotificationSettingsPtrType) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNotificationSettingsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsNotificationSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { +func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsOutput() GetJobJobSettingsSettingsNotificationSettingsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { +func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return o.ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { +func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNotificationSettings) *GetJobJobSettingsSettingsNotificationSettings { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *string { - return v.Availability - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *int { - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNotificationSettings) *bool { return v.NoAlertForCanceledRuns }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *float64 { - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) +func (o GetJobJobSettingsSettingsNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNotificationSettings) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNotificationSettingsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsNotificationSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { +func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { +func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { +func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) Elem() GetJobJobSettingsSettingsNotificationSettingsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotificationSettings) GetJobJobSettingsSettingsNotificationSettings { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes + var ret GetJobJobSettingsSettingsNotificationSettings return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsNotificationSettingsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *int { +func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotificationSettings) *bool { if v == nil { return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) + } + return v.NoAlertForCanceledRuns + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *float64 { +func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotificationSettings) *bool { if v == nil { return nil } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf struct { - Dbfs *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs `pulumi:"dbfs"` - S3 *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 `pulumi:"s3"` +type GetJobJobSettingsSettingsParameter struct { + Default string `pulumi:"default"` + // the job name of Job if the resource was matched by id. + Name string `pulumi:"name"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfInput` via: +// GetJobJobSettingsSettingsParameterInput is an input type that accepts GetJobJobSettingsSettingsParameterArgs and GetJobJobSettingsSettingsParameterOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsParameterInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfInput interface { +// GetJobJobSettingsSettingsParameterArgs{...} +type GetJobJobSettingsSettingsParameterInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs struct { - Dbfs GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() + ToGetJobJobSettingsSettingsParameterOutput() GetJobJobSettingsSettingsParameterOutput + ToGetJobJobSettingsSettingsParameterOutputWithContext(context.Context) GetJobJobSettingsSettingsParameterOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(context.Background()) +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 (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) +func (GetJobJobSettingsSettingsParameterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsParameter)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsParameterArgs) ToGetJobJobSettingsSettingsParameterOutput() GetJobJobSettingsSettingsParameterOutput { + return i.ToGetJobJobSettingsSettingsParameterOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsParameterArgs) ToGetJobJobSettingsSettingsParameterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsParameterOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs{...} -// -// or: +// GetJobJobSettingsSettingsParameterArrayInput is an input type that accepts GetJobJobSettingsSettingsParameterArray and GetJobJobSettingsSettingsParameterArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsParameterArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput interface { +// GetJobJobSettingsSettingsParameterArray{ GetJobJobSettingsSettingsParameterArgs{...} } +type GetJobJobSettingsSettingsParameterArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput + ToGetJobJobSettingsSettingsParameterArrayOutput() GetJobJobSettingsSettingsParameterArrayOutput + ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsParameterArrayOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType)(v) -} +type GetJobJobSettingsSettingsParameterArray []GetJobJobSettingsSettingsParameterInput -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsParameterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsParameter)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsParameterArray) ToGetJobJobSettingsSettingsParameterArrayOutput() GetJobJobSettingsSettingsParameterArrayOutput { + return i.ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) +func (i GetJobJobSettingsSettingsParameterArray) ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsParameterArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsParameterOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsParameterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsParameter)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { +func (o GetJobJobSettingsSettingsParameterOutput) ToGetJobJobSettingsSettingsParameterOutput() GetJobJobSettingsSettingsParameterOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { +func (o GetJobJobSettingsSettingsParameterOutput) ToGetJobJobSettingsSettingsParameterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) Dbfs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) +func (o GetJobJobSettingsSettingsParameterOutput) Default() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsParameter) string { return v.Default }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { - return v.S3 - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) +// 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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsParameterArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsParameterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsParameter)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { +func (o GetJobJobSettingsSettingsParameterArrayOutput) ToGetJobJobSettingsSettingsParameterArrayOutput() GetJobJobSettingsSettingsParameterArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { +func (o GetJobJobSettingsSettingsParameterArrayOutput) ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) Dbfs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { - if v == nil { - return nil - } - return v.Dbfs - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) S3() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { - if v == nil { - return nil - } - return v.S3 - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) +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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsPipelineTask struct { + FullRefresh *bool `pulumi:"fullRefresh"` + PipelineId string `pulumi:"pipelineId"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput` via: +// GetJobJobSettingsSettingsPipelineTaskInput is an input type that accepts GetJobJobSettingsSettingsPipelineTaskArgs and GetJobJobSettingsSettingsPipelineTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsPipelineTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput interface { +// GetJobJobSettingsSettingsPipelineTaskArgs{...} +type GetJobJobSettingsSettingsPipelineTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput + ToGetJobJobSettingsSettingsPipelineTaskOutput() GetJobJobSettingsSettingsPipelineTaskOutput + ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsPipelineTaskOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsPipelineTaskArgs struct { + FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` + PipelineId pulumi.StringInput `pulumi:"pipelineId"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsPipelineTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskOutput() GetJobJobSettingsSettingsPipelineTaskOutput { + return i.ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) +func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPipelineTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPipelineTaskOutput).ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput` via: +// GetJobJobSettingsSettingsPipelineTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsPipelineTaskArgs, GetJobJobSettingsSettingsPipelineTaskPtr and GetJobJobSettingsSettingsPipelineTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsPipelineTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs{...} +// GetJobJobSettingsSettingsPipelineTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput interface { +type GetJobJobSettingsSettingsPipelineTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput + ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput + ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs +type getJobJobSettingsSettingsPipelineTaskPtrType GetJobJobSettingsSettingsPipelineTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType)(v) +func GetJobJobSettingsSettingsPipelineTaskPtr(v *GetJobJobSettingsSettingsPipelineTaskArgs) GetJobJobSettingsSettingsPipelineTaskPtrInput { + return (*getJobJobSettingsSettingsPipelineTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (*getJobJobSettingsSettingsPipelineTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsPipelineTaskPtrType) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) +func (i *getJobJobSettingsSettingsPipelineTaskPtrType) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsPipelineTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsPipelineTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { +func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskOutput() GetJobJobSettingsSettingsPipelineTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { +func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { +func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsPipelineTask) *GetJobJobSettingsSettingsPipelineTask { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) + }).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) string { - return v.Destination - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsPipelineTaskOutput) PipelineId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsPipelineTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsPipelineTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { +func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { +func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { +func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) Elem() GetJobJobSettingsSettingsPipelineTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPipelineTask) GetJobJobSettingsSettingsPipelineTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs + var ret GetJobJobSettingsSettingsPipelineTask return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) + }).(GetJobJobSettingsSettingsPipelineTaskOutput) +} + +func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPipelineTask) *bool { + if v == nil { + return nil + } + return v.FullRefresh + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) *string { +func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPipelineTask) *string { if v == nil { return nil } - return &v.Destination + return &v.PipelineId }).(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 GetJobJobSettingsSettingsPythonWheelTask struct { + EntryPoint *string `pulumi:"entryPoint"` + NamedParameters map[string]interface{} `pulumi:"namedParameters"` + PackageName *string `pulumi:"packageName"` + Parameters []string `pulumi:"parameters"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Input` via: +// GetJobJobSettingsSettingsPythonWheelTaskInput is an input type that accepts GetJobJobSettingsSettingsPythonWheelTaskArgs and GetJobJobSettingsSettingsPythonWheelTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsPythonWheelTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Input interface { +// GetJobJobSettingsSettingsPythonWheelTaskArgs{...} +type GetJobJobSettingsSettingsPythonWheelTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output + ToGetJobJobSettingsSettingsPythonWheelTaskOutput() GetJobJobSettingsSettingsPythonWheelTaskOutput + ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsPythonWheelTaskOutput } -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 GetJobJobSettingsSettingsPythonWheelTaskArgs struct { + EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` + NamedParameters pulumi.MapInput `pulumi:"namedParameters"` + PackageName pulumi.StringPtrInput `pulumi:"packageName"` + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsPythonWheelTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskOutput() GetJobJobSettingsSettingsPythonWheelTaskOutput { + return i.ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) +func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPythonWheelTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPythonWheelTaskOutput).ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput` via: +// GetJobJobSettingsSettingsPythonWheelTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsPythonWheelTaskArgs, GetJobJobSettingsSettingsPythonWheelTaskPtr and GetJobJobSettingsSettingsPythonWheelTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsPythonWheelTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args{...} +// GetJobJobSettingsSettingsPythonWheelTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput interface { +type GetJobJobSettingsSettingsPythonWheelTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput + ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput + ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args +type getJobJobSettingsSettingsPythonWheelTaskPtrType GetJobJobSettingsSettingsPythonWheelTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType)(v) +func GetJobJobSettingsSettingsPythonWheelTaskPtr(v *GetJobJobSettingsSettingsPythonWheelTaskArgs) GetJobJobSettingsSettingsPythonWheelTaskPtrInput { + return (*getJobJobSettingsSettingsPythonWheelTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (*getJobJobSettingsSettingsPythonWheelTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) +func (i *getJobJobSettingsSettingsPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsPythonWheelTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsPythonWheelTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskOutput() GetJobJobSettingsSettingsPythonWheelTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsPythonWheelTask) *GetJobJobSettingsSettingsPythonWheelTask { 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) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *bool { - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) + }).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { - return v.EncryptionType - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) EntryPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) *string { return v.EntryPoint }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { - return v.Endpoint - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) NamedParameters() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) map[string]interface{} { return v.NamedParameters }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { - return v.KmsKey - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { - return v.Region - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { +func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { +func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { +func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) Elem() GetJobJobSettingsSettingsPythonWheelTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) GetJobJobSettingsSettingsPythonWheelTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 + var ret GetJobJobSettingsSettingsPythonWheelTask 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 - } - return &v.Destination - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) + }).(GetJobJobSettingsSettingsPythonWheelTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) EntryPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) *string { if v == nil { return nil } - return v.EncryptionType + return v.EntryPoint }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) NamedParameters() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) map[string]interface{} { if v == nil { return nil } - return v.Endpoint - }).(pulumi.StringPtrOutput) + return v.NamedParameters + }).(pulumi.MapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) PackageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) *string { if v == nil { return nil } - return v.KmsKey + return v.PackageName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) []string { if v == nil { return nil } - return v.Region - }).(pulumi.StringPtrOutput) + return v.Parameters + }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo struct { - LocalMountDirPath string `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` +type GetJobJobSettingsSettingsQueue struct { + Enabled bool `pulumi:"enabled"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput` via: +// GetJobJobSettingsSettingsQueueInput is an input type that accepts GetJobJobSettingsSettingsQueueArgs and GetJobJobSettingsSettingsQueueOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsQueueInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput interface { +// GetJobJobSettingsSettingsQueueArgs{...} +type GetJobJobSettingsSettingsQueueInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs struct { - LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() + ToGetJobJobSettingsSettingsQueueOutput() GetJobJobSettingsSettingsQueueOutput + ToGetJobJobSettingsSettingsQueueOutputWithContext(context.Context) GetJobJobSettingsSettingsQueueOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsQueueArgs struct { + Enabled pulumi.BoolInput `pulumi:"enabled"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) +func (GetJobJobSettingsSettingsQueueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsQueue)(nil)).Elem() } -// 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 GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueueOutput() GetJobJobSettingsSettingsQueueOutput { + return i.ToGetJobJobSettingsSettingsQueueOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() +func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueueOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueueOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsQueueOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { + return i.ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) +func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsQueueOutput).ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } +// GetJobJobSettingsSettingsQueuePtrInput is an input type that accepts GetJobJobSettingsSettingsQueueArgs, GetJobJobSettingsSettingsQueuePtr and GetJobJobSettingsSettingsQueuePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsQueuePtrInput` via: +// +// GetJobJobSettingsSettingsQueueArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsQueuePtrInput interface { + pulumi.Input -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() + ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput + ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsQueuePtrOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { - return o -} +type getJobJobSettingsSettingsQueuePtrType GetJobJobSettingsSettingsQueueArgs -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { - return o +func GetJobJobSettingsSettingsQueuePtr(v *GetJobJobSettingsSettingsQueueArgs) GetJobJobSettingsSettingsQueuePtrInput { + return (*getJobJobSettingsSettingsQueuePtrType)(v) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo) string { - return v.LocalMountDirPath - }).(pulumi.StringOutput) +func (*getJobJobSettingsSettingsQueuePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsQueue)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo { - return v.NetworkFilesystemInfo - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (i *getJobJobSettingsSettingsQueuePtrType) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { + return i.ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo) *string { - return v.RemoteMountDirPath - }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsQueuePtrType) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsQueuePtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsQueueOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsQueueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsQueue)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { +func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueueOutput() GetJobJobSettingsSettingsQueueOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { +func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueueOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueueOutput { 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 (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { + return o.ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsQueue) *GetJobJobSettingsSettingsQueue { + return &v + }).(GetJobJobSettingsSettingsQueuePtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (o GetJobJobSettingsSettingsQueueOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsQueue) bool { return v.Enabled }).(pulumi.BoolOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsQueuePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsQueuePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsQueue)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { +func (o GetJobJobSettingsSettingsQueuePtrOutput) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { +func (o GetJobJobSettingsSettingsQueuePtrOutput) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo) *string { - return v.MountOptions - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsQueuePtrOutput) Elem() GetJobJobSettingsSettingsQueueOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsQueue) GetJobJobSettingsSettingsQueue { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsQueue + return ret + }).(GetJobJobSettingsSettingsQueueOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo) string { - return v.ServerAddress - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsQueuePtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsQueue) *bool { + if v == nil { + return nil + } + return &v.Enabled + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage struct { - BasicAuth *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` - Url string `pulumi:"url"` +type GetJobJobSettingsSettingsRunAs struct { + ServicePrincipalName *string `pulumi:"servicePrincipalName"` + UserName *string `pulumi:"userName"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageInput` via: +// GetJobJobSettingsSettingsRunAsInput is an input type that accepts GetJobJobSettingsSettingsRunAsArgs and GetJobJobSettingsSettingsRunAsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsRunAsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageInput interface { +// GetJobJobSettingsSettingsRunAsArgs{...} +type GetJobJobSettingsSettingsRunAsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput + ToGetJobJobSettingsSettingsRunAsOutput() GetJobJobSettingsSettingsRunAsOutput + ToGetJobJobSettingsSettingsRunAsOutputWithContext(context.Context) GetJobJobSettingsSettingsRunAsOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs struct { - BasicAuth GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - Url pulumi.StringInput `pulumi:"url"` +type GetJobJobSettingsSettingsRunAsArgs struct { + ServicePrincipalName pulumi.StringPtrInput `pulumi:"servicePrincipalName"` + UserName pulumi.StringPtrInput `pulumi:"userName"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsRunAsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsRunAs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsOutput() GetJobJobSettingsSettingsRunAsOutput { + return i.ToGetJobJobSettingsSettingsRunAsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) +func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunAsOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { + return i.ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunAsOutput).ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput` via: +// GetJobJobSettingsSettingsRunAsPtrInput is an input type that accepts GetJobJobSettingsSettingsRunAsArgs, GetJobJobSettingsSettingsRunAsPtr and GetJobJobSettingsSettingsRunAsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsRunAsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs{...} +// GetJobJobSettingsSettingsRunAsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput interface { +type GetJobJobSettingsSettingsRunAsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput + ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput + ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsRunAsPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs +type getJobJobSettingsSettingsRunAsPtrType GetJobJobSettingsSettingsRunAsArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType)(v) +func GetJobJobSettingsSettingsRunAsPtr(v *GetJobJobSettingsSettingsRunAsArgs) GetJobJobSettingsSettingsRunAsPtrInput { + return (*getJobJobSettingsSettingsRunAsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() +func (*getJobJobSettingsSettingsRunAsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsRunAs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsRunAsPtrType) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { + return i.ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) +func (i *getJobJobSettingsSettingsRunAsPtrType) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunAsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsRunAsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsRunAsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsRunAs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { +func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsOutput() GetJobJobSettingsSettingsRunAsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { +func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { + return o.ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage { +func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsRunAs) *GetJobJobSettingsSettingsRunAs { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) + }).(GetJobJobSettingsSettingsRunAsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) BasicAuth() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth { - return v.BasicAuth - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) +func (o GetJobJobSettingsSettingsRunAsOutput) ServicePrincipalName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsRunAs) *string { return v.ServicePrincipalName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsRunAsOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsRunAs) *string { return v.UserName }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsRunAsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsRunAsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsRunAs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { +func (o GetJobJobSettingsSettingsRunAsPtrOutput) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { +func (o GetJobJobSettingsSettingsRunAsPtrOutput) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage { +func (o GetJobJobSettingsSettingsRunAsPtrOutput) Elem() GetJobJobSettingsSettingsRunAsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsRunAs) GetJobJobSettingsSettingsRunAs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage + var ret GetJobJobSettingsSettingsRunAs return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) + }).(GetJobJobSettingsSettingsRunAsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) BasicAuth() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth { +func (o GetJobJobSettingsSettingsRunAsPtrOutput) ServicePrincipalName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsRunAs) *string { if v == nil { return nil } - return v.BasicAuth - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) + return v.ServicePrincipalName + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) *string { +func (o GetJobJobSettingsSettingsRunAsPtrOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsRunAs) *string { if v == nil { return nil } - return &v.Url + return v.UserName }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +type GetJobJobSettingsSettingsRunJobTask struct { + JobId int `pulumi:"jobId"` + JobParameters map[string]interface{} `pulumi:"jobParameters"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput` via: +// GetJobJobSettingsSettingsRunJobTaskInput is an input type that accepts GetJobJobSettingsSettingsRunJobTaskArgs and GetJobJobSettingsSettingsRunJobTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsRunJobTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput interface { +// GetJobJobSettingsSettingsRunJobTaskArgs{...} +type GetJobJobSettingsSettingsRunJobTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput + ToGetJobJobSettingsSettingsRunJobTaskOutput() GetJobJobSettingsSettingsRunJobTaskOutput + ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsRunJobTaskOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` +type GetJobJobSettingsSettingsRunJobTaskArgs struct { + JobId pulumi.IntInput `pulumi:"jobId"` + JobParameters pulumi.MapInput `pulumi:"jobParameters"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsRunJobTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskOutput() GetJobJobSettingsSettingsRunJobTaskOutput { + return i.ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) +func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunJobTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunJobTaskOutput).ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput` via: +// GetJobJobSettingsSettingsRunJobTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsRunJobTaskArgs, GetJobJobSettingsSettingsRunJobTaskPtr and GetJobJobSettingsSettingsRunJobTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsRunJobTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs{...} +// GetJobJobSettingsSettingsRunJobTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput interface { +type GetJobJobSettingsSettingsRunJobTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput + ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput + ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs +type getJobJobSettingsSettingsRunJobTaskPtrType GetJobJobSettingsSettingsRunJobTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType)(v) +func GetJobJobSettingsSettingsRunJobTaskPtr(v *GetJobJobSettingsSettingsRunJobTaskArgs) GetJobJobSettingsSettingsRunJobTaskPtrInput { + return (*getJobJobSettingsSettingsRunJobTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (*getJobJobSettingsSettingsRunJobTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsRunJobTaskPtrType) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) +func (i *getJobJobSettingsSettingsRunJobTaskPtrType) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsRunJobTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsRunJobTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { +func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskOutput() GetJobJobSettingsSettingsRunJobTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { +func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth { +func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsRunJobTask) *GetJobJobSettingsSettingsRunJobTask { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) + }).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) string { - return v.Password - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsRunJobTaskOutput) JobId() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsRunJobTask) int { return v.JobId }).(pulumi.IntOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) string { - return v.Username - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsRunJobTaskOutput) JobParameters() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsRunJobTask) map[string]interface{} { return v.JobParameters }).(pulumi.MapOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsRunJobTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsRunJobTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { +func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { +func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth { +func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) Elem() GetJobJobSettingsSettingsRunJobTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsRunJobTask) GetJobJobSettingsSettingsRunJobTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth + var ret GetJobJobSettingsSettingsRunJobTask return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) + }).(GetJobJobSettingsSettingsRunJobTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) *string { +func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsRunJobTask) *int { if v == nil { return nil } - return &v.Password - }).(pulumi.StringPtrOutput) + return &v.JobId + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) *string { +func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) JobParameters() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsRunJobTask) map[string]interface{} { if v == nil { return nil } - return &v.Username - }).(pulumi.StringPtrOutput) + return v.JobParameters + }).(pulumi.MapOutput) } -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"` +type GetJobJobSettingsSettingsSchedule struct { + PauseStatus *string `pulumi:"pauseStatus"` + QuartzCronExpression string `pulumi:"quartzCronExpression"` + TimezoneId string `pulumi:"timezoneId"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesInput` via: +// GetJobJobSettingsSettingsScheduleInput is an input type that accepts GetJobJobSettingsSettingsScheduleArgs and GetJobJobSettingsSettingsScheduleOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsScheduleInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesInput interface { +// GetJobJobSettingsSettingsScheduleArgs{...} +type GetJobJobSettingsSettingsScheduleInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput + ToGetJobJobSettingsSettingsScheduleOutput() GetJobJobSettingsSettingsScheduleOutput + ToGetJobJobSettingsSettingsScheduleOutputWithContext(context.Context) GetJobJobSettingsSettingsScheduleOutput } -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 GetJobJobSettingsSettingsScheduleArgs struct { + PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` + QuartzCronExpression pulumi.StringInput `pulumi:"quartzCronExpression"` + TimezoneId pulumi.StringInput `pulumi:"timezoneId"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSchedule)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsScheduleOutput() GetJobJobSettingsSettingsScheduleOutput { + return i.ToGetJobJobSettingsSettingsScheduleOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) +func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsScheduleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsScheduleOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { + return i.ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsScheduleOutput).ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput` via: +// GetJobJobSettingsSettingsSchedulePtrInput is an input type that accepts GetJobJobSettingsSettingsScheduleArgs, GetJobJobSettingsSettingsSchedulePtr and GetJobJobSettingsSettingsSchedulePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsSchedulePtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs{...} +// GetJobJobSettingsSettingsScheduleArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput interface { +type GetJobJobSettingsSettingsSchedulePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput + ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput + ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSchedulePtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs +type getJobJobSettingsSettingsSchedulePtrType GetJobJobSettingsSettingsScheduleArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType)(v) +func GetJobJobSettingsSettingsSchedulePtr(v *GetJobJobSettingsSettingsScheduleArgs) GetJobJobSettingsSettingsSchedulePtrInput { + return (*getJobJobSettingsSettingsSchedulePtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsSchedulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSchedule)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsSchedulePtrType) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { + return i.ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) +func (i *getJobJobSettingsSettingsSchedulePtrType) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSchedulePtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsScheduleOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSchedule)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { +func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsScheduleOutput() GetJobJobSettingsSettingsScheduleOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { +func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsScheduleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsScheduleOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { + return o.ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { +func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSchedule) *GetJobJobSettingsSettingsSchedule { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { - return v.BootDiskSize - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { - return v.GoogleServiceAccount - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsSchedulePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsScheduleOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSchedule) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *bool { - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsScheduleOutput) QuartzCronExpression() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSchedule) string { return v.QuartzCronExpression }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsScheduleOutput) TimezoneId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSchedule) string { return v.TimezoneId }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsSchedulePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsSchedulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSchedule)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { +func (o GetJobJobSettingsSettingsSchedulePtrOutput) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { +func (o GetJobJobSettingsSettingsSchedulePtrOutput) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { +func (o GetJobJobSettingsSettingsSchedulePtrOutput) Elem() GetJobJobSettingsSettingsScheduleOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) GetJobJobSettingsSettingsSchedule { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes + var ret GetJobJobSettingsSettingsSchedule return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) + }).(GetJobJobSettingsSettingsScheduleOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { +func (o GetJobJobSettingsSettingsSchedulePtrOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) *string { if v == nil { return nil } - return v.Availability + return v.PauseStatus }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { +func (o GetJobJobSettingsSettingsSchedulePtrOutput) QuartzCronExpression() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) *string { if v == nil { return nil } - return v.BootDiskSize - }).(pulumi.IntPtrOutput) + return &v.QuartzCronExpression + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { +func (o GetJobJobSettingsSettingsSchedulePtrOutput) TimezoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) *string { if v == nil { return nil } - return v.GoogleServiceAccount + return &v.TimezoneId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { - if v == nil { - return nil - } - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsSparkJarTask struct { + JarUri *string `pulumi:"jarUri"` + MainClassName *string `pulumi:"mainClassName"` + Parameters []string `pulumi:"parameters"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *bool { - if v == nil { - return nil - } - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) -} +// GetJobJobSettingsSettingsSparkJarTaskInput is an input type that accepts GetJobJobSettingsSettingsSparkJarTaskArgs and GetJobJobSettingsSettingsSparkJarTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkJarTaskInput` via: +// +// GetJobJobSettingsSettingsSparkJarTaskArgs{...} +type GetJobJobSettingsSettingsSparkJarTaskInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) + ToGetJobJobSettingsSettingsSparkJarTaskOutput() GetJobJobSettingsSettingsSparkJarTaskOutput + ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkJarTaskOutput } -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"` +type GetJobJobSettingsSettingsSparkJarTaskArgs struct { + JarUri pulumi.StringPtrInput `pulumi:"jarUri"` + MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput +func (GetJobJobSettingsSettingsSparkJarTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() } -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 (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskOutput() GetJobJobSettingsSettingsSparkJarTaskOutput { + return i.ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(context.Background()) } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() +func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkJarTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) +func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkJarTaskOutput).ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayInput` via: +// GetJobJobSettingsSettingsSparkJarTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsSparkJarTaskArgs, GetJobJobSettingsSettingsSparkJarTaskPtr and GetJobJobSettingsSettingsSparkJarTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkJarTaskPtrInput` via: +// +// GetJobJobSettingsSettingsSparkJarTaskArgs{...} +// +// or: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayInput interface { +// nil +type GetJobJobSettingsSettingsSparkJarTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput + ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput + ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput +type getJobJobSettingsSettingsSparkJarTaskPtrType GetJobJobSettingsSettingsSparkJarTaskArgs + +func GetJobJobSettingsSettingsSparkJarTaskPtr(v *GetJobJobSettingsSettingsSparkJarTaskArgs) GetJobJobSettingsSettingsSparkJarTaskPtrInput { + return (*getJobJobSettingsSettingsSparkJarTaskPtrType)(v) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() +func (*getJobJobSettingsSettingsSparkJarTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsSparkJarTaskPtrType) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) +func (i *getJobJobSettingsSettingsSparkJarTaskPtrType) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsSparkJarTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() +func (GetJobJobSettingsSettingsSparkJarTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { +func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskOutput() GetJobJobSettingsSettingsSparkJarTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { +func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Abfss() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss { - return v.Abfss - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) +func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Dbfs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) +func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSparkJarTask) *GetJobJobSettingsSettingsSparkJarTask { + return &v + }).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) File() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile { - return v.File - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) +func (o GetJobJobSettingsSettingsSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Gcs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs { - return v.Gcs - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) +func (o GetJobJobSettingsSettingsSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) S3() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 { - return v.S3 - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) +func (o GetJobJobSettingsSettingsSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Volumes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes { - return v.Volumes - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) +type GetJobJobSettingsSettingsSparkJarTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsSparkJarTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Workspace() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace { - return v.Workspace - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) +func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return o } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return o +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() +func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) Elem() GetJobJobSettingsSettingsSparkJarTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) GetJobJobSettingsSettingsSparkJarTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsSparkJarTask + return ret + }).(GetJobJobSettingsSettingsSparkJarTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { - return o +func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) JarUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) *string { + if v == nil { + return nil + } + return v.JarUri + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { - return o +func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) *string { + if v == nil { + return nil + } + return v.MainClassName + }).(pulumi.StringPtrOutput) } -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 GetJobJobSettingsSettingsSparkJarTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) []string { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsSparkPythonTask struct { + Parameters []string `pulumi:"parameters"` + PythonFile string `pulumi:"pythonFile"` + Source *string `pulumi:"source"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssInput` via: +// GetJobJobSettingsSettingsSparkPythonTaskInput is an input type that accepts GetJobJobSettingsSettingsSparkPythonTaskArgs and GetJobJobSettingsSettingsSparkPythonTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkPythonTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssInput interface { +// GetJobJobSettingsSettingsSparkPythonTaskArgs{...} +type GetJobJobSettingsSettingsSparkPythonTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput + ToGetJobJobSettingsSettingsSparkPythonTaskOutput() GetJobJobSettingsSettingsSparkPythonTaskOutput + ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkPythonTaskOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsSparkPythonTaskArgs struct { + Parameters pulumi.StringArrayInput `pulumi:"parameters"` + PythonFile pulumi.StringInput `pulumi:"pythonFile"` + Source pulumi.StringPtrInput `pulumi:"source"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsSparkPythonTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskOutput() GetJobJobSettingsSettingsSparkPythonTaskOutput { + return i.ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) +func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkPythonTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkPythonTaskOutput).ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput` via: +// GetJobJobSettingsSettingsSparkPythonTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsSparkPythonTaskArgs, GetJobJobSettingsSettingsSparkPythonTaskPtr and GetJobJobSettingsSettingsSparkPythonTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkPythonTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs{...} +// GetJobJobSettingsSettingsSparkPythonTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput interface { +type GetJobJobSettingsSettingsSparkPythonTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput + ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput + ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs +type getJobJobSettingsSettingsSparkPythonTaskPtrType GetJobJobSettingsSettingsSparkPythonTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType)(v) +func GetJobJobSettingsSettingsSparkPythonTaskPtr(v *GetJobJobSettingsSettingsSparkPythonTaskArgs) GetJobJobSettingsSettingsSparkPythonTaskPtrInput { + return (*getJobJobSettingsSettingsSparkPythonTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (*getJobJobSettingsSettingsSparkPythonTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) +func (i *getJobJobSettingsSettingsSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsSparkPythonTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsSparkPythonTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { +func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskOutput() GetJobJobSettingsSettingsSparkPythonTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { +func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss { +func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSparkPythonTask) *GetJobJobSettingsSettingsSparkPythonTask { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) + }).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) string { - return v.Destination - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSparkPythonTask) *string { return v.Source }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { +func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { +func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss { +func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) Elem() GetJobJobSettingsSettingsSparkPythonTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) GetJobJobSettingsSettingsSparkPythonTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss + var ret GetJobJobSettingsSettingsSparkPythonTask return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) + }).(GetJobJobSettingsSettingsSparkPythonTaskOutput) +} + +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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) *string { +func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) PythonFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) *string { if v == nil { return nil } - return &v.Destination + return &v.PythonFile }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs struct { - Destination string `pulumi:"destination"` +func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) *string { + if v == nil { + return nil + } + return v.Source + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsSparkSubmitTask struct { + Parameters []string `pulumi:"parameters"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsInput` via: +// GetJobJobSettingsSettingsSparkSubmitTaskInput is an input type that accepts GetJobJobSettingsSettingsSparkSubmitTaskArgs and GetJobJobSettingsSettingsSparkSubmitTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkSubmitTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsInput interface { +// GetJobJobSettingsSettingsSparkSubmitTaskArgs{...} +type GetJobJobSettingsSettingsSparkSubmitTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput + ToGetJobJobSettingsSettingsSparkSubmitTaskOutput() GetJobJobSettingsSettingsSparkSubmitTaskOutput + ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkSubmitTaskOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsSparkSubmitTaskArgs struct { + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsSparkSubmitTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskOutput() GetJobJobSettingsSettingsSparkSubmitTaskOutput { + return i.ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) +func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkSubmitTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkSubmitTaskOutput).ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput` via: +// GetJobJobSettingsSettingsSparkSubmitTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsSparkSubmitTaskArgs, GetJobJobSettingsSettingsSparkSubmitTaskPtr and GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkSubmitTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs{...} +// GetJobJobSettingsSettingsSparkSubmitTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput interface { +type GetJobJobSettingsSettingsSparkSubmitTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput + ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput + ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs +type getJobJobSettingsSettingsSparkSubmitTaskPtrType GetJobJobSettingsSettingsSparkSubmitTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType)(v) +func GetJobJobSettingsSettingsSparkSubmitTaskPtr(v *GetJobJobSettingsSettingsSparkSubmitTaskArgs) GetJobJobSettingsSettingsSparkSubmitTaskPtrInput { + return (*getJobJobSettingsSettingsSparkSubmitTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (*getJobJobSettingsSettingsSparkSubmitTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) +func (i *getJobJobSettingsSettingsSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsSparkSubmitTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsSparkSubmitTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { +func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskOutput() GetJobJobSettingsSettingsSparkSubmitTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { +func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs { +func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSparkSubmitTask) *GetJobJobSettingsSettingsSparkSubmitTask { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) + }).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) string { - return v.Destination - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { +func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { +func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs { +func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) Elem() GetJobJobSettingsSettingsSparkSubmitTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkSubmitTask) GetJobJobSettingsSettingsSparkSubmitTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs + var ret GetJobJobSettingsSettingsSparkSubmitTask return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) + }).(GetJobJobSettingsSettingsSparkSubmitTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) *string { +func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkSubmitTask) []string { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.Parameters + }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTask struct { + ComputeKey *string `pulumi:"computeKey"` + ConditionTask *GetJobJobSettingsSettingsTaskConditionTask `pulumi:"conditionTask"` + DbtTask *GetJobJobSettingsSettingsTaskDbtTask `pulumi:"dbtTask"` + DependsOns []GetJobJobSettingsSettingsTaskDependsOn `pulumi:"dependsOns"` + Description *string `pulumi:"description"` + EmailNotifications *GetJobJobSettingsSettingsTaskEmailNotifications `pulumi:"emailNotifications"` + 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"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileInput` via: +// GetJobJobSettingsSettingsTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskArgs and GetJobJobSettingsSettingsTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileInput interface { +// GetJobJobSettingsSettingsTaskArgs{...} +type GetJobJobSettingsSettingsTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskOutput() GetJobJobSettingsSettingsTaskOutput + ToGetJobJobSettingsSettingsTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskArgs struct { + ComputeKey pulumi.StringPtrInput `pulumi:"computeKey"` + ConditionTask GetJobJobSettingsSettingsTaskConditionTaskPtrInput `pulumi:"conditionTask"` + DbtTask GetJobJobSettingsSettingsTaskDbtTaskPtrInput `pulumi:"dbtTask"` + DependsOns GetJobJobSettingsSettingsTaskDependsOnArrayInput `pulumi:"dependsOns"` + Description pulumi.StringPtrInput `pulumi:"description"` + EmailNotifications GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput `pulumi:"emailNotifications"` + 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.StringPtrInput `pulumi:"taskKey"` + TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` + WebhookNotifications GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) +func (GetJobJobSettingsSettingsTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskArgs) ToGetJobJobSettingsSettingsTaskOutput() GetJobJobSettingsSettingsTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskArgs) ToGetJobJobSettingsSettingsTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskArray and GetJobJobSettingsSettingsTaskArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput interface { +// GetJobJobSettingsSettingsTaskArray{ GetJobJobSettingsSettingsTaskArgs{...} } +type GetJobJobSettingsSettingsTaskArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput + ToGetJobJobSettingsSettingsTaskArrayOutput() GetJobJobSettingsSettingsTaskArrayOutput + ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskArrayOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType)(v) -} +type GetJobJobSettingsSettingsTaskArray []GetJobJobSettingsSettingsTaskInput -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskArray) ToGetJobJobSettingsSettingsTaskArrayOutput() GetJobJobSettingsSettingsTaskArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) +func (i GetJobJobSettingsSettingsTaskArray) ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { +func (o GetJobJobSettingsSettingsTaskOutput) ToGetJobJobSettingsSettingsTaskOutput() GetJobJobSettingsSettingsTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { +func (o GetJobJobSettingsSettingsTaskOutput) ToGetJobJobSettingsSettingsTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskOutput) ComputeKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.ComputeKey }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) +func (o GetJobJobSettingsSettingsTaskOutput) ConditionTask() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskConditionTask { + return v.ConditionTask + }).(GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) string { - return v.Destination - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskOutput) DbtTask() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskDbtTask { return v.DbtTask }).(GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskOutput) DependsOns() GetJobJobSettingsSettingsTaskDependsOnArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) []GetJobJobSettingsSettingsTaskDependsOn { return v.DependsOns }).(GetJobJobSettingsSettingsTaskDependsOnArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.Description }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskOutput) EmailNotifications() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskEmailNotifications { + return v.EmailNotifications + }).(GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) +func (o GetJobJobSettingsSettingsTaskOutput) ExistingClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskOutput) ForEachTask() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskForEachTask { return v.ForEachTask }).(GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs struct { - Destination string `pulumi:"destination"` +func (o GetJobJobSettingsSettingsTaskOutput) Health() GetJobJobSettingsSettingsTaskHealthPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskHealth { return v.Health }).(GetJobJobSettingsSettingsTaskHealthPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput +func (o GetJobJobSettingsSettingsTaskOutput) JobClusterKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +func (o GetJobJobSettingsSettingsTaskOutput) Libraries() GetJobJobSettingsSettingsTaskLibraryArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) []GetJobJobSettingsSettingsTaskLibrary { return v.Libraries }).(GetJobJobSettingsSettingsTaskLibraryArrayOutput) } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskOutput) MaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) +func (o GetJobJobSettingsSettingsTaskOutput) NewCluster() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskNewCluster { return v.NewCluster }).(GetJobJobSettingsSettingsTaskNewClusterPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskOutput) NotebookTask() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskNotebookTask { + return v.NotebookTask + }).(GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx) +func (o GetJobJobSettingsSettingsTaskOutput) NotificationSettings() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskNotificationSettings { + return v.NotificationSettings + }).(GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput +func (o GetJobJobSettingsSettingsTaskOutput) PipelineTask() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskPipelineTask { + return v.PipelineTask + }).(GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType)(v) +func (o GetJobJobSettingsSettingsTaskOutput) PythonWheelTask() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskPythonWheelTask { + return v.PythonWheelTask + }).(GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskOutput) RetryOnTimeout() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) bool { return v.RetryOnTimeout }).(pulumi.BoolOutput) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskOutput) RunIf() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.RunIf }).(pulumi.StringPtrOutput) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) +func (o GetJobJobSettingsSettingsTaskOutput) RunJobTask() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskRunJobTask { return v.RunJobTask }).(GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskOutput) SparkJarTask() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSparkJarTask { + return v.SparkJarTask + }).(GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskOutput) SparkPythonTask() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSparkPythonTask { + return v.SparkPythonTask + }).(GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { - return o +func (o GetJobJobSettingsSettingsTaskOutput) SparkSubmitTask() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSparkSubmitTask { + return v.SparkSubmitTask + }).(GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { - return o +func (o GetJobJobSettingsSettingsTaskOutput) SqlTask() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSqlTask { return v.SqlTask }).(GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskOutput) TaskKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.TaskKey }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) +func (o GetJobJobSettingsSettingsTaskOutput) TimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) string { - return v.Destination - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskOutput) WebhookNotifications() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskWebhookNotifications { + return v.WebhookNotifications + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { +func (o GetJobJobSettingsSettingsTaskArrayOutput) ToGetJobJobSettingsSettingsTaskArrayOutput() GetJobJobSettingsSettingsTaskArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { +func (o GetJobJobSettingsSettingsTaskArrayOutput) ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +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 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 GetJobJobSettingsSettingsTaskConditionTask struct { + Left string `pulumi:"left"` + Op string `pulumi:"op"` + Right string `pulumi:"right"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Input is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Input` via: +// GetJobJobSettingsSettingsTaskConditionTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskConditionTaskArgs and GetJobJobSettingsSettingsTaskConditionTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskConditionTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Input interface { +// GetJobJobSettingsSettingsTaskConditionTaskArgs{...} +type GetJobJobSettingsSettingsTaskConditionTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output + ToGetJobJobSettingsSettingsTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskConditionTaskOutput + ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskConditionTaskOutput } -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 GetJobJobSettingsSettingsTaskConditionTaskArgs struct { + Left pulumi.StringInput `pulumi:"left"` + Op pulumi.StringInput `pulumi:"op"` + Right pulumi.StringInput `pulumi:"right"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskConditionTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskConditionTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) +func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskConditionTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskConditionTaskOutput).ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Ptr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput` via: +// GetJobJobSettingsSettingsTaskConditionTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskConditionTaskArgs, GetJobJobSettingsSettingsTaskConditionTaskPtr and GetJobJobSettingsSettingsTaskConditionTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskConditionTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args{...} +// GetJobJobSettingsSettingsTaskConditionTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput interface { +type GetJobJobSettingsSettingsTaskConditionTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput + ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput + ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args +type getJobJobSettingsSettingsTaskConditionTaskPtrType GetJobJobSettingsSettingsTaskConditionTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType)(v) +func GetJobJobSettingsSettingsTaskConditionTaskPtr(v *GetJobJobSettingsSettingsTaskConditionTaskArgs) GetJobJobSettingsSettingsTaskConditionTaskPtrInput { + return (*getJobJobSettingsSettingsTaskConditionTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskConditionTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) +func (i *getJobJobSettingsSettingsTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskConditionTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskConditionTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { +func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskConditionTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { +func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 { +func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskConditionTask) *GetJobJobSettingsSettingsTaskConditionTask { 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) + }).(GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) Left() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskConditionTask) string { return v.Left }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskConditionTask) string { return v.Op }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) Right() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskConditionTask) string { return v.Right }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskConditionTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { +func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { +func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 { +func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskConditionTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) GetJobJobSettingsSettingsTaskConditionTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 + var ret GetJobJobSettingsSettingsTaskConditionTask 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) + }).(GetJobJobSettingsSettingsTaskConditionTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Left() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) *string { if v == nil { return nil } - return v.Endpoint + return &v.Left }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Op() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) *string { if v == nil { return nil } - return v.KmsKey + return &v.Op }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Right() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) *string { if v == nil { return nil } - return v.Region + return &v.Right }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes struct { - Destination string `pulumi:"destination"` +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"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesInput` via: +// GetJobJobSettingsSettingsTaskDbtTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskDbtTaskArgs and GetJobJobSettingsSettingsTaskDbtTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDbtTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesInput interface { +// GetJobJobSettingsSettingsTaskDbtTaskArgs{...} +type GetJobJobSettingsSettingsTaskDbtTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput + ToGetJobJobSettingsSettingsTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskDbtTaskOutput + ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDbtTaskOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +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 (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskDbtTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskDbtTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) +func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDbtTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDbtTaskOutput).ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput` via: +// GetJobJobSettingsSettingsTaskDbtTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskDbtTaskArgs, GetJobJobSettingsSettingsTaskDbtTaskPtr and GetJobJobSettingsSettingsTaskDbtTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDbtTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs{...} +// GetJobJobSettingsSettingsTaskDbtTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput interface { +type GetJobJobSettingsSettingsTaskDbtTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput + ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput + ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs +type getJobJobSettingsSettingsTaskDbtTaskPtrType GetJobJobSettingsSettingsTaskDbtTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType)(v) +func GetJobJobSettingsSettingsTaskDbtTaskPtr(v *GetJobJobSettingsSettingsTaskDbtTaskArgs) GetJobJobSettingsSettingsTaskDbtTaskPtrInput { + return (*getJobJobSettingsSettingsTaskDbtTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskDbtTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) +func (i *getJobJobSettingsSettingsTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskDbtTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskDbtTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskDbtTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes { +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskDbtTask) *GetJobJobSettingsSettingsTaskDbtTask { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) -} - -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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace struct { - Destination string `pulumi:"destination"` -} - -// 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 -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) -} - -// 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 -} - -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType)(v) -} - -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() -} - -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) + }).(GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { - return o +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { - return o +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) string { - return v.Destination - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskDbtTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace { +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskDbtTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) GetJobJobSettingsSettingsTaskDbtTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace + var ret GetJobJobSettingsSettingsTaskDbtTask return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) + }).(GetJobJobSettingsSettingsTaskDbtTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) *string { +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { if v == nil { return nil } - return &v.Destination + return v.Catalog }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType struct { - Clients GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients `pulumi:"clients"` -} - -// 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 - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs struct { - Clients GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput `pulumi:"clients"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx) -} - -// 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 - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput -} - -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType)(v) -} - -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() -} - -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) -} - -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { - return o -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { - return o -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { - return v.Clients - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) []string { + if v == nil { + return nil + } + return v.Commands + }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { + if v == nil { + return nil + } + return v.ProfilesDirectory + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return o +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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - 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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { - if v != nil { - return *v +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { + if v == nil { + return nil } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) + return v.Source + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { if v == nil { return nil } - return &v.Clients - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) + return v.WarehouseId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients struct { - Jobs *bool `pulumi:"jobs"` - Notebooks *bool `pulumi:"notebooks"` +type GetJobJobSettingsSettingsTaskDependsOn struct { + Outcome *string `pulumi:"outcome"` + TaskKey string `pulumi:"taskKey"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput` via: +// GetJobJobSettingsSettingsTaskDependsOnInput is an input type that accepts GetJobJobSettingsSettingsTaskDependsOnArgs and GetJobJobSettingsSettingsTaskDependsOnOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDependsOnInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput interface { +// GetJobJobSettingsSettingsTaskDependsOnArgs{...} +type GetJobJobSettingsSettingsTaskDependsOnInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs struct { - Jobs pulumi.BoolPtrInput `pulumi:"jobs"` - Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskDependsOnOutput() GetJobJobSettingsSettingsTaskDependsOnOutput + ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDependsOnOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskDependsOnArgs struct { + Outcome pulumi.StringPtrInput `pulumi:"outcome"` + TaskKey pulumi.StringInput `pulumi:"taskKey"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) +func (GetJobJobSettingsSettingsTaskDependsOnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskDependsOnOutput() GetJobJobSettingsSettingsTaskDependsOnOutput { + return i.ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDependsOnOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskDependsOnArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskDependsOnArray and GetJobJobSettingsSettingsTaskDependsOnArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDependsOnArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput interface { +// GetJobJobSettingsSettingsTaskDependsOnArray{ GetJobJobSettingsSettingsTaskDependsOnArgs{...} } +type GetJobJobSettingsSettingsTaskDependsOnArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput + ToGetJobJobSettingsSettingsTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskDependsOnArrayOutput + ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDependsOnArrayOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType)(v) -} +type GetJobJobSettingsSettingsTaskDependsOnArray []GetJobJobSettingsSettingsTaskDependsOnInput -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskDependsOnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskDependsOnArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) +func (i GetJobJobSettingsSettingsTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDependsOnArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskDependsOnOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskDependsOnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { +func (o GetJobJobSettingsSettingsTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskDependsOnOutput() GetJobJobSettingsSettingsTaskDependsOnOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { +func (o GetJobJobSettingsSettingsTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskDependsOnOutput) Outcome() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDependsOn) *string { return v.Outcome }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { - return v.Notebooks - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskDependsOnOutput) TaskKey() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDependsOn) string { return v.TaskKey }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskDependsOnArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskDependsOnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { +func (o GetJobJobSettingsSettingsTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskDependsOnArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { +func (o GetJobJobSettingsSettingsTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { - if v == nil { - return nil - } - return v.Jobs - }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { - if v == nil { - return nil - } - return v.Notebooks - }).(pulumi.BoolPtrOutput) +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 GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask struct { - BaseParameters map[string]interface{} `pulumi:"baseParameters"` - NotebookPath string `pulumi:"notebookPath"` - Source *string `pulumi:"source"` +type GetJobJobSettingsSettingsTaskEmailNotifications struct { + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` + OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures []string `pulumi:"onFailures"` + OnStarts []string `pulumi:"onStarts"` + OnSuccesses []string `pulumi:"onSuccesses"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskInput` via: +// GetJobJobSettingsSettingsTaskEmailNotificationsInput is an input type that accepts GetJobJobSettingsSettingsTaskEmailNotificationsArgs and GetJobJobSettingsSettingsTaskEmailNotificationsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskEmailNotificationsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskInput interface { +// GetJobJobSettingsSettingsTaskEmailNotificationsArgs{...} +type GetJobJobSettingsSettingsTaskEmailNotificationsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput + ToGetJobJobSettingsSettingsTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskEmailNotificationsOutput + ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs struct { - BaseParameters pulumi.MapInput `pulumi:"baseParameters"` - NotebookPath pulumi.StringInput `pulumi:"notebookPath"` - Source pulumi.StringPtrInput `pulumi:"source"` +type GetJobJobSettingsSettingsTaskEmailNotificationsArgs struct { + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` + OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` + OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` + OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskEmailNotificationsOutput { + return i.ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) +func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskEmailNotificationsOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskEmailNotificationsOutput).ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskEmailNotificationsArgs, GetJobJobSettingsSettingsTaskEmailNotificationsPtr and GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs{...} +// GetJobJobSettingsSettingsTaskEmailNotificationsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput + ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput + ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs +type getJobJobSettingsSettingsTaskEmailNotificationsPtrType GetJobJobSettingsSettingsTaskEmailNotificationsArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskEmailNotificationsPtr(v *GetJobJobSettingsSettingsTaskEmailNotificationsArgs) GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput { + return (*getJobJobSettingsSettingsTaskEmailNotificationsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskEmailNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskEmailNotificationsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskEmailNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskEmailNotifications) *GetJobJobSettingsSettingsTaskEmailNotifications { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) + }).(GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) BaseParameters() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) map[string]interface{} { - return v.BaseParameters - }).(pulumi.MapOutput) +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 GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) NotebookPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsTaskEmailNotificationsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) GetJobJobSettingsSettingsTaskEmailNotifications { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask + var ret GetJobJobSettingsSettingsTaskEmailNotifications return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) + }).(GetJobJobSettingsSettingsTaskEmailNotificationsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) BaseParameters() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) map[string]interface{} { +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) *bool { if v == nil { return nil } - return v.BaseParameters - }).(pulumi.MapOutput) + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) NotebookPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { if v == nil { return nil } - return &v.NotebookPath - }).(pulumi.StringPtrOutput) + 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 GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { if v == nil { return nil } - return v.Source - }).(pulumi.StringPtrOutput) + return v.OnStarts + }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings struct { - AlertOnLastAttempt *bool `pulumi:"alertOnLastAttempt"` - NoAlertForCanceledRuns *bool `pulumi:"noAlertForCanceledRuns"` - NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` +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"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs struct { - AlertOnLastAttempt pulumi.BoolPtrInput `pulumi:"alertOnLastAttempt"` - NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` - NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` +type GetJobJobSettingsSettingsTaskForEachTaskArgs struct { + Concurrency pulumi.IntPtrInput `pulumi:"concurrency"` + Inputs pulumi.StringInput `pulumi:"inputs"` + Task GetJobJobSettingsSettingsTaskForEachTaskTaskInput `pulumi:"task"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs +type getJobJobSettingsSettingsTaskForEachTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { +func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTask) *GetJobJobSettingsSettingsTaskForEachTask { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { - return v.AlertOnLastAttempt - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) Concurrency() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTask) *int { return v.Concurrency }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { - return v.NoAlertForCanceledRuns - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) Inputs() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTask) string { return v.Inputs }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) Task() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTask) GetJobJobSettingsSettingsTaskForEachTaskTask { + return v.Task + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { +func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) GetJobJobSettingsSettingsTaskForEachTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings + var ret GetJobJobSettingsSettingsTaskForEachTask return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { +func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Concurrency() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) *int { if v == nil { return nil } - return v.AlertOnLastAttempt - }).(pulumi.BoolPtrOutput) + return v.Concurrency + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { +func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Inputs() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) *string { if v == nil { return nil } - return v.NoAlertForCanceledRuns - }).(pulumi.BoolPtrOutput) + return &v.Inputs + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { +func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Task() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) *GetJobJobSettingsSettingsTaskForEachTaskTask { if v == nil { return nil } - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) + return &v.Task + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask struct { - FullRefresh *bool `pulumi:"fullRefresh"` - PipelineId string `pulumi:"pipelineId"` +type GetJobJobSettingsSettingsTaskForEachTaskTask struct { + ComputeKey *string `pulumi:"computeKey"` + ConditionTask *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask `pulumi:"conditionTask"` + DbtTask *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask `pulumi:"dbtTask"` + DependsOns []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn `pulumi:"dependsOns"` + Description *string `pulumi:"description"` + EmailNotifications *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications `pulumi:"emailNotifications"` + 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"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs struct { - FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` - PipelineId pulumi.StringInput `pulumi:"pipelineId"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskArgs struct { + ComputeKey pulumi.StringPtrInput `pulumi:"computeKey"` + ConditionTask GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput `pulumi:"conditionTask"` + DbtTask GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput `pulumi:"dbtTask"` + DependsOns GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput `pulumi:"dependsOns"` + Description pulumi.StringPtrInput `pulumi:"description"` + EmailNotifications GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput `pulumi:"emailNotifications"` + 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.StringPtrInput `pulumi:"taskKey"` + TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` + WebhookNotifications GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTask { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) PipelineId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ComputeKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.ComputeKey }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ConditionTask() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { + return v.ConditionTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) DbtTask() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { + return v.DbtTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *bool { - if v == nil { - return nil - } - return v.FullRefresh - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) DependsOns() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn { + return v.DependsOns + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *string { - if v == nil { - return nil - } - return &v.PipelineId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.Description }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask struct { - EntryPoint *string `pulumi:"entryPoint"` - NamedParameters map[string]interface{} `pulumi:"namedParameters"` - PackageName *string `pulumi:"packageName"` - Parameters []string `pulumi:"parameters"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) EmailNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { + return v.EmailNotifications + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ExistingClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs struct { - EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` - NamedParameters pulumi.MapInput `pulumi:"namedParameters"` - PackageName pulumi.StringPtrInput `pulumi:"packageName"` - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) Health() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { + return v.Health + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) JobClusterKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) Libraries() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary { + return v.Libraries + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) MaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) NewCluster() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { + return v.NewCluster + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) } -// 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 - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) NotebookTask() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { + return v.NotebookTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) } -type getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType)(v) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) NotificationSettings() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { + return v.NotificationSettings + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) PipelineTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { + return v.PipelineTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) PythonWheelTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { + return v.PythonWheelTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) RetryOnTimeout() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) bool { return v.RetryOnTimeout }).(pulumi.BoolOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) RunIf() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.RunIf }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) RunJobTask() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { + return v.RunJobTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SparkJarTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { + return v.SparkJarTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SparkPythonTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { + return v.SparkPythonTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SparkSubmitTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { + return v.SparkSubmitTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) EntryPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *string { return v.EntryPoint }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SqlTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { + return v.SqlTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) NamedParameters() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) map[string]interface{} { - return v.NamedParameters - }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) TaskKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.TaskKey }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) TimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) WebhookNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications { + return v.WebhookNotifications + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) GetJobJobSettingsSettingsTaskForEachTaskTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask + var ret GetJobJobSettingsSettingsTaskForEachTaskTask return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) EntryPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ComputeKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { if v == nil { return nil } - return v.EntryPoint + return v.ComputeKey }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) NamedParameters() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) map[string]interface{} { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ConditionTask() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { if v == nil { return nil } - return v.NamedParameters - }).(pulumi.MapOutput) + return v.ConditionTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) DbtTask() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { if v == nil { return nil } - return v.PackageName - }).(pulumi.StringPtrOutput) + return v.DbtTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) []string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) DependsOns() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn { if v == nil { return nil } - return v.Parameters - }).(pulumi.StringArrayOutput) -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask struct { - JobId int `pulumi:"jobId"` - JobParameters map[string]interface{} `pulumi:"jobParameters"` -} - -// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput + return v.DependsOns + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs struct { - JobId pulumi.IntInput `pulumi:"jobId"` - JobParameters pulumi.MapInput `pulumi:"jobParameters"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { + if v == nil { + return nil + } + return v.Description + }).(pulumi.StringPtrOutput) } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) EmailNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { + if v == nil { + return nil + } + return v.EmailNotifications + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(context.Background()) +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 GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Health() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { + if v == nil { + return nil + } + return v.Health + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) +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 GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Libraries() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary { + if v == nil { + return nil + } + return v.Libraries + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) MaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *int { + if v == nil { + return nil + } + return v.MaxRetries + }).(pulumi.IntPtrOutput) } -type getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType)(v) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *int { + if v == nil { + return nil + } + return v.MinRetryIntervalMillis + }).(pulumi.IntPtrOutput) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) NewCluster() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { + if v == nil { + return nil + } + return v.NewCluster + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) NotebookTask() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { + if v == nil { + return nil + } + return v.NotebookTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) NotificationSettings() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { + if v == nil { + return nil + } + return v.NotificationSettings + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) PipelineTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { + if v == nil { + return nil + } + return v.PipelineTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) PythonWheelTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { + if v == nil { + return nil + } + return v.PythonWheelTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { - return o +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 GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) +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 GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { - return &v +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) RunJobTask() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { + if v == nil { + return nil + } + return v.RunJobTask }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) JobId() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) int { return v.JobId }).(pulumi.IntOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) JobParameters() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) map[string]interface{} { - return v.JobParameters - }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SparkJarTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { + if v == nil { + return nil + } + return v.SparkJarTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SparkPythonTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { + if v == nil { + return nil + } + return v.SparkPythonTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SparkSubmitTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { + if v == nil { + return nil + } + return v.SparkSubmitTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SqlTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { + if v == nil { + return nil + } + return v.SqlTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { - if v != nil { - return *v +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) TaskKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { + if v == nil { + return nil } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) + return v.TaskKey + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) *int { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *int { if v == nil { return nil } - return &v.JobId + return v.TimeoutSeconds }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) JobParameters() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) map[string]interface{} { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) WebhookNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications { if v == nil { return nil } - return v.JobParameters - }).(pulumi.MapOutput) + return v.WebhookNotifications + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask struct { - JarUri *string `pulumi:"jarUri"` - MainClassName *string `pulumi:"mainClassName"` - Parameters []string `pulumi:"parameters"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask struct { + Left string `pulumi:"left"` + Op string `pulumi:"op"` + Right string `pulumi:"right"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs struct { - JarUri pulumi.StringPtrInput `pulumi:"jarUri"` - MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs struct { + Left pulumi.StringInput `pulumi:"left"` + Op pulumi.StringInput `pulumi:"op"` + Right pulumi.StringInput `pulumi:"right"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) Left() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) string { return v.Left }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) string { return v.Op }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) Right() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) string { return v.Right }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Left() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *string { if v == nil { return nil } - return v.JarUri + return &v.Left }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Op() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *string { if v == nil { return nil } - return v.MainClassName + return &v.Op }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) []string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Right() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *string { if v == nil { return nil } - return v.Parameters - }).(pulumi.StringArrayOutput) + return &v.Right + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask struct { - Parameters []string `pulumi:"parameters"` - PythonFile string `pulumi:"pythonFile"` - Source *string `pulumi:"source"` +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"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs struct { - Parameters pulumi.StringArrayInput `pulumi:"parameters"` - PythonFile pulumi.StringInput `pulumi:"pythonFile"` - Source pulumi.StringPtrInput `pulumi:"source"` +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 (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *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 GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) []string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { if v == nil { return nil } - return v.Parameters + 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 GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) PythonFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { if v == nil { return nil } - return &v.PythonFile + return v.ProfilesDirectory }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { if v == nil { return nil } - return v.Source + return v.ProjectDirectory }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask struct { - Parameters []string `pulumi:"parameters"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { + if v == nil { + return nil + } + return v.Schema + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { + if v == nil { + return nil + } + return v.Source + }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { + if v == nil { + return nil + } + return v.WarehouseId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs struct { - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn struct { + Outcome *string `pulumi:"outcome"` + TaskKey string `pulumi:"taskKey"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() +// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs struct { + Outcome pulumi.StringPtrInput `pulumi:"outcome"` + TaskKey pulumi.StringInput `pulumi:"taskKey"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray and GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType)(v) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) Outcome() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn) *string { return v.Outcome }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) TaskKey() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn) string { return v.TaskKey }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { 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 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 GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask struct { - Alert *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert `pulumi:"alert"` - Dashboard *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard `pulumi:"dashboard"` - File *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile `pulumi:"file"` - Parameters map[string]interface{} `pulumi:"parameters"` - Query *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery `pulumi:"query"` - WarehouseId *string `pulumi:"warehouseId"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications struct { + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` + OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures []string `pulumi:"onFailures"` + OnStarts []string `pulumi:"onStarts"` + OnSuccesses []string `pulumi:"onSuccesses"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs struct { - Alert GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput `pulumi:"alert"` - Dashboard GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput `pulumi:"dashboard"` - File GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput `pulumi:"file"` - Parameters pulumi.MapInput `pulumi:"parameters"` - Query GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput `pulumi:"query"` - WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs struct { + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` + OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` + OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` + OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Alert() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { - return v.Alert - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Dashboard() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { - return v.Dashboard - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) *bool { + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) File() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile { - return v.File - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { + return v.OnDurationWarningThresholdExceededs + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Parameters() pulumi.MapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) map[string]interface{} { - return v.Parameters - }).(pulumi.MapOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Query() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery { - return v.Query - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Alert() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { - if v == nil { - return nil - } - return v.Alert - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Dashboard() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) *bool { if v == nil { return nil } - return v.Dashboard - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) File() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { if v == nil { return nil } - return v.File - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) + return v.OnDurationWarningThresholdExceededs + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Parameters() pulumi.MapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) map[string]interface{} { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { if v == nil { return nil } - return v.Parameters - }).(pulumi.MapOutput) + return v.OnFailures + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Query() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { if v == nil { return nil } - return v.Query - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) + return v.OnStarts + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { if v == nil { return nil } - return v.WarehouseId - }).(pulumi.StringPtrOutput) + return v.OnSuccesses + }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert struct { - AlertId string `pulumi:"alertId"` - PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` - Subscriptions []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription `pulumi:"subscriptions"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealth struct { + Rules []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule `pulumi:"rules"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs struct { - AlertId pulumi.StringInput `pulumi:"alertId"` - PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` - Subscriptions GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput `pulumi:"subscriptions"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs struct { + Rules GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput `pulumi:"rules"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) AlertId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) string { return v.AlertId }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription { - return v.Subscriptions - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) Rules() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule { + return v.Rules + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskHealth return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) AlertId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) Rules() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule { if v == nil { return nil } - return &v.AlertId - }).(pulumi.StringPtrOutput) + return v.Rules + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *bool { - if v == nil { - return nil - } - return v.PauseSubscriptions - }).(pulumi.BoolPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule struct { + Metric *string `pulumi:"metric"` + Op *string `pulumi:"op"` + Value *int `pulumi:"value"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription { - if v == nil { - return nil - } - return v.Subscriptions - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) +// 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 GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription struct { - DestinationId *string `pulumi:"destinationId"` - UserName *string `pulumi:"userName"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs struct { + Metric pulumi.StringPtrInput `pulumi:"metric"` + Op pulumi.StringPtrInput `pulumi:"op"` + Value pulumi.IntPtrInput `pulumi:"value"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput` via: +func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs struct { - DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` - UserName pulumi.StringPtrInput `pulumi:"userName"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleInput + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule) *string { return v.Metric }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) Op() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule) *string { return v.Op }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) Value() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule) *int { return v.Value }).(pulumi.IntPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { + return o +} + +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 GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary struct { + Cran *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran `pulumi:"cran"` + Egg *string `pulumi:"egg"` + Jar *string `pulumi:"jar"` + Maven *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven `pulumi:"maven"` + Pypi *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi `pulumi:"pypi"` + Whl *string `pulumi:"whl"` +} + +// 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 + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput +} + +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"` + Whl pulumi.StringPtrInput `pulumi:"whl"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray []GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryInput -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription) *string { - return v.DestinationId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Cran() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran { + return v.Cran + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription) *string { - return v.UserName - }).(pulumi.StringPtrOutput) +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) Whl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { 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 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 GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard struct { - CustomSubject *string `pulumi:"customSubject"` - DashboardId string `pulumi:"dashboardId"` - PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` - Subscriptions []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription `pulumi:"subscriptions"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs struct { - CustomSubject pulumi.StringPtrInput `pulumi:"customSubject"` - DashboardId pulumi.StringInput `pulumi:"dashboardId"` - PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` - Subscriptions GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput `pulumi:"subscriptions"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran { 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) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *bool { - return v.PauseSubscriptions - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) string { return v.Package }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription { - return v.Subscriptions - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) CustomSubject() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *string { if v == nil { return nil } - return v.CustomSubject + return &v.Package }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) DashboardId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *string { if v == nil { return nil } - return &v.DashboardId + return v.Repo }).(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) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription { - if v == nil { - return nil - } - return v.Subscriptions - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) -} - func init() { pulumi.RegisterInputType(reflect.TypeOf((*AccessControlRuleSetGrantRuleInput)(nil)).Elem(), AccessControlRuleSetGrantRuleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AccessControlRuleSetGrantRuleArrayInput)(nil)).Elem(), AccessControlRuleSetGrantRuleArray{}) @@ -84519,6 +84407,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*JobTriggerPtrInput)(nil)).Elem(), JobTriggerArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTriggerFileArrivalInput)(nil)).Elem(), JobTriggerFileArrivalArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTriggerFileArrivalPtrInput)(nil)).Elem(), JobTriggerFileArrivalArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*JobTriggerTableUpdateInput)(nil)).Elem(), JobTriggerTableUpdateArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*JobTriggerTableUpdatePtrInput)(nil)).Elem(), JobTriggerTableUpdateArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobWebhookNotificationsInput)(nil)).Elem(), JobWebhookNotificationsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobWebhookNotificationsPtrInput)(nil)).Elem(), JobWebhookNotificationsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobWebhookNotificationsOnDurationWarningThresholdExceededInput)(nil)).Elem(), JobWebhookNotificationsOnDurationWarningThresholdExceededArgs{}) @@ -84529,6 +84419,22 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*JobWebhookNotificationsOnStartArrayInput)(nil)).Elem(), JobWebhookNotificationsOnStartArray{}) pulumi.RegisterInputType(reflect.TypeOf((*JobWebhookNotificationsOnSuccessInput)(nil)).Elem(), JobWebhookNotificationsOnSuccessArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobWebhookNotificationsOnSuccessArrayInput)(nil)).Elem(), JobWebhookNotificationsOnSuccessArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*LakehouseMonitorCustomMetricInput)(nil)).Elem(), LakehouseMonitorCustomMetricArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LakehouseMonitorCustomMetricArrayInput)(nil)).Elem(), LakehouseMonitorCustomMetricArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*LakehouseMonitorDataClassificationConfigInput)(nil)).Elem(), LakehouseMonitorDataClassificationConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LakehouseMonitorDataClassificationConfigPtrInput)(nil)).Elem(), LakehouseMonitorDataClassificationConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LakehouseMonitorInferenceLogInput)(nil)).Elem(), LakehouseMonitorInferenceLogArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LakehouseMonitorInferenceLogPtrInput)(nil)).Elem(), LakehouseMonitorInferenceLogArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LakehouseMonitorNotificationsInput)(nil)).Elem(), LakehouseMonitorNotificationsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LakehouseMonitorNotificationsPtrInput)(nil)).Elem(), LakehouseMonitorNotificationsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LakehouseMonitorNotificationsOnFailureInput)(nil)).Elem(), LakehouseMonitorNotificationsOnFailureArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LakehouseMonitorNotificationsOnFailurePtrInput)(nil)).Elem(), LakehouseMonitorNotificationsOnFailureArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LakehouseMonitorScheduleInput)(nil)).Elem(), LakehouseMonitorScheduleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LakehouseMonitorSchedulePtrInput)(nil)).Elem(), LakehouseMonitorScheduleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LakehouseMonitorSnapshotInput)(nil)).Elem(), LakehouseMonitorSnapshotArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LakehouseMonitorSnapshotPtrInput)(nil)).Elem(), LakehouseMonitorSnapshotArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LakehouseMonitorTimeSeriesInput)(nil)).Elem(), LakehouseMonitorTimeSeriesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LakehouseMonitorTimeSeriesPtrInput)(nil)).Elem(), LakehouseMonitorTimeSeriesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*LibraryCranInput)(nil)).Elem(), LibraryCranArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*LibraryCranPtrInput)(nil)).Elem(), LibraryCranArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*LibraryMavenInput)(nil)).Elem(), LibraryMavenArgs{}) @@ -84555,6 +84461,24 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigPtrInput)(nil)).Elem(), ModelServingConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigAutoCaptureConfigInput)(nil)).Elem(), ModelServingConfigAutoCaptureConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigAutoCaptureConfigPtrInput)(nil)).Elem(), ModelServingConfigAutoCaptureConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigServedEntityInput)(nil)).Elem(), ModelServingConfigServedEntityArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigServedEntityArrayInput)(nil)).Elem(), ModelServingConfigServedEntityArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigServedEntityExternalModelInput)(nil)).Elem(), ModelServingConfigServedEntityExternalModelArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigServedEntityExternalModelPtrInput)(nil)).Elem(), ModelServingConfigServedEntityExternalModelArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAi21labsConfigInput)(nil)).Elem(), ModelServingConfigServedEntityExternalModelAi21labsConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAi21labsConfigPtrInput)(nil)).Elem(), ModelServingConfigServedEntityExternalModelAi21labsConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAmazonBedrockConfigInput)(nil)).Elem(), ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrInput)(nil)).Elem(), ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAnthropicConfigInput)(nil)).Elem(), ModelServingConfigServedEntityExternalModelAnthropicConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAnthropicConfigPtrInput)(nil)).Elem(), ModelServingConfigServedEntityExternalModelAnthropicConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigServedEntityExternalModelCohereConfigInput)(nil)).Elem(), ModelServingConfigServedEntityExternalModelCohereConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigServedEntityExternalModelCohereConfigPtrInput)(nil)).Elem(), ModelServingConfigServedEntityExternalModelCohereConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigInput)(nil)).Elem(), ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrInput)(nil)).Elem(), ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigServedEntityExternalModelOpenaiConfigInput)(nil)).Elem(), ModelServingConfigServedEntityExternalModelOpenaiConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigServedEntityExternalModelOpenaiConfigPtrInput)(nil)).Elem(), ModelServingConfigServedEntityExternalModelOpenaiConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigServedEntityExternalModelPalmConfigInput)(nil)).Elem(), ModelServingConfigServedEntityExternalModelPalmConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigServedEntityExternalModelPalmConfigPtrInput)(nil)).Elem(), ModelServingConfigServedEntityExternalModelPalmConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigServedModelInput)(nil)).Elem(), ModelServingConfigServedModelArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigServedModelArrayInput)(nil)).Elem(), ModelServingConfigServedModelArray{}) pulumi.RegisterInputType(reflect.TypeOf((*ModelServingConfigTrafficConfigInput)(nil)).Elem(), ModelServingConfigTrafficConfigArgs{}) @@ -84599,6 +84523,28 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*MwsWorkspacesGkeConfigPtrInput)(nil)).Elem(), MwsWorkspacesGkeConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MwsWorkspacesTokenInput)(nil)).Elem(), MwsWorkspacesTokenArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MwsWorkspacesTokenPtrInput)(nil)).Elem(), MwsWorkspacesTokenArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableSpecInput)(nil)).Elem(), OnlineTableSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableSpecPtrInput)(nil)).Elem(), OnlineTableSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableSpecRunContinuouslyInput)(nil)).Elem(), OnlineTableSpecRunContinuouslyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableSpecRunContinuouslyPtrInput)(nil)).Elem(), OnlineTableSpecRunContinuouslyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableSpecRunTriggeredInput)(nil)).Elem(), OnlineTableSpecRunTriggeredArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableSpecRunTriggeredPtrInput)(nil)).Elem(), OnlineTableSpecRunTriggeredArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableStatusInput)(nil)).Elem(), OnlineTableStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableStatusArrayInput)(nil)).Elem(), OnlineTableStatusArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableStatusContinuousUpdateStatusInput)(nil)).Elem(), OnlineTableStatusContinuousUpdateStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableStatusContinuousUpdateStatusPtrInput)(nil)).Elem(), OnlineTableStatusContinuousUpdateStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressInput)(nil)).Elem(), OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrInput)(nil)).Elem(), OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableStatusFailedStatusInput)(nil)).Elem(), OnlineTableStatusFailedStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableStatusFailedStatusPtrInput)(nil)).Elem(), OnlineTableStatusFailedStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableStatusProvisioningStatusInput)(nil)).Elem(), OnlineTableStatusProvisioningStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableStatusProvisioningStatusPtrInput)(nil)).Elem(), OnlineTableStatusProvisioningStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressInput)(nil)).Elem(), OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrInput)(nil)).Elem(), OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableStatusTriggeredUpdateStatusInput)(nil)).Elem(), OnlineTableStatusTriggeredUpdateStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableStatusTriggeredUpdateStatusPtrInput)(nil)).Elem(), OnlineTableStatusTriggeredUpdateStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressInput)(nil)).Elem(), OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrInput)(nil)).Elem(), OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PermissionsAccessControlInput)(nil)).Elem(), PermissionsAccessControlArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PermissionsAccessControlArrayInput)(nil)).Elem(), PermissionsAccessControlArray{}) pulumi.RegisterInputType(reflect.TypeOf((*PipelineClusterInput)(nil)).Elem(), PipelineClusterArgs{}) @@ -84737,6 +84683,20 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*TableColumnArrayInput)(nil)).Elem(), TableColumnArray{}) pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchEndpointEndpointStatusInput)(nil)).Elem(), VectorSearchEndpointEndpointStatusArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchEndpointEndpointStatusArrayInput)(nil)).Elem(), VectorSearchEndpointEndpointStatusArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecInput)(nil)).Elem(), VectorSearchIndexDeltaSyncIndexSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecPtrInput)(nil)).Elem(), VectorSearchIndexDeltaSyncIndexSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnInput)(nil)).Elem(), VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayInput)(nil)).Elem(), VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnInput)(nil)).Elem(), VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayInput)(nil)).Elem(), VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecInput)(nil)).Elem(), VectorSearchIndexDirectAccessIndexSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecPtrInput)(nil)).Elem(), VectorSearchIndexDirectAccessIndexSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnInput)(nil)).Elem(), VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayInput)(nil)).Elem(), VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnInput)(nil)).Elem(), VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs{}) + 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((*GetClusterClusterInfoInput)(nil)).Elem(), GetClusterClusterInfoArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoPtrInput)(nil)).Elem(), GetClusterClusterInfoArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoAutoscaleInput)(nil)).Elem(), GetClusterClusterInfoAutoscaleArgs{}) @@ -84991,77 +84951,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Input)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Input)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs{}) pulumi.RegisterOutputType(AccessControlRuleSetGrantRuleOutput{}) pulumi.RegisterOutputType(AccessControlRuleSetGrantRuleArrayOutput{}) pulumi.RegisterOutputType(ArtifactAllowlistArtifactMatcherOutput{}) @@ -85511,6 +85400,8 @@ func init() { pulumi.RegisterOutputType(JobTriggerPtrOutput{}) pulumi.RegisterOutputType(JobTriggerFileArrivalOutput{}) pulumi.RegisterOutputType(JobTriggerFileArrivalPtrOutput{}) + pulumi.RegisterOutputType(JobTriggerTableUpdateOutput{}) + pulumi.RegisterOutputType(JobTriggerTableUpdatePtrOutput{}) pulumi.RegisterOutputType(JobWebhookNotificationsOutput{}) pulumi.RegisterOutputType(JobWebhookNotificationsPtrOutput{}) pulumi.RegisterOutputType(JobWebhookNotificationsOnDurationWarningThresholdExceededOutput{}) @@ -85521,6 +85412,22 @@ func init() { pulumi.RegisterOutputType(JobWebhookNotificationsOnStartArrayOutput{}) pulumi.RegisterOutputType(JobWebhookNotificationsOnSuccessOutput{}) pulumi.RegisterOutputType(JobWebhookNotificationsOnSuccessArrayOutput{}) + pulumi.RegisterOutputType(LakehouseMonitorCustomMetricOutput{}) + pulumi.RegisterOutputType(LakehouseMonitorCustomMetricArrayOutput{}) + pulumi.RegisterOutputType(LakehouseMonitorDataClassificationConfigOutput{}) + pulumi.RegisterOutputType(LakehouseMonitorDataClassificationConfigPtrOutput{}) + pulumi.RegisterOutputType(LakehouseMonitorInferenceLogOutput{}) + pulumi.RegisterOutputType(LakehouseMonitorInferenceLogPtrOutput{}) + pulumi.RegisterOutputType(LakehouseMonitorNotificationsOutput{}) + pulumi.RegisterOutputType(LakehouseMonitorNotificationsPtrOutput{}) + pulumi.RegisterOutputType(LakehouseMonitorNotificationsOnFailureOutput{}) + pulumi.RegisterOutputType(LakehouseMonitorNotificationsOnFailurePtrOutput{}) + pulumi.RegisterOutputType(LakehouseMonitorScheduleOutput{}) + pulumi.RegisterOutputType(LakehouseMonitorSchedulePtrOutput{}) + pulumi.RegisterOutputType(LakehouseMonitorSnapshotOutput{}) + pulumi.RegisterOutputType(LakehouseMonitorSnapshotPtrOutput{}) + pulumi.RegisterOutputType(LakehouseMonitorTimeSeriesOutput{}) + pulumi.RegisterOutputType(LakehouseMonitorTimeSeriesPtrOutput{}) pulumi.RegisterOutputType(LibraryCranOutput{}) pulumi.RegisterOutputType(LibraryCranPtrOutput{}) pulumi.RegisterOutputType(LibraryMavenOutput{}) @@ -85547,6 +85454,24 @@ func init() { pulumi.RegisterOutputType(ModelServingConfigPtrOutput{}) pulumi.RegisterOutputType(ModelServingConfigAutoCaptureConfigOutput{}) pulumi.RegisterOutputType(ModelServingConfigAutoCaptureConfigPtrOutput{}) + pulumi.RegisterOutputType(ModelServingConfigServedEntityOutput{}) + pulumi.RegisterOutputType(ModelServingConfigServedEntityArrayOutput{}) + pulumi.RegisterOutputType(ModelServingConfigServedEntityExternalModelOutput{}) + pulumi.RegisterOutputType(ModelServingConfigServedEntityExternalModelPtrOutput{}) + pulumi.RegisterOutputType(ModelServingConfigServedEntityExternalModelAi21labsConfigOutput{}) + pulumi.RegisterOutputType(ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput{}) + pulumi.RegisterOutputType(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput{}) + pulumi.RegisterOutputType(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput{}) + pulumi.RegisterOutputType(ModelServingConfigServedEntityExternalModelAnthropicConfigOutput{}) + pulumi.RegisterOutputType(ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput{}) + pulumi.RegisterOutputType(ModelServingConfigServedEntityExternalModelCohereConfigOutput{}) + pulumi.RegisterOutputType(ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput{}) + pulumi.RegisterOutputType(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput{}) + pulumi.RegisterOutputType(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput{}) + pulumi.RegisterOutputType(ModelServingConfigServedEntityExternalModelOpenaiConfigOutput{}) + pulumi.RegisterOutputType(ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput{}) + pulumi.RegisterOutputType(ModelServingConfigServedEntityExternalModelPalmConfigOutput{}) + pulumi.RegisterOutputType(ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput{}) pulumi.RegisterOutputType(ModelServingConfigServedModelOutput{}) pulumi.RegisterOutputType(ModelServingConfigServedModelArrayOutput{}) pulumi.RegisterOutputType(ModelServingConfigTrafficConfigOutput{}) @@ -85591,6 +85516,28 @@ func init() { pulumi.RegisterOutputType(MwsWorkspacesGkeConfigPtrOutput{}) pulumi.RegisterOutputType(MwsWorkspacesTokenOutput{}) pulumi.RegisterOutputType(MwsWorkspacesTokenPtrOutput{}) + pulumi.RegisterOutputType(OnlineTableSpecOutput{}) + pulumi.RegisterOutputType(OnlineTableSpecPtrOutput{}) + pulumi.RegisterOutputType(OnlineTableSpecRunContinuouslyOutput{}) + pulumi.RegisterOutputType(OnlineTableSpecRunContinuouslyPtrOutput{}) + pulumi.RegisterOutputType(OnlineTableSpecRunTriggeredOutput{}) + pulumi.RegisterOutputType(OnlineTableSpecRunTriggeredPtrOutput{}) + pulumi.RegisterOutputType(OnlineTableStatusOutput{}) + pulumi.RegisterOutputType(OnlineTableStatusArrayOutput{}) + pulumi.RegisterOutputType(OnlineTableStatusContinuousUpdateStatusOutput{}) + pulumi.RegisterOutputType(OnlineTableStatusContinuousUpdateStatusPtrOutput{}) + pulumi.RegisterOutputType(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput{}) + pulumi.RegisterOutputType(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput{}) + pulumi.RegisterOutputType(OnlineTableStatusFailedStatusOutput{}) + pulumi.RegisterOutputType(OnlineTableStatusFailedStatusPtrOutput{}) + pulumi.RegisterOutputType(OnlineTableStatusProvisioningStatusOutput{}) + pulumi.RegisterOutputType(OnlineTableStatusProvisioningStatusPtrOutput{}) + pulumi.RegisterOutputType(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput{}) + pulumi.RegisterOutputType(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput{}) + pulumi.RegisterOutputType(OnlineTableStatusTriggeredUpdateStatusOutput{}) + pulumi.RegisterOutputType(OnlineTableStatusTriggeredUpdateStatusPtrOutput{}) + pulumi.RegisterOutputType(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput{}) + pulumi.RegisterOutputType(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput{}) pulumi.RegisterOutputType(PermissionsAccessControlOutput{}) pulumi.RegisterOutputType(PermissionsAccessControlArrayOutput{}) pulumi.RegisterOutputType(PipelineClusterOutput{}) @@ -85729,6 +85676,20 @@ func init() { pulumi.RegisterOutputType(TableColumnArrayOutput{}) pulumi.RegisterOutputType(VectorSearchEndpointEndpointStatusOutput{}) pulumi.RegisterOutputType(VectorSearchEndpointEndpointStatusArrayOutput{}) + pulumi.RegisterOutputType(VectorSearchIndexDeltaSyncIndexSpecOutput{}) + pulumi.RegisterOutputType(VectorSearchIndexDeltaSyncIndexSpecPtrOutput{}) + pulumi.RegisterOutputType(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput{}) + pulumi.RegisterOutputType(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput{}) + pulumi.RegisterOutputType(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput{}) + pulumi.RegisterOutputType(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput{}) + pulumi.RegisterOutputType(VectorSearchIndexDirectAccessIndexSpecOutput{}) + pulumi.RegisterOutputType(VectorSearchIndexDirectAccessIndexSpecPtrOutput{}) + pulumi.RegisterOutputType(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput{}) + pulumi.RegisterOutputType(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput{}) + pulumi.RegisterOutputType(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput{}) + pulumi.RegisterOutputType(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput{}) + pulumi.RegisterOutputType(VectorSearchIndexStatusOutput{}) + pulumi.RegisterOutputType(VectorSearchIndexStatusArrayOutput{}) pulumi.RegisterOutputType(GetClusterClusterInfoOutput{}) pulumi.RegisterOutputType(GetClusterClusterInfoPtrOutput{}) pulumi.RegisterOutputType(GetClusterClusterInfoAutoscaleOutput{}) @@ -85983,75 +85944,4 @@ func init() { pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput{}) pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput{}) pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput{}) - pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput{}) } diff --git a/sdk/go/databricks/pulumiTypes1.go b/sdk/go/databricks/pulumiTypes1.go index a5bc81ac..77f36985 100644 --- a/sdk/go/databricks/pulumiTypes1.go +++ b/sdk/go/databricks/pulumiTypes1.go @@ -13,6 +13,6105 @@ import ( var _ = internal.GetEnvOrDefault +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: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs struct { + Coordinates pulumi.StringInput `pulumi:"coordinates"` + Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` + Repo pulumi.StringPtrInput `pulumi:"repo"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) Coordinates() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *string { + if v == nil { + return nil + } + return &v.Coordinates + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) []string { + if v == nil { + return nil + } + return v.Exclusions + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) +} + +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: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) string { return v.Package }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *string { + if v == nil { + return nil + } + return &v.Package + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *string { + if v == nil { + return nil + } + return v.Repo + }).(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]interface{} `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]interface{} `pulumi:"sparkConf"` + SparkEnvVars map[string]interface{} `pulumi:"sparkEnvVars"` + SparkVersion string `pulumi:"sparkVersion"` + SshPublicKeys []string `pulumi:"sshPublicKeys"` + WorkloadType *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType `pulumi:"workloadType"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput +} + +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.MapInput `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.MapInput `pulumi:"sparkConf"` + SparkEnvVars pulumi.MapInput `pulumi:"sparkEnvVars"` + SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` + SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` + WorkloadType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { + return v.ApplyPolicyDefaultValues + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) Autoscale() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { + return v.Autoscale + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) AwsAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { + return v.AwsAttributes + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) AzureAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { + return v.AzureAttributes + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterLogConf() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { + return v.ClusterLogConf + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterMountInfos() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo { + return v.ClusterMountInfos + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) CustomTags() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { + return v.CustomTags + }).(pulumi.MapOutput) +} + +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) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DriverInstancePoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DriverNodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) EnableElasticDisk() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) bool { + return v.EnableLocalDiskEncryption + }).(pulumi.BoolOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { + return v.GcpAttributes + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) InitScripts() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript { + return v.InitScripts + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) NodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) NumWorkers() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SparkConf() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { + return v.SparkConf + }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SparkEnvVars() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { + return v.SparkEnvVars + }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SparkVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { + return v.WorkloadType + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { + if v == nil { + return nil + } + return v.ApplyPolicyDefaultValues + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) Autoscale() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { + if v == nil { + return nil + } + return v.Autoscale + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) AutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *int { + if v == nil { + return nil + } + return v.AutoterminationMinutes + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) AwsAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { + if v == nil { + return nil + } + return v.AwsAttributes + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) AzureAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { + if v == nil { + return nil + } + return v.AzureAttributes + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.ClusterId + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterLogConf() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { + if v == nil { + return nil + } + return v.ClusterLogConf + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterMountInfos() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo { + if v == nil { + return nil + } + return v.ClusterMountInfos + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.ClusterName + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) CustomTags() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { + if v == nil { + return nil + } + return v.CustomTags + }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.DataSecurityMode + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) DockerImage() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage { + if v == nil { + return nil + } + return v.DockerImage + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return &v.DriverInstancePoolId + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return &v.DriverNodeTypeId + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { + if v == nil { + return nil + } + return &v.EnableElasticDisk + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { + if v == nil { + return nil + } + return &v.EnableLocalDiskEncryption + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) GcpAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { + if v == nil { + return nil + } + return v.GcpAttributes + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) +} + +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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) InitScripts() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript { + if v == nil { + return nil + } + return v.InitScripts + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) +} + +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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return &v.NodeTypeId + }).(pulumi.StringPtrOutput) +} + +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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.PolicyId + }).(pulumi.StringPtrOutput) +} + +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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.SingleUserName + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SparkConf() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { + if v == nil { + return nil + } + return v.SparkConf + }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SparkEnvVars() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]interface{} { + if v == nil { + return nil + } + return v.SparkEnvVars + }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return &v.SparkVersion + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []string { + if v == nil { + return nil + } + return v.SshPublicKeys + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) WorkloadType() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { + 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 +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs struct { + MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` + MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { + 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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + 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) +} + +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"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput +} + +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 (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { + 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) +} + +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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes + 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) +} + +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: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesInput 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() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput 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()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *string { + return v.Availability + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *int { + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *float64 { + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + 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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *string { + if v == nil { + return nil + } + return v.Availability + }).(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) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *float64 { + if v == nil { + return nil + } + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) +} + +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: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs struct { + Dbfs GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` + S3 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) Dbfs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { + return v.Dbfs + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { + return v.S3 + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) Dbfs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { + if v == nil { + return nil + } + return v.Dbfs + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) S3() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { + if v == nil { + return nil + } + return v.S3 + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs struct { + Destination string `pulumi:"destination"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) string { + return v.Destination + }).(pulumi.StringOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) *string { + if v == nil { + return nil + } + return &v.Destination + }).(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"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Input` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Input interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output +} + +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 (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { + 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) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *bool { + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + return v.EncryptionType + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + return v.Endpoint + }).(pulumi.StringPtrOutput) +} + +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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + 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 + } + return &v.Destination + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) +} + +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: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs struct { + LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` +} + +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 +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo) string { + return v.LocalMountDirPath + }).(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 } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + 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) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage struct { + BasicAuth *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` + Url string `pulumi:"url"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageInput 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() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { + 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) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + 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) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput 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() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) +} + +// 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 + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { + 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 +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) +} + +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 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: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput +} + +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 (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx) +} + +// 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 + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { + return v.Availability + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { + return v.BootDiskSize + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { + return v.GoogleServiceAccount + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *bool { + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) +} + +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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) +} + +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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { + if v == nil { + return nil + } + 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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { + if v == nil { + return nil + } + 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 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"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput +} + +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 (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) +} + +// 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 +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Abfss() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss { + return v.Abfss + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Dbfs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs { + return v.Dbfs + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) File() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile { + return v.File + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) +} + +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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { + 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) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss struct { + Destination string `pulumi:"destination"` +} + +// 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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() +} + +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 (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) string { + return v.Destination + }).(pulumi.StringOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + 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) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs struct { + Destination string `pulumi:"destination"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsInput 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() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) +} + +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: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) string { + return v.Destination + }).(pulumi.StringOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + 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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) +} + +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: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) string { + return v.Destination + }).(pulumi.StringOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs struct { + Destination string `pulumi:"destination"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) string { + return v.Destination + }).(pulumi.StringOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) *string { + if v == nil { + return nil + } + return &v.Destination + }).(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"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Input is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Input` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Input interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output +} + +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 (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Ptr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 { + 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) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return o +} + +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 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) +} + +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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes struct { + Destination string `pulumi:"destination"` +} + +// 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 +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx) +} + +// 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 getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType)(v) +} + +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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) +} + +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 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace struct { + Destination string `pulumi:"destination"` +} + +// 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 +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) +} + +// 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 +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) string { + return v.Destination + }).(pulumi.StringOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return o +} + +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 + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType struct { + Clients GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients `pulumi:"clients"` +} + +// 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 + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs struct { + Clients GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput `pulumi:"clients"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx) +} + +// 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 + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { + return v.Clients + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { + if v == nil { + return nil + } + return &v.Clients + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients struct { + Jobs *bool `pulumi:"jobs"` + Notebooks *bool `pulumi:"notebooks"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs struct { + Jobs pulumi.BoolPtrInput `pulumi:"jobs"` + Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { + return v.Notebooks + }).(pulumi.BoolPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { + if v == nil { + return nil + } + return v.Jobs + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { + if v == nil { + return nil + } + return v.Notebooks + }).(pulumi.BoolPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask struct { + BaseParameters map[string]interface{} `pulumi:"baseParameters"` + NotebookPath string `pulumi:"notebookPath"` + Source *string `pulumi:"source"` +} + +// 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 +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs struct { + BaseParameters pulumi.MapInput `pulumi:"baseParameters"` + NotebookPath pulumi.StringInput `pulumi:"notebookPath"` + Source pulumi.StringPtrInput `pulumi:"source"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) +} + +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: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) BaseParameters() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) map[string]interface{} { + return v.BaseParameters + }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) NotebookPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) BaseParameters() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) map[string]interface{} { + if v == nil { + return nil + } + return v.BaseParameters + }).(pulumi.MapOutput) +} + +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) +} + +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: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs struct { + AlertOnLastAttempt pulumi.BoolPtrInput `pulumi:"alertOnLastAttempt"` + NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { + return v.AlertOnLastAttempt + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { + return v.NoAlertForCanceledRuns + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { + if v == nil { + return nil + } + return v.AlertOnLastAttempt + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { + if v == nil { + return nil + } + return v.NoAlertForCanceledRuns + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { + if v == nil { + return nil + } + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask struct { + FullRefresh *bool `pulumi:"fullRefresh"` + PipelineId string `pulumi:"pipelineId"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs struct { + FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` + PipelineId pulumi.StringInput `pulumi:"pipelineId"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) PipelineId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *bool { + if v == nil { + return nil + } + return v.FullRefresh + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *string { + if v == nil { + return nil + } + return &v.PipelineId + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask struct { + EntryPoint *string `pulumi:"entryPoint"` + NamedParameters map[string]interface{} `pulumi:"namedParameters"` + PackageName *string `pulumi:"packageName"` + Parameters []string `pulumi:"parameters"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs struct { + EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` + NamedParameters pulumi.MapInput `pulumi:"namedParameters"` + PackageName pulumi.StringPtrInput `pulumi:"packageName"` + Parameters pulumi.StringArrayInput `pulumi:"parameters"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx) +} + +// 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 + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { + 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.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) map[string]interface{} { + return v.NamedParameters + }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask + 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.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) map[string]interface{} { + if v == nil { + return nil + } + return v.NamedParameters + }).(pulumi.MapOutput) +} + +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 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]interface{} `pulumi:"jobParameters"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs struct { + JobId pulumi.IntInput `pulumi:"jobId"` + JobParameters pulumi.MapInput `pulumi:"jobParameters"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) JobId() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) int { return v.JobId }).(pulumi.IntOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) JobParameters() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) map[string]interface{} { + return v.JobParameters + }).(pulumi.MapOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) *int { + if v == nil { + return nil + } + return &v.JobId + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) JobParameters() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) map[string]interface{} { + if v == nil { + return nil + } + return v.JobParameters + }).(pulumi.MapOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask struct { + JarUri *string `pulumi:"jarUri"` + MainClassName *string `pulumi:"mainClassName"` + Parameters []string `pulumi:"parameters"` +} + +// 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 + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs struct { + JarUri pulumi.StringPtrInput `pulumi:"jarUri"` + MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` + Parameters pulumi.StringArrayInput `pulumi:"parameters"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx) +} + +// 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 + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) +} + +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 GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { + if v == nil { + return nil + } + return v.MainClassName + }).(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) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask struct { + Parameters []string `pulumi:"parameters"` + PythonFile string `pulumi:"pythonFile"` + Source *string `pulumi:"source"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs struct { + Parameters pulumi.StringArrayInput `pulumi:"parameters"` + PythonFile pulumi.StringInput `pulumi:"pythonFile"` + Source pulumi.StringPtrInput `pulumi:"source"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *string { return v.Source }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask + 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) +} + +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 GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *string { + if v == nil { + return nil + } + return v.Source + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask struct { + Parameters []string `pulumi:"parameters"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs struct { + Parameters pulumi.StringArrayInput `pulumi:"parameters"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +} + +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) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask struct { + Alert *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert `pulumi:"alert"` + Dashboard *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard `pulumi:"dashboard"` + File *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile `pulumi:"file"` + Parameters map[string]interface{} `pulumi:"parameters"` + Query *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery `pulumi:"query"` + WarehouseId *string `pulumi:"warehouseId"` +} + +// 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 + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs struct { + Alert GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput `pulumi:"alert"` + Dashboard GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput `pulumi:"dashboard"` + File GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput `pulumi:"file"` + Parameters pulumi.MapInput `pulumi:"parameters"` + Query GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput `pulumi:"query"` + WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx) +} + +// 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 + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Alert() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { + return v.Alert + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Dashboard() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { + return v.Dashboard + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) File() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile { + return v.File + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Parameters() pulumi.MapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) map[string]interface{} { + return v.Parameters + }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Query() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery { + return v.Query + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Alert() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { + if v == nil { + return nil + } + return v.Alert + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Dashboard() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { + if v == nil { + return nil + } + return v.Dashboard + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) File() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile { + if v == nil { + return nil + } + return v.File + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Parameters() pulumi.MapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) map[string]interface{} { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.MapOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Query() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery { + if v == nil { + return nil + } + return v.Query + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *string { + if v == nil { + return nil + } + return v.WarehouseId + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert struct { + AlertId string `pulumi:"alertId"` + PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` + Subscriptions []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription `pulumi:"subscriptions"` +} + +// 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 +} + +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() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx) +} + +// 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 +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) AlertId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) string { return v.AlertId }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) +} + +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 + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) +} + +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 GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *bool { + if v == nil { + return nil + } + return v.PauseSubscriptions + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription { + if v == nil { + return nil + } + return v.Subscriptions + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription struct { + DestinationId *string `pulumi:"destinationId"` + UserName *string `pulumi:"userName"` +} + +// 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 +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs struct { + DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` + UserName pulumi.StringPtrInput `pulumi:"userName"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription) *string { + return v.DestinationId + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription) *string { + return v.UserName + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { + 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) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard struct { + CustomSubject *string `pulumi:"customSubject"` + DashboardId string `pulumi:"dashboardId"` + PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` + Subscriptions []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription `pulumi:"subscriptions"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs struct { + CustomSubject pulumi.StringPtrInput `pulumi:"customSubject"` + DashboardId pulumi.StringInput `pulumi:"dashboardId"` + PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` + Subscriptions GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput `pulumi:"subscriptions"` +} + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { + 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) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription { + return v.Subscriptions + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard + 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) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) DashboardId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *string { + if v == nil { + return nil + } + return &v.DashboardId + }).(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) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription { + if v == nil { + return nil + } + return v.Subscriptions + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) +} + type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription struct { DestinationId *string `pulumi:"destinationId"` UserName *string `pulumi:"userName"` @@ -586,7 +6685,7 @@ func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutpu type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded struct { // the id of Job if the resource was matched by name. - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput values. @@ -602,7 +6701,7 @@ type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationW type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { // the id of Job if the resource was matched by name. - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { @@ -657,10 +6756,10 @@ func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurati } // the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded) string { return v.Id - }).(pulumi.StringPtrOutput) + }).(pulumi.StringOutput) } type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } @@ -685,7 +6784,7 @@ func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurati type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure struct { // the id of Job if the resource was matched by name. - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput values. @@ -701,7 +6800,7 @@ type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureIn type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs struct { // the id of Job if the resource was matched by name. - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { @@ -756,8 +6855,8 @@ func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailur } // the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) } type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } @@ -782,7 +6881,7 @@ func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailur type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart struct { // the id of Job if the resource was matched by name. - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput values. @@ -798,7 +6897,7 @@ type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartInpu type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs struct { // the id of Job if the resource was matched by name. - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs) ElementType() reflect.Type { @@ -853,8 +6952,8 @@ func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartO } // the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) } type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } @@ -879,7 +6978,7 @@ func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartA type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess struct { // the id of Job if the resource was matched by name. - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput values. @@ -895,7 +6994,7 @@ type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessIn type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs struct { // the id of Job if the resource was matched by name. - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { @@ -950,8 +7049,8 @@ func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSucces } // the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) } type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } @@ -8049,7 +14148,7 @@ func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) OnSuccesses( type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded struct { // the id of Job if the resource was matched by name. - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput values. @@ -8065,7 +14164,7 @@ type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThreshold type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { // the id of Job if the resource was matched by name. - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { @@ -8120,10 +14219,10 @@ func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresh } // the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded) *string { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded) string { return v.Id - }).(pulumi.StringPtrOutput) + }).(pulumi.StringOutput) } type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } @@ -8148,7 +14247,7 @@ func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresh type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure struct { // the id of Job if the resource was matched by name. - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput values. @@ -8164,7 +14263,7 @@ type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureInput interface { type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs struct { // the id of Job if the resource was matched by name. - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { @@ -8219,8 +14318,8 @@ func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) ToGetJ } // the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) } type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } @@ -8245,7 +14344,7 @@ func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) I type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart struct { // the id of Job if the resource was matched by name. - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput values. @@ -8261,7 +14360,7 @@ type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartInput interface { type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs struct { // the id of Job if the resource was matched by name. - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs) ElementType() reflect.Type { @@ -8316,8 +14415,8 @@ func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) ToGetJob } // the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) } type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } @@ -8342,7 +14441,7 @@ func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) Ind type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess struct { // the id of Job if the resource was matched by name. - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput values. @@ -8358,7 +14457,7 @@ type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessInput interface { type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs struct { // the id of Job if the resource was matched by name. - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { @@ -8413,8 +14512,8 @@ func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) ToGetJ } // the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) } type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } @@ -8438,8 +14537,9 @@ func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) I } type GetJobJobSettingsSettingsTrigger struct { - FileArrival GetJobJobSettingsSettingsTriggerFileArrival `pulumi:"fileArrival"` - PauseStatus *string `pulumi:"pauseStatus"` + FileArrival *GetJobJobSettingsSettingsTriggerFileArrival `pulumi:"fileArrival"` + PauseStatus *string `pulumi:"pauseStatus"` + TableUpdate *GetJobJobSettingsSettingsTriggerTableUpdate `pulumi:"tableUpdate"` } // GetJobJobSettingsSettingsTriggerInput is an input type that accepts GetJobJobSettingsSettingsTriggerArgs and GetJobJobSettingsSettingsTriggerOutput values. @@ -8454,8 +14554,9 @@ type GetJobJobSettingsSettingsTriggerInput interface { } type GetJobJobSettingsSettingsTriggerArgs struct { - FileArrival GetJobJobSettingsSettingsTriggerFileArrivalInput `pulumi:"fileArrival"` - PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` + FileArrival GetJobJobSettingsSettingsTriggerFileArrivalPtrInput `pulumi:"fileArrival"` + PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` + TableUpdate GetJobJobSettingsSettingsTriggerTableUpdatePtrInput `pulumi:"tableUpdate"` } func (GetJobJobSettingsSettingsTriggerArgs) ElementType() reflect.Type { @@ -8535,16 +14636,22 @@ func (o GetJobJobSettingsSettingsTriggerOutput) ToGetJobJobSettingsSettingsTrigg }).(GetJobJobSettingsSettingsTriggerPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerOutput) FileArrival() GetJobJobSettingsSettingsTriggerFileArrivalOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTrigger) GetJobJobSettingsSettingsTriggerFileArrival { +func (o GetJobJobSettingsSettingsTriggerOutput) FileArrival() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerFileArrival { return v.FileArrival - }).(GetJobJobSettingsSettingsTriggerFileArrivalOutput) + }).(GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) } func (o GetJobJobSettingsSettingsTriggerOutput) PauseStatus() pulumi.StringPtrOutput { return o.ApplyT(func(v GetJobJobSettingsSettingsTrigger) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) } +func (o GetJobJobSettingsSettingsTriggerOutput) TableUpdate() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerTableUpdate { + return v.TableUpdate + }).(GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) +} + type GetJobJobSettingsSettingsTriggerPtrOutput struct{ *pulumi.OutputState } func (GetJobJobSettingsSettingsTriggerPtrOutput) ElementType() reflect.Type { @@ -8574,7 +14681,7 @@ func (o GetJobJobSettingsSettingsTriggerPtrOutput) FileArrival() GetJobJobSettin if v == nil { return nil } - return &v.FileArrival + return v.FileArrival }).(GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) } @@ -8587,6 +14694,15 @@ func (o GetJobJobSettingsSettingsTriggerPtrOutput) PauseStatus() pulumi.StringPt }).(pulumi.StringPtrOutput) } +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"` @@ -8750,6 +14866,184 @@ func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) WaitAfterLastChang }).(pulumi.IntPtrOutput) } +type GetJobJobSettingsSettingsTriggerTableUpdate struct { + Condition *string `pulumi:"condition"` + MinTimeBetweenTriggersSeconds *int `pulumi:"minTimeBetweenTriggersSeconds"` + TableNames []string `pulumi:"tableNames"` + WaitAfterLastChangeSeconds *int `pulumi:"waitAfterLastChangeSeconds"` +} + +// GetJobJobSettingsSettingsTriggerTableUpdateInput is an input type that accepts GetJobJobSettingsSettingsTriggerTableUpdateArgs and GetJobJobSettingsSettingsTriggerTableUpdateOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerTableUpdateInput` via: +// +// GetJobJobSettingsSettingsTriggerTableUpdateArgs{...} +type GetJobJobSettingsSettingsTriggerTableUpdateInput 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() +} + +func (i GetJobJobSettingsSettingsTriggerTableUpdateArgs) ToGetJobJobSettingsSettingsTriggerTableUpdateOutput() GetJobJobSettingsSettingsTriggerTableUpdateOutput { + return i.ToGetJobJobSettingsSettingsTriggerTableUpdateOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTriggerTableUpdateArgs) ToGetJobJobSettingsSettingsTriggerTableUpdateOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdateOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerTableUpdateOutput) +} + +func (i GetJobJobSettingsSettingsTriggerTableUpdateArgs) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return i.ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTriggerTableUpdateArgs) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerTableUpdateOutput).ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTriggerTableUpdatePtrInput is an input type that accepts GetJobJobSettingsSettingsTriggerTableUpdateArgs, GetJobJobSettingsSettingsTriggerTableUpdatePtr and GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerTableUpdatePtrInput` via: +// +// GetJobJobSettingsSettingsTriggerTableUpdateArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTriggerTableUpdatePtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput + ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput +} + +type getJobJobSettingsSettingsTriggerTableUpdatePtrType GetJobJobSettingsSettingsTriggerTableUpdateArgs + +func GetJobJobSettingsSettingsTriggerTableUpdatePtr(v *GetJobJobSettingsSettingsTriggerTableUpdateArgs) GetJobJobSettingsSettingsTriggerTableUpdatePtrInput { + return (*getJobJobSettingsSettingsTriggerTableUpdatePtrType)(v) +} + +func (*getJobJobSettingsSettingsTriggerTableUpdatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTriggerTableUpdate)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTriggerTableUpdatePtrType) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return i.ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTriggerTableUpdatePtrType) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) +} + +type GetJobJobSettingsSettingsTriggerTableUpdateOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTriggerTableUpdateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTriggerTableUpdate)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) ToGetJobJobSettingsSettingsTriggerTableUpdateOutput() GetJobJobSettingsSettingsTriggerTableUpdateOutput { + return o +} + +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) ToGetJobJobSettingsSettingsTriggerTableUpdateOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdateOutput { + return o +} + +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return o.ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTriggerTableUpdate) *GetJobJobSettingsSettingsTriggerTableUpdate { + return &v + }).(GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) +} + +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerTableUpdate) *string { return v.Condition }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerTableUpdate) *int { return v.MinTimeBetweenTriggersSeconds }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) TableNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerTableUpdate) []string { return v.TableNames }).(pulumi.StringArrayOutput) +} + +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 GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) Elem() GetJobJobSettingsSettingsTriggerTableUpdateOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) GetJobJobSettingsSettingsTriggerTableUpdate { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTriggerTableUpdate + return ret + }).(GetJobJobSettingsSettingsTriggerTableUpdateOutput) +} + +func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) *string { + if v == nil { + return nil + } + return v.Condition + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) *int { + if v == nil { + return nil + } + return v.MinTimeBetweenTriggersSeconds + }).(pulumi.IntPtrOutput) +} + +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"` @@ -8938,7 +15232,7 @@ func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) OnSuccesses() Ge type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded struct { // the id of Job if the resource was matched by name. - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs and GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput values. @@ -8954,7 +15248,7 @@ type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExce type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { // the id of Job if the resource was matched by name. - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { @@ -9009,10 +15303,10 @@ func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdE } // the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded) *string { +func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded) string { return v.Id - }).(pulumi.StringPtrOutput) + }).(pulumi.StringOutput) } type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } @@ -9037,7 +15331,7 @@ func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdE type GetJobJobSettingsSettingsWebhookNotificationsOnFailure struct { // the id of Job if the resource was matched by name. - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // GetJobJobSettingsSettingsWebhookNotificationsOnFailureInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs and GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput values. @@ -9053,7 +15347,7 @@ type GetJobJobSettingsSettingsWebhookNotificationsOnFailureInput interface { type GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs struct { // the id of Job if the resource was matched by name. - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { @@ -9108,8 +15402,8 @@ func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) ToGetJobJo } // the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnFailure) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) } type GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } @@ -9134,7 +15428,7 @@ func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) Index type GetJobJobSettingsSettingsWebhookNotificationsOnStart struct { // the id of Job if the resource was matched by name. - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // GetJobJobSettingsSettingsWebhookNotificationsOnStartInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs and GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput values. @@ -9150,7 +15444,7 @@ type GetJobJobSettingsSettingsWebhookNotificationsOnStartInput interface { type GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs struct { // the id of Job if the resource was matched by name. - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs) ElementType() reflect.Type { @@ -9205,8 +15499,8 @@ func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) ToGetJobJobS } // the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnStart) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) } type GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } @@ -9231,7 +15525,7 @@ func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) Index(i type GetJobJobSettingsSettingsWebhookNotificationsOnSuccess struct { // the id of Job if the resource was matched by name. - Id *string `pulumi:"id"` + Id string `pulumi:"id"` } // GetJobJobSettingsSettingsWebhookNotificationsOnSuccessInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs and GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput values. @@ -9247,7 +15541,7 @@ type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessInput interface { type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs struct { // the id of Job if the resource was matched by name. - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringInput `pulumi:"id"` } func (GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { @@ -9302,8 +15596,8 @@ func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) ToGetJobJo } // the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnSuccess) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) } type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } @@ -12737,6 +19031,77 @@ func (o GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrO } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Input)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Input)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileInput)(nil)).Elem(), GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs{}) @@ -12852,6 +19217,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTriggerPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTriggerArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTriggerFileArrivalInput)(nil)).Elem(), GetJobJobSettingsSettingsTriggerFileArrivalArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTriggerFileArrivalPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTriggerFileArrivalArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTriggerTableUpdateInput)(nil)).Elem(), GetJobJobSettingsSettingsTriggerTableUpdateArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsTriggerTableUpdatePtrInput)(nil)).Elem(), GetJobJobSettingsSettingsTriggerTableUpdateArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsInput)(nil)).Elem(), GetJobJobSettingsSettingsWebhookNotificationsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsPtrInput)(nil)).Elem(), GetJobJobSettingsSettingsWebhookNotificationsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededInput)(nil)).Elem(), GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs{}) @@ -12902,6 +19269,77 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoCloudflareApiTokenPtrInput)(nil)).Elem(), GetStorageCredentialStorageCredentialInfoCloudflareApiTokenArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountInput)(nil)).Elem(), GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountPtrInput)(nil)).Elem(), GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccountArgs{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput{}) pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput{}) pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput{}) pulumi.RegisterOutputType(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput{}) @@ -13017,6 +19455,8 @@ func init() { pulumi.RegisterOutputType(GetJobJobSettingsSettingsTriggerPtrOutput{}) pulumi.RegisterOutputType(GetJobJobSettingsSettingsTriggerFileArrivalOutput{}) pulumi.RegisterOutputType(GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTriggerTableUpdateOutput{}) + pulumi.RegisterOutputType(GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput{}) pulumi.RegisterOutputType(GetJobJobSettingsSettingsWebhookNotificationsOutput{}) pulumi.RegisterOutputType(GetJobJobSettingsSettingsWebhookNotificationsPtrOutput{}) pulumi.RegisterOutputType(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput{}) diff --git a/sdk/go/databricks/registeredModel.go b/sdk/go/databricks/registeredModel.go index 462af190..9935cf42 100644 --- a/sdk/go/databricks/registeredModel.go +++ b/sdk/go/databricks/registeredModel.go @@ -77,6 +77,8 @@ type RegisteredModel struct { Comment pulumi.StringPtrOutput `pulumi:"comment"` // The name of the registered model. *Change of this parameter forces recreation of the resource.* Name pulumi.StringOutput `pulumi:"name"` + // Name of the registered model owner. + Owner pulumi.StringOutput `pulumi:"owner"` // The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.* SchemaName pulumi.StringOutput `pulumi:"schemaName"` // The storage location under which model version data files are stored. *Change of this parameter forces recreation of the resource.* @@ -125,6 +127,8 @@ type registeredModelState struct { Comment *string `pulumi:"comment"` // The name of the registered model. *Change of this parameter forces recreation of the resource.* Name *string `pulumi:"name"` + // Name of the registered model owner. + Owner *string `pulumi:"owner"` // The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.* SchemaName *string `pulumi:"schemaName"` // The storage location under which model version data files are stored. *Change of this parameter forces recreation of the resource.* @@ -138,6 +142,8 @@ type RegisteredModelState struct { Comment pulumi.StringPtrInput // The name of the registered model. *Change of this parameter forces recreation of the resource.* Name pulumi.StringPtrInput + // Name of the registered model owner. + Owner pulumi.StringPtrInput // The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.* SchemaName pulumi.StringPtrInput // The storage location under which model version data files are stored. *Change of this parameter forces recreation of the resource.* @@ -155,6 +161,8 @@ type registeredModelArgs struct { Comment *string `pulumi:"comment"` // The name of the registered model. *Change of this parameter forces recreation of the resource.* Name *string `pulumi:"name"` + // Name of the registered model owner. + Owner *string `pulumi:"owner"` // The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.* SchemaName string `pulumi:"schemaName"` // The storage location under which model version data files are stored. *Change of this parameter forces recreation of the resource.* @@ -169,6 +177,8 @@ type RegisteredModelArgs struct { Comment pulumi.StringPtrInput // The name of the registered model. *Change of this parameter forces recreation of the resource.* Name pulumi.StringPtrInput + // Name of the registered model owner. + Owner pulumi.StringPtrInput // The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.* SchemaName pulumi.StringInput // The storage location under which model version data files are stored. *Change of this parameter forces recreation of the resource.* @@ -277,6 +287,11 @@ func (o RegisteredModelOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *RegisteredModel) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } +// Name of the registered model owner. +func (o RegisteredModelOutput) Owner() pulumi.StringOutput { + return o.ApplyT(func(v *RegisteredModel) pulumi.StringOutput { return v.Owner }).(pulumi.StringOutput) +} + // The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.* func (o RegisteredModelOutput) SchemaName() pulumi.StringOutput { return o.ApplyT(func(v *RegisteredModel) pulumi.StringOutput { return v.SchemaName }).(pulumi.StringOutput) diff --git a/sdk/go/databricks/servicePrincipal.go b/sdk/go/databricks/servicePrincipal.go index ef27e244..2b77feed 100644 --- a/sdk/go/databricks/servicePrincipal.go +++ b/sdk/go/databricks/servicePrincipal.go @@ -11,17 +11,24 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) -// Directly manage [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html) that could be added to Group in Databricks workspace or account. +// Directly manage [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html) that could be added to Group in Databricks account or workspace. +// +// There are different types of service principals: +// +// * Databricks-managed - exists only inside the Databricks platform (all clouds) and couldn't be used for accessing non-Databricks services. +// * Azure-managed - existing Azure service principal (enterprise application) is registered inside Databricks. It could be used to work with other Azure services. // // > **Note** To assign account level service principals to workspace use databricks_mws_permission_assignment. // -// > **Note** Entitlements, like, `allowClusterCreate`, `allowInstancePoolCreate`, `databricksSqlAccess`, `workspaceAccess` applicable only for workspace-level service principals. Use Entitlements resource to assign entitlements inside a workspace to account-level service principals. +// > **Note** Entitlements, like, `allowClusterCreate`, `allowInstancePoolCreate`, `databricksSqlAccess`, `workspaceAccess` applicable only for workspace-level service principals. Use Entitlements resource to assign entitlements inside a workspace to account-level service principals. +// +// To create service principals in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using the supported authentication method for account operations. // -// To create service principals in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments +// The default behavior when deleting a `ServicePrincipal` resource depends on whether the provider is configured at the workspace-level or account-level. When the provider is configured at the workspace-level, the service principal will be deleted from the workspace. When the provider is configured at the account-level, the service principal will be deactivated but not deleted. When the provider is configured at the account level, to delete the service principal from the account when the resource is deleted, set `disableAsUserDeletion = false`. Conversely, when the provider is configured at the account-level, to deactivate the service principal when the resource is deleted, set `disableAsUserDeletion = true`. // // ## Example Usage // -// Creating regular service principal: +// Creating regular Databricks-managed service principal: // // // ```go @@ -37,7 +44,7 @@ import ( // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := databricks.NewServicePrincipal(ctx, "sp", &databricks.ServicePrincipalArgs{ -// ApplicationId: pulumi.String("00000000-0000-0000-0000-000000000000"), +// DisplayName: pulumi.String("Admin SP"), // }) // if err != nil { // return err @@ -71,7 +78,7 @@ import ( // return err // } // sp, err := databricks.NewServicePrincipal(ctx, "sp", &databricks.ServicePrincipalArgs{ -// ApplicationId: pulumi.String("00000000-0000-0000-0000-000000000000"), +// DisplayName: pulumi.String("Admin SP"), // }) // if err != nil { // return err @@ -90,7 +97,7 @@ import ( // ``` // // -// Creating service principal with cluster create permissions: +// Creating Azure-managed service principal with cluster create permissions: // // // ```go @@ -120,7 +127,7 @@ import ( // ``` // // -// Creating service principal in AWS Databricks account: +// Creating Databricks-managed service principal in AWS Databricks account: // // // ```go @@ -136,7 +143,7 @@ import ( // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // // initialize provider at account-level -// _, err := databricks.NewProvider(ctx, "mws", &databricks.ProviderArgs{ +// _, err := databricks.NewProvider(ctx, "account", &databricks.ProviderArgs{ // Host: pulumi.String("https://accounts.cloud.databricks.com"), // AccountId: pulumi.String("00000000-0000-0000-0000-000000000000"), // ClientId: pulumi.Any(_var.Client_id), @@ -147,7 +154,7 @@ import ( // } // _, err = databricks.NewServicePrincipal(ctx, "sp", &databricks.ServicePrincipalArgs{ // DisplayName: pulumi.String("Automation-only SP"), -// }, pulumi.Provider(databricks.Mws)) +// }, pulumi.Provider(databricks.Account)) // if err != nil { // return err // } @@ -158,7 +165,7 @@ import ( // ``` // // -// Creating service principal in Azure Databricks account: +// Creating Azure-managed service principal in Azure Databricks account: // // // ```go @@ -174,7 +181,7 @@ import ( // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // // initialize provider at Azure account-level -// _, err := databricks.NewProvider(ctx, "azureAccount", &databricks.ProviderArgs{ +// _, err := databricks.NewProvider(ctx, "account", &databricks.ProviderArgs{ // Host: pulumi.String("https://accounts.azuredatabricks.net"), // AccountId: pulumi.String("00000000-0000-0000-0000-000000000000"), // AuthType: pulumi.String("azure-cli"), @@ -184,7 +191,7 @@ import ( // } // _, err = databricks.NewServicePrincipal(ctx, "sp", &databricks.ServicePrincipalArgs{ // ApplicationId: pulumi.String("00000000-0000-0000-0000-000000000000"), -// }, pulumi.Provider(databricks.Azure_account)) +// }, pulumi.Provider(databricks.Account)) // if err != nil { // return err // } @@ -199,12 +206,12 @@ import ( // // The following resources are often used in the same context: // -// * End to end workspace management guide. -// * 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). -// * Group data to retrieve information about Group members, entitlements and instance profiles. -// * GroupMember to attach users and groups as group members. -// * Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace. -// * SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and more to manage secrets for the service principal (only for AWS deployments) +// - End to end workspace management guide. +// - 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). +// - Group data to retrieve information about Group members, entitlements and instance profiles. +// - GroupMember to attach users and groups as group members. +// - Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace. +// - SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and more to manage secrets for the service principal (only for AWS deployments) // // ## Import // @@ -226,11 +233,11 @@ type ServicePrincipal struct { AllowClusterCreate pulumi.BoolPtrOutput `pulumi:"allowClusterCreate"` // Allow the service principal to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instancePoolId argument. AllowInstancePoolCreate pulumi.BoolPtrOutput `pulumi:"allowInstancePoolCreate"` - // This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + // This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // This is a field to allow the group to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature through databricks_sql_endpoint. DatabricksSqlAccess pulumi.BoolPtrOutput `pulumi:"databricksSqlAccess"` - // When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. True by default for accounts SCIM API, false otherwise. + // Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. DisableAsUserDeletion pulumi.BoolPtrOutput `pulumi:"disableAsUserDeletion"` // This is an alias for the service principal and can be the full name of the service principal. DisplayName pulumi.StringOutput `pulumi:"displayName"` @@ -287,11 +294,11 @@ type servicePrincipalState struct { AllowClusterCreate *bool `pulumi:"allowClusterCreate"` // Allow the service principal to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instancePoolId argument. AllowInstancePoolCreate *bool `pulumi:"allowInstancePoolCreate"` - // This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + // This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. ApplicationId *string `pulumi:"applicationId"` // This is a field to allow the group to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature through databricks_sql_endpoint. DatabricksSqlAccess *bool `pulumi:"databricksSqlAccess"` - // When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. True by default for accounts SCIM API, false otherwise. + // Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. DisableAsUserDeletion *bool `pulumi:"disableAsUserDeletion"` // This is an alias for the service principal and can be the full name of the service principal. DisplayName *string `pulumi:"displayName"` @@ -319,11 +326,11 @@ type ServicePrincipalState struct { AllowClusterCreate pulumi.BoolPtrInput // Allow the service principal to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instancePoolId argument. AllowInstancePoolCreate pulumi.BoolPtrInput - // This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + // This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. ApplicationId pulumi.StringPtrInput // This is a field to allow the group to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature through databricks_sql_endpoint. DatabricksSqlAccess pulumi.BoolPtrInput - // When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. True by default for accounts SCIM API, false otherwise. + // Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. DisableAsUserDeletion pulumi.BoolPtrInput // This is an alias for the service principal and can be the full name of the service principal. DisplayName pulumi.StringPtrInput @@ -355,11 +362,11 @@ type servicePrincipalArgs struct { AllowClusterCreate *bool `pulumi:"allowClusterCreate"` // Allow the service principal to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instancePoolId argument. AllowInstancePoolCreate *bool `pulumi:"allowInstancePoolCreate"` - // This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + // This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. ApplicationId *string `pulumi:"applicationId"` // This is a field to allow the group to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature through databricks_sql_endpoint. DatabricksSqlAccess *bool `pulumi:"databricksSqlAccess"` - // When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. True by default for accounts SCIM API, false otherwise. + // Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. DisableAsUserDeletion *bool `pulumi:"disableAsUserDeletion"` // This is an alias for the service principal and can be the full name of the service principal. DisplayName *string `pulumi:"displayName"` @@ -388,11 +395,11 @@ type ServicePrincipalArgs struct { AllowClusterCreate pulumi.BoolPtrInput // Allow the service principal to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instancePoolId argument. AllowInstancePoolCreate pulumi.BoolPtrInput - // This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + // This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. ApplicationId pulumi.StringPtrInput // This is a field to allow the group to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature through databricks_sql_endpoint. DatabricksSqlAccess pulumi.BoolPtrInput - // When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. True by default for accounts SCIM API, false otherwise. + // Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. DisableAsUserDeletion pulumi.BoolPtrInput // This is an alias for the service principal and can be the full name of the service principal. DisplayName pulumi.StringPtrInput @@ -518,7 +525,7 @@ func (o ServicePrincipalOutput) AllowInstancePoolCreate() pulumi.BoolPtrOutput { return o.ApplyT(func(v *ServicePrincipal) pulumi.BoolPtrOutput { return v.AllowInstancePoolCreate }).(pulumi.BoolPtrOutput) } -// This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. +// This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. func (o ServicePrincipalOutput) ApplicationId() pulumi.StringOutput { return o.ApplyT(func(v *ServicePrincipal) pulumi.StringOutput { return v.ApplicationId }).(pulumi.StringOutput) } @@ -528,7 +535,7 @@ func (o ServicePrincipalOutput) DatabricksSqlAccess() pulumi.BoolPtrOutput { return o.ApplyT(func(v *ServicePrincipal) pulumi.BoolPtrOutput { return v.DatabricksSqlAccess }).(pulumi.BoolPtrOutput) } -// When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. True by default for accounts SCIM API, false otherwise. +// Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. func (o ServicePrincipalOutput) DisableAsUserDeletion() pulumi.BoolPtrOutput { return o.ApplyT(func(v *ServicePrincipal) pulumi.BoolPtrOutput { return v.DisableAsUserDeletion }).(pulumi.BoolPtrOutput) } diff --git a/sdk/go/databricks/user.go b/sdk/go/databricks/user.go index ea8c37ba..aae224b8 100644 --- a/sdk/go/databricks/user.go +++ b/sdk/go/databricks/user.go @@ -18,7 +18,9 @@ import ( // // > **Note** Entitlements, like, `allowClusterCreate`, `allowInstancePoolCreate`, `databricksSqlAccess`, `workspaceAccess` applicable only for workspace-level users. Use Entitlements resource to assign entitlements inside a workspace to account-level users. // -// To create users in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments +// To create users in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments. +// +// The default behavior when deleting a `User` resource depends on whether the provider is configured at the workspace-level or account-level. When the provider is configured at the workspace-level, the user will be deleted from the workspace. When the provider is configured at the account-level, the user will be deactivated but not deleted. When the provider is configured at the account level, to delete the user from the account when the resource is deleted, set `disableAsUserDeletion = false`. Conversely, when the provider is configured at the account-level, to deactivate the user when the resource is deleted, set `disableAsUserDeletion = true`. // // ## Example Usage // @@ -232,7 +234,7 @@ type User struct { AllowInstancePoolCreate pulumi.BoolPtrOutput `pulumi:"allowInstancePoolCreate"` // This is a field to allow the group to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint. DatabricksSqlAccess pulumi.BoolPtrOutput `pulumi:"databricksSqlAccess"` - // When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. True by default for accounts SCIM API, false otherwise. + // Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. DisableAsUserDeletion pulumi.BoolOutput `pulumi:"disableAsUserDeletion"` // This is an alias for the username that can be the full name of the user. DisplayName pulumi.StringOutput `pulumi:"displayName"` @@ -295,7 +297,7 @@ type userState struct { AllowInstancePoolCreate *bool `pulumi:"allowInstancePoolCreate"` // This is a field to allow the group to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint. DatabricksSqlAccess *bool `pulumi:"databricksSqlAccess"` - // When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. True by default for accounts SCIM API, false otherwise. + // Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. DisableAsUserDeletion *bool `pulumi:"disableAsUserDeletion"` // This is an alias for the username that can be the full name of the user. DisplayName *string `pulumi:"displayName"` @@ -326,7 +328,7 @@ type UserState struct { AllowInstancePoolCreate pulumi.BoolPtrInput // This is a field to allow the group to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint. DatabricksSqlAccess pulumi.BoolPtrInput - // When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. True by default for accounts SCIM API, false otherwise. + // Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. DisableAsUserDeletion pulumi.BoolPtrInput // This is an alias for the username that can be the full name of the user. DisplayName pulumi.StringPtrInput @@ -361,7 +363,7 @@ type userArgs struct { AllowInstancePoolCreate *bool `pulumi:"allowInstancePoolCreate"` // This is a field to allow the group to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint. DatabricksSqlAccess *bool `pulumi:"databricksSqlAccess"` - // When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. True by default for accounts SCIM API, false otherwise. + // Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. DisableAsUserDeletion *bool `pulumi:"disableAsUserDeletion"` // This is an alias for the username that can be the full name of the user. DisplayName *string `pulumi:"displayName"` @@ -393,7 +395,7 @@ type UserArgs struct { AllowInstancePoolCreate pulumi.BoolPtrInput // This is a field to allow the group to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint. DatabricksSqlAccess pulumi.BoolPtrInput - // When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. True by default for accounts SCIM API, false otherwise. + // Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. DisableAsUserDeletion pulumi.BoolPtrInput // This is an alias for the username that can be the full name of the user. DisplayName pulumi.StringPtrInput @@ -525,7 +527,7 @@ func (o UserOutput) DatabricksSqlAccess() pulumi.BoolPtrOutput { return o.ApplyT(func(v *User) pulumi.BoolPtrOutput { return v.DatabricksSqlAccess }).(pulumi.BoolPtrOutput) } -// When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. True by default for accounts SCIM API, false otherwise. +// Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. func (o UserOutput) DisableAsUserDeletion() pulumi.BoolOutput { return o.ApplyT(func(v *User) pulumi.BoolOutput { return v.DisableAsUserDeletion }).(pulumi.BoolOutput) } diff --git a/sdk/go/databricks/vectorSearchEndpoint.go b/sdk/go/databricks/vectorSearchEndpoint.go index 8ce08a53..79d15744 100644 --- a/sdk/go/databricks/vectorSearchEndpoint.go +++ b/sdk/go/databricks/vectorSearchEndpoint.go @@ -62,15 +62,15 @@ type VectorSearchEndpoint struct { Creator pulumi.StringOutput `pulumi:"creator"` // Unique internal identifier of the endpoint (UUID). EndpointId pulumi.StringOutput `pulumi:"endpointId"` - // Object describing the current status of the endpoint consisting of following fields: + // Object describing the current status of the endpoint consisting of the following fields: EndpointStatuses VectorSearchEndpointEndpointStatusArrayOutput `pulumi:"endpointStatuses"` - // type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + // Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). EndpointType pulumi.StringOutput `pulumi:"endpointType"` - // Timestamp of last update to the endpoint (milliseconds). + // Timestamp of the last update to the endpoint (milliseconds). LastUpdatedTimestamp pulumi.IntOutput `pulumi:"lastUpdatedTimestamp"` // User who last updated the endpoint. LastUpdatedUser pulumi.StringOutput `pulumi:"lastUpdatedUser"` - // Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + // Name of the Vector Search Endpoint to create. Name pulumi.StringOutput `pulumi:"name"` // Number of indexes on the endpoint. NumIndexes pulumi.IntOutput `pulumi:"numIndexes"` @@ -115,15 +115,15 @@ type vectorSearchEndpointState struct { Creator *string `pulumi:"creator"` // Unique internal identifier of the endpoint (UUID). EndpointId *string `pulumi:"endpointId"` - // Object describing the current status of the endpoint consisting of following fields: + // Object describing the current status of the endpoint consisting of the following fields: EndpointStatuses []VectorSearchEndpointEndpointStatus `pulumi:"endpointStatuses"` - // type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + // Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). EndpointType *string `pulumi:"endpointType"` - // Timestamp of last update to the endpoint (milliseconds). + // Timestamp of the last update to the endpoint (milliseconds). LastUpdatedTimestamp *int `pulumi:"lastUpdatedTimestamp"` // User who last updated the endpoint. LastUpdatedUser *string `pulumi:"lastUpdatedUser"` - // Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + // Name of the Vector Search Endpoint to create. Name *string `pulumi:"name"` // Number of indexes on the endpoint. NumIndexes *int `pulumi:"numIndexes"` @@ -136,15 +136,15 @@ type VectorSearchEndpointState struct { Creator pulumi.StringPtrInput // Unique internal identifier of the endpoint (UUID). EndpointId pulumi.StringPtrInput - // Object describing the current status of the endpoint consisting of following fields: + // Object describing the current status of the endpoint consisting of the following fields: EndpointStatuses VectorSearchEndpointEndpointStatusArrayInput - // type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + // Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). EndpointType pulumi.StringPtrInput - // Timestamp of last update to the endpoint (milliseconds). + // Timestamp of the last update to the endpoint (milliseconds). LastUpdatedTimestamp pulumi.IntPtrInput // User who last updated the endpoint. LastUpdatedUser pulumi.StringPtrInput - // Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + // Name of the Vector Search Endpoint to create. Name pulumi.StringPtrInput // Number of indexes on the endpoint. NumIndexes pulumi.IntPtrInput @@ -155,17 +155,17 @@ func (VectorSearchEndpointState) ElementType() reflect.Type { } type vectorSearchEndpointArgs struct { - // type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + // Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). EndpointType string `pulumi:"endpointType"` - // Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + // Name of the Vector Search Endpoint to create. Name *string `pulumi:"name"` } // The set of arguments for constructing a VectorSearchEndpoint resource. type VectorSearchEndpointArgs struct { - // type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + // Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). EndpointType pulumi.StringInput - // Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + // Name of the Vector Search Endpoint to create. Name pulumi.StringPtrInput } @@ -271,17 +271,17 @@ func (o VectorSearchEndpointOutput) EndpointId() pulumi.StringOutput { return o.ApplyT(func(v *VectorSearchEndpoint) pulumi.StringOutput { return v.EndpointId }).(pulumi.StringOutput) } -// Object describing the current status of the endpoint consisting of following fields: +// Object describing the current status of the endpoint consisting of the following fields: func (o VectorSearchEndpointOutput) EndpointStatuses() VectorSearchEndpointEndpointStatusArrayOutput { return o.ApplyT(func(v *VectorSearchEndpoint) VectorSearchEndpointEndpointStatusArrayOutput { return v.EndpointStatuses }).(VectorSearchEndpointEndpointStatusArrayOutput) } -// type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. +// Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). func (o VectorSearchEndpointOutput) EndpointType() pulumi.StringOutput { return o.ApplyT(func(v *VectorSearchEndpoint) pulumi.StringOutput { return v.EndpointType }).(pulumi.StringOutput) } -// Timestamp of last update to the endpoint (milliseconds). +// Timestamp of the last update to the endpoint (milliseconds). func (o VectorSearchEndpointOutput) LastUpdatedTimestamp() pulumi.IntOutput { return o.ApplyT(func(v *VectorSearchEndpoint) pulumi.IntOutput { return v.LastUpdatedTimestamp }).(pulumi.IntOutput) } @@ -291,7 +291,7 @@ func (o VectorSearchEndpointOutput) LastUpdatedUser() pulumi.StringOutput { return o.ApplyT(func(v *VectorSearchEndpoint) pulumi.StringOutput { return v.LastUpdatedUser }).(pulumi.StringOutput) } -// Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. +// Name of the Vector Search Endpoint to create. func (o VectorSearchEndpointOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *VectorSearchEndpoint) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } diff --git a/sdk/go/databricks/vectorSearchIndex.go b/sdk/go/databricks/vectorSearchIndex.go new file mode 100644 index 00000000..5cb11fa2 --- /dev/null +++ b/sdk/go/databricks/vectorSearchIndex.go @@ -0,0 +1,376 @@ +// 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" +) + +// > **Note** This resource could be only used on Unity Catalog-enabled workspace! +// +// This resource allows you to create [Vector Search Index](https://docs.databricks.com/en/generative-ai/create-query-vector-search.html) in Databricks. Vector Search is a serverless similarity search engine that allows you to store a vector representation of your data, including metadata, in a vector database. The Vector Search Index provides the ability to search data in the linked Delta Table. +// +// ## 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.NewVectorSearchIndex(ctx, "sync", &databricks.VectorSearchIndexArgs{ +// EndpointName: pulumi.Any(databricks_vector_search_endpoint.This.Name), +// PrimaryKey: pulumi.String("id"), +// IndexType: pulumi.String("DELTA_SYNC"), +// DeltaSyncIndexSpec: &databricks.VectorSearchIndexDeltaSyncIndexSpecArgs{ +// SourceTable: pulumi.String("main.default.source_table"), +// PipelineType: pulumi.String("TRIGGERED"), +// EmbeddingSourceColumns: databricks.VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray{ +// &databricks.VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs{ +// Name: pulumi.String("text"), +// EmbeddingModelEndpointName: pulumi.Any(databricks_model_serving.This.Name), +// }, +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// +// ## Import +// +// # The resource can be imported using the name of the Vector Search Index +// +// bash +// +// ```sh +// $ pulumi import databricks:index/vectorSearchIndex:VectorSearchIndex this +// ``` +type VectorSearchIndex struct { + pulumi.CustomResourceState + + // Creator of the endpoint. + Creator pulumi.StringOutput `pulumi:"creator"` + // Specification for Delta Sync Index. Required if `indexType` is `DELTA_SYNC`. + DeltaSyncIndexSpec VectorSearchIndexDeltaSyncIndexSpecPtrOutput `pulumi:"deltaSyncIndexSpec"` + // Specification for Direct Vector Access Index. Required if `indexType` is `DIRECT_ACCESS`. + DirectAccessIndexSpec VectorSearchIndexDirectAccessIndexSpecPtrOutput `pulumi:"directAccessIndexSpec"` + // The name of the Vector Search Endpoint that will be used for indexing the data. + EndpointName pulumi.StringOutput `pulumi:"endpointName"` + // Vector Search index type. Currently supported values are: + IndexType pulumi.StringOutput `pulumi:"indexType"` + // The name of the column. + Name pulumi.StringOutput `pulumi:"name"` + // The column name that will be used as a primary key. + PrimaryKey pulumi.StringOutput `pulumi:"primaryKey"` + // Object describing the current status of the index consisting of the following fields: + Statuses VectorSearchIndexStatusArrayOutput `pulumi:"statuses"` +} + +// NewVectorSearchIndex registers a new resource with the given unique name, arguments, and options. +func NewVectorSearchIndex(ctx *pulumi.Context, + name string, args *VectorSearchIndexArgs, opts ...pulumi.ResourceOption) (*VectorSearchIndex, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.EndpointName == nil { + return nil, errors.New("invalid value for required argument 'EndpointName'") + } + if args.IndexType == nil { + return nil, errors.New("invalid value for required argument 'IndexType'") + } + if args.PrimaryKey == nil { + return nil, errors.New("invalid value for required argument 'PrimaryKey'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource VectorSearchIndex + err := ctx.RegisterResource("databricks:index/vectorSearchIndex:VectorSearchIndex", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetVectorSearchIndex gets an existing VectorSearchIndex 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 GetVectorSearchIndex(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *VectorSearchIndexState, opts ...pulumi.ResourceOption) (*VectorSearchIndex, error) { + var resource VectorSearchIndex + err := ctx.ReadResource("databricks:index/vectorSearchIndex:VectorSearchIndex", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering VectorSearchIndex resources. +type vectorSearchIndexState struct { + // Creator of the endpoint. + Creator *string `pulumi:"creator"` + // Specification for Delta Sync Index. Required if `indexType` is `DELTA_SYNC`. + DeltaSyncIndexSpec *VectorSearchIndexDeltaSyncIndexSpec `pulumi:"deltaSyncIndexSpec"` + // Specification for Direct Vector Access Index. Required if `indexType` is `DIRECT_ACCESS`. + DirectAccessIndexSpec *VectorSearchIndexDirectAccessIndexSpec `pulumi:"directAccessIndexSpec"` + // The name of the Vector Search Endpoint that will be used for indexing the data. + EndpointName *string `pulumi:"endpointName"` + // Vector Search index type. Currently supported values are: + IndexType *string `pulumi:"indexType"` + // The name of the column. + Name *string `pulumi:"name"` + // The column name that will be used as a primary key. + PrimaryKey *string `pulumi:"primaryKey"` + // Object describing the current status of the index consisting of the following fields: + Statuses []VectorSearchIndexStatus `pulumi:"statuses"` +} + +type VectorSearchIndexState struct { + // Creator of the endpoint. + Creator pulumi.StringPtrInput + // Specification for Delta Sync Index. Required if `indexType` is `DELTA_SYNC`. + DeltaSyncIndexSpec VectorSearchIndexDeltaSyncIndexSpecPtrInput + // Specification for Direct Vector Access Index. Required if `indexType` is `DIRECT_ACCESS`. + DirectAccessIndexSpec VectorSearchIndexDirectAccessIndexSpecPtrInput + // The name of the Vector Search Endpoint that will be used for indexing the data. + EndpointName pulumi.StringPtrInput + // Vector Search index type. Currently supported values are: + IndexType pulumi.StringPtrInput + // The name of the column. + Name pulumi.StringPtrInput + // The column name that will be used as a primary key. + PrimaryKey pulumi.StringPtrInput + // Object describing the current status of the index consisting of the following fields: + Statuses VectorSearchIndexStatusArrayInput +} + +func (VectorSearchIndexState) ElementType() reflect.Type { + return reflect.TypeOf((*vectorSearchIndexState)(nil)).Elem() +} + +type vectorSearchIndexArgs struct { + // Specification for Delta Sync Index. Required if `indexType` is `DELTA_SYNC`. + DeltaSyncIndexSpec *VectorSearchIndexDeltaSyncIndexSpec `pulumi:"deltaSyncIndexSpec"` + // Specification for Direct Vector Access Index. Required if `indexType` is `DIRECT_ACCESS`. + DirectAccessIndexSpec *VectorSearchIndexDirectAccessIndexSpec `pulumi:"directAccessIndexSpec"` + // The name of the Vector Search Endpoint that will be used for indexing the data. + EndpointName string `pulumi:"endpointName"` + // Vector Search index type. Currently supported values are: + IndexType string `pulumi:"indexType"` + // The name of the column. + Name *string `pulumi:"name"` + // The column name that will be used as a primary key. + PrimaryKey string `pulumi:"primaryKey"` +} + +// The set of arguments for constructing a VectorSearchIndex resource. +type VectorSearchIndexArgs struct { + // Specification for Delta Sync Index. Required if `indexType` is `DELTA_SYNC`. + DeltaSyncIndexSpec VectorSearchIndexDeltaSyncIndexSpecPtrInput + // Specification for Direct Vector Access Index. Required if `indexType` is `DIRECT_ACCESS`. + DirectAccessIndexSpec VectorSearchIndexDirectAccessIndexSpecPtrInput + // The name of the Vector Search Endpoint that will be used for indexing the data. + EndpointName pulumi.StringInput + // Vector Search index type. Currently supported values are: + IndexType pulumi.StringInput + // The name of the column. + Name pulumi.StringPtrInput + // The column name that will be used as a primary key. + PrimaryKey pulumi.StringInput +} + +func (VectorSearchIndexArgs) ElementType() reflect.Type { + return reflect.TypeOf((*vectorSearchIndexArgs)(nil)).Elem() +} + +type VectorSearchIndexInput interface { + pulumi.Input + + ToVectorSearchIndexOutput() VectorSearchIndexOutput + ToVectorSearchIndexOutputWithContext(ctx context.Context) VectorSearchIndexOutput +} + +func (*VectorSearchIndex) ElementType() reflect.Type { + return reflect.TypeOf((**VectorSearchIndex)(nil)).Elem() +} + +func (i *VectorSearchIndex) ToVectorSearchIndexOutput() VectorSearchIndexOutput { + return i.ToVectorSearchIndexOutputWithContext(context.Background()) +} + +func (i *VectorSearchIndex) ToVectorSearchIndexOutputWithContext(ctx context.Context) VectorSearchIndexOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexOutput) +} + +// VectorSearchIndexArrayInput is an input type that accepts VectorSearchIndexArray and VectorSearchIndexArrayOutput values. +// You can construct a concrete instance of `VectorSearchIndexArrayInput` via: +// +// VectorSearchIndexArray{ VectorSearchIndexArgs{...} } +type VectorSearchIndexArrayInput interface { + pulumi.Input + + ToVectorSearchIndexArrayOutput() VectorSearchIndexArrayOutput + ToVectorSearchIndexArrayOutputWithContext(context.Context) VectorSearchIndexArrayOutput +} + +type VectorSearchIndexArray []VectorSearchIndexInput + +func (VectorSearchIndexArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*VectorSearchIndex)(nil)).Elem() +} + +func (i VectorSearchIndexArray) ToVectorSearchIndexArrayOutput() VectorSearchIndexArrayOutput { + return i.ToVectorSearchIndexArrayOutputWithContext(context.Background()) +} + +func (i VectorSearchIndexArray) ToVectorSearchIndexArrayOutputWithContext(ctx context.Context) VectorSearchIndexArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexArrayOutput) +} + +// VectorSearchIndexMapInput is an input type that accepts VectorSearchIndexMap and VectorSearchIndexMapOutput values. +// You can construct a concrete instance of `VectorSearchIndexMapInput` via: +// +// VectorSearchIndexMap{ "key": VectorSearchIndexArgs{...} } +type VectorSearchIndexMapInput interface { + pulumi.Input + + ToVectorSearchIndexMapOutput() VectorSearchIndexMapOutput + ToVectorSearchIndexMapOutputWithContext(context.Context) VectorSearchIndexMapOutput +} + +type VectorSearchIndexMap map[string]VectorSearchIndexInput + +func (VectorSearchIndexMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*VectorSearchIndex)(nil)).Elem() +} + +func (i VectorSearchIndexMap) ToVectorSearchIndexMapOutput() VectorSearchIndexMapOutput { + return i.ToVectorSearchIndexMapOutputWithContext(context.Background()) +} + +func (i VectorSearchIndexMap) ToVectorSearchIndexMapOutputWithContext(ctx context.Context) VectorSearchIndexMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexMapOutput) +} + +type VectorSearchIndexOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VectorSearchIndex)(nil)).Elem() +} + +func (o VectorSearchIndexOutput) ToVectorSearchIndexOutput() VectorSearchIndexOutput { + return o +} + +func (o VectorSearchIndexOutput) ToVectorSearchIndexOutputWithContext(ctx context.Context) VectorSearchIndexOutput { + return o +} + +// Creator of the endpoint. +func (o VectorSearchIndexOutput) Creator() pulumi.StringOutput { + return o.ApplyT(func(v *VectorSearchIndex) pulumi.StringOutput { return v.Creator }).(pulumi.StringOutput) +} + +// Specification for Delta Sync Index. Required if `indexType` is `DELTA_SYNC`. +func (o VectorSearchIndexOutput) DeltaSyncIndexSpec() VectorSearchIndexDeltaSyncIndexSpecPtrOutput { + return o.ApplyT(func(v *VectorSearchIndex) VectorSearchIndexDeltaSyncIndexSpecPtrOutput { return v.DeltaSyncIndexSpec }).(VectorSearchIndexDeltaSyncIndexSpecPtrOutput) +} + +// Specification for Direct Vector Access Index. Required if `indexType` is `DIRECT_ACCESS`. +func (o VectorSearchIndexOutput) DirectAccessIndexSpec() VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return o.ApplyT(func(v *VectorSearchIndex) VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return v.DirectAccessIndexSpec + }).(VectorSearchIndexDirectAccessIndexSpecPtrOutput) +} + +// The name of the Vector Search Endpoint that will be used for indexing the data. +func (o VectorSearchIndexOutput) EndpointName() pulumi.StringOutput { + return o.ApplyT(func(v *VectorSearchIndex) pulumi.StringOutput { return v.EndpointName }).(pulumi.StringOutput) +} + +// Vector Search index type. Currently supported values are: +func (o VectorSearchIndexOutput) IndexType() pulumi.StringOutput { + return o.ApplyT(func(v *VectorSearchIndex) pulumi.StringOutput { return v.IndexType }).(pulumi.StringOutput) +} + +// The name of the column. +func (o VectorSearchIndexOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *VectorSearchIndex) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The column name that will be used as a primary key. +func (o VectorSearchIndexOutput) PrimaryKey() pulumi.StringOutput { + return o.ApplyT(func(v *VectorSearchIndex) pulumi.StringOutput { return v.PrimaryKey }).(pulumi.StringOutput) +} + +// Object describing the current status of the index consisting of the following fields: +func (o VectorSearchIndexOutput) Statuses() VectorSearchIndexStatusArrayOutput { + return o.ApplyT(func(v *VectorSearchIndex) VectorSearchIndexStatusArrayOutput { return v.Statuses }).(VectorSearchIndexStatusArrayOutput) +} + +type VectorSearchIndexArrayOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*VectorSearchIndex)(nil)).Elem() +} + +func (o VectorSearchIndexArrayOutput) ToVectorSearchIndexArrayOutput() VectorSearchIndexArrayOutput { + return o +} + +func (o VectorSearchIndexArrayOutput) ToVectorSearchIndexArrayOutputWithContext(ctx context.Context) VectorSearchIndexArrayOutput { + return o +} + +func (o VectorSearchIndexArrayOutput) Index(i pulumi.IntInput) VectorSearchIndexOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *VectorSearchIndex { + return vs[0].([]*VectorSearchIndex)[vs[1].(int)] + }).(VectorSearchIndexOutput) +} + +type VectorSearchIndexMapOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*VectorSearchIndex)(nil)).Elem() +} + +func (o VectorSearchIndexMapOutput) ToVectorSearchIndexMapOutput() VectorSearchIndexMapOutput { + return o +} + +func (o VectorSearchIndexMapOutput) ToVectorSearchIndexMapOutputWithContext(ctx context.Context) VectorSearchIndexMapOutput { + return o +} + +func (o VectorSearchIndexMapOutput) MapIndex(k pulumi.StringInput) VectorSearchIndexOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *VectorSearchIndex { + return vs[0].(map[string]*VectorSearchIndex)[vs[1].(string)] + }).(VectorSearchIndexOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchIndexInput)(nil)).Elem(), &VectorSearchIndex{}) + pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchIndexArrayInput)(nil)).Elem(), VectorSearchIndexArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchIndexMapInput)(nil)).Elem(), VectorSearchIndexMap{}) + pulumi.RegisterOutputType(VectorSearchIndexOutput{}) + pulumi.RegisterOutputType(VectorSearchIndexArrayOutput{}) + pulumi.RegisterOutputType(VectorSearchIndexMapOutput{}) +} diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index ac59790a..61c257aa 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.9.9") + implementation("com.pulumi:pulumi:0.10.0") } task sourcesJar(type: Jar) { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/CatalogWorkspaceBinding.java b/sdk/java/src/main/java/com/pulumi/databricks/CatalogWorkspaceBinding.java index 68bc8411..8c0f2874 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/CatalogWorkspaceBinding.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/CatalogWorkspaceBinding.java @@ -58,7 +58,11 @@ * * ## Import * - * -> **Note** Importing this resource is not currently supported. + * This resource can be imported by using combination of workspace ID, securable type and name: + * + * ```sh + * $ pulumi import databricks:index/catalogWorkspaceBinding:CatalogWorkspaceBinding this "<workspace_id>|<securable_type>|<securable_name>" + * ``` * */ @ResourceType(type="databricks:index/catalogWorkspaceBinding:CatalogWorkspaceBinding") 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 6b8c1a8b..b0aa7c73 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/DatabricksFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/DatabricksFunctions.java @@ -10738,7 +10738,7 @@ public static CompletableFuture getStorageCredential * public static void stack(Context ctx) { * final var all = DatabricksFunctions.getStorageCredentials(); * - * ctx.export("allMetastores", data.databricks_metastores().all().names()); + * ctx.export("allStorageCredentials", all.applyValue(getStorageCredentialsResult -> getStorageCredentialsResult.names())); * } * } * ``` @@ -10784,7 +10784,7 @@ public static Output getStorageCredentials() { * public static void stack(Context ctx) { * final var all = DatabricksFunctions.getStorageCredentials(); * - * ctx.export("allMetastores", data.databricks_metastores().all().names()); + * ctx.export("allStorageCredentials", all.applyValue(getStorageCredentialsResult -> getStorageCredentialsResult.names())); * } * } * ``` @@ -10830,7 +10830,7 @@ public static CompletableFuture getStorageCredentia * public static void stack(Context ctx) { * final var all = DatabricksFunctions.getStorageCredentials(); * - * ctx.export("allMetastores", data.databricks_metastores().all().names()); + * ctx.export("allStorageCredentials", all.applyValue(getStorageCredentialsResult -> getStorageCredentialsResult.names())); * } * } * ``` @@ -10876,7 +10876,7 @@ public static Output getStorageCredentials(GetStora * public static void stack(Context ctx) { * final var all = DatabricksFunctions.getStorageCredentials(); * - * ctx.export("allMetastores", data.databricks_metastores().all().names()); + * ctx.export("allStorageCredentials", all.applyValue(getStorageCredentialsResult -> getStorageCredentialsResult.names())); * } * } * ``` @@ -10922,7 +10922,7 @@ public static CompletableFuture getStorageCredentia * public static void stack(Context ctx) { * final var all = DatabricksFunctions.getStorageCredentials(); * - * ctx.export("allMetastores", data.databricks_metastores().all().names()); + * ctx.export("allStorageCredentials", all.applyValue(getStorageCredentialsResult -> getStorageCredentialsResult.names())); * } * } * ``` @@ -10968,7 +10968,7 @@ public static Output getStorageCredentials(GetStora * public static void stack(Context ctx) { * final var all = DatabricksFunctions.getStorageCredentials(); * - * ctx.export("allMetastores", data.databricks_metastores().all().names()); + * ctx.export("allStorageCredentials", all.applyValue(getStorageCredentialsResult -> getStorageCredentialsResult.names())); * } * } * ``` diff --git a/sdk/java/src/main/java/com/pulumi/databricks/Job.java b/sdk/java/src/main/java/com/pulumi/databricks/Job.java index 0bce6b6c..392be7f7 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/Job.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/Job.java @@ -255,14 +255,14 @@ public Output>> jobClusters() { return Codegen.optional(this.jobClusters); } /** - * (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. * */ @Export(name="libraries", refs={List.class,JobLibrary.class}, tree="[0,1]") private Output> libraries; /** - * @return (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * @return (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. * */ public Output>> libraries() { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/JobArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/JobArgs.java index d3e5ab83..91f6aeec 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/JobArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/JobArgs.java @@ -266,14 +266,14 @@ public Optional>> jobClusters() { } /** - * (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. * */ @Import(name="libraries") private @Nullable Output> libraries; /** - * @return (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * @return (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. * */ public Optional>> libraries() { @@ -989,7 +989,7 @@ public Builder jobClusters(JobJobClusterArgs... jobClusters) { } /** - * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. * * @return builder * @@ -1000,7 +1000,7 @@ public Builder libraries(@Nullable Output> libraries) { } /** - * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. * * @return builder * @@ -1010,7 +1010,7 @@ public Builder libraries(List libraries) { } /** - * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/LakehouseMonitor.java b/sdk/java/src/main/java/com/pulumi/databricks/LakehouseMonitor.java new file mode 100644 index 00000000..51c7d1c3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/LakehouseMonitor.java @@ -0,0 +1,522 @@ +// *** 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.LakehouseMonitorArgs; +import com.pulumi.databricks.Utilities; +import com.pulumi.databricks.inputs.LakehouseMonitorState; +import com.pulumi.databricks.outputs.LakehouseMonitorCustomMetric; +import com.pulumi.databricks.outputs.LakehouseMonitorDataClassificationConfig; +import com.pulumi.databricks.outputs.LakehouseMonitorInferenceLog; +import com.pulumi.databricks.outputs.LakehouseMonitorNotifications; +import com.pulumi.databricks.outputs.LakehouseMonitorSchedule; +import com.pulumi.databricks.outputs.LakehouseMonitorSnapshot; +import com.pulumi.databricks.outputs.LakehouseMonitorTimeSeries; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource allows you to manage [Lakehouse Monitors](https://docs.databricks.com/en/lakehouse-monitoring/index.html) in Databricks. + * + * A `databricks.LakehouseMonitor` is attached to a databricks.SqlTable and can be of type timeseries, snapshot or inference. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.databricks.Catalog; + * import com.pulumi.databricks.CatalogArgs; + * import com.pulumi.databricks.Schema; + * import com.pulumi.databricks.SchemaArgs; + * import com.pulumi.databricks.SqlTable; + * import com.pulumi.databricks.SqlTableArgs; + * import com.pulumi.databricks.inputs.SqlTableColumnArgs; + * import com.pulumi.databricks.LakehouseMonitor; + * import com.pulumi.databricks.LakehouseMonitorArgs; + * import com.pulumi.databricks.inputs.LakehouseMonitorTimeSeriesArgs; + * 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 sandbox = new Catalog("sandbox", CatalogArgs.builder() + * .comment("this catalog is managed by terraform") + * .properties(Map.of("purpose", "testing")) + * .build()); + * + * var things = new Schema("things", SchemaArgs.builder() + * .catalogName(sandbox.id()) + * .comment("this database is managed by terraform") + * .properties(Map.of("kind", "various")) + * .build()); + * + * var myTestTable = new SqlTable("myTestTable", SqlTableArgs.builder() + * .catalogName("main") + * .schemaName(things.name()) + * .tableType("MANAGED") + * .dataSourceFormat("DELTA") + * .columns(SqlTableColumnArgs.builder() + * .name("timestamp") + * .position(1) + * .type("int") + * .build()) + * .build()); + * + * var testTimeseriesMonitor = new LakehouseMonitor("testTimeseriesMonitor", LakehouseMonitorArgs.builder() + * .tableName(Output.tuple(sandbox.name(), things.name(), myTestTable.name()).applyValue(values -> { + * var sandboxName = values.t1; + * var thingsName = values.t2; + * var myTestTableName = values.t3; + * return String.format("%s.%s.%s", sandboxName,thingsName,myTestTableName); + * })) + * .assetsDir(myTestTable.name().applyValue(name -> String.format("/Shared/provider-test/databricks_lakehouse_monitoring/%s", name))) + * .outputSchemaName(Output.tuple(sandbox.name(), things.name()).applyValue(values -> { + * var sandboxName = values.t1; + * var thingsName = values.t2; + * return String.format("%s.%s", sandboxName,thingsName); + * })) + * .timeSeries(LakehouseMonitorTimeSeriesArgs.builder() + * .granularities("1 hour") + * .timestampCol("timestamp") + * .build()) + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ### Inference Monitor + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.databricks.LakehouseMonitor; + * import com.pulumi.databricks.LakehouseMonitorArgs; + * import com.pulumi.databricks.inputs.LakehouseMonitorInferenceLogArgs; + * 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 testMonitorInference = new LakehouseMonitor("testMonitorInference", LakehouseMonitorArgs.builder() + * .assetsDir(String.format("/Shared/provider-test/databricks_lakehouse_monitoring/%s", databricks_table.myTestTable().name())) + * .inferenceLog(LakehouseMonitorInferenceLogArgs.builder() + * .granularities("1 hour") + * .modelIdCol("model_id") + * .predictionCol("prediction") + * .problemType("PROBLEM_TYPE_REGRESSION") + * .timestampCol("timestamp") + * .build()) + * .outputSchemaName(String.format("%s.%s", databricks_catalog.sandbox().name(),databricks_schema.things().name())) + * .tableName(String.format("%s.%s.%s", databricks_catalog.sandbox().name(),databricks_schema.things().name(),databricks_table.myTestTable().name())) + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * ### Snapshot Monitor + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.databricks.LakehouseMonitor; + * import com.pulumi.databricks.LakehouseMonitorArgs; + * import com.pulumi.databricks.inputs.LakehouseMonitorSnapshotArgs; + * 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 testMonitorInference = new LakehouseMonitor("testMonitorInference", LakehouseMonitorArgs.builder() + * .assetsDir(String.format("/Shared/provider-test/databricks_lakehouse_monitoring/%s", databricks_table.myTestTable().name())) + * .outputSchemaName(String.format("%s.%s", databricks_catalog.sandbox().name(),databricks_schema.things().name())) + * .snapshot() + * .tableName(String.format("%s.%s.%s", databricks_catalog.sandbox().name(),databricks_schema.things().name(),databricks_table.myTestTable().name())) + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * databricks.Catalog + * * databricks.Schema + * * databricks.SqlTable + * + */ +@ResourceType(type="databricks:index/lakehouseMonitor:LakehouseMonitor") +public class LakehouseMonitor extends com.pulumi.resources.CustomResource { + /** + * The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + * + */ + @Export(name="assetsDir", refs={String.class}, tree="[0]") + private Output assetsDir; + + /** + * @return The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + * + */ + public Output assetsDir() { + return this.assetsDir; + } + /** + * Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + * table. + * + */ + @Export(name="baselineTableName", refs={String.class}, tree="[0]") + private Output baselineTableName; + + /** + * @return Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + * table. + * + */ + public Output> baselineTableName() { + return Codegen.optional(this.baselineTableName); + } + /** + * Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + * + */ + @Export(name="customMetrics", refs={List.class,LakehouseMonitorCustomMetric.class}, tree="[0,1]") + private Output> customMetrics; + + /** + * @return Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + * + */ + public Output>> customMetrics() { + return Codegen.optional(this.customMetrics); + } + /** + * The ID of the generated dashboard. + * + */ + @Export(name="dashboardId", refs={String.class}, tree="[0]") + private Output dashboardId; + + /** + * @return The ID of the generated dashboard. + * + */ + public Output dashboardId() { + return this.dashboardId; + } + /** + * The data classification config for the monitor + * + */ + @Export(name="dataClassificationConfig", refs={LakehouseMonitorDataClassificationConfig.class}, tree="[0]") + private Output dataClassificationConfig; + + /** + * @return The data classification config for the monitor + * + */ + public Output> dataClassificationConfig() { + return Codegen.optional(this.dataClassificationConfig); + } + /** + * The full name of the drift metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + * + */ + @Export(name="driftMetricsTableName", refs={String.class}, tree="[0]") + private Output driftMetricsTableName; + + /** + * @return The full name of the drift metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + * + */ + public Output driftMetricsTableName() { + return this.driftMetricsTableName; + } + /** + * Configuration for the inference log monitor + * + */ + @Export(name="inferenceLog", refs={LakehouseMonitorInferenceLog.class}, tree="[0]") + private Output inferenceLog; + + /** + * @return Configuration for the inference log monitor + * + */ + public Output> inferenceLog() { + return Codegen.optional(this.inferenceLog); + } + @Export(name="latestMonitorFailureMsg", refs={String.class}, tree="[0]") + private Output latestMonitorFailureMsg; + + public Output> latestMonitorFailureMsg() { + return Codegen.optional(this.latestMonitorFailureMsg); + } + /** + * The version of the monitor config (e.g. 1,2,3). If negative, the monitor may be corrupted + * + */ + @Export(name="monitorVersion", refs={String.class}, tree="[0]") + private Output monitorVersion; + + /** + * @return The version of the monitor config (e.g. 1,2,3). If negative, the monitor may be corrupted + * + */ + public Output monitorVersion() { + return this.monitorVersion; + } + /** + * The notification settings for the monitor + * + */ + @Export(name="notifications", refs={LakehouseMonitorNotifications.class}, tree="[0]") + private Output notifications; + + /** + * @return The notification settings for the monitor + * + */ + public Output> notifications() { + return Codegen.optional(this.notifications); + } + /** + * Schema where output metric tables are created + * + */ + @Export(name="outputSchemaName", refs={String.class}, tree="[0]") + private Output outputSchemaName; + + /** + * @return Schema where output metric tables are created + * + */ + public Output outputSchemaName() { + return this.outputSchemaName; + } + /** + * The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + * + */ + @Export(name="profileMetricsTableName", refs={String.class}, tree="[0]") + private Output profileMetricsTableName; + + /** + * @return The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + * + */ + public Output profileMetricsTableName() { + return this.profileMetricsTableName; + } + /** + * The schedule for automatically updating and refreshing metric tables. + * + */ + @Export(name="schedule", refs={LakehouseMonitorSchedule.class}, tree="[0]") + private Output schedule; + + /** + * @return The schedule for automatically updating and refreshing metric tables. + * + */ + public Output> schedule() { + return Codegen.optional(this.schedule); + } + /** + * Whether to skip creating a default dashboard summarizing data quality metrics. + * + */ + @Export(name="skipBuiltinDashboard", refs={Boolean.class}, tree="[0]") + private Output skipBuiltinDashboard; + + /** + * @return Whether to skip creating a default dashboard summarizing data quality metrics. + * + */ + public Output> skipBuiltinDashboard() { + return Codegen.optional(this.skipBuiltinDashboard); + } + /** + * List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + * + */ + @Export(name="slicingExprs", refs={List.class,String.class}, tree="[0,1]") + private Output> slicingExprs; + + /** + * @return List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + * + */ + public Output>> slicingExprs() { + return Codegen.optional(this.slicingExprs); + } + /** + * Configuration for monitoring snapshot tables. + * + */ + @Export(name="snapshot", refs={LakehouseMonitorSnapshot.class}, tree="[0]") + private Output snapshot; + + /** + * @return Configuration for monitoring snapshot tables. + * + */ + public Output> snapshot() { + return Codegen.optional(this.snapshot); + } + /** + * Status of the Monitor + * + */ + @Export(name="status", refs={String.class}, tree="[0]") + private Output status; + + /** + * @return Status of the Monitor + * + */ + public Output status() { + return this.status; + } + /** + * The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + * + */ + @Export(name="tableName", refs={String.class}, tree="[0]") + private Output tableName; + + /** + * @return The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + * + */ + public Output tableName() { + return this.tableName; + } + /** + * Configuration for monitoring timeseries tables. + * + */ + @Export(name="timeSeries", refs={LakehouseMonitorTimeSeries.class}, tree="[0]") + private Output timeSeries; + + /** + * @return Configuration for monitoring timeseries tables. + * + */ + public Output> timeSeries() { + return Codegen.optional(this.timeSeries); + } + /** + * Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + * + */ + @Export(name="warehouseId", refs={String.class}, tree="[0]") + private Output warehouseId; + + /** + * @return Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + * + */ + public Output> warehouseId() { + return Codegen.optional(this.warehouseId); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public LakehouseMonitor(String name) { + this(name, LakehouseMonitorArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public LakehouseMonitor(String name, LakehouseMonitorArgs 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 LakehouseMonitor(String name, LakehouseMonitorArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/lakehouseMonitor:LakehouseMonitor", name, args == null ? LakehouseMonitorArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private LakehouseMonitor(String name, Output id, @Nullable LakehouseMonitorState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/lakehouseMonitor:LakehouseMonitor", name, state, makeResourceOptions(options, id)); + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static LakehouseMonitor get(String name, Output id, @Nullable LakehouseMonitorState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new LakehouseMonitor(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/LakehouseMonitorArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/LakehouseMonitorArgs.java new file mode 100644 index 00000000..cb46add0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/LakehouseMonitorArgs.java @@ -0,0 +1,624 @@ +// *** 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.LakehouseMonitorCustomMetricArgs; +import com.pulumi.databricks.inputs.LakehouseMonitorDataClassificationConfigArgs; +import com.pulumi.databricks.inputs.LakehouseMonitorInferenceLogArgs; +import com.pulumi.databricks.inputs.LakehouseMonitorNotificationsArgs; +import com.pulumi.databricks.inputs.LakehouseMonitorScheduleArgs; +import com.pulumi.databricks.inputs.LakehouseMonitorSnapshotArgs; +import com.pulumi.databricks.inputs.LakehouseMonitorTimeSeriesArgs; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 LakehouseMonitorArgs extends com.pulumi.resources.ResourceArgs { + + public static final LakehouseMonitorArgs Empty = new LakehouseMonitorArgs(); + + /** + * The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + * + */ + @Import(name="assetsDir", required=true) + private Output assetsDir; + + /** + * @return The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + * + */ + public Output assetsDir() { + return this.assetsDir; + } + + /** + * Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + * table. + * + */ + @Import(name="baselineTableName") + private @Nullable Output baselineTableName; + + /** + * @return Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + * table. + * + */ + public Optional> baselineTableName() { + return Optional.ofNullable(this.baselineTableName); + } + + /** + * Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + * + */ + @Import(name="customMetrics") + private @Nullable Output> customMetrics; + + /** + * @return Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + * + */ + public Optional>> customMetrics() { + return Optional.ofNullable(this.customMetrics); + } + + /** + * The data classification config for the monitor + * + */ + @Import(name="dataClassificationConfig") + private @Nullable Output dataClassificationConfig; + + /** + * @return The data classification config for the monitor + * + */ + public Optional> dataClassificationConfig() { + return Optional.ofNullable(this.dataClassificationConfig); + } + + /** + * Configuration for the inference log monitor + * + */ + @Import(name="inferenceLog") + private @Nullable Output inferenceLog; + + /** + * @return Configuration for the inference log monitor + * + */ + public Optional> inferenceLog() { + return Optional.ofNullable(this.inferenceLog); + } + + @Import(name="latestMonitorFailureMsg") + private @Nullable Output latestMonitorFailureMsg; + + public Optional> latestMonitorFailureMsg() { + return Optional.ofNullable(this.latestMonitorFailureMsg); + } + + /** + * The notification settings for the monitor + * + */ + @Import(name="notifications") + private @Nullable Output notifications; + + /** + * @return The notification settings for the monitor + * + */ + public Optional> notifications() { + return Optional.ofNullable(this.notifications); + } + + /** + * Schema where output metric tables are created + * + */ + @Import(name="outputSchemaName", required=true) + private Output outputSchemaName; + + /** + * @return Schema where output metric tables are created + * + */ + public Output outputSchemaName() { + return this.outputSchemaName; + } + + /** + * The schedule for automatically updating and refreshing metric tables. + * + */ + @Import(name="schedule") + private @Nullable Output schedule; + + /** + * @return The schedule for automatically updating and refreshing metric tables. + * + */ + public Optional> schedule() { + return Optional.ofNullable(this.schedule); + } + + /** + * Whether to skip creating a default dashboard summarizing data quality metrics. + * + */ + @Import(name="skipBuiltinDashboard") + private @Nullable Output skipBuiltinDashboard; + + /** + * @return Whether to skip creating a default dashboard summarizing data quality metrics. + * + */ + public Optional> skipBuiltinDashboard() { + return Optional.ofNullable(this.skipBuiltinDashboard); + } + + /** + * List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + * + */ + @Import(name="slicingExprs") + private @Nullable Output> slicingExprs; + + /** + * @return List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + * + */ + public Optional>> slicingExprs() { + return Optional.ofNullable(this.slicingExprs); + } + + /** + * Configuration for monitoring snapshot tables. + * + */ + @Import(name="snapshot") + private @Nullable Output snapshot; + + /** + * @return Configuration for monitoring snapshot tables. + * + */ + public Optional> snapshot() { + return Optional.ofNullable(this.snapshot); + } + + /** + * The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + * + */ + @Import(name="tableName", required=true) + private Output tableName; + + /** + * @return The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + * + */ + public Output tableName() { + return this.tableName; + } + + /** + * Configuration for monitoring timeseries tables. + * + */ + @Import(name="timeSeries") + private @Nullable Output timeSeries; + + /** + * @return Configuration for monitoring timeseries tables. + * + */ + public Optional> timeSeries() { + return Optional.ofNullable(this.timeSeries); + } + + /** + * Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + * + */ + @Import(name="warehouseId") + private @Nullable Output warehouseId; + + /** + * @return Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + * + */ + public Optional> warehouseId() { + return Optional.ofNullable(this.warehouseId); + } + + private LakehouseMonitorArgs() {} + + private LakehouseMonitorArgs(LakehouseMonitorArgs $) { + this.assetsDir = $.assetsDir; + this.baselineTableName = $.baselineTableName; + this.customMetrics = $.customMetrics; + this.dataClassificationConfig = $.dataClassificationConfig; + this.inferenceLog = $.inferenceLog; + this.latestMonitorFailureMsg = $.latestMonitorFailureMsg; + this.notifications = $.notifications; + this.outputSchemaName = $.outputSchemaName; + this.schedule = $.schedule; + this.skipBuiltinDashboard = $.skipBuiltinDashboard; + this.slicingExprs = $.slicingExprs; + this.snapshot = $.snapshot; + this.tableName = $.tableName; + this.timeSeries = $.timeSeries; + this.warehouseId = $.warehouseId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(LakehouseMonitorArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private LakehouseMonitorArgs $; + + public Builder() { + $ = new LakehouseMonitorArgs(); + } + + public Builder(LakehouseMonitorArgs defaults) { + $ = new LakehouseMonitorArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param assetsDir The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + * + * @return builder + * + */ + public Builder assetsDir(Output assetsDir) { + $.assetsDir = assetsDir; + return this; + } + + /** + * @param assetsDir The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + * + * @return builder + * + */ + public Builder assetsDir(String assetsDir) { + return assetsDir(Output.of(assetsDir)); + } + + /** + * @param baselineTableName Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + * table. + * + * @return builder + * + */ + public Builder baselineTableName(@Nullable Output baselineTableName) { + $.baselineTableName = baselineTableName; + return this; + } + + /** + * @param baselineTableName Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + * table. + * + * @return builder + * + */ + public Builder baselineTableName(String baselineTableName) { + return baselineTableName(Output.of(baselineTableName)); + } + + /** + * @param customMetrics Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + * + * @return builder + * + */ + public Builder customMetrics(@Nullable Output> customMetrics) { + $.customMetrics = customMetrics; + return this; + } + + /** + * @param customMetrics Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + * + * @return builder + * + */ + public Builder customMetrics(List customMetrics) { + return customMetrics(Output.of(customMetrics)); + } + + /** + * @param customMetrics Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + * + * @return builder + * + */ + public Builder customMetrics(LakehouseMonitorCustomMetricArgs... customMetrics) { + return customMetrics(List.of(customMetrics)); + } + + /** + * @param dataClassificationConfig The data classification config for the monitor + * + * @return builder + * + */ + public Builder dataClassificationConfig(@Nullable Output dataClassificationConfig) { + $.dataClassificationConfig = dataClassificationConfig; + return this; + } + + /** + * @param dataClassificationConfig The data classification config for the monitor + * + * @return builder + * + */ + public Builder dataClassificationConfig(LakehouseMonitorDataClassificationConfigArgs dataClassificationConfig) { + return dataClassificationConfig(Output.of(dataClassificationConfig)); + } + + /** + * @param inferenceLog Configuration for the inference log monitor + * + * @return builder + * + */ + public Builder inferenceLog(@Nullable Output inferenceLog) { + $.inferenceLog = inferenceLog; + return this; + } + + /** + * @param inferenceLog Configuration for the inference log monitor + * + * @return builder + * + */ + public Builder inferenceLog(LakehouseMonitorInferenceLogArgs inferenceLog) { + return inferenceLog(Output.of(inferenceLog)); + } + + public Builder latestMonitorFailureMsg(@Nullable Output latestMonitorFailureMsg) { + $.latestMonitorFailureMsg = latestMonitorFailureMsg; + return this; + } + + public Builder latestMonitorFailureMsg(String latestMonitorFailureMsg) { + return latestMonitorFailureMsg(Output.of(latestMonitorFailureMsg)); + } + + /** + * @param notifications The notification settings for the monitor + * + * @return builder + * + */ + public Builder notifications(@Nullable Output notifications) { + $.notifications = notifications; + return this; + } + + /** + * @param notifications The notification settings for the monitor + * + * @return builder + * + */ + public Builder notifications(LakehouseMonitorNotificationsArgs notifications) { + return notifications(Output.of(notifications)); + } + + /** + * @param outputSchemaName Schema where output metric tables are created + * + * @return builder + * + */ + public Builder outputSchemaName(Output outputSchemaName) { + $.outputSchemaName = outputSchemaName; + return this; + } + + /** + * @param outputSchemaName Schema where output metric tables are created + * + * @return builder + * + */ + public Builder outputSchemaName(String outputSchemaName) { + return outputSchemaName(Output.of(outputSchemaName)); + } + + /** + * @param schedule The schedule for automatically updating and refreshing metric tables. + * + * @return builder + * + */ + public Builder schedule(@Nullable Output schedule) { + $.schedule = schedule; + return this; + } + + /** + * @param schedule The schedule for automatically updating and refreshing metric tables. + * + * @return builder + * + */ + public Builder schedule(LakehouseMonitorScheduleArgs schedule) { + return schedule(Output.of(schedule)); + } + + /** + * @param skipBuiltinDashboard Whether to skip creating a default dashboard summarizing data quality metrics. + * + * @return builder + * + */ + public Builder skipBuiltinDashboard(@Nullable Output skipBuiltinDashboard) { + $.skipBuiltinDashboard = skipBuiltinDashboard; + return this; + } + + /** + * @param skipBuiltinDashboard Whether to skip creating a default dashboard summarizing data quality metrics. + * + * @return builder + * + */ + public Builder skipBuiltinDashboard(Boolean skipBuiltinDashboard) { + return skipBuiltinDashboard(Output.of(skipBuiltinDashboard)); + } + + /** + * @param slicingExprs List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + * + * @return builder + * + */ + public Builder slicingExprs(@Nullable Output> slicingExprs) { + $.slicingExprs = slicingExprs; + return this; + } + + /** + * @param slicingExprs List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + * + * @return builder + * + */ + public Builder slicingExprs(List slicingExprs) { + return slicingExprs(Output.of(slicingExprs)); + } + + /** + * @param slicingExprs List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + * + * @return builder + * + */ + public Builder slicingExprs(String... slicingExprs) { + return slicingExprs(List.of(slicingExprs)); + } + + /** + * @param snapshot Configuration for monitoring snapshot tables. + * + * @return builder + * + */ + public Builder snapshot(@Nullable Output snapshot) { + $.snapshot = snapshot; + return this; + } + + /** + * @param snapshot Configuration for monitoring snapshot tables. + * + * @return builder + * + */ + public Builder snapshot(LakehouseMonitorSnapshotArgs snapshot) { + return snapshot(Output.of(snapshot)); + } + + /** + * @param tableName The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + * + * @return builder + * + */ + public Builder tableName(Output tableName) { + $.tableName = tableName; + return this; + } + + /** + * @param tableName The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + * + * @return builder + * + */ + public Builder tableName(String tableName) { + return tableName(Output.of(tableName)); + } + + /** + * @param timeSeries Configuration for monitoring timeseries tables. + * + * @return builder + * + */ + public Builder timeSeries(@Nullable Output timeSeries) { + $.timeSeries = timeSeries; + return this; + } + + /** + * @param timeSeries Configuration for monitoring timeseries tables. + * + * @return builder + * + */ + public Builder timeSeries(LakehouseMonitorTimeSeriesArgs timeSeries) { + return timeSeries(Output.of(timeSeries)); + } + + /** + * @param warehouseId Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + * + * @return builder + * + */ + public Builder warehouseId(@Nullable Output warehouseId) { + $.warehouseId = warehouseId; + return this; + } + + /** + * @param warehouseId Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + * + * @return builder + * + */ + public Builder warehouseId(String warehouseId) { + return warehouseId(Output.of(warehouseId)); + } + + public LakehouseMonitorArgs build() { + if ($.assetsDir == null) { + throw new MissingRequiredPropertyException("LakehouseMonitorArgs", "assetsDir"); + } + if ($.outputSchemaName == null) { + throw new MissingRequiredPropertyException("LakehouseMonitorArgs", "outputSchemaName"); + } + if ($.tableName == null) { + throw new MissingRequiredPropertyException("LakehouseMonitorArgs", "tableName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/ModelServing.java b/sdk/java/src/main/java/com/pulumi/databricks/ModelServing.java index 1c5fd268..29feef6b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/ModelServing.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/ModelServing.java @@ -21,6 +21,8 @@ /** * This resource allows you to manage [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks. * + * **Note** If you replace `served_models` with `served_entities` in an existing serving endpoint, the serving endpoint will briefly go into an update state (~30 seconds) and increment the config version. + * * ## Example Usage * * <!--Start PulumiCodeChooser --> @@ -49,17 +51,17 @@ * public static void stack(Context ctx) { * var this_ = new ModelServing("this", ModelServingArgs.builder() * .config(ModelServingConfigArgs.builder() - * .servedModels( - * ModelServingConfigServedModelArgs.builder() - * .modelName("ads-model") - * .modelVersion("2") + * .servedEntities( + * ModelServingConfigServedEntityArgs.builder() + * .entityName("ads-model") + * .entityVersion("2") * .name("prod_model") * .scaleToZeroEnabled(true) * .workloadSize("Small") * .build(), - * ModelServingConfigServedModelArgs.builder() - * .modelName("ads-model") - * .modelVersion("4") + * ModelServingConfigServedEntityArgs.builder() + * .entityName("ads-model") + * .entityVersion("4") * .name("candidate_model") * .scaleToZeroEnabled(false) * .workloadSize("Small") @@ -140,9 +142,17 @@ public Output config() { public Output name() { return this.name; } + /** + * A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + * + */ @Export(name="rateLimits", refs={List.class,ModelServingRateLimit.class}, tree="[0,1]") private Output> rateLimits; + /** + * @return A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + * + */ public Output>> rateLimits() { return Codegen.optional(this.rateLimits); } @@ -160,9 +170,17 @@ public Output>> rateLimits() { public Output servingEndpointId() { return this.servingEndpointId; } + /** + * Tags to be attached to the serving endpoint and automatically propagated to billing logs. + * + */ @Export(name="tags", refs={List.class,ModelServingTag.class}, tree="[0,1]") private Output> tags; + /** + * @return Tags to be attached to the serving endpoint and automatically propagated to billing logs. + * + */ public Output>> tags() { return Codegen.optional(this.tags); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/ModelServingArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/ModelServingArgs.java index bad623c1..7f17ac4c 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/ModelServingArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/ModelServingArgs.java @@ -50,16 +50,32 @@ public Optional> name() { return Optional.ofNullable(this.name); } + /** + * A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + * + */ @Import(name="rateLimits") private @Nullable Output> rateLimits; + /** + * @return A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + * + */ public Optional>> rateLimits() { return Optional.ofNullable(this.rateLimits); } + /** + * 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); } @@ -133,28 +149,64 @@ public Builder name(String name) { return name(Output.of(name)); } + /** + * @param rateLimits A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + * + * @return builder + * + */ public Builder rateLimits(@Nullable Output> rateLimits) { $.rateLimits = rateLimits; return this; } + /** + * @param rateLimits A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + * + * @return builder + * + */ public Builder rateLimits(List rateLimits) { return rateLimits(Output.of(rateLimits)); } + /** + * @param rateLimits A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + * + * @return builder + * + */ public Builder rateLimits(ModelServingRateLimitArgs... rateLimits) { return rateLimits(List.of(rateLimits)); } + /** + * @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(ModelServingTagArgs... tags) { return tags(List.of(tags)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/OnlineTable.java b/sdk/java/src/main/java/com/pulumi/databricks/OnlineTable.java new file mode 100644 index 00000000..99e18668 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/OnlineTable.java @@ -0,0 +1,168 @@ +// *** 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.OnlineTableArgs; +import com.pulumi.databricks.Utilities; +import com.pulumi.databricks.inputs.OnlineTableState; +import com.pulumi.databricks.outputs.OnlineTableSpec; +import com.pulumi.databricks.outputs.OnlineTableStatus; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * > **Note** This resource could be only used on Unity Catalog-enabled workspace! + * + * This resource allows you to create [Online Table](https://docs.databricks.com/en/machine-learning/feature-store/online-tables.html) in Databricks. An online table is a read-only copy of a Delta Table that is stored in row-oriented format optimized for online access. Online tables are fully serverless tables that auto-scale throughput capacity with the request load and provide low latency and high throughput access to data of any scale. Online tables are designed to work with Databricks Model Serving, Feature Serving, and retrieval-augmented generation (RAG) applications where they are used for fast data lookups. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.databricks.OnlineTable; + * import com.pulumi.databricks.OnlineTableArgs; + * import com.pulumi.databricks.inputs.OnlineTableSpecArgs; + * import com.pulumi.databricks.inputs.OnlineTableSpecRunTriggeredArgs; + * 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 OnlineTable("this", OnlineTableArgs.builder() + * .spec(OnlineTableSpecArgs.builder() + * .primaryKeyColumns("id") + * .runTriggered() + * .sourceTableFullName("main.default.source_table") + * .build()) + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * The resource can be imported using the name of the Online Table: + * + * bash + * + * ```sh + * $ pulumi import databricks:index/onlineTable:OnlineTable this <endpoint-name> + * ``` + * + */ +@ResourceType(type="databricks:index/onlineTable:OnlineTable") +public class OnlineTable extends com.pulumi.resources.CustomResource { + /** + * 3-level name of the Online Table to create. + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return 3-level name of the Online Table to create. + * + */ + public Output name() { + return this.name; + } + /** + * object containing specification of the online table: + * + */ + @Export(name="spec", refs={OnlineTableSpec.class}, tree="[0]") + private Output spec; + + /** + * @return object containing specification of the online table: + * + */ + public Output> spec() { + return Codegen.optional(this.spec); + } + /** + * object describing status of the online table: + * + */ + @Export(name="statuses", refs={List.class,OnlineTableStatus.class}, tree="[0,1]") + private Output> statuses; + + /** + * @return object describing status of the online table: + * + */ + public Output> statuses() { + return this.statuses; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public OnlineTable(String name) { + this(name, OnlineTableArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public OnlineTable(String name, @Nullable OnlineTableArgs 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 OnlineTable(String name, @Nullable OnlineTableArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/onlineTable:OnlineTable", name, args == null ? OnlineTableArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private OnlineTable(String name, Output id, @Nullable OnlineTableState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/onlineTable:OnlineTable", name, state, makeResourceOptions(options, id)); + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static OnlineTable get(String name, Output id, @Nullable OnlineTableState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new OnlineTable(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/OnlineTableArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/OnlineTableArgs.java new file mode 100644 index 00000000..d0648166 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/OnlineTableArgs.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; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.OnlineTableSpecArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class OnlineTableArgs extends com.pulumi.resources.ResourceArgs { + + public static final OnlineTableArgs Empty = new OnlineTableArgs(); + + /** + * 3-level name of the Online Table to create. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return 3-level name of the Online Table to create. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * object containing specification of the online table: + * + */ + @Import(name="spec") + private @Nullable Output spec; + + /** + * @return object containing specification of the online table: + * + */ + public Optional> spec() { + return Optional.ofNullable(this.spec); + } + + private OnlineTableArgs() {} + + private OnlineTableArgs(OnlineTableArgs $) { + this.name = $.name; + this.spec = $.spec; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(OnlineTableArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private OnlineTableArgs $; + + public Builder() { + $ = new OnlineTableArgs(); + } + + public Builder(OnlineTableArgs defaults) { + $ = new OnlineTableArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name 3-level name of the Online Table to create. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name 3-level name of the Online Table to create. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param spec object containing specification of the online table: + * + * @return builder + * + */ + public Builder spec(@Nullable Output spec) { + $.spec = spec; + return this; + } + + /** + * @param spec object containing specification of the online table: + * + * @return builder + * + */ + public Builder spec(OnlineTableSpecArgs spec) { + return spec(Output.of(spec)); + } + + public OnlineTableArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/RegisteredModel.java b/sdk/java/src/main/java/com/pulumi/databricks/RegisteredModel.java index 1a0600fc..cd839104 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/RegisteredModel.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/RegisteredModel.java @@ -122,6 +122,20 @@ public Output> comment() { public Output name() { return this.name; } + /** + * Name of the registered model owner. + * + */ + @Export(name="owner", refs={String.class}, tree="[0]") + private Output owner; + + /** + * @return Name of the registered model owner. + * + */ + public Output owner() { + return this.owner; + } /** * The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.* * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/RegisteredModelArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/RegisteredModelArgs.java index ca634a9a..2f865ccd 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/RegisteredModelArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/RegisteredModelArgs.java @@ -61,6 +61,21 @@ public Optional> name() { return Optional.ofNullable(this.name); } + /** + * Name of the registered model owner. + * + */ + @Import(name="owner") + private @Nullable Output owner; + + /** + * @return Name of the registered model owner. + * + */ + public Optional> owner() { + return Optional.ofNullable(this.owner); + } + /** * The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.* * @@ -97,6 +112,7 @@ private RegisteredModelArgs(RegisteredModelArgs $) { this.catalogName = $.catalogName; this.comment = $.comment; this.name = $.name; + this.owner = $.owner; this.schemaName = $.schemaName; this.storageLocation = $.storageLocation; } @@ -182,6 +198,27 @@ public Builder name(String name) { return name(Output.of(name)); } + /** + * @param owner Name of the registered model owner. + * + * @return builder + * + */ + public Builder owner(@Nullable Output owner) { + $.owner = owner; + return this; + } + + /** + * @param owner Name of the registered model owner. + * + * @return builder + * + */ + public Builder owner(String owner) { + return owner(Output.of(owner)); + } + /** * @param schemaName The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.* * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/ServicePrincipal.java b/sdk/java/src/main/java/com/pulumi/databricks/ServicePrincipal.java index ff178503..90cd49a4 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/ServicePrincipal.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/ServicePrincipal.java @@ -16,17 +16,24 @@ import javax.annotation.Nullable; /** - * Directly manage [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html) that could be added to databricks.Group in Databricks workspace or account. + * Directly manage [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html) that could be added to databricks.Group in Databricks account or workspace. + * + * There are different types of service principals: + * + * * Databricks-managed - exists only inside the Databricks platform (all clouds) and couldn't be used for accessing non-Databricks services. + * * Azure-managed - existing Azure service principal (enterprise application) is registered inside Databricks. It could be used to work with other Azure services. * * > **Note** To assign account level service principals to workspace use databricks_mws_permission_assignment. * - * > **Note** Entitlements, like, `allow_cluster_create`, `allow_instance_pool_create`, `databricks_sql_access`, `workspace_access` applicable only for workspace-level service principals. Use databricks.Entitlements resource to assign entitlements inside a workspace to account-level service principals. + * > **Note** Entitlements, like, `allow_cluster_create`, `allow_instance_pool_create`, `databricks_sql_access`, `workspace_access` applicable only for workspace-level service principals. Use databricks.Entitlements resource to assign entitlements inside a workspace to account-level service principals. + * + * To create service principals in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using the supported authentication method for account operations. * - * To create service principals in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments + * The default behavior when deleting a `databricks.ServicePrincipal` resource depends on whether the provider is configured at the workspace-level or account-level. When the provider is configured at the workspace-level, the service principal will be deleted from the workspace. When the provider is configured at the account-level, the service principal will be deactivated but not deleted. When the provider is configured at the account level, to delete the service principal from the account when the resource is deleted, set `disable_as_user_deletion = false`. Conversely, when the provider is configured at the account-level, to deactivate the service principal when the resource is deleted, set `disable_as_user_deletion = true`. * * ## Example Usage * - * Creating regular service principal: + * Creating regular Databricks-managed service principal: * * <!--Start PulumiCodeChooser --> * ```java @@ -51,7 +58,7 @@ * * public static void stack(Context ctx) { * var sp = new ServicePrincipal("sp", ServicePrincipalArgs.builder() - * .applicationId("00000000-0000-0000-0000-000000000000") + * .displayName("Admin SP") * .build()); * * } @@ -92,7 +99,7 @@ * .build()); * * var sp = new ServicePrincipal("sp", ServicePrincipalArgs.builder() - * .applicationId("00000000-0000-0000-0000-000000000000") + * .displayName("Admin SP") * .build()); * * var i_am_admin = new GroupMember("i-am-admin", GroupMemberArgs.builder() @@ -105,7 +112,7 @@ * ``` * <!--End PulumiCodeChooser --> * - * Creating service principal with cluster create permissions: + * Creating Azure-managed service principal with cluster create permissions: * * <!--Start PulumiCodeChooser --> * ```java @@ -140,7 +147,7 @@ * ``` * <!--End PulumiCodeChooser --> * - * Creating service principal in AWS Databricks account: + * Creating Databricks-managed service principal in AWS Databricks account: * * <!--Start PulumiCodeChooser --> * ```java @@ -167,7 +174,7 @@ * } * * public static void stack(Context ctx) { - * var mws = new Provider("mws", ProviderArgs.builder() + * var account = new Provider("account", ProviderArgs.builder() * .host("https://accounts.cloud.databricks.com") * .accountId("00000000-0000-0000-0000-000000000000") * .clientId(var_.client_id()) @@ -177,7 +184,7 @@ * var sp = new ServicePrincipal("sp", ServicePrincipalArgs.builder() * .displayName("Automation-only SP") * .build(), CustomResourceOptions.builder() - * .provider(databricks.mws()) + * .provider(databricks.account()) * .build()); * * } @@ -185,7 +192,7 @@ * ``` * <!--End PulumiCodeChooser --> * - * Creating service principal in Azure Databricks account: + * Creating Azure-managed service principal in Azure Databricks account: * * <!--Start PulumiCodeChooser --> * ```java @@ -212,7 +219,7 @@ * } * * public static void stack(Context ctx) { - * var azureAccount = new Provider("azureAccount", ProviderArgs.builder() + * var account = new Provider("account", ProviderArgs.builder() * .host("https://accounts.azuredatabricks.net") * .accountId("00000000-0000-0000-0000-000000000000") * .authType("azure-cli") @@ -221,7 +228,7 @@ * var sp = new ServicePrincipal("sp", ServicePrincipalArgs.builder() * .applicationId("00000000-0000-0000-0000-000000000000") * .build(), CustomResourceOptions.builder() - * .provider(databricks.azure_account()) + * .provider(databricks.account()) * .build()); * * } @@ -233,12 +240,12 @@ * * The following resources are often used in the same context: * - * * End to end workspace management guide. - * * 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.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.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and more to manage secrets for the service principal (only for AWS deployments) + * - End to end workspace management guide. + * - 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.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.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and more to manage secrets for the service principal (only for AWS deployments) * * ## Import * @@ -310,14 +317,14 @@ public Output> allowInstancePoolCreate() { return Codegen.optional(this.allowInstancePoolCreate); } /** - * This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + * This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. * */ @Export(name="applicationId", refs={String.class}, tree="[0]") private Output applicationId; /** - * @return This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + * @return This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. * */ public Output applicationId() { @@ -338,14 +345,14 @@ public Output> databricksSqlAccess() { return Codegen.optional(this.databricksSqlAccess); } /** - * When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + * Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. * */ @Export(name="disableAsUserDeletion", refs={Boolean.class}, tree="[0]") private Output disableAsUserDeletion; /** - * @return When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + * @return Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. * */ public Output> disableAsUserDeletion() { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/ServicePrincipalArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/ServicePrincipalArgs.java index 8f1cfbb5..f038ee6f 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/ServicePrincipalArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/ServicePrincipalArgs.java @@ -77,14 +77,14 @@ public Optional> allowInstancePoolCreate() { } /** - * This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + * This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. * */ @Import(name="applicationId") private @Nullable Output applicationId; /** - * @return This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + * @return This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. * */ public Optional> applicationId() { @@ -107,14 +107,14 @@ public Optional> databricksSqlAccess() { } /** - * When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + * Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. * */ @Import(name="disableAsUserDeletion") private @Nullable Output disableAsUserDeletion; /** - * @return When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + * @return Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. * */ public Optional> disableAsUserDeletion() { @@ -356,7 +356,7 @@ public Builder allowInstancePoolCreate(Boolean allowInstancePoolCreate) { } /** - * @param applicationId This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + * @param applicationId This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. * * @return builder * @@ -367,7 +367,7 @@ public Builder applicationId(@Nullable Output applicationId) { } /** - * @param applicationId This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + * @param applicationId This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. * * @return builder * @@ -398,7 +398,7 @@ public Builder databricksSqlAccess(Boolean databricksSqlAccess) { } /** - * @param disableAsUserDeletion When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + * @param disableAsUserDeletion Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. * * @return builder * @@ -409,7 +409,7 @@ public Builder disableAsUserDeletion(@Nullable Output disableAsUserDele } /** - * @param disableAsUserDeletion When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + * @param disableAsUserDeletion Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/User.java b/sdk/java/src/main/java/com/pulumi/databricks/User.java index 49cc5a70..9be8420b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/User.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/User.java @@ -22,7 +22,9 @@ * * > **Note** Entitlements, like, `allow_cluster_create`, `allow_instance_pool_create`, `databricks_sql_access`, `workspace_access` applicable only for workspace-level users. Use databricks.Entitlements resource to assign entitlements inside a workspace to account-level users. * - * To create users in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments + * To create users in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments. + * + * The default behavior when deleting a `databricks.User` resource depends on whether the provider is configured at the workspace-level or account-level. When the provider is configured at the workspace-level, the user will be deleted from the workspace. When the provider is configured at the account-level, the user will be deactivated but not deleted. When the provider is configured at the account level, to delete the user from the account when the resource is deleted, set `disable_as_user_deletion = false`. Conversely, when the provider is configured at the account-level, to deactivate the user when the resource is deleted, set `disable_as_user_deletion = true`. * * ## Example Usage * @@ -327,14 +329,14 @@ public Output> databricksSqlAccess() { return Codegen.optional(this.databricksSqlAccess); } /** - * When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + * Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. * */ @Export(name="disableAsUserDeletion", refs={Boolean.class}, tree="[0]") private Output disableAsUserDeletion; /** - * @return When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + * @return Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. * */ public Output disableAsUserDeletion() { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/UserArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/UserArgs.java index 981cfd75..b0e6ef26 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/UserArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/UserArgs.java @@ -93,14 +93,14 @@ public Optional> databricksSqlAccess() { } /** - * When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + * Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. * */ @Import(name="disableAsUserDeletion") private @Nullable Output disableAsUserDeletion; /** - * @return When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + * @return Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. * */ public Optional> disableAsUserDeletion() { @@ -370,7 +370,7 @@ public Builder databricksSqlAccess(Boolean databricksSqlAccess) { } /** - * @param disableAsUserDeletion When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + * @param disableAsUserDeletion Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. * * @return builder * @@ -381,7 +381,7 @@ public Builder disableAsUserDeletion(@Nullable Output disableAsUserDele } /** - * @param disableAsUserDeletion When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + * @param disableAsUserDeletion Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/VectorSearchEndpoint.java b/sdk/java/src/main/java/com/pulumi/databricks/VectorSearchEndpoint.java index 3c028026..b494f5f8 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/VectorSearchEndpoint.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/VectorSearchEndpoint.java @@ -110,42 +110,42 @@ public Output endpointId() { return this.endpointId; } /** - * Object describing the current status of the endpoint consisting of following fields: + * Object describing the current status of the endpoint consisting of the following fields: * */ @Export(name="endpointStatuses", refs={List.class,VectorSearchEndpointEndpointStatus.class}, tree="[0,1]") private Output> endpointStatuses; /** - * @return Object describing the current status of the endpoint consisting of following fields: + * @return Object describing the current status of the endpoint consisting of the following fields: * */ public Output> endpointStatuses() { return this.endpointStatuses; } /** - * type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + * Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). * */ @Export(name="endpointType", refs={String.class}, tree="[0]") private Output endpointType; /** - * @return type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + * @return Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). * */ public Output endpointType() { return this.endpointType; } /** - * Timestamp of last update to the endpoint (milliseconds). + * Timestamp of the last update to the endpoint (milliseconds). * */ @Export(name="lastUpdatedTimestamp", refs={Integer.class}, tree="[0]") private Output lastUpdatedTimestamp; /** - * @return Timestamp of last update to the endpoint (milliseconds). + * @return Timestamp of the last update to the endpoint (milliseconds). * */ public Output lastUpdatedTimestamp() { @@ -166,14 +166,14 @@ public Output lastUpdatedUser() { return this.lastUpdatedUser; } /** - * Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + * Name of the Vector Search Endpoint to create. * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** - * @return Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + * @return Name of the Vector Search Endpoint to create. * */ public Output name() { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/VectorSearchEndpointArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/VectorSearchEndpointArgs.java index 9f71cd4d..2d662238 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/VectorSearchEndpointArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/VectorSearchEndpointArgs.java @@ -17,14 +17,14 @@ public final class VectorSearchEndpointArgs extends com.pulumi.resources.Resourc public static final VectorSearchEndpointArgs Empty = new VectorSearchEndpointArgs(); /** - * type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + * Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). * */ @Import(name="endpointType", required=true) private Output endpointType; /** - * @return type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + * @return Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). * */ public Output endpointType() { @@ -32,14 +32,14 @@ public Output endpointType() { } /** - * Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + * Name of the Vector Search Endpoint to create. * */ @Import(name="name") private @Nullable Output name; /** - * @return Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + * @return Name of the Vector Search Endpoint to create. * */ public Optional> name() { @@ -72,7 +72,7 @@ public Builder(VectorSearchEndpointArgs defaults) { } /** - * @param endpointType type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + * @param endpointType Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). * * @return builder * @@ -83,7 +83,7 @@ public Builder endpointType(Output endpointType) { } /** - * @param endpointType type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + * @param endpointType Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). * * @return builder * @@ -93,7 +93,7 @@ public Builder endpointType(String endpointType) { } /** - * @param name Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + * @param name Name of the Vector Search Endpoint to create. * * @return builder * @@ -104,7 +104,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + * @param name Name of the Vector Search Endpoint to create. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/VectorSearchIndex.java b/sdk/java/src/main/java/com/pulumi/databricks/VectorSearchIndex.java new file mode 100644 index 00000000..901f24f2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/VectorSearchIndex.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; + +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.Utilities; +import com.pulumi.databricks.VectorSearchIndexArgs; +import com.pulumi.databricks.inputs.VectorSearchIndexState; +import com.pulumi.databricks.outputs.VectorSearchIndexDeltaSyncIndexSpec; +import com.pulumi.databricks.outputs.VectorSearchIndexDirectAccessIndexSpec; +import com.pulumi.databricks.outputs.VectorSearchIndexStatus; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * > **Note** This resource could be only used on Unity Catalog-enabled workspace! + * + * This resource allows you to create [Vector Search Index](https://docs.databricks.com/en/generative-ai/create-query-vector-search.html) in Databricks. Vector Search is a serverless similarity search engine that allows you to store a vector representation of your data, including metadata, in a vector database. The Vector Search Index provides the ability to search data in the linked Delta Table. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.databricks.VectorSearchIndex; + * import com.pulumi.databricks.VectorSearchIndexArgs; + * import com.pulumi.databricks.inputs.VectorSearchIndexDeltaSyncIndexSpecArgs; + * 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 sync = new VectorSearchIndex("sync", VectorSearchIndexArgs.builder() + * .endpointName(databricks_vector_search_endpoint.this().name()) + * .primaryKey("id") + * .indexType("DELTA_SYNC") + * .deltaSyncIndexSpec(VectorSearchIndexDeltaSyncIndexSpecArgs.builder() + * .sourceTable("main.default.source_table") + * .pipelineType("TRIGGERED") + * .embeddingSourceColumns(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs.builder() + * .name("text") + * .embeddingModelEndpointName(databricks_model_serving.this().name()) + * .build()) + * .build()) + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ## Import + * + * The resource can be imported using the name of the Vector Search Index + * + * bash + * + * ```sh + * $ pulumi import databricks:index/vectorSearchIndex:VectorSearchIndex this <index-name> + * ``` + * + */ +@ResourceType(type="databricks:index/vectorSearchIndex:VectorSearchIndex") +public class VectorSearchIndex extends com.pulumi.resources.CustomResource { + /** + * Creator of the endpoint. + * + */ + @Export(name="creator", refs={String.class}, tree="[0]") + private Output creator; + + /** + * @return Creator of the endpoint. + * + */ + public Output creator() { + return this.creator; + } + /** + * Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`. + * + */ + @Export(name="deltaSyncIndexSpec", refs={VectorSearchIndexDeltaSyncIndexSpec.class}, tree="[0]") + private Output deltaSyncIndexSpec; + + /** + * @return Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`. + * + */ + public Output> deltaSyncIndexSpec() { + return Codegen.optional(this.deltaSyncIndexSpec); + } + /** + * Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`. + * + */ + @Export(name="directAccessIndexSpec", refs={VectorSearchIndexDirectAccessIndexSpec.class}, tree="[0]") + private Output directAccessIndexSpec; + + /** + * @return Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`. + * + */ + public Output> directAccessIndexSpec() { + return Codegen.optional(this.directAccessIndexSpec); + } + /** + * The name of the Vector Search Endpoint that will be used for indexing the data. + * + */ + @Export(name="endpointName", refs={String.class}, tree="[0]") + private Output endpointName; + + /** + * @return The name of the Vector Search Endpoint that will be used for indexing the data. + * + */ + public Output endpointName() { + return this.endpointName; + } + /** + * Vector Search index type. Currently supported values are: + * + */ + @Export(name="indexType", refs={String.class}, tree="[0]") + private Output indexType; + + /** + * @return Vector Search index type. Currently supported values are: + * + */ + public Output indexType() { + return this.indexType; + } + /** + * The name of the column. + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name of the column. + * + */ + public Output name() { + return this.name; + } + /** + * The column name that will be used as a primary key. + * + */ + @Export(name="primaryKey", refs={String.class}, tree="[0]") + private Output primaryKey; + + /** + * @return The column name that will be used as a primary key. + * + */ + public Output primaryKey() { + return this.primaryKey; + } + /** + * Object describing the current status of the index consisting of the following fields: + * + */ + @Export(name="statuses", refs={List.class,VectorSearchIndexStatus.class}, tree="[0,1]") + private Output> statuses; + + /** + * @return Object describing the current status of the index consisting of the following fields: + * + */ + public Output> statuses() { + return this.statuses; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public VectorSearchIndex(String name) { + this(name, VectorSearchIndexArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public VectorSearchIndex(String name, VectorSearchIndexArgs 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 VectorSearchIndex(String name, VectorSearchIndexArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/vectorSearchIndex:VectorSearchIndex", name, args == null ? VectorSearchIndexArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private VectorSearchIndex(String name, Output id, @Nullable VectorSearchIndexState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/vectorSearchIndex:VectorSearchIndex", name, state, makeResourceOptions(options, id)); + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static VectorSearchIndex get(String name, Output id, @Nullable VectorSearchIndexState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new VectorSearchIndex(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/VectorSearchIndexArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/VectorSearchIndexArgs.java new file mode 100644 index 00000000..16e88e5e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/VectorSearchIndexArgs.java @@ -0,0 +1,280 @@ +// *** 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.VectorSearchIndexDeltaSyncIndexSpecArgs; +import com.pulumi.databricks.inputs.VectorSearchIndexDirectAccessIndexSpecArgs; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class VectorSearchIndexArgs extends com.pulumi.resources.ResourceArgs { + + public static final VectorSearchIndexArgs Empty = new VectorSearchIndexArgs(); + + /** + * Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`. + * + */ + @Import(name="deltaSyncIndexSpec") + private @Nullable Output deltaSyncIndexSpec; + + /** + * @return Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`. + * + */ + public Optional> deltaSyncIndexSpec() { + return Optional.ofNullable(this.deltaSyncIndexSpec); + } + + /** + * Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`. + * + */ + @Import(name="directAccessIndexSpec") + private @Nullable Output directAccessIndexSpec; + + /** + * @return Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`. + * + */ + public Optional> directAccessIndexSpec() { + return Optional.ofNullable(this.directAccessIndexSpec); + } + + /** + * The name of the Vector Search Endpoint that will be used for indexing the data. + * + */ + @Import(name="endpointName", required=true) + private Output endpointName; + + /** + * @return The name of the Vector Search Endpoint that will be used for indexing the data. + * + */ + public Output endpointName() { + return this.endpointName; + } + + /** + * Vector Search index type. Currently supported values are: + * + */ + @Import(name="indexType", required=true) + private Output indexType; + + /** + * @return Vector Search index type. Currently supported values are: + * + */ + public Output indexType() { + return this.indexType; + } + + /** + * The name of the column. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the column. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The column name that will be used as a primary key. + * + */ + @Import(name="primaryKey", required=true) + private Output primaryKey; + + /** + * @return The column name that will be used as a primary key. + * + */ + public Output primaryKey() { + return this.primaryKey; + } + + private VectorSearchIndexArgs() {} + + private VectorSearchIndexArgs(VectorSearchIndexArgs $) { + this.deltaSyncIndexSpec = $.deltaSyncIndexSpec; + this.directAccessIndexSpec = $.directAccessIndexSpec; + this.endpointName = $.endpointName; + this.indexType = $.indexType; + this.name = $.name; + this.primaryKey = $.primaryKey; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(VectorSearchIndexArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private VectorSearchIndexArgs $; + + public Builder() { + $ = new VectorSearchIndexArgs(); + } + + public Builder(VectorSearchIndexArgs defaults) { + $ = new VectorSearchIndexArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param deltaSyncIndexSpec Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`. + * + * @return builder + * + */ + public Builder deltaSyncIndexSpec(@Nullable Output deltaSyncIndexSpec) { + $.deltaSyncIndexSpec = deltaSyncIndexSpec; + return this; + } + + /** + * @param deltaSyncIndexSpec Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`. + * + * @return builder + * + */ + public Builder deltaSyncIndexSpec(VectorSearchIndexDeltaSyncIndexSpecArgs deltaSyncIndexSpec) { + return deltaSyncIndexSpec(Output.of(deltaSyncIndexSpec)); + } + + /** + * @param directAccessIndexSpec Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`. + * + * @return builder + * + */ + public Builder directAccessIndexSpec(@Nullable Output directAccessIndexSpec) { + $.directAccessIndexSpec = directAccessIndexSpec; + return this; + } + + /** + * @param directAccessIndexSpec Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`. + * + * @return builder + * + */ + public Builder directAccessIndexSpec(VectorSearchIndexDirectAccessIndexSpecArgs directAccessIndexSpec) { + return directAccessIndexSpec(Output.of(directAccessIndexSpec)); + } + + /** + * @param endpointName The name of the Vector Search Endpoint that will be used for indexing the data. + * + * @return builder + * + */ + public Builder endpointName(Output endpointName) { + $.endpointName = endpointName; + return this; + } + + /** + * @param endpointName The name of the Vector Search Endpoint that will be used for indexing the data. + * + * @return builder + * + */ + public Builder endpointName(String endpointName) { + return endpointName(Output.of(endpointName)); + } + + /** + * @param indexType Vector Search index type. Currently supported values are: + * + * @return builder + * + */ + public Builder indexType(Output indexType) { + $.indexType = indexType; + return this; + } + + /** + * @param indexType Vector Search index type. Currently supported values are: + * + * @return builder + * + */ + public Builder indexType(String indexType) { + return indexType(Output.of(indexType)); + } + + /** + * @param name The name of the column. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the column. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param primaryKey The column name that will be used as a primary key. + * + * @return builder + * + */ + public Builder primaryKey(Output primaryKey) { + $.primaryKey = primaryKey; + return this; + } + + /** + * @param primaryKey The column name that will be used as a primary key. + * + * @return builder + * + */ + public Builder primaryKey(String primaryKey) { + return primaryKey(Output.of(primaryKey)); + } + + public VectorSearchIndexArgs build() { + if ($.endpointName == null) { + throw new MissingRequiredPropertyException("VectorSearchIndexArgs", "endpointName"); + } + if ($.indexType == null) { + throw new MissingRequiredPropertyException("VectorSearchIndexArgs", "indexType"); + } + if ($.primaryKey == null) { + throw new MissingRequiredPropertyException("VectorSearchIndexArgs", "primaryKey"); + } + return $; + } + } + +} 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 a74b6ab9..96577237 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 @@ -16,8 +16,24 @@ public final class GetAwsCrossAccountPolicyArgs extends com.pulumi.resources.Inv public static final GetAwsCrossAccountPolicyArgs Empty = new GetAwsCrossAccountPolicyArgs(); + /** + * — Your AWS account ID, which is a number. + * + */ + @Import(name="awsAccountId") + private @Nullable Output awsAccountId; + + /** + * @return — Your AWS account ID, which is a number. + * + */ + public Optional> awsAccountId() { + return Optional.ofNullable(this.awsAccountId); + } + /** * List of Data IAM role ARNs that are explicitly granted `iam:PassRole` action. + * The below arguments are only valid for `restricted` policy type * */ @Import(name="passRoles") @@ -25,16 +41,82 @@ public final class GetAwsCrossAccountPolicyArgs extends com.pulumi.resources.Inv /** * @return List of Data IAM role ARNs that are explicitly granted `iam:PassRole` action. + * The below arguments are only valid for `restricted` policy type * */ public Optional>> passRoles() { return Optional.ofNullable(this.passRoles); } + /** + * 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 + * + */ + @Import(name="policyType") + private @Nullable Output policyType; + + /** + * @return 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 + * + */ + public Optional> policyType() { + return Optional.ofNullable(this.policyType); + } + + /** + * — AWS Region name for your VPC deployment, for example `us-west-2`. + * + */ + @Import(name="region") + private @Nullable Output region; + + /** + * @return — AWS Region name for your VPC deployment, for example `us-west-2`. + * + */ + public Optional> region() { + return Optional.ofNullable(this.region); + } + + /** + * — ID of your AWS security group. When you add a security group restriction, you cannot reuse the cross-account IAM role or reference a credentials ID (`credentials_id`) for any other workspaces. For those other workspaces, you must create separate roles, policies, and credentials objects. + * + */ + @Import(name="securityGroupId") + private @Nullable Output securityGroupId; + + /** + * @return — ID of your AWS security group. When you add a security group restriction, you cannot reuse the cross-account IAM role or reference a credentials ID (`credentials_id`) for any other workspaces. For those other workspaces, you must create separate roles, policies, and credentials objects. + * + */ + public Optional> securityGroupId() { + return Optional.ofNullable(this.securityGroupId); + } + + /** + * — ID of the AWS VPC where you want to launch workspaces. + * + */ + @Import(name="vpcId") + private @Nullable Output vpcId; + + /** + * @return — ID of the AWS VPC where you want to launch workspaces. + * + */ + public Optional> vpcId() { + return Optional.ofNullable(this.vpcId); + } + private GetAwsCrossAccountPolicyArgs() {} private GetAwsCrossAccountPolicyArgs(GetAwsCrossAccountPolicyArgs $) { + this.awsAccountId = $.awsAccountId; this.passRoles = $.passRoles; + this.policyType = $.policyType; + this.region = $.region; + this.securityGroupId = $.securityGroupId; + this.vpcId = $.vpcId; } public static Builder builder() { @@ -55,8 +137,30 @@ public Builder(GetAwsCrossAccountPolicyArgs defaults) { $ = new GetAwsCrossAccountPolicyArgs(Objects.requireNonNull(defaults)); } + /** + * @param awsAccountId — Your AWS account ID, which is a number. + * + * @return builder + * + */ + public Builder awsAccountId(@Nullable Output awsAccountId) { + $.awsAccountId = awsAccountId; + return this; + } + + /** + * @param awsAccountId — Your AWS account ID, which is a number. + * + * @return builder + * + */ + public Builder awsAccountId(String awsAccountId) { + return awsAccountId(Output.of(awsAccountId)); + } + /** * @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 * * @return builder * @@ -68,6 +172,7 @@ public Builder passRoles(@Nullable Output> passRoles) { /** * @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 * * @return builder * @@ -78,6 +183,7 @@ public Builder passRoles(List passRoles) { /** * @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 * * @return builder * @@ -86,6 +192,90 @@ public Builder passRoles(String... passRoles) { return passRoles(List.of(passRoles)); } + /** + * @param policyType 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 + * + * @return builder + * + */ + public Builder policyType(@Nullable Output policyType) { + $.policyType = policyType; + return this; + } + + /** + * @param policyType 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 + * + * @return builder + * + */ + public Builder policyType(String policyType) { + return policyType(Output.of(policyType)); + } + + /** + * @param region — AWS Region name for your VPC deployment, for example `us-west-2`. + * + * @return builder + * + */ + public Builder region(@Nullable Output region) { + $.region = region; + return this; + } + + /** + * @param region — AWS Region name for your VPC deployment, for example `us-west-2`. + * + * @return builder + * + */ + public Builder region(String region) { + return region(Output.of(region)); + } + + /** + * @param securityGroupId — ID of your AWS security group. When you add a security group restriction, you cannot reuse the cross-account IAM role or reference a credentials ID (`credentials_id`) for any other workspaces. For those other workspaces, you must create separate roles, policies, and credentials objects. + * + * @return builder + * + */ + public Builder securityGroupId(@Nullable Output securityGroupId) { + $.securityGroupId = securityGroupId; + return this; + } + + /** + * @param securityGroupId — ID of your AWS security group. When you add a security group restriction, you cannot reuse the cross-account IAM role or reference a credentials ID (`credentials_id`) for any other workspaces. For those other workspaces, you must create separate roles, policies, and credentials objects. + * + * @return builder + * + */ + public Builder securityGroupId(String securityGroupId) { + return securityGroupId(Output.of(securityGroupId)); + } + + /** + * @param vpcId — ID of the AWS VPC where you want to launch workspaces. + * + * @return builder + * + */ + public Builder vpcId(@Nullable Output vpcId) { + $.vpcId = vpcId; + return this; + } + + /** + * @param vpcId — ID of the AWS VPC where you want to launch workspaces. + * + * @return builder + * + */ + public Builder vpcId(String vpcId) { + return vpcId(Output.of(vpcId)); + } + public GetAwsCrossAccountPolicyArgs build() { return $; } 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 4b8e98fe..acb23481 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 @@ -15,8 +15,24 @@ public final class GetAwsCrossAccountPolicyPlainArgs extends com.pulumi.resource public static final GetAwsCrossAccountPolicyPlainArgs Empty = new GetAwsCrossAccountPolicyPlainArgs(); + /** + * — Your AWS account ID, which is a number. + * + */ + @Import(name="awsAccountId") + private @Nullable String awsAccountId; + + /** + * @return — Your AWS account ID, which is a number. + * + */ + public Optional awsAccountId() { + return Optional.ofNullable(this.awsAccountId); + } + /** * List of Data IAM role ARNs that are explicitly granted `iam:PassRole` action. + * The below arguments are only valid for `restricted` policy type * */ @Import(name="passRoles") @@ -24,16 +40,82 @@ public final class GetAwsCrossAccountPolicyPlainArgs extends com.pulumi.resource /** * @return List of Data IAM role ARNs that are explicitly granted `iam:PassRole` action. + * The below arguments are only valid for `restricted` policy type * */ public Optional> passRoles() { return Optional.ofNullable(this.passRoles); } + /** + * 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 + * + */ + @Import(name="policyType") + private @Nullable String policyType; + + /** + * @return 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 + * + */ + public Optional policyType() { + return Optional.ofNullable(this.policyType); + } + + /** + * — AWS Region name for your VPC deployment, for example `us-west-2`. + * + */ + @Import(name="region") + private @Nullable String region; + + /** + * @return — AWS Region name for your VPC deployment, for example `us-west-2`. + * + */ + public Optional region() { + return Optional.ofNullable(this.region); + } + + /** + * — ID of your AWS security group. When you add a security group restriction, you cannot reuse the cross-account IAM role or reference a credentials ID (`credentials_id`) for any other workspaces. For those other workspaces, you must create separate roles, policies, and credentials objects. + * + */ + @Import(name="securityGroupId") + private @Nullable String securityGroupId; + + /** + * @return — ID of your AWS security group. When you add a security group restriction, you cannot reuse the cross-account IAM role or reference a credentials ID (`credentials_id`) for any other workspaces. For those other workspaces, you must create separate roles, policies, and credentials objects. + * + */ + public Optional securityGroupId() { + return Optional.ofNullable(this.securityGroupId); + } + + /** + * — ID of the AWS VPC where you want to launch workspaces. + * + */ + @Import(name="vpcId") + private @Nullable String vpcId; + + /** + * @return — ID of the AWS VPC where you want to launch workspaces. + * + */ + public Optional vpcId() { + return Optional.ofNullable(this.vpcId); + } + private GetAwsCrossAccountPolicyPlainArgs() {} private GetAwsCrossAccountPolicyPlainArgs(GetAwsCrossAccountPolicyPlainArgs $) { + this.awsAccountId = $.awsAccountId; this.passRoles = $.passRoles; + this.policyType = $.policyType; + this.region = $.region; + this.securityGroupId = $.securityGroupId; + this.vpcId = $.vpcId; } public static Builder builder() { @@ -54,8 +136,20 @@ public Builder(GetAwsCrossAccountPolicyPlainArgs defaults) { $ = new GetAwsCrossAccountPolicyPlainArgs(Objects.requireNonNull(defaults)); } + /** + * @param awsAccountId — Your AWS account ID, which is a number. + * + * @return builder + * + */ + public Builder awsAccountId(@Nullable String awsAccountId) { + $.awsAccountId = awsAccountId; + 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 * * @return builder * @@ -67,6 +161,7 @@ public Builder passRoles(@Nullable List passRoles) { /** * @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 * * @return builder * @@ -75,6 +170,50 @@ public Builder passRoles(String... passRoles) { return passRoles(List.of(passRoles)); } + /** + * @param policyType 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 + * + * @return builder + * + */ + public Builder policyType(@Nullable String policyType) { + $.policyType = policyType; + return this; + } + + /** + * @param region — AWS Region name for your VPC deployment, for example `us-west-2`. + * + * @return builder + * + */ + public Builder region(@Nullable String region) { + $.region = region; + return this; + } + + /** + * @param securityGroupId — ID of your AWS security group. When you add a security group restriction, you cannot reuse the cross-account IAM role or reference a credentials ID (`credentials_id`) for any other workspaces. For those other workspaces, you must create separate roles, policies, and credentials objects. + * + * @return builder + * + */ + public Builder securityGroupId(@Nullable String securityGroupId) { + $.securityGroupId = securityGroupId; + return this; + } + + /** + * @param vpcId — ID of the AWS VPC where you want to launch workspaces. + * + * @return builder + * + */ + public Builder vpcId(@Nullable String vpcId) { + $.vpcId = vpcId; + return this; + } + public GetAwsCrossAccountPolicyPlainArgs build() { return $; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskConditionTask.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskConditionTask.java index ff5e9d75..932c03a6 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskConditionTask.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskConditionTask.java @@ -4,35 +4,34 @@ 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 GetJobJobSettingsSettingsTaskConditionTask extends com.pulumi.resources.InvokeArgs { public static final GetJobJobSettingsSettingsTaskConditionTask Empty = new GetJobJobSettingsSettingsTaskConditionTask(); - @Import(name="left") - private @Nullable String left; + @Import(name="left", required=true) + private String left; - public Optional left() { - return Optional.ofNullable(this.left); + public String left() { + return this.left; } - @Import(name="op") - private @Nullable String op; + @Import(name="op", required=true) + private String op; - public Optional op() { - return Optional.ofNullable(this.op); + public String op() { + return this.op; } - @Import(name="right") - private @Nullable String right; + @Import(name="right", required=true) + private String right; - public Optional right() { - return Optional.ofNullable(this.right); + public String right() { + return this.right; } private GetJobJobSettingsSettingsTaskConditionTask() {} @@ -61,22 +60,31 @@ public Builder(GetJobJobSettingsSettingsTaskConditionTask defaults) { $ = new GetJobJobSettingsSettingsTaskConditionTask(Objects.requireNonNull(defaults)); } - public Builder left(@Nullable String left) { + public Builder left(String left) { $.left = left; return this; } - public Builder op(@Nullable String op) { + public Builder op(String op) { $.op = op; return this; } - public Builder right(@Nullable String right) { + public Builder right(String right) { $.right = right; return this; } public GetJobJobSettingsSettingsTaskConditionTask build() { + if ($.left == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskConditionTask", "left"); + } + if ($.op == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskConditionTask", "op"); + } + if ($.right == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskConditionTask", "right"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskConditionTaskArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskConditionTaskArgs.java index a8c45792..eac44dae 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskConditionTaskArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskConditionTaskArgs.java @@ -5,35 +5,34 @@ 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 GetJobJobSettingsSettingsTaskConditionTaskArgs extends com.pulumi.resources.ResourceArgs { public static final GetJobJobSettingsSettingsTaskConditionTaskArgs Empty = new GetJobJobSettingsSettingsTaskConditionTaskArgs(); - @Import(name="left") - private @Nullable Output left; + @Import(name="left", required=true) + private Output left; - public Optional> left() { - return Optional.ofNullable(this.left); + public Output left() { + return this.left; } - @Import(name="op") - private @Nullable Output op; + @Import(name="op", required=true) + private Output op; - public Optional> op() { - return Optional.ofNullable(this.op); + public Output op() { + return this.op; } - @Import(name="right") - private @Nullable Output right; + @Import(name="right", required=true) + private Output right; - public Optional> right() { - return Optional.ofNullable(this.right); + public Output right() { + return this.right; } private GetJobJobSettingsSettingsTaskConditionTaskArgs() {} @@ -62,7 +61,7 @@ public Builder(GetJobJobSettingsSettingsTaskConditionTaskArgs defaults) { $ = new GetJobJobSettingsSettingsTaskConditionTaskArgs(Objects.requireNonNull(defaults)); } - public Builder left(@Nullable Output left) { + public Builder left(Output left) { $.left = left; return this; } @@ -71,7 +70,7 @@ public Builder left(String left) { return left(Output.of(left)); } - public Builder op(@Nullable Output op) { + public Builder op(Output op) { $.op = op; return this; } @@ -80,7 +79,7 @@ public Builder op(String op) { return op(Output.of(op)); } - public Builder right(@Nullable Output right) { + public Builder right(Output right) { $.right = right; return this; } @@ -90,6 +89,15 @@ public Builder right(String right) { } public GetJobJobSettingsSettingsTaskConditionTaskArgs build() { + if ($.left == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskConditionTaskArgs", "left"); + } + if ($.op == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskConditionTaskArgs", "op"); + } + if ($.right == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskConditionTaskArgs", "right"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskEmailNotifications.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskEmailNotifications.java index e0c21fbc..5070a862 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskEmailNotifications.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskEmailNotifications.java @@ -4,6 +4,7 @@ package com.pulumi.databricks.inputs; import com.pulumi.core.annotations.Import; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Objects; @@ -15,6 +16,13 @@ public final class GetJobJobSettingsSettingsTaskEmailNotifications extends com.p public static final GetJobJobSettingsSettingsTaskEmailNotifications Empty = new GetJobJobSettingsSettingsTaskEmailNotifications(); + @Import(name="noAlertForSkippedRuns") + private @Nullable Boolean noAlertForSkippedRuns; + + public Optional noAlertForSkippedRuns() { + return Optional.ofNullable(this.noAlertForSkippedRuns); + } + @Import(name="onDurationWarningThresholdExceededs") private @Nullable List onDurationWarningThresholdExceededs; @@ -46,6 +54,7 @@ public Optional> onSuccesses() { private GetJobJobSettingsSettingsTaskEmailNotifications() {} private GetJobJobSettingsSettingsTaskEmailNotifications(GetJobJobSettingsSettingsTaskEmailNotifications $) { + this.noAlertForSkippedRuns = $.noAlertForSkippedRuns; this.onDurationWarningThresholdExceededs = $.onDurationWarningThresholdExceededs; this.onFailures = $.onFailures; this.onStarts = $.onStarts; @@ -70,6 +79,11 @@ public Builder(GetJobJobSettingsSettingsTaskEmailNotifications defaults) { $ = new GetJobJobSettingsSettingsTaskEmailNotifications(Objects.requireNonNull(defaults)); } + public Builder noAlertForSkippedRuns(@Nullable Boolean noAlertForSkippedRuns) { + $.noAlertForSkippedRuns = noAlertForSkippedRuns; + return this; + } + public Builder onDurationWarningThresholdExceededs(@Nullable List onDurationWarningThresholdExceededs) { $.onDurationWarningThresholdExceededs = onDurationWarningThresholdExceededs; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskEmailNotificationsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskEmailNotificationsArgs.java index 97d82946..024aa152 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskEmailNotificationsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskEmailNotificationsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Objects; @@ -16,6 +17,13 @@ public final class GetJobJobSettingsSettingsTaskEmailNotificationsArgs extends c public static final GetJobJobSettingsSettingsTaskEmailNotificationsArgs Empty = new GetJobJobSettingsSettingsTaskEmailNotificationsArgs(); + @Import(name="noAlertForSkippedRuns") + private @Nullable Output noAlertForSkippedRuns; + + public Optional> noAlertForSkippedRuns() { + return Optional.ofNullable(this.noAlertForSkippedRuns); + } + @Import(name="onDurationWarningThresholdExceededs") private @Nullable Output> onDurationWarningThresholdExceededs; @@ -47,6 +55,7 @@ public Optional>> onSuccesses() { private GetJobJobSettingsSettingsTaskEmailNotificationsArgs() {} private GetJobJobSettingsSettingsTaskEmailNotificationsArgs(GetJobJobSettingsSettingsTaskEmailNotificationsArgs $) { + this.noAlertForSkippedRuns = $.noAlertForSkippedRuns; this.onDurationWarningThresholdExceededs = $.onDurationWarningThresholdExceededs; this.onFailures = $.onFailures; this.onStarts = $.onStarts; @@ -71,6 +80,15 @@ public Builder(GetJobJobSettingsSettingsTaskEmailNotificationsArgs defaults) { $ = new GetJobJobSettingsSettingsTaskEmailNotificationsArgs(Objects.requireNonNull(defaults)); } + public Builder noAlertForSkippedRuns(@Nullable Output noAlertForSkippedRuns) { + $.noAlertForSkippedRuns = noAlertForSkippedRuns; + return this; + } + + public Builder noAlertForSkippedRuns(Boolean noAlertForSkippedRuns) { + return noAlertForSkippedRuns(Output.of(noAlertForSkippedRuns)); + } + public Builder onDurationWarningThresholdExceededs(@Nullable Output> onDurationWarningThresholdExceededs) { $.onDurationWarningThresholdExceededs = onDurationWarningThresholdExceededs; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask.java index 99add4e5..2531ebc7 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask.java @@ -4,35 +4,34 @@ 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 GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask extends com.pulumi.resources.InvokeArgs { public static final GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask Empty = new GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask(); - @Import(name="left") - private @Nullable String left; + @Import(name="left", required=true) + private String left; - public Optional left() { - return Optional.ofNullable(this.left); + public String left() { + return this.left; } - @Import(name="op") - private @Nullable String op; + @Import(name="op", required=true) + private String op; - public Optional op() { - return Optional.ofNullable(this.op); + public String op() { + return this.op; } - @Import(name="right") - private @Nullable String right; + @Import(name="right", required=true) + private String right; - public Optional right() { - return Optional.ofNullable(this.right); + public String right() { + return this.right; } private GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask() {} @@ -61,22 +60,31 @@ public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask default $ = new GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask(Objects.requireNonNull(defaults)); } - public Builder left(@Nullable String left) { + public Builder left(String left) { $.left = left; return this; } - public Builder op(@Nullable String op) { + public Builder op(String op) { $.op = op; return this; } - public Builder right(@Nullable String right) { + public Builder right(String right) { $.right = right; return this; } public GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask build() { + if ($.left == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask", "left"); + } + if ($.op == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask", "op"); + } + if ($.right == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask", "right"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs.java index d0f8c5e4..3cc23531 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs.java @@ -5,35 +5,34 @@ 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 GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs extends com.pulumi.resources.ResourceArgs { public static final GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs Empty = new GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs(); - @Import(name="left") - private @Nullable Output left; + @Import(name="left", required=true) + private Output left; - public Optional> left() { - return Optional.ofNullable(this.left); + public Output left() { + return this.left; } - @Import(name="op") - private @Nullable Output op; + @Import(name="op", required=true) + private Output op; - public Optional> op() { - return Optional.ofNullable(this.op); + public Output op() { + return this.op; } - @Import(name="right") - private @Nullable Output right; + @Import(name="right", required=true) + private Output right; - public Optional> right() { - return Optional.ofNullable(this.right); + public Output right() { + return this.right; } private GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs() {} @@ -62,7 +61,7 @@ public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs def $ = new GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs(Objects.requireNonNull(defaults)); } - public Builder left(@Nullable Output left) { + public Builder left(Output left) { $.left = left; return this; } @@ -71,7 +70,7 @@ public Builder left(String left) { return left(Output.of(left)); } - public Builder op(@Nullable Output op) { + public Builder op(Output op) { $.op = op; return this; } @@ -80,7 +79,7 @@ public Builder op(String op) { return op(Output.of(op)); } - public Builder right(@Nullable Output right) { + public Builder right(Output right) { $.right = right; return this; } @@ -90,6 +89,15 @@ public Builder right(String right) { } public GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs build() { + if ($.left == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs", "left"); + } + if ($.op == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs", "op"); + } + if ($.right == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs", "right"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications.java index f7ff99cd..4da9aedf 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications.java @@ -4,6 +4,7 @@ package com.pulumi.databricks.inputs; import com.pulumi.core.annotations.Import; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Objects; @@ -15,6 +16,13 @@ public final class GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotification public static final GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications Empty = new GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications(); + @Import(name="noAlertForSkippedRuns") + private @Nullable Boolean noAlertForSkippedRuns; + + public Optional noAlertForSkippedRuns() { + return Optional.ofNullable(this.noAlertForSkippedRuns); + } + @Import(name="onDurationWarningThresholdExceededs") private @Nullable List onDurationWarningThresholdExceededs; @@ -46,6 +54,7 @@ public Optional> onSuccesses() { private GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications() {} private GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications $) { + this.noAlertForSkippedRuns = $.noAlertForSkippedRuns; this.onDurationWarningThresholdExceededs = $.onDurationWarningThresholdExceededs; this.onFailures = $.onFailures; this.onStarts = $.onStarts; @@ -70,6 +79,11 @@ public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications de $ = new GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications(Objects.requireNonNull(defaults)); } + public Builder noAlertForSkippedRuns(@Nullable Boolean noAlertForSkippedRuns) { + $.noAlertForSkippedRuns = noAlertForSkippedRuns; + return this; + } + public Builder onDurationWarningThresholdExceededs(@Nullable List onDurationWarningThresholdExceededs) { $.onDurationWarningThresholdExceededs = onDurationWarningThresholdExceededs; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs.java index 9627bf5b..80908416 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Objects; @@ -16,6 +17,13 @@ public final class GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotification public static final GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs Empty = new GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs(); + @Import(name="noAlertForSkippedRuns") + private @Nullable Output noAlertForSkippedRuns; + + public Optional> noAlertForSkippedRuns() { + return Optional.ofNullable(this.noAlertForSkippedRuns); + } + @Import(name="onDurationWarningThresholdExceededs") private @Nullable Output> onDurationWarningThresholdExceededs; @@ -47,6 +55,7 @@ public Optional>> onSuccesses() { private GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs() {} private GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs $) { + this.noAlertForSkippedRuns = $.noAlertForSkippedRuns; this.onDurationWarningThresholdExceededs = $.onDurationWarningThresholdExceededs; this.onFailures = $.onFailures; this.onStarts = $.onStarts; @@ -71,6 +80,15 @@ public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArg $ = new GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs(Objects.requireNonNull(defaults)); } + public Builder noAlertForSkippedRuns(@Nullable Output noAlertForSkippedRuns) { + $.noAlertForSkippedRuns = noAlertForSkippedRuns; + return this; + } + + public Builder noAlertForSkippedRuns(Boolean noAlertForSkippedRuns) { + return noAlertForSkippedRuns(Output.of(noAlertForSkippedRuns)); + } + public Builder onDurationWarningThresholdExceededs(@Nullable Output> onDurationWarningThresholdExceededs) { $.onDurationWarningThresholdExceededs = onDurationWarningThresholdExceededs; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java index 01325bf5..47a29b4b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded extends com.pulumi.resources.InvokeArgs { @@ -18,15 +17,15 @@ public final class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificati * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable String id; + @Import(name="id", required=true) + private String id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } private GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded() {} @@ -59,12 +58,15 @@ public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsO * @return builder * */ - public Builder id(@Nullable String id) { + public Builder id(String id) { $.id = id; return this; } public GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.java index 4d929e29..b8e891c1 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.java @@ -5,10 +5,9 @@ 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 GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs extends com.pulumi.resources.ResourceArgs { @@ -19,15 +18,15 @@ public final class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificati * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs() {} @@ -60,7 +59,7 @@ public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsO * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -76,6 +75,9 @@ public Builder id(String id) { } public GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure.java index 76c1a2a5..703cd439 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure extends com.pulumi.resources.InvokeArgs { @@ -18,15 +17,15 @@ public final class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificati * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable String id; + @Import(name="id", required=true) + private String id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } private GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure() {} @@ -59,12 +58,15 @@ public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsO * @return builder * */ - public Builder id(@Nullable String id) { + public Builder id(String id) { $.id = id; return this; } public GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs.java index 4b46ca68..00d956b3 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs.java @@ -5,10 +5,9 @@ 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 GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs extends com.pulumi.resources.ResourceArgs { @@ -19,15 +18,15 @@ public final class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificati * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs() {} @@ -60,7 +59,7 @@ public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsO * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -76,6 +75,9 @@ public Builder id(String id) { } public GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart.java index b292733e..72c23b3c 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart extends com.pulumi.resources.InvokeArgs { @@ -18,15 +17,15 @@ public final class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificati * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable String id; + @Import(name="id", required=true) + private String id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } private GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart() {} @@ -59,12 +58,15 @@ public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsO * @return builder * */ - public Builder id(@Nullable String id) { + public Builder id(String id) { $.id = id; return this; } public GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs.java index 8f13055c..a3733112 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs.java @@ -5,10 +5,9 @@ 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 GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs extends com.pulumi.resources.ResourceArgs { @@ -19,15 +18,15 @@ public final class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificati * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs() {} @@ -60,7 +59,7 @@ public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsO * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -76,6 +75,9 @@ public Builder id(String id) { } public GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess.java index 98427448..87c963f2 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess extends com.pulumi.resources.InvokeArgs { @@ -18,15 +17,15 @@ public final class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificati * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable String id; + @Import(name="id", required=true) + private String id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } private GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess() {} @@ -59,12 +58,15 @@ public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsO * @return builder * */ - public Builder id(@Nullable String id) { + public Builder id(String id) { $.id = id; return this; } public GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs.java index e6644568..9c36560a 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs.java @@ -5,10 +5,9 @@ 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 GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs extends com.pulumi.resources.ResourceArgs { @@ -19,15 +18,15 @@ public final class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificati * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs() {} @@ -60,7 +59,7 @@ public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsO * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -76,6 +75,9 @@ public Builder id(String id) { } public GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java index d1b7a22d..86eaceee 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded extends com.pulumi.resources.InvokeArgs { @@ -18,15 +17,15 @@ public final class GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWa * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable String id; + @Import(name="id", required=true) + private String id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } private GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded() {} @@ -59,12 +58,15 @@ public Builder(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarnin * @return builder * */ - public Builder id(@Nullable String id) { + public Builder id(String id) { $.id = id; return this; } public GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.java index 59d3992b..b5f103e8 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.java @@ -5,10 +5,9 @@ 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 GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs extends com.pulumi.resources.ResourceArgs { @@ -19,15 +18,15 @@ public final class GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWa * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs() {} @@ -60,7 +59,7 @@ public Builder(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarnin * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -76,6 +75,9 @@ public Builder id(String id) { } public GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure.java index a3c8967b..2719cc8c 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure extends com.pulumi.resources.InvokeArgs { @@ -18,15 +17,15 @@ public final class GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure ex * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable String id; + @Import(name="id", required=true) + private String id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } private GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure() {} @@ -59,12 +58,15 @@ public Builder(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure defaul * @return builder * */ - public Builder id(@Nullable String id) { + public Builder id(String id) { $.id = id; return this; } public GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs.java index 8d197e92..d3511d75 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs.java @@ -5,10 +5,9 @@ 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 GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs extends com.pulumi.resources.ResourceArgs { @@ -19,15 +18,15 @@ public final class GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArg * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs() {} @@ -60,7 +59,7 @@ public Builder(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs de * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -76,6 +75,9 @@ public Builder id(String id) { } public GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart.java index 8a529fa0..ae7242c4 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart extends com.pulumi.resources.InvokeArgs { @@ -18,15 +17,15 @@ public final class GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart exte * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable String id; + @Import(name="id", required=true) + private String id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } private GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart() {} @@ -59,12 +58,15 @@ public Builder(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart defaults * @return builder * */ - public Builder id(@Nullable String id) { + public Builder id(String id) { $.id = id; return this; } public GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs.java index cad57d21..7e25abf4 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs.java @@ -5,10 +5,9 @@ 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 GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs extends com.pulumi.resources.ResourceArgs { @@ -19,15 +18,15 @@ public final class GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs() {} @@ -60,7 +59,7 @@ public Builder(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs defa * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -76,6 +75,9 @@ public Builder id(String id) { } public GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess.java index 8674925f..b5b0adc3 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess extends com.pulumi.resources.InvokeArgs { @@ -18,15 +17,15 @@ public final class GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess ex * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable String id; + @Import(name="id", required=true) + private String id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } private GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess() {} @@ -59,12 +58,15 @@ public Builder(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess defaul * @return builder * */ - public Builder id(@Nullable String id) { + public Builder id(String id) { $.id = id; return this; } public GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs.java index 9ba57192..463859a6 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs.java @@ -5,10 +5,9 @@ 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 GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs extends com.pulumi.resources.ResourceArgs { @@ -19,15 +18,15 @@ public final class GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArg * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs() {} @@ -60,7 +59,7 @@ public Builder(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs de * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -76,6 +75,9 @@ public Builder id(String id) { } public GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTrigger.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTrigger.java index c6567b89..1b6f35d3 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTrigger.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTrigger.java @@ -5,7 +5,7 @@ import com.pulumi.core.annotations.Import; import com.pulumi.databricks.inputs.GetJobJobSettingsSettingsTriggerFileArrival; -import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.databricks.inputs.GetJobJobSettingsSettingsTriggerTableUpdate; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -16,11 +16,11 @@ public final class GetJobJobSettingsSettingsTrigger extends com.pulumi.resources public static final GetJobJobSettingsSettingsTrigger Empty = new GetJobJobSettingsSettingsTrigger(); - @Import(name="fileArrival", required=true) - private GetJobJobSettingsSettingsTriggerFileArrival fileArrival; + @Import(name="fileArrival") + private @Nullable GetJobJobSettingsSettingsTriggerFileArrival fileArrival; - public GetJobJobSettingsSettingsTriggerFileArrival fileArrival() { - return this.fileArrival; + public Optional fileArrival() { + return Optional.ofNullable(this.fileArrival); } @Import(name="pauseStatus") @@ -30,11 +30,19 @@ public Optional pauseStatus() { return Optional.ofNullable(this.pauseStatus); } + @Import(name="tableUpdate") + private @Nullable GetJobJobSettingsSettingsTriggerTableUpdate tableUpdate; + + public Optional tableUpdate() { + return Optional.ofNullable(this.tableUpdate); + } + private GetJobJobSettingsSettingsTrigger() {} private GetJobJobSettingsSettingsTrigger(GetJobJobSettingsSettingsTrigger $) { this.fileArrival = $.fileArrival; this.pauseStatus = $.pauseStatus; + this.tableUpdate = $.tableUpdate; } public static Builder builder() { @@ -55,7 +63,7 @@ public Builder(GetJobJobSettingsSettingsTrigger defaults) { $ = new GetJobJobSettingsSettingsTrigger(Objects.requireNonNull(defaults)); } - public Builder fileArrival(GetJobJobSettingsSettingsTriggerFileArrival fileArrival) { + public Builder fileArrival(@Nullable GetJobJobSettingsSettingsTriggerFileArrival fileArrival) { $.fileArrival = fileArrival; return this; } @@ -65,10 +73,12 @@ public Builder pauseStatus(@Nullable String pauseStatus) { return this; } + public Builder tableUpdate(@Nullable GetJobJobSettingsSettingsTriggerTableUpdate tableUpdate) { + $.tableUpdate = tableUpdate; + return this; + } + public GetJobJobSettingsSettingsTrigger build() { - if ($.fileArrival == null) { - throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTrigger", "fileArrival"); - } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTriggerArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTriggerArgs.java index 454ebbcd..6fea21b0 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTriggerArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTriggerArgs.java @@ -6,7 +6,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.databricks.inputs.GetJobJobSettingsSettingsTriggerFileArrivalArgs; -import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.databricks.inputs.GetJobJobSettingsSettingsTriggerTableUpdateArgs; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -17,11 +17,11 @@ public final class GetJobJobSettingsSettingsTriggerArgs extends com.pulumi.resou public static final GetJobJobSettingsSettingsTriggerArgs Empty = new GetJobJobSettingsSettingsTriggerArgs(); - @Import(name="fileArrival", required=true) - private Output fileArrival; + @Import(name="fileArrival") + private @Nullable Output fileArrival; - public Output fileArrival() { - return this.fileArrival; + public Optional> fileArrival() { + return Optional.ofNullable(this.fileArrival); } @Import(name="pauseStatus") @@ -31,11 +31,19 @@ public Optional> pauseStatus() { return Optional.ofNullable(this.pauseStatus); } + @Import(name="tableUpdate") + private @Nullable Output tableUpdate; + + public Optional> tableUpdate() { + return Optional.ofNullable(this.tableUpdate); + } + private GetJobJobSettingsSettingsTriggerArgs() {} private GetJobJobSettingsSettingsTriggerArgs(GetJobJobSettingsSettingsTriggerArgs $) { this.fileArrival = $.fileArrival; this.pauseStatus = $.pauseStatus; + this.tableUpdate = $.tableUpdate; } public static Builder builder() { @@ -56,7 +64,7 @@ public Builder(GetJobJobSettingsSettingsTriggerArgs defaults) { $ = new GetJobJobSettingsSettingsTriggerArgs(Objects.requireNonNull(defaults)); } - public Builder fileArrival(Output fileArrival) { + public Builder fileArrival(@Nullable Output fileArrival) { $.fileArrival = fileArrival; return this; } @@ -74,10 +82,16 @@ public Builder pauseStatus(String pauseStatus) { return pauseStatus(Output.of(pauseStatus)); } + public Builder tableUpdate(@Nullable Output tableUpdate) { + $.tableUpdate = tableUpdate; + return this; + } + + public Builder tableUpdate(GetJobJobSettingsSettingsTriggerTableUpdateArgs tableUpdate) { + return tableUpdate(Output.of(tableUpdate)); + } + public GetJobJobSettingsSettingsTriggerArgs build() { - if ($.fileArrival == null) { - throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTriggerArgs", "fileArrival"); - } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTriggerTableUpdate.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTriggerTableUpdate.java new file mode 100644 index 00000000..47c4398a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTriggerTableUpdate.java @@ -0,0 +1,107 @@ +// *** 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.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetJobJobSettingsSettingsTriggerTableUpdate extends com.pulumi.resources.InvokeArgs { + + public static final GetJobJobSettingsSettingsTriggerTableUpdate Empty = new GetJobJobSettingsSettingsTriggerTableUpdate(); + + @Import(name="condition") + private @Nullable String condition; + + public Optional condition() { + return Optional.ofNullable(this.condition); + } + + @Import(name="minTimeBetweenTriggersSeconds") + private @Nullable Integer minTimeBetweenTriggersSeconds; + + public Optional minTimeBetweenTriggersSeconds() { + return Optional.ofNullable(this.minTimeBetweenTriggersSeconds); + } + + @Import(name="tableNames", required=true) + private List tableNames; + + public List tableNames() { + return this.tableNames; + } + + @Import(name="waitAfterLastChangeSeconds") + private @Nullable Integer waitAfterLastChangeSeconds; + + public Optional waitAfterLastChangeSeconds() { + return Optional.ofNullable(this.waitAfterLastChangeSeconds); + } + + private GetJobJobSettingsSettingsTriggerTableUpdate() {} + + private GetJobJobSettingsSettingsTriggerTableUpdate(GetJobJobSettingsSettingsTriggerTableUpdate $) { + this.condition = $.condition; + this.minTimeBetweenTriggersSeconds = $.minTimeBetweenTriggersSeconds; + this.tableNames = $.tableNames; + this.waitAfterLastChangeSeconds = $.waitAfterLastChangeSeconds; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetJobJobSettingsSettingsTriggerTableUpdate defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetJobJobSettingsSettingsTriggerTableUpdate $; + + public Builder() { + $ = new GetJobJobSettingsSettingsTriggerTableUpdate(); + } + + public Builder(GetJobJobSettingsSettingsTriggerTableUpdate defaults) { + $ = new GetJobJobSettingsSettingsTriggerTableUpdate(Objects.requireNonNull(defaults)); + } + + public Builder condition(@Nullable String condition) { + $.condition = condition; + return this; + } + + public Builder minTimeBetweenTriggersSeconds(@Nullable Integer minTimeBetweenTriggersSeconds) { + $.minTimeBetweenTriggersSeconds = minTimeBetweenTriggersSeconds; + return this; + } + + public Builder tableNames(List tableNames) { + $.tableNames = tableNames; + return this; + } + + public Builder tableNames(String... tableNames) { + return tableNames(List.of(tableNames)); + } + + public Builder waitAfterLastChangeSeconds(@Nullable Integer waitAfterLastChangeSeconds) { + $.waitAfterLastChangeSeconds = waitAfterLastChangeSeconds; + return this; + } + + public GetJobJobSettingsSettingsTriggerTableUpdate build() { + if ($.tableNames == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTriggerTableUpdate", "tableNames"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTriggerTableUpdateArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTriggerTableUpdateArgs.java new file mode 100644 index 00000000..693f946e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsTriggerTableUpdateArgs.java @@ -0,0 +1,124 @@ +// *** 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.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetJobJobSettingsSettingsTriggerTableUpdateArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetJobJobSettingsSettingsTriggerTableUpdateArgs Empty = new GetJobJobSettingsSettingsTriggerTableUpdateArgs(); + + @Import(name="condition") + private @Nullable Output condition; + + public Optional> condition() { + return Optional.ofNullable(this.condition); + } + + @Import(name="minTimeBetweenTriggersSeconds") + private @Nullable Output minTimeBetweenTriggersSeconds; + + public Optional> minTimeBetweenTriggersSeconds() { + return Optional.ofNullable(this.minTimeBetweenTriggersSeconds); + } + + @Import(name="tableNames", required=true) + private Output> tableNames; + + public Output> tableNames() { + return this.tableNames; + } + + @Import(name="waitAfterLastChangeSeconds") + private @Nullable Output waitAfterLastChangeSeconds; + + public Optional> waitAfterLastChangeSeconds() { + return Optional.ofNullable(this.waitAfterLastChangeSeconds); + } + + private GetJobJobSettingsSettingsTriggerTableUpdateArgs() {} + + private GetJobJobSettingsSettingsTriggerTableUpdateArgs(GetJobJobSettingsSettingsTriggerTableUpdateArgs $) { + this.condition = $.condition; + this.minTimeBetweenTriggersSeconds = $.minTimeBetweenTriggersSeconds; + this.tableNames = $.tableNames; + this.waitAfterLastChangeSeconds = $.waitAfterLastChangeSeconds; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetJobJobSettingsSettingsTriggerTableUpdateArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetJobJobSettingsSettingsTriggerTableUpdateArgs $; + + public Builder() { + $ = new GetJobJobSettingsSettingsTriggerTableUpdateArgs(); + } + + public Builder(GetJobJobSettingsSettingsTriggerTableUpdateArgs defaults) { + $ = new GetJobJobSettingsSettingsTriggerTableUpdateArgs(Objects.requireNonNull(defaults)); + } + + public Builder condition(@Nullable Output condition) { + $.condition = condition; + return this; + } + + public Builder condition(String condition) { + return condition(Output.of(condition)); + } + + public Builder minTimeBetweenTriggersSeconds(@Nullable Output minTimeBetweenTriggersSeconds) { + $.minTimeBetweenTriggersSeconds = minTimeBetweenTriggersSeconds; + return this; + } + + public Builder minTimeBetweenTriggersSeconds(Integer minTimeBetweenTriggersSeconds) { + return minTimeBetweenTriggersSeconds(Output.of(minTimeBetweenTriggersSeconds)); + } + + public Builder tableNames(Output> tableNames) { + $.tableNames = tableNames; + return this; + } + + public Builder tableNames(List tableNames) { + return tableNames(Output.of(tableNames)); + } + + public Builder tableNames(String... tableNames) { + return tableNames(List.of(tableNames)); + } + + public Builder waitAfterLastChangeSeconds(@Nullable Output waitAfterLastChangeSeconds) { + $.waitAfterLastChangeSeconds = waitAfterLastChangeSeconds; + return this; + } + + public Builder waitAfterLastChangeSeconds(Integer waitAfterLastChangeSeconds) { + return waitAfterLastChangeSeconds(Output.of(waitAfterLastChangeSeconds)); + } + + public GetJobJobSettingsSettingsTriggerTableUpdateArgs build() { + if ($.tableNames == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTriggerTableUpdateArgs", "tableNames"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded.java index 931ad6dd..2dc0fc2b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded extends com.pulumi.resources.InvokeArgs { @@ -18,15 +17,15 @@ public final class GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarnin * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable String id; + @Import(name="id", required=true) + private String id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } private GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded() {} @@ -59,12 +58,15 @@ public Builder(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThr * @return builder * */ - public Builder id(@Nullable String id) { + public Builder id(String id) { $.id = id; return this; } public GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs.java index f0dbbfdc..1d59d99b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs.java @@ -5,10 +5,9 @@ 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 GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs extends com.pulumi.resources.ResourceArgs { @@ -19,15 +18,15 @@ public final class GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarnin * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs() {} @@ -60,7 +59,7 @@ public Builder(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThr * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -76,6 +75,9 @@ public Builder id(String id) { } public GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailure.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailure.java index 20f9c1b2..ffbc8a1b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailure.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailure.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsWebhookNotificationsOnFailure extends com.pulumi.resources.InvokeArgs { @@ -18,15 +17,15 @@ public final class GetJobJobSettingsSettingsWebhookNotificationsOnFailure extend * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable String id; + @Import(name="id", required=true) + private String id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } private GetJobJobSettingsSettingsWebhookNotificationsOnFailure() {} @@ -59,12 +58,15 @@ public Builder(GetJobJobSettingsSettingsWebhookNotificationsOnFailure defaults) * @return builder * */ - public Builder id(@Nullable String id) { + public Builder id(String id) { $.id = id; return this; } public GetJobJobSettingsSettingsWebhookNotificationsOnFailure build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsWebhookNotificationsOnFailure", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs.java index 30d0afbe..9a6278dc 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs.java @@ -5,10 +5,9 @@ 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 GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs extends com.pulumi.resources.ResourceArgs { @@ -19,15 +18,15 @@ public final class GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs ex * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs() {} @@ -60,7 +59,7 @@ public Builder(GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs defaul * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -76,6 +75,9 @@ public Builder id(String id) { } public GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnStart.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnStart.java index c2721926..74d73b3d 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnStart.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnStart.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsWebhookNotificationsOnStart extends com.pulumi.resources.InvokeArgs { @@ -18,15 +17,15 @@ public final class GetJobJobSettingsSettingsWebhookNotificationsOnStart extends * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable String id; + @Import(name="id", required=true) + private String id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } private GetJobJobSettingsSettingsWebhookNotificationsOnStart() {} @@ -59,12 +58,15 @@ public Builder(GetJobJobSettingsSettingsWebhookNotificationsOnStart defaults) { * @return builder * */ - public Builder id(@Nullable String id) { + public Builder id(String id) { $.id = id; return this; } public GetJobJobSettingsSettingsWebhookNotificationsOnStart build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsWebhookNotificationsOnStart", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs.java index aab3caf4..e29b4642 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs.java @@ -5,10 +5,9 @@ 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 GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs extends com.pulumi.resources.ResourceArgs { @@ -19,15 +18,15 @@ public final class GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs exte * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs() {} @@ -60,7 +59,7 @@ public Builder(GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs defaults * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -76,6 +75,9 @@ public Builder id(String id) { } public GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccess.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccess.java index c283efaa..c402c79a 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccess.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccess.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsWebhookNotificationsOnSuccess extends com.pulumi.resources.InvokeArgs { @@ -18,15 +17,15 @@ public final class GetJobJobSettingsSettingsWebhookNotificationsOnSuccess extend * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable String id; + @Import(name="id", required=true) + private String id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } private GetJobJobSettingsSettingsWebhookNotificationsOnSuccess() {} @@ -59,12 +58,15 @@ public Builder(GetJobJobSettingsSettingsWebhookNotificationsOnSuccess defaults) * @return builder * */ - public Builder id(@Nullable String id) { + public Builder id(String id) { $.id = id; return this; } public GetJobJobSettingsSettingsWebhookNotificationsOnSuccess build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsWebhookNotificationsOnSuccess", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs.java index 7d77f855..1a969d61 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs.java @@ -5,10 +5,9 @@ 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 GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs extends com.pulumi.resources.ResourceArgs { @@ -19,15 +18,15 @@ public final class GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs ex * the id of databricks.Job if the resource was matched by name. * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs() {} @@ -60,7 +59,7 @@ public Builder(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs defaul * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -76,6 +75,9 @@ public Builder id(String id) { } public GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialsArgs.java index 52a7c4b9..4609e2dd 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialsArgs.java @@ -16,9 +16,17 @@ public final class GetStorageCredentialsArgs extends com.pulumi.resources.Invoke public static final GetStorageCredentialsArgs Empty = new GetStorageCredentialsArgs(); + /** + * List of names of databricks.StorageCredential in the metastore + * + */ @Import(name="names") private @Nullable Output> names; + /** + * @return List of names of databricks.StorageCredential in the metastore + * + */ public Optional>> names() { return Optional.ofNullable(this.names); } @@ -47,15 +55,33 @@ public Builder(GetStorageCredentialsArgs defaults) { $ = new GetStorageCredentialsArgs(Objects.requireNonNull(defaults)); } + /** + * @param names List of names of databricks.StorageCredential in the metastore + * + * @return builder + * + */ public Builder names(@Nullable Output> names) { $.names = names; return this; } + /** + * @param names List of names of databricks.StorageCredential in the metastore + * + * @return builder + * + */ public Builder names(List names) { return names(Output.of(names)); } + /** + * @param names List of names of databricks.StorageCredential in the metastore + * + * @return builder + * + */ public Builder names(String... names) { return names(List.of(names)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialsPlainArgs.java index d6691ddb..6830097c 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialsPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetStorageCredentialsPlainArgs.java @@ -15,9 +15,17 @@ public final class GetStorageCredentialsPlainArgs extends com.pulumi.resources.I public static final GetStorageCredentialsPlainArgs Empty = new GetStorageCredentialsPlainArgs(); + /** + * List of names of databricks.StorageCredential in the metastore + * + */ @Import(name="names") private @Nullable List names; + /** + * @return List of names of databricks.StorageCredential in the metastore + * + */ public Optional> names() { return Optional.ofNullable(this.names); } @@ -46,11 +54,23 @@ public Builder(GetStorageCredentialsPlainArgs defaults) { $ = new GetStorageCredentialsPlainArgs(Objects.requireNonNull(defaults)); } + /** + * @param names List of names of databricks.StorageCredential in the metastore + * + * @return builder + * + */ public Builder names(@Nullable List names) { $.names = names; return this; } + /** + * @param names List of names of databricks.StorageCredential in the metastore + * + * @return builder + * + */ public Builder names(String... names) { return names(List.of(names)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobState.java index 9d1252f2..8ee101e6 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobState.java @@ -266,14 +266,14 @@ public Optional>> jobClusters() { } /** - * (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. * */ @Import(name="libraries") private @Nullable Output> libraries; /** - * @return (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * @return (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. * */ public Optional>> libraries() { @@ -1005,7 +1005,7 @@ public Builder jobClusters(JobJobClusterArgs... jobClusters) { } /** - * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. * * @return builder * @@ -1016,7 +1016,7 @@ public Builder libraries(@Nullable Output> libraries) { } /** - * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. * * @return builder * @@ -1026,7 +1026,7 @@ public Builder libraries(List libraries) { } /** - * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. * * @return builder * 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 bd6cdfc6..72990ecb 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 @@ -147,14 +147,14 @@ public Optional> jobClusterKey() { } /** - * (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * (Set) An optional list of libraries to be installed on the cluster that will execute the job. * */ @Import(name="libraries") private @Nullable Output> libraries; /** - * @return (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * @return (Set) An optional list of libraries to be installed on the cluster that will execute the job. * */ public Optional>> libraries() { @@ -566,7 +566,7 @@ public Builder jobClusterKey(String jobClusterKey) { } /** - * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. * * @return builder * @@ -577,7 +577,7 @@ public Builder libraries(@Nullable Output> libraries) { } /** - * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. * * @return builder * @@ -587,7 +587,7 @@ public Builder libraries(List libraries) { } /** - * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskConditionTaskArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskConditionTaskArgs.java index e31ff70e..4ef92058 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskConditionTaskArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskConditionTaskArgs.java @@ -5,10 +5,9 @@ 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 JobTaskConditionTaskArgs extends com.pulumi.resources.ResourceArgs { @@ -19,15 +18,15 @@ public final class JobTaskConditionTaskArgs extends com.pulumi.resources.Resourc * The left operand of the condition task. It could be a string value, job state, or a parameter reference. * */ - @Import(name="left") - private @Nullable Output left; + @Import(name="left", required=true) + private Output left; /** * @return The left operand of the condition task. It could be a string value, job state, or a parameter reference. * */ - public Optional> left() { - return Optional.ofNullable(this.left); + public Output left() { + return this.left; } /** @@ -36,8 +35,8 @@ public Optional> left() { * This task does not require a cluster to execute and does not support retries or notifications. * */ - @Import(name="op") - private @Nullable Output op; + @Import(name="op", required=true) + private Output op; /** * @return 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). @@ -45,23 +44,23 @@ public Optional> left() { * This task does not require a cluster to execute and does not support retries or notifications. * */ - public Optional> op() { - return Optional.ofNullable(this.op); + public Output op() { + return this.op; } /** * The right operand of the condition task. It could be a string value, job state, or parameter reference. * */ - @Import(name="right") - private @Nullable Output right; + @Import(name="right", required=true) + private Output right; /** * @return The right operand of the condition task. It could be a string value, job state, or parameter reference. * */ - public Optional> right() { - return Optional.ofNullable(this.right); + public Output right() { + return this.right; } private JobTaskConditionTaskArgs() {} @@ -96,7 +95,7 @@ public Builder(JobTaskConditionTaskArgs defaults) { * @return builder * */ - public Builder left(@Nullable Output left) { + public Builder left(Output left) { $.left = left; return this; } @@ -119,7 +118,7 @@ public Builder left(String left) { * @return builder * */ - public Builder op(@Nullable Output op) { + public Builder op(Output op) { $.op = op; return this; } @@ -142,7 +141,7 @@ public Builder op(String op) { * @return builder * */ - public Builder right(@Nullable Output right) { + public Builder right(Output right) { $.right = right; return this; } @@ -158,6 +157,15 @@ public Builder right(String right) { } public JobTaskConditionTaskArgs build() { + if ($.left == null) { + throw new MissingRequiredPropertyException("JobTaskConditionTaskArgs", "left"); + } + if ($.op == null) { + throw new MissingRequiredPropertyException("JobTaskConditionTaskArgs", "op"); + } + if ($.right == null) { + throw new MissingRequiredPropertyException("JobTaskConditionTaskArgs", "right"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskEmailNotificationsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskEmailNotificationsArgs.java index 323d8f70..b07766c5 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskEmailNotificationsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskEmailNotificationsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Objects; @@ -16,6 +17,21 @@ public final class JobTaskEmailNotificationsArgs extends com.pulumi.resources.Re public static final JobTaskEmailNotificationsArgs Empty = new JobTaskEmailNotificationsArgs(); + /** + * (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + * + */ + @Import(name="noAlertForSkippedRuns") + private @Nullable Output noAlertForSkippedRuns; + + /** + * @return (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + * + */ + public Optional> noAlertForSkippedRuns() { + return Optional.ofNullable(this.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. * @@ -79,6 +95,7 @@ public Optional>> onSuccesses() { private JobTaskEmailNotificationsArgs() {} private JobTaskEmailNotificationsArgs(JobTaskEmailNotificationsArgs $) { + this.noAlertForSkippedRuns = $.noAlertForSkippedRuns; this.onDurationWarningThresholdExceededs = $.onDurationWarningThresholdExceededs; this.onFailures = $.onFailures; this.onStarts = $.onStarts; @@ -103,6 +120,27 @@ public Builder(JobTaskEmailNotificationsArgs defaults) { $ = new JobTaskEmailNotificationsArgs(Objects.requireNonNull(defaults)); } + /** + * @param noAlertForSkippedRuns (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + * + * @return builder + * + */ + public Builder noAlertForSkippedRuns(@Nullable Output noAlertForSkippedRuns) { + $.noAlertForSkippedRuns = noAlertForSkippedRuns; + return this; + } + + /** + * @param noAlertForSkippedRuns (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + * + * @return builder + * + */ + public Builder noAlertForSkippedRuns(Boolean noAlertForSkippedRuns) { + return noAlertForSkippedRuns(Output.of(noAlertForSkippedRuns)); + } + /** * @param onDurationWarningThresholdExceededs (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. * 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 fa60be5b..4d9c3f81 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 @@ -139,14 +139,14 @@ public Optional> jobClusterKey() { } /** - * (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * (Set) An optional list of libraries to be installed on the cluster that will execute the job. * */ @Import(name="libraries") private @Nullable Output> libraries; /** - * @return (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * @return (Set) An optional list of libraries to be installed on the cluster that will execute the job. * */ public Optional>> libraries() { @@ -548,7 +548,7 @@ public Builder jobClusterKey(String jobClusterKey) { } /** - * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. * * @return builder * @@ -559,7 +559,7 @@ public Builder libraries(@Nullable Output libraries) { } /** - * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * @param libraries (Set) An optional list of libraries to be installed on the cluster that will execute the job. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskConditionTaskArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskConditionTaskArgs.java index 73239032..1583c240 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskConditionTaskArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskConditionTaskArgs.java @@ -5,10 +5,9 @@ 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 JobTaskForEachTaskTaskConditionTaskArgs extends com.pulumi.resources.ResourceArgs { @@ -19,15 +18,15 @@ public final class JobTaskForEachTaskTaskConditionTaskArgs extends com.pulumi.re * The left operand of the condition task. It could be a string value, job state, or a parameter reference. * */ - @Import(name="left") - private @Nullable Output left; + @Import(name="left", required=true) + private Output left; /** * @return The left operand of the condition task. It could be a string value, job state, or a parameter reference. * */ - public Optional> left() { - return Optional.ofNullable(this.left); + public Output left() { + return this.left; } /** @@ -36,8 +35,8 @@ public Optional> left() { * This task does not require a cluster to execute and does not support retries or notifications. * */ - @Import(name="op") - private @Nullable Output op; + @Import(name="op", required=true) + private Output op; /** * @return 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). @@ -45,23 +44,23 @@ public Optional> left() { * This task does not require a cluster to execute and does not support retries or notifications. * */ - public Optional> op() { - return Optional.ofNullable(this.op); + public Output op() { + return this.op; } /** * The right operand of the condition task. It could be a string value, job state, or parameter reference. * */ - @Import(name="right") - private @Nullable Output right; + @Import(name="right", required=true) + private Output right; /** * @return The right operand of the condition task. It could be a string value, job state, or parameter reference. * */ - public Optional> right() { - return Optional.ofNullable(this.right); + public Output right() { + return this.right; } private JobTaskForEachTaskTaskConditionTaskArgs() {} @@ -96,7 +95,7 @@ public Builder(JobTaskForEachTaskTaskConditionTaskArgs defaults) { * @return builder * */ - public Builder left(@Nullable Output left) { + public Builder left(Output left) { $.left = left; return this; } @@ -119,7 +118,7 @@ public Builder left(String left) { * @return builder * */ - public Builder op(@Nullable Output op) { + public Builder op(Output op) { $.op = op; return this; } @@ -142,7 +141,7 @@ public Builder op(String op) { * @return builder * */ - public Builder right(@Nullable Output right) { + public Builder right(Output right) { $.right = right; return this; } @@ -158,6 +157,15 @@ public Builder right(String right) { } public JobTaskForEachTaskTaskConditionTaskArgs build() { + if ($.left == null) { + throw new MissingRequiredPropertyException("JobTaskForEachTaskTaskConditionTaskArgs", "left"); + } + if ($.op == null) { + throw new MissingRequiredPropertyException("JobTaskForEachTaskTaskConditionTaskArgs", "op"); + } + if ($.right == null) { + throw new MissingRequiredPropertyException("JobTaskForEachTaskTaskConditionTaskArgs", "right"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskEmailNotificationsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskEmailNotificationsArgs.java index 18551fdf..d54c0476 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskEmailNotificationsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskEmailNotificationsArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Objects; @@ -16,6 +17,21 @@ public final class JobTaskForEachTaskTaskEmailNotificationsArgs extends com.pulu public static final JobTaskForEachTaskTaskEmailNotificationsArgs Empty = new JobTaskForEachTaskTaskEmailNotificationsArgs(); + /** + * (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + * + */ + @Import(name="noAlertForSkippedRuns") + private @Nullable Output noAlertForSkippedRuns; + + /** + * @return (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + * + */ + public Optional> noAlertForSkippedRuns() { + return Optional.ofNullable(this.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. * @@ -79,6 +95,7 @@ public Optional>> onSuccesses() { private JobTaskForEachTaskTaskEmailNotificationsArgs() {} private JobTaskForEachTaskTaskEmailNotificationsArgs(JobTaskForEachTaskTaskEmailNotificationsArgs $) { + this.noAlertForSkippedRuns = $.noAlertForSkippedRuns; this.onDurationWarningThresholdExceededs = $.onDurationWarningThresholdExceededs; this.onFailures = $.onFailures; this.onStarts = $.onStarts; @@ -103,6 +120,27 @@ public Builder(JobTaskForEachTaskTaskEmailNotificationsArgs defaults) { $ = new JobTaskForEachTaskTaskEmailNotificationsArgs(Objects.requireNonNull(defaults)); } + /** + * @param noAlertForSkippedRuns (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + * + * @return builder + * + */ + public Builder noAlertForSkippedRuns(@Nullable Output noAlertForSkippedRuns) { + $.noAlertForSkippedRuns = noAlertForSkippedRuns; + return this; + } + + /** + * @param noAlertForSkippedRuns (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + * + * @return builder + * + */ + public Builder noAlertForSkippedRuns(Boolean noAlertForSkippedRuns) { + return noAlertForSkippedRuns(Output.of(noAlertForSkippedRuns)); + } + /** * @param onDurationWarningThresholdExceededs (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. * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.java index 7aa2bc54..f7d235d4 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.java @@ -5,10 +5,9 @@ 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 JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs extends com.pulumi.resources.ResourceArgs { @@ -21,8 +20,8 @@ public final class JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningTh * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -30,8 +29,8 @@ public final class JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningTh * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs() {} @@ -66,7 +65,7 @@ public Builder(JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresh * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -84,6 +83,9 @@ public Builder id(String id) { } public JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs.java index 3e37eca8..b24c5724 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs.java @@ -5,10 +5,9 @@ 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 JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs extends com.pulumi.resources.ResourceArgs { @@ -21,8 +20,8 @@ public final class JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs exten * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -30,8 +29,8 @@ public final class JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs exten * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs() {} @@ -66,7 +65,7 @@ public Builder(JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs defaults) * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -84,6 +83,9 @@ public Builder id(String id) { } public JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs.java index 70b59fcc..2104b890 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs.java @@ -5,10 +5,9 @@ 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 JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs extends com.pulumi.resources.ResourceArgs { @@ -21,8 +20,8 @@ public final class JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs extends * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -30,8 +29,8 @@ public final class JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs extends * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs() {} @@ -66,7 +65,7 @@ public Builder(JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs defaults) { * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -84,6 +83,9 @@ public Builder id(String id) { } public JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs.java index 4927214c..0a541b5c 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs.java @@ -5,10 +5,9 @@ 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 JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs extends com.pulumi.resources.ResourceArgs { @@ -21,8 +20,8 @@ public final class JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs exten * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -30,8 +29,8 @@ public final class JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs exten * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs() {} @@ -66,7 +65,7 @@ public Builder(JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs defaults) * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -84,6 +83,9 @@ public Builder id(String id) { } public JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.java index 35f5b2d8..e21e04b8 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs.java @@ -5,10 +5,9 @@ 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 JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs extends com.pulumi.resources.ResourceArgs { @@ -21,8 +20,8 @@ public final class JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -30,8 +29,8 @@ public final class JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs() {} @@ -66,7 +65,7 @@ public Builder(JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -84,6 +83,9 @@ public Builder id(String id) { } public JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskWebhookNotificationsOnFailureArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskWebhookNotificationsOnFailureArgs.java index 8627969c..bbfd61c2 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskWebhookNotificationsOnFailureArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskWebhookNotificationsOnFailureArgs.java @@ -5,10 +5,9 @@ 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 JobTaskWebhookNotificationsOnFailureArgs extends com.pulumi.resources.ResourceArgs { @@ -21,8 +20,8 @@ public final class JobTaskWebhookNotificationsOnFailureArgs extends com.pulumi.r * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -30,8 +29,8 @@ public final class JobTaskWebhookNotificationsOnFailureArgs extends com.pulumi.r * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private JobTaskWebhookNotificationsOnFailureArgs() {} @@ -66,7 +65,7 @@ public Builder(JobTaskWebhookNotificationsOnFailureArgs defaults) { * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -84,6 +83,9 @@ public Builder id(String id) { } public JobTaskWebhookNotificationsOnFailureArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("JobTaskWebhookNotificationsOnFailureArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskWebhookNotificationsOnStartArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskWebhookNotificationsOnStartArgs.java index 9ab283f8..71abefcd 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskWebhookNotificationsOnStartArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskWebhookNotificationsOnStartArgs.java @@ -5,10 +5,9 @@ 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 JobTaskWebhookNotificationsOnStartArgs extends com.pulumi.resources.ResourceArgs { @@ -21,8 +20,8 @@ public final class JobTaskWebhookNotificationsOnStartArgs extends com.pulumi.res * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -30,8 +29,8 @@ public final class JobTaskWebhookNotificationsOnStartArgs extends com.pulumi.res * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private JobTaskWebhookNotificationsOnStartArgs() {} @@ -66,7 +65,7 @@ public Builder(JobTaskWebhookNotificationsOnStartArgs defaults) { * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -84,6 +83,9 @@ public Builder id(String id) { } public JobTaskWebhookNotificationsOnStartArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("JobTaskWebhookNotificationsOnStartArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskWebhookNotificationsOnSuccessArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskWebhookNotificationsOnSuccessArgs.java index 99289024..16ae0b7d 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskWebhookNotificationsOnSuccessArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskWebhookNotificationsOnSuccessArgs.java @@ -5,10 +5,9 @@ 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 JobTaskWebhookNotificationsOnSuccessArgs extends com.pulumi.resources.ResourceArgs { @@ -21,8 +20,8 @@ public final class JobTaskWebhookNotificationsOnSuccessArgs extends com.pulumi.r * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -30,8 +29,8 @@ public final class JobTaskWebhookNotificationsOnSuccessArgs extends com.pulumi.r * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private JobTaskWebhookNotificationsOnSuccessArgs() {} @@ -66,7 +65,7 @@ public Builder(JobTaskWebhookNotificationsOnSuccessArgs defaults) { * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -84,6 +83,9 @@ public Builder id(String id) { } public JobTaskWebhookNotificationsOnSuccessArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("JobTaskWebhookNotificationsOnSuccessArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTriggerArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTriggerArgs.java index 462d5a51..df9d67a9 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTriggerArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTriggerArgs.java @@ -6,7 +6,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.databricks.inputs.JobTriggerFileArrivalArgs; -import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.databricks.inputs.JobTriggerTableUpdateArgs; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -21,15 +21,15 @@ public final class JobTriggerArgs extends com.pulumi.resources.ResourceArgs { * 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: * */ - @Import(name="fileArrival", required=true) - private Output fileArrival; + @Import(name="fileArrival") + private @Nullable Output fileArrival; /** * @return 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: * */ - public Output fileArrival() { - return this.fileArrival; + public Optional> fileArrival() { + return Optional.ofNullable(this.fileArrival); } /** @@ -47,11 +47,27 @@ public Optional> pauseStatus() { return Optional.ofNullable(this.pauseStatus); } + /** + * configuration block to define a trigger for Table Update events consisting of following attributes: + * + */ + @Import(name="tableUpdate") + private @Nullable Output tableUpdate; + + /** + * @return configuration block to define a trigger for Table Update events consisting of following attributes: + * + */ + public Optional> tableUpdate() { + return Optional.ofNullable(this.tableUpdate); + } + private JobTriggerArgs() {} private JobTriggerArgs(JobTriggerArgs $) { this.fileArrival = $.fileArrival; this.pauseStatus = $.pauseStatus; + this.tableUpdate = $.tableUpdate; } public static Builder builder() { @@ -78,7 +94,7 @@ public Builder(JobTriggerArgs defaults) { * @return builder * */ - public Builder fileArrival(Output fileArrival) { + public Builder fileArrival(@Nullable Output fileArrival) { $.fileArrival = fileArrival; return this; } @@ -114,10 +130,28 @@ public Builder pauseStatus(String pauseStatus) { return pauseStatus(Output.of(pauseStatus)); } + /** + * @param tableUpdate configuration block to define a trigger for Table Update events consisting of following attributes: + * + * @return builder + * + */ + public Builder tableUpdate(@Nullable Output tableUpdate) { + $.tableUpdate = tableUpdate; + return this; + } + + /** + * @param tableUpdate configuration block to define a trigger for Table Update events consisting of following attributes: + * + * @return builder + * + */ + public Builder tableUpdate(JobTriggerTableUpdateArgs tableUpdate) { + return tableUpdate(Output.of(tableUpdate)); + } + public JobTriggerArgs build() { - if ($.fileArrival == null) { - throw new MissingRequiredPropertyException("JobTriggerArgs", "fileArrival"); - } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTriggerTableUpdateArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTriggerTableUpdateArgs.java new file mode 100644 index 00000000..79fe9fc9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTriggerTableUpdateArgs.java @@ -0,0 +1,210 @@ +// *** 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.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class JobTriggerTableUpdateArgs extends com.pulumi.resources.ResourceArgs { + + public static final JobTriggerTableUpdateArgs Empty = new JobTriggerTableUpdateArgs(); + + /** + * The table(s) condition based on which to trigger a job run. Valid values are `ANY_UPDATED` or `ALL_UPDATED`. + * + */ + @Import(name="condition") + private @Nullable Output condition; + + /** + * @return The table(s) condition based on which to trigger a job run. Valid values are `ANY_UPDATED` or `ALL_UPDATED`. + * + */ + public Optional> condition() { + return Optional.ofNullable(this.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. + * + */ + @Import(name="minTimeBetweenTriggersSeconds") + private @Nullable Output minTimeBetweenTriggersSeconds; + + /** + * @return 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. + * + */ + public Optional> minTimeBetweenTriggersSeconds() { + return Optional.ofNullable(this.minTimeBetweenTriggersSeconds); + } + + /** + * A list of Delta tables to monitor for changes. The table name must be in the format `catalog_name.schema_name.table_name`. + * + */ + @Import(name="tableNames", required=true) + private Output> tableNames; + + /** + * @return A list of Delta tables to monitor for changes. The table name must be in the format `catalog_name.schema_name.table_name`. + * + */ + public Output> tableNames() { + return this.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. + * + */ + @Import(name="waitAfterLastChangeSeconds") + private @Nullable Output waitAfterLastChangeSeconds; + + /** + * @return 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. + * + */ + public Optional> waitAfterLastChangeSeconds() { + return Optional.ofNullable(this.waitAfterLastChangeSeconds); + } + + private JobTriggerTableUpdateArgs() {} + + private JobTriggerTableUpdateArgs(JobTriggerTableUpdateArgs $) { + this.condition = $.condition; + this.minTimeBetweenTriggersSeconds = $.minTimeBetweenTriggersSeconds; + this.tableNames = $.tableNames; + this.waitAfterLastChangeSeconds = $.waitAfterLastChangeSeconds; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(JobTriggerTableUpdateArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private JobTriggerTableUpdateArgs $; + + public Builder() { + $ = new JobTriggerTableUpdateArgs(); + } + + public Builder(JobTriggerTableUpdateArgs defaults) { + $ = new JobTriggerTableUpdateArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param condition The table(s) condition based on which to trigger a job run. Valid values are `ANY_UPDATED` or `ALL_UPDATED`. + * + * @return builder + * + */ + public Builder condition(@Nullable Output condition) { + $.condition = condition; + return this; + } + + /** + * @param condition The table(s) condition based on which to trigger a job run. Valid values are `ANY_UPDATED` or `ALL_UPDATED`. + * + * @return builder + * + */ + public Builder condition(String condition) { + return condition(Output.of(condition)); + } + + /** + * @param minTimeBetweenTriggersSeconds 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 builder + * + */ + public Builder minTimeBetweenTriggersSeconds(@Nullable Output minTimeBetweenTriggersSeconds) { + $.minTimeBetweenTriggersSeconds = minTimeBetweenTriggersSeconds; + return this; + } + + /** + * @param minTimeBetweenTriggersSeconds 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 builder + * + */ + public Builder minTimeBetweenTriggersSeconds(Integer minTimeBetweenTriggersSeconds) { + return minTimeBetweenTriggersSeconds(Output.of(minTimeBetweenTriggersSeconds)); + } + + /** + * @param tableNames A list of Delta tables to monitor for changes. The table name must be in the format `catalog_name.schema_name.table_name`. + * + * @return builder + * + */ + public Builder tableNames(Output> tableNames) { + $.tableNames = tableNames; + return this; + } + + /** + * @param tableNames A list of Delta tables to monitor for changes. The table name must be in the format `catalog_name.schema_name.table_name`. + * + * @return builder + * + */ + public Builder tableNames(List tableNames) { + return tableNames(Output.of(tableNames)); + } + + /** + * @param tableNames A list of Delta tables to monitor for changes. The table name must be in the format `catalog_name.schema_name.table_name`. + * + * @return builder + * + */ + public Builder tableNames(String... tableNames) { + return tableNames(List.of(tableNames)); + } + + /** + * @param waitAfterLastChangeSeconds 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 builder + * + */ + public Builder waitAfterLastChangeSeconds(@Nullable Output waitAfterLastChangeSeconds) { + $.waitAfterLastChangeSeconds = waitAfterLastChangeSeconds; + return this; + } + + /** + * @param waitAfterLastChangeSeconds 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 builder + * + */ + public Builder waitAfterLastChangeSeconds(Integer waitAfterLastChangeSeconds) { + return waitAfterLastChangeSeconds(Output.of(waitAfterLastChangeSeconds)); + } + + public JobTriggerTableUpdateArgs build() { + if ($.tableNames == null) { + throw new MissingRequiredPropertyException("JobTriggerTableUpdateArgs", "tableNames"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobWebhookNotificationsOnDurationWarningThresholdExceededArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobWebhookNotificationsOnDurationWarningThresholdExceededArgs.java index 140997b1..532a5158 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobWebhookNotificationsOnDurationWarningThresholdExceededArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobWebhookNotificationsOnDurationWarningThresholdExceededArgs.java @@ -5,10 +5,9 @@ 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 JobWebhookNotificationsOnDurationWarningThresholdExceededArgs extends com.pulumi.resources.ResourceArgs { @@ -21,8 +20,8 @@ public final class JobWebhookNotificationsOnDurationWarningThresholdExceededArgs * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -30,8 +29,8 @@ public final class JobWebhookNotificationsOnDurationWarningThresholdExceededArgs * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private JobWebhookNotificationsOnDurationWarningThresholdExceededArgs() {} @@ -66,7 +65,7 @@ public Builder(JobWebhookNotificationsOnDurationWarningThresholdExceededArgs def * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -84,6 +83,9 @@ public Builder id(String id) { } public JobWebhookNotificationsOnDurationWarningThresholdExceededArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("JobWebhookNotificationsOnDurationWarningThresholdExceededArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobWebhookNotificationsOnFailureArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobWebhookNotificationsOnFailureArgs.java index 88a10175..d9d50ec0 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobWebhookNotificationsOnFailureArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobWebhookNotificationsOnFailureArgs.java @@ -5,10 +5,9 @@ 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 JobWebhookNotificationsOnFailureArgs extends com.pulumi.resources.ResourceArgs { @@ -21,8 +20,8 @@ public final class JobWebhookNotificationsOnFailureArgs extends com.pulumi.resou * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -30,8 +29,8 @@ public final class JobWebhookNotificationsOnFailureArgs extends com.pulumi.resou * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private JobWebhookNotificationsOnFailureArgs() {} @@ -66,7 +65,7 @@ public Builder(JobWebhookNotificationsOnFailureArgs defaults) { * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -84,6 +83,9 @@ public Builder id(String id) { } public JobWebhookNotificationsOnFailureArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("JobWebhookNotificationsOnFailureArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobWebhookNotificationsOnStartArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobWebhookNotificationsOnStartArgs.java index b0b2efac..9e918698 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobWebhookNotificationsOnStartArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobWebhookNotificationsOnStartArgs.java @@ -5,10 +5,9 @@ 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 JobWebhookNotificationsOnStartArgs extends com.pulumi.resources.ResourceArgs { @@ -21,8 +20,8 @@ public final class JobWebhookNotificationsOnStartArgs extends com.pulumi.resourc * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -30,8 +29,8 @@ public final class JobWebhookNotificationsOnStartArgs extends com.pulumi.resourc * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private JobWebhookNotificationsOnStartArgs() {} @@ -66,7 +65,7 @@ public Builder(JobWebhookNotificationsOnStartArgs defaults) { * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -84,6 +83,9 @@ public Builder id(String id) { } public JobWebhookNotificationsOnStartArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("JobWebhookNotificationsOnStartArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobWebhookNotificationsOnSuccessArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobWebhookNotificationsOnSuccessArgs.java index cbd06a71..d28b4c7c 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobWebhookNotificationsOnSuccessArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobWebhookNotificationsOnSuccessArgs.java @@ -5,10 +5,9 @@ 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 JobWebhookNotificationsOnSuccessArgs extends com.pulumi.resources.ResourceArgs { @@ -21,8 +20,8 @@ public final class JobWebhookNotificationsOnSuccessArgs extends com.pulumi.resou * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - @Import(name="id") - private @Nullable Output id; + @Import(name="id", required=true) + private Output id; /** * @return ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -30,8 +29,8 @@ public final class JobWebhookNotificationsOnSuccessArgs extends com.pulumi.resou * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional> id() { - return Optional.ofNullable(this.id); + public Output id() { + return this.id; } private JobWebhookNotificationsOnSuccessArgs() {} @@ -66,7 +65,7 @@ public Builder(JobWebhookNotificationsOnSuccessArgs defaults) { * @return builder * */ - public Builder id(@Nullable Output id) { + public Builder id(Output id) { $.id = id; return this; } @@ -84,6 +83,9 @@ public Builder id(String id) { } public JobWebhookNotificationsOnSuccessArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("JobWebhookNotificationsOnSuccessArgs", "id"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorCustomMetricArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorCustomMetricArgs.java new file mode 100644 index 00000000..4045145c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorCustomMetricArgs.java @@ -0,0 +1,242 @@ +// *** 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 LakehouseMonitorCustomMetricArgs extends com.pulumi.resources.ResourceArgs { + + public static final LakehouseMonitorCustomMetricArgs Empty = new LakehouseMonitorCustomMetricArgs(); + + /** + * [create metric definition]: https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition + * + */ + @Import(name="definition") + private @Nullable Output definition; + + /** + * @return [create metric definition]: https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition + * + */ + public Optional> definition() { + return Optional.ofNullable(this.definition); + } + + /** + * Columns on the monitored table to apply the custom metrics to. + * + */ + @Import(name="inputColumns") + private @Nullable Output> inputColumns; + + /** + * @return Columns on the monitored table to apply the custom metrics to. + * + */ + public Optional>> inputColumns() { + return Optional.ofNullable(this.inputColumns); + } + + /** + * Name of the custom metric. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Name of the custom metric. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The output type of the custom metric. + * + */ + @Import(name="outputDataType") + private @Nullable Output outputDataType; + + /** + * @return The output type of the custom metric. + * + */ + public Optional> outputDataType() { + return Optional.ofNullable(this.outputDataType); + } + + /** + * The type of the custom metric. + * + */ + @Import(name="type") + private @Nullable Output type; + + /** + * @return The type of the custom metric. + * + */ + public Optional> type() { + return Optional.ofNullable(this.type); + } + + private LakehouseMonitorCustomMetricArgs() {} + + private LakehouseMonitorCustomMetricArgs(LakehouseMonitorCustomMetricArgs $) { + this.definition = $.definition; + this.inputColumns = $.inputColumns; + this.name = $.name; + this.outputDataType = $.outputDataType; + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(LakehouseMonitorCustomMetricArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private LakehouseMonitorCustomMetricArgs $; + + public Builder() { + $ = new LakehouseMonitorCustomMetricArgs(); + } + + public Builder(LakehouseMonitorCustomMetricArgs defaults) { + $ = new LakehouseMonitorCustomMetricArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param definition [create metric definition]: https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition + * + * @return builder + * + */ + public Builder definition(@Nullable Output definition) { + $.definition = definition; + return this; + } + + /** + * @param definition [create metric definition]: https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition + * + * @return builder + * + */ + public Builder definition(String definition) { + return definition(Output.of(definition)); + } + + /** + * @param inputColumns Columns on the monitored table to apply the custom metrics to. + * + * @return builder + * + */ + public Builder inputColumns(@Nullable Output> inputColumns) { + $.inputColumns = inputColumns; + return this; + } + + /** + * @param inputColumns Columns on the monitored table to apply the custom metrics to. + * + * @return builder + * + */ + public Builder inputColumns(List inputColumns) { + return inputColumns(Output.of(inputColumns)); + } + + /** + * @param inputColumns Columns on the monitored table to apply the custom metrics to. + * + * @return builder + * + */ + public Builder inputColumns(String... inputColumns) { + return inputColumns(List.of(inputColumns)); + } + + /** + * @param name Name of the custom metric. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Name of the custom metric. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param outputDataType The output type of the custom metric. + * + * @return builder + * + */ + public Builder outputDataType(@Nullable Output outputDataType) { + $.outputDataType = outputDataType; + return this; + } + + /** + * @param outputDataType The output type of the custom metric. + * + * @return builder + * + */ + public Builder outputDataType(String outputDataType) { + return outputDataType(Output.of(outputDataType)); + } + + /** + * @param type The type of the custom metric. + * + * @return builder + * + */ + public Builder type(@Nullable Output type) { + $.type = type; + return this; + } + + /** + * @param type The type of the custom metric. + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + public LakehouseMonitorCustomMetricArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorDataClassificationConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorDataClassificationConfigArgs.java new file mode 100644 index 00000000..db8e26d6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorDataClassificationConfigArgs.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 LakehouseMonitorDataClassificationConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final LakehouseMonitorDataClassificationConfigArgs Empty = new LakehouseMonitorDataClassificationConfigArgs(); + + @Import(name="enabled") + private @Nullable Output enabled; + + public Optional> enabled() { + return Optional.ofNullable(this.enabled); + } + + private LakehouseMonitorDataClassificationConfigArgs() {} + + private LakehouseMonitorDataClassificationConfigArgs(LakehouseMonitorDataClassificationConfigArgs $) { + this.enabled = $.enabled; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(LakehouseMonitorDataClassificationConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private LakehouseMonitorDataClassificationConfigArgs $; + + public Builder() { + $ = new LakehouseMonitorDataClassificationConfigArgs(); + } + + public Builder(LakehouseMonitorDataClassificationConfigArgs defaults) { + $ = new LakehouseMonitorDataClassificationConfigArgs(Objects.requireNonNull(defaults)); + } + + public Builder enabled(@Nullable Output enabled) { + $.enabled = enabled; + return this; + } + + public Builder enabled(Boolean enabled) { + return enabled(Output.of(enabled)); + } + + public LakehouseMonitorDataClassificationConfigArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorInferenceLogArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorInferenceLogArgs.java new file mode 100644 index 00000000..4e0cefd2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorInferenceLogArgs.java @@ -0,0 +1,316 @@ +// *** 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 LakehouseMonitorInferenceLogArgs extends com.pulumi.resources.ResourceArgs { + + public static final LakehouseMonitorInferenceLogArgs Empty = new LakehouseMonitorInferenceLogArgs(); + + /** + * List of granularities to use when aggregating data into time windows based on their timestamp. + * + */ + @Import(name="granularities") + private @Nullable Output> granularities; + + /** + * @return List of granularities to use when aggregating data into time windows based on their timestamp. + * + */ + public Optional>> granularities() { + return Optional.ofNullable(this.granularities); + } + + /** + * Column of the model label + * + */ + @Import(name="labelCol") + private @Nullable Output labelCol; + + /** + * @return Column of the model label + * + */ + public Optional> labelCol() { + return Optional.ofNullable(this.labelCol); + } + + /** + * Column of the model id or version + * + */ + @Import(name="modelIdCol") + private @Nullable Output modelIdCol; + + /** + * @return Column of the model id or version + * + */ + public Optional> modelIdCol() { + return Optional.ofNullable(this.modelIdCol); + } + + /** + * Column of the model prediction + * + */ + @Import(name="predictionCol") + private @Nullable Output predictionCol; + + /** + * @return Column of the model prediction + * + */ + public Optional> predictionCol() { + return Optional.ofNullable(this.predictionCol); + } + + /** + * Column of the model prediction probabilities + * + */ + @Import(name="predictionProbaCol") + private @Nullable Output predictionProbaCol; + + /** + * @return Column of the model prediction probabilities + * + */ + public Optional> predictionProbaCol() { + return Optional.ofNullable(this.predictionProbaCol); + } + + /** + * Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + * + */ + @Import(name="problemType") + private @Nullable Output problemType; + + /** + * @return Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + * + */ + public Optional> problemType() { + return Optional.ofNullable(this.problemType); + } + + /** + * Column of the timestamp of predictions + * + */ + @Import(name="timestampCol") + private @Nullable Output timestampCol; + + /** + * @return Column of the timestamp of predictions + * + */ + public Optional> timestampCol() { + return Optional.ofNullable(this.timestampCol); + } + + private LakehouseMonitorInferenceLogArgs() {} + + private LakehouseMonitorInferenceLogArgs(LakehouseMonitorInferenceLogArgs $) { + this.granularities = $.granularities; + this.labelCol = $.labelCol; + this.modelIdCol = $.modelIdCol; + this.predictionCol = $.predictionCol; + this.predictionProbaCol = $.predictionProbaCol; + this.problemType = $.problemType; + this.timestampCol = $.timestampCol; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(LakehouseMonitorInferenceLogArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private LakehouseMonitorInferenceLogArgs $; + + public Builder() { + $ = new LakehouseMonitorInferenceLogArgs(); + } + + public Builder(LakehouseMonitorInferenceLogArgs defaults) { + $ = new LakehouseMonitorInferenceLogArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param granularities List of granularities to use when aggregating data into time windows based on their timestamp. + * + * @return builder + * + */ + public Builder granularities(@Nullable Output> granularities) { + $.granularities = granularities; + return this; + } + + /** + * @param granularities List of granularities to use when aggregating data into time windows based on their timestamp. + * + * @return builder + * + */ + public Builder granularities(List granularities) { + return granularities(Output.of(granularities)); + } + + /** + * @param granularities List of granularities to use when aggregating data into time windows based on their timestamp. + * + * @return builder + * + */ + public Builder granularities(String... granularities) { + return granularities(List.of(granularities)); + } + + /** + * @param labelCol Column of the model label + * + * @return builder + * + */ + public Builder labelCol(@Nullable Output labelCol) { + $.labelCol = labelCol; + return this; + } + + /** + * @param labelCol Column of the model label + * + * @return builder + * + */ + public Builder labelCol(String labelCol) { + return labelCol(Output.of(labelCol)); + } + + /** + * @param modelIdCol Column of the model id or version + * + * @return builder + * + */ + public Builder modelIdCol(@Nullable Output modelIdCol) { + $.modelIdCol = modelIdCol; + return this; + } + + /** + * @param modelIdCol Column of the model id or version + * + * @return builder + * + */ + public Builder modelIdCol(String modelIdCol) { + return modelIdCol(Output.of(modelIdCol)); + } + + /** + * @param predictionCol Column of the model prediction + * + * @return builder + * + */ + public Builder predictionCol(@Nullable Output predictionCol) { + $.predictionCol = predictionCol; + return this; + } + + /** + * @param predictionCol Column of the model prediction + * + * @return builder + * + */ + public Builder predictionCol(String predictionCol) { + return predictionCol(Output.of(predictionCol)); + } + + /** + * @param predictionProbaCol Column of the model prediction probabilities + * + * @return builder + * + */ + public Builder predictionProbaCol(@Nullable Output predictionProbaCol) { + $.predictionProbaCol = predictionProbaCol; + return this; + } + + /** + * @param predictionProbaCol Column of the model prediction probabilities + * + * @return builder + * + */ + public Builder predictionProbaCol(String predictionProbaCol) { + return predictionProbaCol(Output.of(predictionProbaCol)); + } + + /** + * @param problemType Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + * + * @return builder + * + */ + public Builder problemType(@Nullable Output problemType) { + $.problemType = problemType; + return this; + } + + /** + * @param problemType Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + * + * @return builder + * + */ + public Builder problemType(String problemType) { + return problemType(Output.of(problemType)); + } + + /** + * @param timestampCol Column of the timestamp of predictions + * + * @return builder + * + */ + public Builder timestampCol(@Nullable Output timestampCol) { + $.timestampCol = timestampCol; + return this; + } + + /** + * @param timestampCol Column of the timestamp of predictions + * + * @return builder + * + */ + public Builder timestampCol(String timestampCol) { + return timestampCol(Output.of(timestampCol)); + } + + public LakehouseMonitorInferenceLogArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorNotificationsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorNotificationsArgs.java new file mode 100644 index 00000000..150795c3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorNotificationsArgs.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 com.pulumi.databricks.inputs.LakehouseMonitorNotificationsOnFailureArgs; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class LakehouseMonitorNotificationsArgs extends com.pulumi.resources.ResourceArgs { + + public static final LakehouseMonitorNotificationsArgs Empty = new LakehouseMonitorNotificationsArgs(); + + @Import(name="onFailure") + private @Nullable Output onFailure; + + public Optional> onFailure() { + return Optional.ofNullable(this.onFailure); + } + + private LakehouseMonitorNotificationsArgs() {} + + private LakehouseMonitorNotificationsArgs(LakehouseMonitorNotificationsArgs $) { + this.onFailure = $.onFailure; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(LakehouseMonitorNotificationsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private LakehouseMonitorNotificationsArgs $; + + public Builder() { + $ = new LakehouseMonitorNotificationsArgs(); + } + + public Builder(LakehouseMonitorNotificationsArgs defaults) { + $ = new LakehouseMonitorNotificationsArgs(Objects.requireNonNull(defaults)); + } + + public Builder onFailure(@Nullable Output onFailure) { + $.onFailure = onFailure; + return this; + } + + public Builder onFailure(LakehouseMonitorNotificationsOnFailureArgs onFailure) { + return onFailure(Output.of(onFailure)); + } + + public LakehouseMonitorNotificationsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorNotificationsOnFailureArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorNotificationsOnFailureArgs.java new file mode 100644 index 00000000..fec3b850 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorNotificationsOnFailureArgs.java @@ -0,0 +1,68 @@ +// *** 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 LakehouseMonitorNotificationsOnFailureArgs extends com.pulumi.resources.ResourceArgs { + + public static final LakehouseMonitorNotificationsOnFailureArgs Empty = new LakehouseMonitorNotificationsOnFailureArgs(); + + @Import(name="emailAddresses") + private @Nullable Output> emailAddresses; + + public Optional>> emailAddresses() { + return Optional.ofNullable(this.emailAddresses); + } + + private LakehouseMonitorNotificationsOnFailureArgs() {} + + private LakehouseMonitorNotificationsOnFailureArgs(LakehouseMonitorNotificationsOnFailureArgs $) { + this.emailAddresses = $.emailAddresses; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(LakehouseMonitorNotificationsOnFailureArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private LakehouseMonitorNotificationsOnFailureArgs $; + + public Builder() { + $ = new LakehouseMonitorNotificationsOnFailureArgs(); + } + + public Builder(LakehouseMonitorNotificationsOnFailureArgs defaults) { + $ = new LakehouseMonitorNotificationsOnFailureArgs(Objects.requireNonNull(defaults)); + } + + public Builder emailAddresses(@Nullable Output> emailAddresses) { + $.emailAddresses = emailAddresses; + return this; + } + + public Builder emailAddresses(List emailAddresses) { + return emailAddresses(Output.of(emailAddresses)); + } + + public Builder emailAddresses(String... emailAddresses) { + return emailAddresses(List.of(emailAddresses)); + } + + public LakehouseMonitorNotificationsOnFailureArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorScheduleArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorScheduleArgs.java new file mode 100644 index 00000000..d203e0f6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorScheduleArgs.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 LakehouseMonitorScheduleArgs extends com.pulumi.resources.ResourceArgs { + + public static final LakehouseMonitorScheduleArgs Empty = new LakehouseMonitorScheduleArgs(); + + @Import(name="pauseStatus") + private @Nullable Output pauseStatus; + + public Optional> pauseStatus() { + return Optional.ofNullable(this.pauseStatus); + } + + @Import(name="quartzCronExpression") + private @Nullable Output quartzCronExpression; + + public Optional> quartzCronExpression() { + return Optional.ofNullable(this.quartzCronExpression); + } + + @Import(name="timezoneId") + private @Nullable Output timezoneId; + + public Optional> timezoneId() { + return Optional.ofNullable(this.timezoneId); + } + + private LakehouseMonitorScheduleArgs() {} + + private LakehouseMonitorScheduleArgs(LakehouseMonitorScheduleArgs $) { + this.pauseStatus = $.pauseStatus; + this.quartzCronExpression = $.quartzCronExpression; + this.timezoneId = $.timezoneId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(LakehouseMonitorScheduleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private LakehouseMonitorScheduleArgs $; + + public Builder() { + $ = new LakehouseMonitorScheduleArgs(); + } + + public Builder(LakehouseMonitorScheduleArgs defaults) { + $ = new LakehouseMonitorScheduleArgs(Objects.requireNonNull(defaults)); + } + + public Builder pauseStatus(@Nullable Output pauseStatus) { + $.pauseStatus = pauseStatus; + return this; + } + + public Builder pauseStatus(String pauseStatus) { + return pauseStatus(Output.of(pauseStatus)); + } + + public Builder quartzCronExpression(@Nullable Output quartzCronExpression) { + $.quartzCronExpression = quartzCronExpression; + return this; + } + + public Builder quartzCronExpression(String quartzCronExpression) { + return quartzCronExpression(Output.of(quartzCronExpression)); + } + + public Builder timezoneId(@Nullable Output timezoneId) { + $.timezoneId = timezoneId; + return this; + } + + public Builder timezoneId(String timezoneId) { + return timezoneId(Output.of(timezoneId)); + } + + public LakehouseMonitorScheduleArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorSnapshotArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorSnapshotArgs.java new file mode 100644 index 00000000..a4249ec3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorSnapshotArgs.java @@ -0,0 +1,28 @@ +// *** 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; + + + + +public final class LakehouseMonitorSnapshotArgs extends com.pulumi.resources.ResourceArgs { + + public static final LakehouseMonitorSnapshotArgs Empty = new LakehouseMonitorSnapshotArgs(); + + public static Builder builder() { + return new Builder(); + } + + public static final class Builder { + private LakehouseMonitorSnapshotArgs $; + + public Builder() { + $ = new LakehouseMonitorSnapshotArgs(); + } + public LakehouseMonitorSnapshotArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorState.java new file mode 100644 index 00000000..221686fc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorState.java @@ -0,0 +1,799 @@ +// *** 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.LakehouseMonitorCustomMetricArgs; +import com.pulumi.databricks.inputs.LakehouseMonitorDataClassificationConfigArgs; +import com.pulumi.databricks.inputs.LakehouseMonitorInferenceLogArgs; +import com.pulumi.databricks.inputs.LakehouseMonitorNotificationsArgs; +import com.pulumi.databricks.inputs.LakehouseMonitorScheduleArgs; +import com.pulumi.databricks.inputs.LakehouseMonitorSnapshotArgs; +import com.pulumi.databricks.inputs.LakehouseMonitorTimeSeriesArgs; +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 LakehouseMonitorState extends com.pulumi.resources.ResourceArgs { + + public static final LakehouseMonitorState Empty = new LakehouseMonitorState(); + + /** + * The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + * + */ + @Import(name="assetsDir") + private @Nullable Output assetsDir; + + /** + * @return The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + * + */ + public Optional> assetsDir() { + return Optional.ofNullable(this.assetsDir); + } + + /** + * Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + * table. + * + */ + @Import(name="baselineTableName") + private @Nullable Output baselineTableName; + + /** + * @return Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + * table. + * + */ + public Optional> baselineTableName() { + return Optional.ofNullable(this.baselineTableName); + } + + /** + * Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + * + */ + @Import(name="customMetrics") + private @Nullable Output> customMetrics; + + /** + * @return Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + * + */ + public Optional>> customMetrics() { + return Optional.ofNullable(this.customMetrics); + } + + /** + * The ID of the generated dashboard. + * + */ + @Import(name="dashboardId") + private @Nullable Output dashboardId; + + /** + * @return The ID of the generated dashboard. + * + */ + public Optional> dashboardId() { + return Optional.ofNullable(this.dashboardId); + } + + /** + * The data classification config for the monitor + * + */ + @Import(name="dataClassificationConfig") + private @Nullable Output dataClassificationConfig; + + /** + * @return The data classification config for the monitor + * + */ + public Optional> dataClassificationConfig() { + return Optional.ofNullable(this.dataClassificationConfig); + } + + /** + * The full name of the drift metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + * + */ + @Import(name="driftMetricsTableName") + private @Nullable Output driftMetricsTableName; + + /** + * @return The full name of the drift metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + * + */ + public Optional> driftMetricsTableName() { + return Optional.ofNullable(this.driftMetricsTableName); + } + + /** + * Configuration for the inference log monitor + * + */ + @Import(name="inferenceLog") + private @Nullable Output inferenceLog; + + /** + * @return Configuration for the inference log monitor + * + */ + public Optional> inferenceLog() { + return Optional.ofNullable(this.inferenceLog); + } + + @Import(name="latestMonitorFailureMsg") + private @Nullable Output latestMonitorFailureMsg; + + public Optional> latestMonitorFailureMsg() { + return Optional.ofNullable(this.latestMonitorFailureMsg); + } + + /** + * The version of the monitor config (e.g. 1,2,3). If negative, the monitor may be corrupted + * + */ + @Import(name="monitorVersion") + private @Nullable Output monitorVersion; + + /** + * @return The version of the monitor config (e.g. 1,2,3). If negative, the monitor may be corrupted + * + */ + public Optional> monitorVersion() { + return Optional.ofNullable(this.monitorVersion); + } + + /** + * The notification settings for the monitor + * + */ + @Import(name="notifications") + private @Nullable Output notifications; + + /** + * @return The notification settings for the monitor + * + */ + public Optional> notifications() { + return Optional.ofNullable(this.notifications); + } + + /** + * Schema where output metric tables are created + * + */ + @Import(name="outputSchemaName") + private @Nullable Output outputSchemaName; + + /** + * @return Schema where output metric tables are created + * + */ + public Optional> outputSchemaName() { + return Optional.ofNullable(this.outputSchemaName); + } + + /** + * The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + * + */ + @Import(name="profileMetricsTableName") + private @Nullable Output profileMetricsTableName; + + /** + * @return The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + * + */ + public Optional> profileMetricsTableName() { + return Optional.ofNullable(this.profileMetricsTableName); + } + + /** + * The schedule for automatically updating and refreshing metric tables. + * + */ + @Import(name="schedule") + private @Nullable Output schedule; + + /** + * @return The schedule for automatically updating and refreshing metric tables. + * + */ + public Optional> schedule() { + return Optional.ofNullable(this.schedule); + } + + /** + * Whether to skip creating a default dashboard summarizing data quality metrics. + * + */ + @Import(name="skipBuiltinDashboard") + private @Nullable Output skipBuiltinDashboard; + + /** + * @return Whether to skip creating a default dashboard summarizing data quality metrics. + * + */ + public Optional> skipBuiltinDashboard() { + return Optional.ofNullable(this.skipBuiltinDashboard); + } + + /** + * List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + * + */ + @Import(name="slicingExprs") + private @Nullable Output> slicingExprs; + + /** + * @return List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + * + */ + public Optional>> slicingExprs() { + return Optional.ofNullable(this.slicingExprs); + } + + /** + * Configuration for monitoring snapshot tables. + * + */ + @Import(name="snapshot") + private @Nullable Output snapshot; + + /** + * @return Configuration for monitoring snapshot tables. + * + */ + public Optional> snapshot() { + return Optional.ofNullable(this.snapshot); + } + + /** + * Status of the Monitor + * + */ + @Import(name="status") + private @Nullable Output status; + + /** + * @return Status of the Monitor + * + */ + public Optional> status() { + return Optional.ofNullable(this.status); + } + + /** + * The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + * + */ + @Import(name="tableName") + private @Nullable Output tableName; + + /** + * @return The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + * + */ + public Optional> tableName() { + return Optional.ofNullable(this.tableName); + } + + /** + * Configuration for monitoring timeseries tables. + * + */ + @Import(name="timeSeries") + private @Nullable Output timeSeries; + + /** + * @return Configuration for monitoring timeseries tables. + * + */ + public Optional> timeSeries() { + return Optional.ofNullable(this.timeSeries); + } + + /** + * Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + * + */ + @Import(name="warehouseId") + private @Nullable Output warehouseId; + + /** + * @return Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + * + */ + public Optional> warehouseId() { + return Optional.ofNullable(this.warehouseId); + } + + private LakehouseMonitorState() {} + + private LakehouseMonitorState(LakehouseMonitorState $) { + this.assetsDir = $.assetsDir; + this.baselineTableName = $.baselineTableName; + this.customMetrics = $.customMetrics; + this.dashboardId = $.dashboardId; + this.dataClassificationConfig = $.dataClassificationConfig; + this.driftMetricsTableName = $.driftMetricsTableName; + this.inferenceLog = $.inferenceLog; + this.latestMonitorFailureMsg = $.latestMonitorFailureMsg; + this.monitorVersion = $.monitorVersion; + this.notifications = $.notifications; + this.outputSchemaName = $.outputSchemaName; + this.profileMetricsTableName = $.profileMetricsTableName; + this.schedule = $.schedule; + this.skipBuiltinDashboard = $.skipBuiltinDashboard; + this.slicingExprs = $.slicingExprs; + this.snapshot = $.snapshot; + this.status = $.status; + this.tableName = $.tableName; + this.timeSeries = $.timeSeries; + this.warehouseId = $.warehouseId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(LakehouseMonitorState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private LakehouseMonitorState $; + + public Builder() { + $ = new LakehouseMonitorState(); + } + + public Builder(LakehouseMonitorState defaults) { + $ = new LakehouseMonitorState(Objects.requireNonNull(defaults)); + } + + /** + * @param assetsDir The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + * + * @return builder + * + */ + public Builder assetsDir(@Nullable Output assetsDir) { + $.assetsDir = assetsDir; + return this; + } + + /** + * @param assetsDir The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + * + * @return builder + * + */ + public Builder assetsDir(String assetsDir) { + return assetsDir(Output.of(assetsDir)); + } + + /** + * @param baselineTableName Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + * table. + * + * @return builder + * + */ + public Builder baselineTableName(@Nullable Output baselineTableName) { + $.baselineTableName = baselineTableName; + return this; + } + + /** + * @param baselineTableName Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + * table. + * + * @return builder + * + */ + public Builder baselineTableName(String baselineTableName) { + return baselineTableName(Output.of(baselineTableName)); + } + + /** + * @param customMetrics Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + * + * @return builder + * + */ + public Builder customMetrics(@Nullable Output> customMetrics) { + $.customMetrics = customMetrics; + return this; + } + + /** + * @param customMetrics Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + * + * @return builder + * + */ + public Builder customMetrics(List customMetrics) { + return customMetrics(Output.of(customMetrics)); + } + + /** + * @param customMetrics Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + * + * @return builder + * + */ + public Builder customMetrics(LakehouseMonitorCustomMetricArgs... customMetrics) { + return customMetrics(List.of(customMetrics)); + } + + /** + * @param dashboardId The ID of the generated dashboard. + * + * @return builder + * + */ + public Builder dashboardId(@Nullable Output dashboardId) { + $.dashboardId = dashboardId; + return this; + } + + /** + * @param dashboardId The ID of the generated dashboard. + * + * @return builder + * + */ + public Builder dashboardId(String dashboardId) { + return dashboardId(Output.of(dashboardId)); + } + + /** + * @param dataClassificationConfig The data classification config for the monitor + * + * @return builder + * + */ + public Builder dataClassificationConfig(@Nullable Output dataClassificationConfig) { + $.dataClassificationConfig = dataClassificationConfig; + return this; + } + + /** + * @param dataClassificationConfig The data classification config for the monitor + * + * @return builder + * + */ + public Builder dataClassificationConfig(LakehouseMonitorDataClassificationConfigArgs dataClassificationConfig) { + return dataClassificationConfig(Output.of(dataClassificationConfig)); + } + + /** + * @param driftMetricsTableName The full name of the drift metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + * + * @return builder + * + */ + public Builder driftMetricsTableName(@Nullable Output driftMetricsTableName) { + $.driftMetricsTableName = driftMetricsTableName; + return this; + } + + /** + * @param driftMetricsTableName The full name of the drift metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + * + * @return builder + * + */ + public Builder driftMetricsTableName(String driftMetricsTableName) { + return driftMetricsTableName(Output.of(driftMetricsTableName)); + } + + /** + * @param inferenceLog Configuration for the inference log monitor + * + * @return builder + * + */ + public Builder inferenceLog(@Nullable Output inferenceLog) { + $.inferenceLog = inferenceLog; + return this; + } + + /** + * @param inferenceLog Configuration for the inference log monitor + * + * @return builder + * + */ + public Builder inferenceLog(LakehouseMonitorInferenceLogArgs inferenceLog) { + return inferenceLog(Output.of(inferenceLog)); + } + + public Builder latestMonitorFailureMsg(@Nullable Output latestMonitorFailureMsg) { + $.latestMonitorFailureMsg = latestMonitorFailureMsg; + return this; + } + + public Builder latestMonitorFailureMsg(String latestMonitorFailureMsg) { + return latestMonitorFailureMsg(Output.of(latestMonitorFailureMsg)); + } + + /** + * @param monitorVersion The version of the monitor config (e.g. 1,2,3). If negative, the monitor may be corrupted + * + * @return builder + * + */ + public Builder monitorVersion(@Nullable Output monitorVersion) { + $.monitorVersion = monitorVersion; + return this; + } + + /** + * @param monitorVersion The version of the monitor config (e.g. 1,2,3). If negative, the monitor may be corrupted + * + * @return builder + * + */ + public Builder monitorVersion(String monitorVersion) { + return monitorVersion(Output.of(monitorVersion)); + } + + /** + * @param notifications The notification settings for the monitor + * + * @return builder + * + */ + public Builder notifications(@Nullable Output notifications) { + $.notifications = notifications; + return this; + } + + /** + * @param notifications The notification settings for the monitor + * + * @return builder + * + */ + public Builder notifications(LakehouseMonitorNotificationsArgs notifications) { + return notifications(Output.of(notifications)); + } + + /** + * @param outputSchemaName Schema where output metric tables are created + * + * @return builder + * + */ + public Builder outputSchemaName(@Nullable Output outputSchemaName) { + $.outputSchemaName = outputSchemaName; + return this; + } + + /** + * @param outputSchemaName Schema where output metric tables are created + * + * @return builder + * + */ + public Builder outputSchemaName(String outputSchemaName) { + return outputSchemaName(Output.of(outputSchemaName)); + } + + /** + * @param profileMetricsTableName The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + * + * @return builder + * + */ + public Builder profileMetricsTableName(@Nullable Output profileMetricsTableName) { + $.profileMetricsTableName = profileMetricsTableName; + return this; + } + + /** + * @param profileMetricsTableName The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + * + * @return builder + * + */ + public Builder profileMetricsTableName(String profileMetricsTableName) { + return profileMetricsTableName(Output.of(profileMetricsTableName)); + } + + /** + * @param schedule The schedule for automatically updating and refreshing metric tables. + * + * @return builder + * + */ + public Builder schedule(@Nullable Output schedule) { + $.schedule = schedule; + return this; + } + + /** + * @param schedule The schedule for automatically updating and refreshing metric tables. + * + * @return builder + * + */ + public Builder schedule(LakehouseMonitorScheduleArgs schedule) { + return schedule(Output.of(schedule)); + } + + /** + * @param skipBuiltinDashboard Whether to skip creating a default dashboard summarizing data quality metrics. + * + * @return builder + * + */ + public Builder skipBuiltinDashboard(@Nullable Output skipBuiltinDashboard) { + $.skipBuiltinDashboard = skipBuiltinDashboard; + return this; + } + + /** + * @param skipBuiltinDashboard Whether to skip creating a default dashboard summarizing data quality metrics. + * + * @return builder + * + */ + public Builder skipBuiltinDashboard(Boolean skipBuiltinDashboard) { + return skipBuiltinDashboard(Output.of(skipBuiltinDashboard)); + } + + /** + * @param slicingExprs List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + * + * @return builder + * + */ + public Builder slicingExprs(@Nullable Output> slicingExprs) { + $.slicingExprs = slicingExprs; + return this; + } + + /** + * @param slicingExprs List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + * + * @return builder + * + */ + public Builder slicingExprs(List slicingExprs) { + return slicingExprs(Output.of(slicingExprs)); + } + + /** + * @param slicingExprs List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + * + * @return builder + * + */ + public Builder slicingExprs(String... slicingExprs) { + return slicingExprs(List.of(slicingExprs)); + } + + /** + * @param snapshot Configuration for monitoring snapshot tables. + * + * @return builder + * + */ + public Builder snapshot(@Nullable Output snapshot) { + $.snapshot = snapshot; + return this; + } + + /** + * @param snapshot Configuration for monitoring snapshot tables. + * + * @return builder + * + */ + public Builder snapshot(LakehouseMonitorSnapshotArgs snapshot) { + return snapshot(Output.of(snapshot)); + } + + /** + * @param status Status of the Monitor + * + * @return builder + * + */ + public Builder status(@Nullable Output status) { + $.status = status; + return this; + } + + /** + * @param status Status of the Monitor + * + * @return builder + * + */ + public Builder status(String status) { + return status(Output.of(status)); + } + + /** + * @param tableName The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + * + * @return builder + * + */ + public Builder tableName(@Nullable Output tableName) { + $.tableName = tableName; + return this; + } + + /** + * @param tableName The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + * + * @return builder + * + */ + public Builder tableName(String tableName) { + return tableName(Output.of(tableName)); + } + + /** + * @param timeSeries Configuration for monitoring timeseries tables. + * + * @return builder + * + */ + public Builder timeSeries(@Nullable Output timeSeries) { + $.timeSeries = timeSeries; + return this; + } + + /** + * @param timeSeries Configuration for monitoring timeseries tables. + * + * @return builder + * + */ + public Builder timeSeries(LakehouseMonitorTimeSeriesArgs timeSeries) { + return timeSeries(Output.of(timeSeries)); + } + + /** + * @param warehouseId Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + * + * @return builder + * + */ + public Builder warehouseId(@Nullable Output warehouseId) { + $.warehouseId = warehouseId; + return this; + } + + /** + * @param warehouseId Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + * + * @return builder + * + */ + public Builder warehouseId(String warehouseId) { + return warehouseId(Output.of(warehouseId)); + } + + public LakehouseMonitorState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorTimeSeriesArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorTimeSeriesArgs.java new file mode 100644 index 00000000..df14c015 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/LakehouseMonitorTimeSeriesArgs.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 LakehouseMonitorTimeSeriesArgs extends com.pulumi.resources.ResourceArgs { + + public static final LakehouseMonitorTimeSeriesArgs Empty = new LakehouseMonitorTimeSeriesArgs(); + + /** + * List of granularities to use when aggregating data into time windows based on their timestamp. + * + */ + @Import(name="granularities") + private @Nullable Output> granularities; + + /** + * @return List of granularities to use when aggregating data into time windows based on their timestamp. + * + */ + public Optional>> granularities() { + return Optional.ofNullable(this.granularities); + } + + /** + * Column of the timestamp of predictions + * + */ + @Import(name="timestampCol") + private @Nullable Output timestampCol; + + /** + * @return Column of the timestamp of predictions + * + */ + public Optional> timestampCol() { + return Optional.ofNullable(this.timestampCol); + } + + private LakehouseMonitorTimeSeriesArgs() {} + + private LakehouseMonitorTimeSeriesArgs(LakehouseMonitorTimeSeriesArgs $) { + this.granularities = $.granularities; + this.timestampCol = $.timestampCol; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(LakehouseMonitorTimeSeriesArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private LakehouseMonitorTimeSeriesArgs $; + + public Builder() { + $ = new LakehouseMonitorTimeSeriesArgs(); + } + + public Builder(LakehouseMonitorTimeSeriesArgs defaults) { + $ = new LakehouseMonitorTimeSeriesArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param granularities List of granularities to use when aggregating data into time windows based on their timestamp. + * + * @return builder + * + */ + public Builder granularities(@Nullable Output> granularities) { + $.granularities = granularities; + return this; + } + + /** + * @param granularities List of granularities to use when aggregating data into time windows based on their timestamp. + * + * @return builder + * + */ + public Builder granularities(List granularities) { + return granularities(Output.of(granularities)); + } + + /** + * @param granularities List of granularities to use when aggregating data into time windows based on their timestamp. + * + * @return builder + * + */ + public Builder granularities(String... granularities) { + return granularities(List.of(granularities)); + } + + /** + * @param timestampCol Column of the timestamp of predictions + * + * @return builder + * + */ + public Builder timestampCol(@Nullable Output timestampCol) { + $.timestampCol = timestampCol; + return this; + } + + /** + * @param timestampCol Column of the timestamp of predictions + * + * @return builder + * + */ + public Builder timestampCol(String timestampCol) { + return timestampCol(Output.of(timestampCol)); + } + + public LakehouseMonitorTimeSeriesArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigArgs.java index 9be52a3c..1056da0f 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigArgs.java @@ -6,6 +6,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.databricks.inputs.ModelServingConfigAutoCaptureConfigArgs; +import com.pulumi.databricks.inputs.ModelServingConfigServedEntityArgs; import com.pulumi.databricks.inputs.ModelServingConfigServedModelArgs; import com.pulumi.databricks.inputs.ModelServingConfigTrafficConfigArgs; import java.util.List; @@ -18,24 +19,55 @@ public final class ModelServingConfigArgs extends com.pulumi.resources.ResourceA public static final ModelServingConfigArgs Empty = new ModelServingConfigArgs(); + /** + * Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. + * + */ @Import(name="autoCaptureConfig") private @Nullable Output autoCaptureConfig; + /** + * @return Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. + * + */ public Optional> autoCaptureConfig() { return Optional.ofNullable(this.autoCaptureConfig); } + /** + * A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. + * + */ + @Import(name="servedEntities") + private @Nullable Output> servedEntities; + + /** + * @return A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. + * + */ + public Optional>> servedEntities() { + return Optional.ofNullable(this.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'. + * */ + @Deprecated /* Please use 'config.served_entities' instead of 'config.served_models'. */ @Import(name="servedModels") private @Nullable Output> servedModels; /** * @return 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'. + * */ + @Deprecated /* Please use 'config.served_entities' instead of 'config.served_models'. */ public Optional>> servedModels() { return Optional.ofNullable(this.servedModels); } @@ -59,6 +91,7 @@ private ModelServingConfigArgs() {} private ModelServingConfigArgs(ModelServingConfigArgs $) { this.autoCaptureConfig = $.autoCaptureConfig; + this.servedEntities = $.servedEntities; this.servedModels = $.servedModels; this.trafficConfig = $.trafficConfig; } @@ -81,21 +114,68 @@ public Builder(ModelServingConfigArgs defaults) { $ = new ModelServingConfigArgs(Objects.requireNonNull(defaults)); } + /** + * @param autoCaptureConfig Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. + * + * @return builder + * + */ public Builder autoCaptureConfig(@Nullable Output autoCaptureConfig) { $.autoCaptureConfig = autoCaptureConfig; return this; } + /** + * @param autoCaptureConfig Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. + * + * @return builder + * + */ public Builder autoCaptureConfig(ModelServingConfigAutoCaptureConfigArgs autoCaptureConfig) { return autoCaptureConfig(Output.of(autoCaptureConfig)); } + /** + * @param servedEntities A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. + * + * @return builder + * + */ + public Builder servedEntities(@Nullable Output> servedEntities) { + $.servedEntities = servedEntities; + return this; + } + + /** + * @param servedEntities A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. + * + * @return builder + * + */ + public Builder servedEntities(List servedEntities) { + return servedEntities(Output.of(servedEntities)); + } + + /** + * @param servedEntities A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. + * + * @return builder + * + */ + public Builder servedEntities(ModelServingConfigServedEntityArgs... servedEntities) { + return servedEntities(List.of(servedEntities)); + } + /** * @param servedModels Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. * * @return builder * + * @deprecated + * Please use 'config.served_entities' instead of 'config.served_models'. + * */ + @Deprecated /* Please use 'config.served_entities' instead of 'config.served_models'. */ public Builder servedModels(@Nullable Output> servedModels) { $.servedModels = servedModels; return this; @@ -106,7 +186,11 @@ public Builder servedModels(@Nullable Output servedModels) { return servedModels(Output.of(servedModels)); } @@ -116,7 +200,11 @@ public Builder servedModels(List servedModels * * @return builder * + * @deprecated + * Please use 'config.served_entities' instead of 'config.served_models'. + * */ + @Deprecated /* Please use 'config.served_entities' instead of 'config.served_models'. */ public Builder servedModels(ModelServingConfigServedModelArgs... servedModels) { return servedModels(List.of(servedModels)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigAutoCaptureConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigAutoCaptureConfigArgs.java index f417c244..4c5c0c05 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigAutoCaptureConfigArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigAutoCaptureConfigArgs.java @@ -16,30 +16,62 @@ public final class ModelServingConfigAutoCaptureConfigArgs extends com.pulumi.re public static final ModelServingConfigAutoCaptureConfigArgs Empty = new ModelServingConfigAutoCaptureConfigArgs(); + /** + * The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. + * + */ @Import(name="catalogName") private @Nullable Output catalogName; + /** + * @return The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. + * + */ public Optional> catalogName() { return Optional.ofNullable(this.catalogName); } + /** + * If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable again. + * + */ @Import(name="enabled") private @Nullable Output enabled; + /** + * @return If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable again. + * + */ public Optional> enabled() { return Optional.ofNullable(this.enabled); } + /** + * The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + * + */ @Import(name="schemaName") private @Nullable Output schemaName; + /** + * @return The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + * + */ public Optional> schemaName() { return Optional.ofNullable(this.schemaName); } + /** + * The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. + * + */ @Import(name="tableNamePrefix") private @Nullable Output tableNamePrefix; + /** + * @return The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. + * + */ public Optional> tableNamePrefix() { return Optional.ofNullable(this.tableNamePrefix); } @@ -71,38 +103,86 @@ public Builder(ModelServingConfigAutoCaptureConfigArgs defaults) { $ = new ModelServingConfigAutoCaptureConfigArgs(Objects.requireNonNull(defaults)); } + /** + * @param catalogName The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. + * + * @return builder + * + */ public Builder catalogName(@Nullable Output catalogName) { $.catalogName = catalogName; return this; } + /** + * @param catalogName The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. + * + * @return builder + * + */ public Builder catalogName(String catalogName) { return catalogName(Output.of(catalogName)); } + /** + * @param enabled If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable again. + * + * @return builder + * + */ public Builder enabled(@Nullable Output enabled) { $.enabled = enabled; return this; } + /** + * @param enabled If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable again. + * + * @return builder + * + */ public Builder enabled(Boolean enabled) { return enabled(Output.of(enabled)); } + /** + * @param schemaName The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + * + * @return builder + * + */ public Builder schemaName(@Nullable Output schemaName) { $.schemaName = schemaName; return this; } + /** + * @param schemaName The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + * + * @return builder + * + */ public Builder schemaName(String schemaName) { return schemaName(Output.of(schemaName)); } + /** + * @param tableNamePrefix The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. + * + * @return builder + * + */ public Builder tableNamePrefix(@Nullable Output tableNamePrefix) { $.tableNamePrefix = tableNamePrefix; return this; } + /** + * @param tableNamePrefix The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. + * + * @return builder + * + */ public Builder tableNamePrefix(String tableNamePrefix) { return tableNamePrefix(Output.of(tableNamePrefix)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityArgs.java new file mode 100644 index 00000000..c48525a6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityArgs.java @@ -0,0 +1,458 @@ +// *** 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.ModelServingConfigServedEntityExternalModelArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.Object; +import java.lang.String; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ModelServingConfigServedEntityArgs extends com.pulumi.resources.ResourceArgs { + + public static final ModelServingConfigServedEntityArgs Empty = new ModelServingConfigServedEntityArgs(); + + /** + * 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`. + * + */ + @Import(name="entityName") + private @Nullable Output entityName; + + /** + * @return 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`. + * + */ + public Optional> entityName() { + return Optional.ofNullable(this.entityName); + } + + /** + * The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. + * + */ + @Import(name="entityVersion") + private @Nullable Output entityVersion; + + /** + * @return The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. + * + */ + public Optional> entityVersion() { + return Optional.ofNullable(this.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 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}}"}``` + * + */ + @Import(name="environmentVars") + private @Nullable Output> environmentVars; + + /** + * @return 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 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}}"}``` + * + */ + public Optional>> environmentVars() { + return Optional.ofNullable(this.environmentVars); + } + + /** + * 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. For an existing endpoint with `external_model`, it 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. + * + */ + @Import(name="externalModel") + private @Nullable Output externalModel; + + /** + * @return 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. For an existing endpoint with `external_model`, it 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. + * + */ + public Optional> externalModel() { + return Optional.ofNullable(this.externalModel); + } + + /** + * ARN of the instance profile that the served entity uses to access AWS resources. + * + */ + @Import(name="instanceProfileArn") + private @Nullable Output instanceProfileArn; + + /** + * @return ARN of the instance profile that the served entity uses to access AWS resources. + * + */ + public Optional> instanceProfileArn() { + return Optional.ofNullable(this.instanceProfileArn); + } + + /** + * The maximum tokens per second that the endpoint can scale up to. + * + */ + @Import(name="maxProvisionedThroughput") + private @Nullable Output maxProvisionedThroughput; + + /** + * @return The maximum tokens per second that the endpoint can scale up to. + * + */ + public Optional> maxProvisionedThroughput() { + return Optional.ofNullable(this.maxProvisionedThroughput); + } + + /** + * The minimum tokens per second that the endpoint can scale down to. + * + */ + @Import(name="minProvisionedThroughput") + private @Nullable Output minProvisionedThroughput; + + /** + * @return The minimum tokens per second that the endpoint can scale down to. + * + */ + public Optional> minProvisionedThroughput() { + return Optional.ofNullable(this.minProvisionedThroughput); + } + + /** + * The name of the external model. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the external model. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Whether the compute resources for the served entity should scale down to zero. + * + */ + @Import(name="scaleToZeroEnabled") + private @Nullable Output scaleToZeroEnabled; + + /** + * @return Whether the compute resources for the served entity should scale down to zero. + * + */ + public Optional> scaleToZeroEnabled() { + return Optional.ofNullable(this.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. + * + */ + @Import(name="workloadSize") + private @Nullable Output workloadSize; + + /** + * @return 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. + * + */ + public Optional> workloadSize() { + return Optional.ofNullable(this.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). + * + */ + @Import(name="workloadType") + private @Nullable Output workloadType; + + /** + * @return 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). + * + */ + public Optional> workloadType() { + return Optional.ofNullable(this.workloadType); + } + + private ModelServingConfigServedEntityArgs() {} + + private ModelServingConfigServedEntityArgs(ModelServingConfigServedEntityArgs $) { + this.entityName = $.entityName; + this.entityVersion = $.entityVersion; + this.environmentVars = $.environmentVars; + this.externalModel = $.externalModel; + this.instanceProfileArn = $.instanceProfileArn; + this.maxProvisionedThroughput = $.maxProvisionedThroughput; + this.minProvisionedThroughput = $.minProvisionedThroughput; + this.name = $.name; + this.scaleToZeroEnabled = $.scaleToZeroEnabled; + this.workloadSize = $.workloadSize; + this.workloadType = $.workloadType; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ModelServingConfigServedEntityArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ModelServingConfigServedEntityArgs $; + + public Builder() { + $ = new ModelServingConfigServedEntityArgs(); + } + + public Builder(ModelServingConfigServedEntityArgs defaults) { + $ = new ModelServingConfigServedEntityArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param entityName 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 builder + * + */ + public Builder entityName(@Nullable Output entityName) { + $.entityName = entityName; + return this; + } + + /** + * @param entityName 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 builder + * + */ + public Builder entityName(String entityName) { + return entityName(Output.of(entityName)); + } + + /** + * @param entityVersion The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. + * + * @return builder + * + */ + public Builder entityVersion(@Nullable Output entityVersion) { + $.entityVersion = entityVersion; + return this; + } + + /** + * @param entityVersion The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. + * + * @return builder + * + */ + public Builder entityVersion(String entityVersion) { + return entityVersion(Output.of(entityVersion)); + } + + /** + * @param environmentVars 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 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 builder + * + */ + public Builder environmentVars(@Nullable Output> environmentVars) { + $.environmentVars = environmentVars; + return this; + } + + /** + * @param environmentVars 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 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 builder + * + */ + public Builder environmentVars(Map environmentVars) { + return environmentVars(Output.of(environmentVars)); + } + + /** + * @param externalModel 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. For an existing endpoint with `external_model`, it 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 builder + * + */ + public Builder externalModel(@Nullable Output externalModel) { + $.externalModel = externalModel; + return this; + } + + /** + * @param externalModel 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. For an existing endpoint with `external_model`, it 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 builder + * + */ + public Builder externalModel(ModelServingConfigServedEntityExternalModelArgs externalModel) { + return externalModel(Output.of(externalModel)); + } + + /** + * @param instanceProfileArn ARN of the instance profile that the served entity uses to access AWS resources. + * + * @return builder + * + */ + public Builder instanceProfileArn(@Nullable Output instanceProfileArn) { + $.instanceProfileArn = instanceProfileArn; + return this; + } + + /** + * @param instanceProfileArn ARN of the instance profile that the served entity uses to access AWS resources. + * + * @return builder + * + */ + public Builder instanceProfileArn(String instanceProfileArn) { + return instanceProfileArn(Output.of(instanceProfileArn)); + } + + /** + * @param maxProvisionedThroughput The maximum tokens per second that the endpoint can scale up to. + * + * @return builder + * + */ + public Builder maxProvisionedThroughput(@Nullable Output maxProvisionedThroughput) { + $.maxProvisionedThroughput = maxProvisionedThroughput; + return this; + } + + /** + * @param maxProvisionedThroughput The maximum tokens per second that the endpoint can scale up to. + * + * @return builder + * + */ + public Builder maxProvisionedThroughput(Integer maxProvisionedThroughput) { + return maxProvisionedThroughput(Output.of(maxProvisionedThroughput)); + } + + /** + * @param minProvisionedThroughput The minimum tokens per second that the endpoint can scale down to. + * + * @return builder + * + */ + public Builder minProvisionedThroughput(@Nullable Output minProvisionedThroughput) { + $.minProvisionedThroughput = minProvisionedThroughput; + return this; + } + + /** + * @param minProvisionedThroughput The minimum tokens per second that the endpoint can scale down to. + * + * @return builder + * + */ + public Builder minProvisionedThroughput(Integer minProvisionedThroughput) { + return minProvisionedThroughput(Output.of(minProvisionedThroughput)); + } + + /** + * @param name The name of the external model. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the external model. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param scaleToZeroEnabled Whether the compute resources for the served entity should scale down to zero. + * + * @return builder + * + */ + public Builder scaleToZeroEnabled(@Nullable Output scaleToZeroEnabled) { + $.scaleToZeroEnabled = scaleToZeroEnabled; + return this; + } + + /** + * @param scaleToZeroEnabled Whether the compute resources for the served entity should scale down to zero. + * + * @return builder + * + */ + public Builder scaleToZeroEnabled(Boolean scaleToZeroEnabled) { + return scaleToZeroEnabled(Output.of(scaleToZeroEnabled)); + } + + /** + * @param workloadSize 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 builder + * + */ + public Builder workloadSize(@Nullable Output workloadSize) { + $.workloadSize = workloadSize; + return this; + } + + /** + * @param workloadSize 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 builder + * + */ + public Builder workloadSize(String workloadSize) { + return workloadSize(Output.of(workloadSize)); + } + + /** + * @param workloadType 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 builder + * + */ + public Builder workloadType(@Nullable Output workloadType) { + $.workloadType = workloadType; + return this; + } + + /** + * @param workloadType 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 builder + * + */ + public Builder workloadType(String workloadType) { + return workloadType(Output.of(workloadType)); + } + + public ModelServingConfigServedEntityArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelAi21labsConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelAi21labsConfigArgs.java new file mode 100644 index 00000000..cfd75c8a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelAi21labsConfigArgs.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 ModelServingConfigServedEntityExternalModelAi21labsConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final ModelServingConfigServedEntityExternalModelAi21labsConfigArgs Empty = new ModelServingConfigServedEntityExternalModelAi21labsConfigArgs(); + + /** + * The Databricks secret key reference for an AI21Labs API key. + * + */ + @Import(name="ai21labsApiKey", required=true) + private Output ai21labsApiKey; + + /** + * @return The Databricks secret key reference for an AI21Labs API key. + * + */ + public Output ai21labsApiKey() { + return this.ai21labsApiKey; + } + + private ModelServingConfigServedEntityExternalModelAi21labsConfigArgs() {} + + private ModelServingConfigServedEntityExternalModelAi21labsConfigArgs(ModelServingConfigServedEntityExternalModelAi21labsConfigArgs $) { + this.ai21labsApiKey = $.ai21labsApiKey; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ModelServingConfigServedEntityExternalModelAi21labsConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ModelServingConfigServedEntityExternalModelAi21labsConfigArgs $; + + public Builder() { + $ = new ModelServingConfigServedEntityExternalModelAi21labsConfigArgs(); + } + + public Builder(ModelServingConfigServedEntityExternalModelAi21labsConfigArgs defaults) { + $ = new ModelServingConfigServedEntityExternalModelAi21labsConfigArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param ai21labsApiKey The Databricks secret key reference for an AI21Labs API key. + * + * @return builder + * + */ + public Builder ai21labsApiKey(Output ai21labsApiKey) { + $.ai21labsApiKey = ai21labsApiKey; + return this; + } + + /** + * @param ai21labsApiKey The Databricks secret key reference for an AI21Labs API key. + * + * @return builder + * + */ + public Builder ai21labsApiKey(String ai21labsApiKey) { + return ai21labsApiKey(Output.of(ai21labsApiKey)); + } + + public ModelServingConfigServedEntityExternalModelAi21labsConfigArgs build() { + if ($.ai21labsApiKey == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelAi21labsConfigArgs", "ai21labsApiKey"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs.java new file mode 100644 index 00000000..7b32ef69 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs.java @@ -0,0 +1,205 @@ +// *** 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 ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs Empty = new ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs(); + + /** + * The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. + * + */ + @Import(name="awsAccessKeyId", required=true) + private Output awsAccessKeyId; + + /** + * @return The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. + * + */ + public Output awsAccessKeyId() { + return this.awsAccessKeyId; + } + + /** + * The AWS region to use. Bedrock has to be enabled there. + * + */ + @Import(name="awsRegion", required=true) + private Output awsRegion; + + /** + * @return The AWS region to use. Bedrock has to be enabled there. + * + */ + public Output awsRegion() { + return this.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. + * + */ + @Import(name="awsSecretAccessKey", required=true) + private Output awsSecretAccessKey; + + /** + * @return The Databricks secret key reference for an AWS Secret Access Key paired with the access key ID, with permissions to interact with Bedrock services. + * + */ + public Output awsSecretAccessKey() { + return this.awsSecretAccessKey; + } + + /** + * The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. + * + */ + @Import(name="bedrockProvider", required=true) + private Output bedrockProvider; + + /** + * @return The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. + * + */ + public Output bedrockProvider() { + return this.bedrockProvider; + } + + private ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs() {} + + private ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs $) { + this.awsAccessKeyId = $.awsAccessKeyId; + this.awsRegion = $.awsRegion; + this.awsSecretAccessKey = $.awsSecretAccessKey; + this.bedrockProvider = $.bedrockProvider; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs $; + + public Builder() { + $ = new ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs(); + } + + public Builder(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs defaults) { + $ = new ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param awsAccessKeyId The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. + * + * @return builder + * + */ + public Builder awsAccessKeyId(Output awsAccessKeyId) { + $.awsAccessKeyId = awsAccessKeyId; + return this; + } + + /** + * @param awsAccessKeyId The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. + * + * @return builder + * + */ + public Builder awsAccessKeyId(String awsAccessKeyId) { + return awsAccessKeyId(Output.of(awsAccessKeyId)); + } + + /** + * @param awsRegion The AWS region to use. Bedrock has to be enabled there. + * + * @return builder + * + */ + public Builder awsRegion(Output awsRegion) { + $.awsRegion = awsRegion; + return this; + } + + /** + * @param awsRegion The AWS region to use. Bedrock has to be enabled there. + * + * @return builder + * + */ + public Builder awsRegion(String awsRegion) { + return awsRegion(Output.of(awsRegion)); + } + + /** + * @param awsSecretAccessKey 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 builder + * + */ + public Builder awsSecretAccessKey(Output awsSecretAccessKey) { + $.awsSecretAccessKey = awsSecretAccessKey; + return this; + } + + /** + * @param awsSecretAccessKey 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 builder + * + */ + public Builder awsSecretAccessKey(String awsSecretAccessKey) { + return awsSecretAccessKey(Output.of(awsSecretAccessKey)); + } + + /** + * @param bedrockProvider The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. + * + * @return builder + * + */ + public Builder bedrockProvider(Output bedrockProvider) { + $.bedrockProvider = bedrockProvider; + return this; + } + + /** + * @param bedrockProvider The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. + * + * @return builder + * + */ + public Builder bedrockProvider(String bedrockProvider) { + return bedrockProvider(Output.of(bedrockProvider)); + } + + public ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs build() { + if ($.awsAccessKeyId == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs", "awsAccessKeyId"); + } + if ($.awsRegion == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs", "awsRegion"); + } + if ($.awsSecretAccessKey == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs", "awsSecretAccessKey"); + } + if ($.bedrockProvider == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs", "bedrockProvider"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelAnthropicConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelAnthropicConfigArgs.java new file mode 100644 index 00000000..0b6422db --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelAnthropicConfigArgs.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.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 ModelServingConfigServedEntityExternalModelAnthropicConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final ModelServingConfigServedEntityExternalModelAnthropicConfigArgs Empty = new ModelServingConfigServedEntityExternalModelAnthropicConfigArgs(); + + /** + * The Databricks secret key reference for an Anthropic API key. + * The Databricks secret key reference for an Anthropic API key. + * + */ + @Import(name="anthropicApiKey", required=true) + private Output anthropicApiKey; + + /** + * @return The Databricks secret key reference for an Anthropic API key. + * The Databricks secret key reference for an Anthropic API key. + * + */ + public Output anthropicApiKey() { + return this.anthropicApiKey; + } + + private ModelServingConfigServedEntityExternalModelAnthropicConfigArgs() {} + + private ModelServingConfigServedEntityExternalModelAnthropicConfigArgs(ModelServingConfigServedEntityExternalModelAnthropicConfigArgs $) { + this.anthropicApiKey = $.anthropicApiKey; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ModelServingConfigServedEntityExternalModelAnthropicConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ModelServingConfigServedEntityExternalModelAnthropicConfigArgs $; + + public Builder() { + $ = new ModelServingConfigServedEntityExternalModelAnthropicConfigArgs(); + } + + public Builder(ModelServingConfigServedEntityExternalModelAnthropicConfigArgs defaults) { + $ = new ModelServingConfigServedEntityExternalModelAnthropicConfigArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param anthropicApiKey The Databricks secret key reference for an Anthropic API key. + * The Databricks secret key reference for an Anthropic API key. + * + * @return builder + * + */ + public Builder anthropicApiKey(Output anthropicApiKey) { + $.anthropicApiKey = anthropicApiKey; + return this; + } + + /** + * @param anthropicApiKey The Databricks secret key reference for an Anthropic API key. + * The Databricks secret key reference for an Anthropic API key. + * + * @return builder + * + */ + public Builder anthropicApiKey(String anthropicApiKey) { + return anthropicApiKey(Output.of(anthropicApiKey)); + } + + public ModelServingConfigServedEntityExternalModelAnthropicConfigArgs build() { + if ($.anthropicApiKey == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelAnthropicConfigArgs", "anthropicApiKey"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelArgs.java new file mode 100644 index 00000000..2c8214a7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelArgs.java @@ -0,0 +1,433 @@ +// *** 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.ModelServingConfigServedEntityExternalModelAi21labsConfigArgs; +import com.pulumi.databricks.inputs.ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs; +import com.pulumi.databricks.inputs.ModelServingConfigServedEntityExternalModelAnthropicConfigArgs; +import com.pulumi.databricks.inputs.ModelServingConfigServedEntityExternalModelCohereConfigArgs; +import com.pulumi.databricks.inputs.ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs; +import com.pulumi.databricks.inputs.ModelServingConfigServedEntityExternalModelOpenaiConfigArgs; +import com.pulumi.databricks.inputs.ModelServingConfigServedEntityExternalModelPalmConfigArgs; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ModelServingConfigServedEntityExternalModelArgs extends com.pulumi.resources.ResourceArgs { + + public static final ModelServingConfigServedEntityExternalModelArgs Empty = new ModelServingConfigServedEntityExternalModelArgs(); + + /** + * AI21Labs Config + * + */ + @Import(name="ai21labsConfig") + private @Nullable Output ai21labsConfig; + + /** + * @return AI21Labs Config + * + */ + public Optional> ai21labsConfig() { + return Optional.ofNullable(this.ai21labsConfig); + } + + /** + * Amazon Bedrock Config + * + */ + @Import(name="amazonBedrockConfig") + private @Nullable Output amazonBedrockConfig; + + /** + * @return Amazon Bedrock Config + * + */ + public Optional> amazonBedrockConfig() { + return Optional.ofNullable(this.amazonBedrockConfig); + } + + /** + * Anthropic Config + * + */ + @Import(name="anthropicConfig") + private @Nullable Output anthropicConfig; + + /** + * @return Anthropic Config + * + */ + public Optional> anthropicConfig() { + return Optional.ofNullable(this.anthropicConfig); + } + + /** + * Cohere Config + * + */ + @Import(name="cohereConfig") + private @Nullable Output cohereConfig; + + /** + * @return Cohere Config + * + */ + public Optional> cohereConfig() { + return Optional.ofNullable(this.cohereConfig); + } + + /** + * Databricks Model Serving Config + * + */ + @Import(name="databricksModelServingConfig") + private @Nullable Output databricksModelServingConfig; + + /** + * @return Databricks Model Serving Config + * + */ + public Optional> databricksModelServingConfig() { + return Optional.ofNullable(this.databricksModelServingConfig); + } + + /** + * The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. + * + */ + public Output name() { + return this.name; + } + + /** + * OpenAI Config + * + */ + @Import(name="openaiConfig") + private @Nullable Output openaiConfig; + + /** + * @return OpenAI Config + * + */ + public Optional> openaiConfig() { + return Optional.ofNullable(this.openaiConfig); + } + + /** + * PaLM Config + * + */ + @Import(name="palmConfig") + private @Nullable Output palmConfig; + + /** + * @return PaLM Config + * + */ + public Optional> palmConfig() { + return Optional.ofNullable(this.palmConfig); + } + + /** + * The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `openai`, and `palm`. + * + */ + @Import(name="provider", required=true) + private Output provider; + + /** + * @return The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `openai`, and `palm`. + * + */ + public Output provider() { + return this.provider; + } + + /** + * The task type of the external model. + * + */ + @Import(name="task", required=true) + private Output task; + + /** + * @return The task type of the external model. + * + */ + public Output task() { + return this.task; + } + + private ModelServingConfigServedEntityExternalModelArgs() {} + + private ModelServingConfigServedEntityExternalModelArgs(ModelServingConfigServedEntityExternalModelArgs $) { + this.ai21labsConfig = $.ai21labsConfig; + this.amazonBedrockConfig = $.amazonBedrockConfig; + this.anthropicConfig = $.anthropicConfig; + this.cohereConfig = $.cohereConfig; + this.databricksModelServingConfig = $.databricksModelServingConfig; + this.name = $.name; + this.openaiConfig = $.openaiConfig; + this.palmConfig = $.palmConfig; + this.provider = $.provider; + this.task = $.task; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ModelServingConfigServedEntityExternalModelArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ModelServingConfigServedEntityExternalModelArgs $; + + public Builder() { + $ = new ModelServingConfigServedEntityExternalModelArgs(); + } + + public Builder(ModelServingConfigServedEntityExternalModelArgs defaults) { + $ = new ModelServingConfigServedEntityExternalModelArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param ai21labsConfig AI21Labs Config + * + * @return builder + * + */ + public Builder ai21labsConfig(@Nullable Output ai21labsConfig) { + $.ai21labsConfig = ai21labsConfig; + return this; + } + + /** + * @param ai21labsConfig AI21Labs Config + * + * @return builder + * + */ + public Builder ai21labsConfig(ModelServingConfigServedEntityExternalModelAi21labsConfigArgs ai21labsConfig) { + return ai21labsConfig(Output.of(ai21labsConfig)); + } + + /** + * @param amazonBedrockConfig Amazon Bedrock Config + * + * @return builder + * + */ + public Builder amazonBedrockConfig(@Nullable Output amazonBedrockConfig) { + $.amazonBedrockConfig = amazonBedrockConfig; + return this; + } + + /** + * @param amazonBedrockConfig Amazon Bedrock Config + * + * @return builder + * + */ + public Builder amazonBedrockConfig(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs amazonBedrockConfig) { + return amazonBedrockConfig(Output.of(amazonBedrockConfig)); + } + + /** + * @param anthropicConfig Anthropic Config + * + * @return builder + * + */ + public Builder anthropicConfig(@Nullable Output anthropicConfig) { + $.anthropicConfig = anthropicConfig; + return this; + } + + /** + * @param anthropicConfig Anthropic Config + * + * @return builder + * + */ + public Builder anthropicConfig(ModelServingConfigServedEntityExternalModelAnthropicConfigArgs anthropicConfig) { + return anthropicConfig(Output.of(anthropicConfig)); + } + + /** + * @param cohereConfig Cohere Config + * + * @return builder + * + */ + public Builder cohereConfig(@Nullable Output cohereConfig) { + $.cohereConfig = cohereConfig; + return this; + } + + /** + * @param cohereConfig Cohere Config + * + * @return builder + * + */ + public Builder cohereConfig(ModelServingConfigServedEntityExternalModelCohereConfigArgs cohereConfig) { + return cohereConfig(Output.of(cohereConfig)); + } + + /** + * @param databricksModelServingConfig Databricks Model Serving Config + * + * @return builder + * + */ + public Builder databricksModelServingConfig(@Nullable Output databricksModelServingConfig) { + $.databricksModelServingConfig = databricksModelServingConfig; + return this; + } + + /** + * @param databricksModelServingConfig Databricks Model Serving Config + * + * @return builder + * + */ + public Builder databricksModelServingConfig(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs databricksModelServingConfig) { + return databricksModelServingConfig(Output.of(databricksModelServingConfig)); + } + + /** + * @param name The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param openaiConfig OpenAI Config + * + * @return builder + * + */ + public Builder openaiConfig(@Nullable Output openaiConfig) { + $.openaiConfig = openaiConfig; + return this; + } + + /** + * @param openaiConfig OpenAI Config + * + * @return builder + * + */ + public Builder openaiConfig(ModelServingConfigServedEntityExternalModelOpenaiConfigArgs openaiConfig) { + return openaiConfig(Output.of(openaiConfig)); + } + + /** + * @param palmConfig PaLM Config + * + * @return builder + * + */ + public Builder palmConfig(@Nullable Output palmConfig) { + $.palmConfig = palmConfig; + return this; + } + + /** + * @param palmConfig PaLM Config + * + * @return builder + * + */ + public Builder palmConfig(ModelServingConfigServedEntityExternalModelPalmConfigArgs palmConfig) { + return palmConfig(Output.of(palmConfig)); + } + + /** + * @param provider The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `openai`, and `palm`. + * + * @return builder + * + */ + public Builder provider(Output provider) { + $.provider = provider; + return this; + } + + /** + * @param provider The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `openai`, and `palm`. + * + * @return builder + * + */ + public Builder provider(String provider) { + return provider(Output.of(provider)); + } + + /** + * @param task The task type of the external model. + * + * @return builder + * + */ + public Builder task(Output task) { + $.task = task; + return this; + } + + /** + * @param task The task type of the external model. + * + * @return builder + * + */ + public Builder task(String task) { + return task(Output.of(task)); + } + + public ModelServingConfigServedEntityExternalModelArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelArgs", "name"); + } + if ($.provider == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelArgs", "provider"); + } + if ($.task == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelArgs", "task"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelCohereConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelCohereConfigArgs.java new file mode 100644 index 00000000..e201d515 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelCohereConfigArgs.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 ModelServingConfigServedEntityExternalModelCohereConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final ModelServingConfigServedEntityExternalModelCohereConfigArgs Empty = new ModelServingConfigServedEntityExternalModelCohereConfigArgs(); + + /** + * The Databricks secret key reference for a Cohere API key. + * + */ + @Import(name="cohereApiKey", required=true) + private Output cohereApiKey; + + /** + * @return The Databricks secret key reference for a Cohere API key. + * + */ + public Output cohereApiKey() { + return this.cohereApiKey; + } + + private ModelServingConfigServedEntityExternalModelCohereConfigArgs() {} + + private ModelServingConfigServedEntityExternalModelCohereConfigArgs(ModelServingConfigServedEntityExternalModelCohereConfigArgs $) { + this.cohereApiKey = $.cohereApiKey; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ModelServingConfigServedEntityExternalModelCohereConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ModelServingConfigServedEntityExternalModelCohereConfigArgs $; + + public Builder() { + $ = new ModelServingConfigServedEntityExternalModelCohereConfigArgs(); + } + + public Builder(ModelServingConfigServedEntityExternalModelCohereConfigArgs defaults) { + $ = new ModelServingConfigServedEntityExternalModelCohereConfigArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param cohereApiKey The Databricks secret key reference for a Cohere API key. + * + * @return builder + * + */ + public Builder cohereApiKey(Output cohereApiKey) { + $.cohereApiKey = cohereApiKey; + return this; + } + + /** + * @param cohereApiKey The Databricks secret key reference for a Cohere API key. + * + * @return builder + * + */ + public Builder cohereApiKey(String cohereApiKey) { + return cohereApiKey(Output.of(cohereApiKey)); + } + + public ModelServingConfigServedEntityExternalModelCohereConfigArgs build() { + if ($.cohereApiKey == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelCohereConfigArgs", "cohereApiKey"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs.java new file mode 100644 index 00000000..125949ab --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs.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 ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs Empty = new ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs(); + + /** + * 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. + * + */ + @Import(name="databricksApiToken", required=true) + private Output databricksApiToken; + + /** + * @return 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. + * + */ + public Output databricksApiToken() { + return this.databricksApiToken; + } + + /** + * The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. + * + */ + @Import(name="databricksWorkspaceUrl", required=true) + private Output databricksWorkspaceUrl; + + /** + * @return The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. + * + */ + public Output databricksWorkspaceUrl() { + return this.databricksWorkspaceUrl; + } + + private ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs() {} + + private ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs $) { + this.databricksApiToken = $.databricksApiToken; + this.databricksWorkspaceUrl = $.databricksWorkspaceUrl; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs $; + + public Builder() { + $ = new ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs(); + } + + public Builder(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs defaults) { + $ = new ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param databricksApiToken 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 builder + * + */ + public Builder databricksApiToken(Output databricksApiToken) { + $.databricksApiToken = databricksApiToken; + return this; + } + + /** + * @param databricksApiToken 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 builder + * + */ + public Builder databricksApiToken(String databricksApiToken) { + return databricksApiToken(Output.of(databricksApiToken)); + } + + /** + * @param databricksWorkspaceUrl The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. + * + * @return builder + * + */ + public Builder databricksWorkspaceUrl(Output databricksWorkspaceUrl) { + $.databricksWorkspaceUrl = databricksWorkspaceUrl; + return this; + } + + /** + * @param databricksWorkspaceUrl The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. + * + * @return builder + * + */ + public Builder databricksWorkspaceUrl(String databricksWorkspaceUrl) { + return databricksWorkspaceUrl(Output.of(databricksWorkspaceUrl)); + } + + public ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs build() { + if ($.databricksApiToken == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs", "databricksApiToken"); + } + if ($.databricksWorkspaceUrl == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs", "databricksWorkspaceUrl"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigArgs.java new file mode 100644 index 00000000..88307f4a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelOpenaiConfigArgs.java @@ -0,0 +1,272 @@ +// *** 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 ModelServingConfigServedEntityExternalModelOpenaiConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final ModelServingConfigServedEntityExternalModelOpenaiConfigArgs Empty = new ModelServingConfigServedEntityExternalModelOpenaiConfigArgs(); + + /** + * 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. + * + */ + @Import(name="openaiApiBase") + private @Nullable Output openaiApiBase; + + /** + * @return 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. + * + */ + public Optional> openaiApiBase() { + return Optional.ofNullable(this.openaiApiBase); + } + + /** + * The Databricks secret key reference for an OpenAI or Azure OpenAI API key. + * + */ + @Import(name="openaiApiKey", required=true) + private Output openaiApiKey; + + /** + * @return The Databricks secret key reference for an OpenAI or Azure OpenAI API key. + * + */ + public Output openaiApiKey() { + return this.openaiApiKey; + } + + /** + * This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and adjust this parameter to represent the preferred security access validation protocol. For access token validation, use azure. For authentication using Azure Active Directory (Azure AD) use, azuread. + * + */ + @Import(name="openaiApiType") + private @Nullable Output openaiApiType; + + /** + * @return This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and adjust this parameter to represent the preferred security access validation protocol. For access token validation, use azure. For authentication using Azure Active Directory (Azure AD) use, azuread. + * + */ + public Optional> openaiApiType() { + return Optional.ofNullable(this.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. + * + */ + @Import(name="openaiApiVersion") + private @Nullable Output openaiApiVersion; + + /** + * @return 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. + * + */ + public Optional> openaiApiVersion() { + return Optional.ofNullable(this.openaiApiVersion); + } + + /** + * This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. + * + */ + @Import(name="openaiDeploymentName") + private @Nullable Output openaiDeploymentName; + + /** + * @return This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. + * + */ + public Optional> openaiDeploymentName() { + return Optional.ofNullable(this.openaiDeploymentName); + } + + /** + * This is an optional field to specify the organization in OpenAI or Azure OpenAI. + * + */ + @Import(name="openaiOrganization") + private @Nullable Output openaiOrganization; + + /** + * @return This is an optional field to specify the organization in OpenAI or Azure OpenAI. + * + */ + public Optional> openaiOrganization() { + return Optional.ofNullable(this.openaiOrganization); + } + + private ModelServingConfigServedEntityExternalModelOpenaiConfigArgs() {} + + private ModelServingConfigServedEntityExternalModelOpenaiConfigArgs(ModelServingConfigServedEntityExternalModelOpenaiConfigArgs $) { + this.openaiApiBase = $.openaiApiBase; + this.openaiApiKey = $.openaiApiKey; + this.openaiApiType = $.openaiApiType; + this.openaiApiVersion = $.openaiApiVersion; + this.openaiDeploymentName = $.openaiDeploymentName; + this.openaiOrganization = $.openaiOrganization; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ModelServingConfigServedEntityExternalModelOpenaiConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ModelServingConfigServedEntityExternalModelOpenaiConfigArgs $; + + public Builder() { + $ = new ModelServingConfigServedEntityExternalModelOpenaiConfigArgs(); + } + + public Builder(ModelServingConfigServedEntityExternalModelOpenaiConfigArgs defaults) { + $ = new ModelServingConfigServedEntityExternalModelOpenaiConfigArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param openaiApiBase 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 builder + * + */ + public Builder openaiApiBase(@Nullable Output openaiApiBase) { + $.openaiApiBase = openaiApiBase; + return this; + } + + /** + * @param openaiApiBase 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 builder + * + */ + public Builder openaiApiBase(String openaiApiBase) { + return openaiApiBase(Output.of(openaiApiBase)); + } + + /** + * @param openaiApiKey The Databricks secret key reference for an OpenAI or Azure OpenAI API key. + * + * @return builder + * + */ + public Builder openaiApiKey(Output openaiApiKey) { + $.openaiApiKey = openaiApiKey; + return this; + } + + /** + * @param openaiApiKey The Databricks secret key reference for an OpenAI or Azure OpenAI API key. + * + * @return builder + * + */ + public Builder openaiApiKey(String openaiApiKey) { + return openaiApiKey(Output.of(openaiApiKey)); + } + + /** + * @param openaiApiType This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and adjust this parameter to represent the preferred security access validation protocol. For access token validation, use azure. For authentication using Azure Active Directory (Azure AD) use, azuread. + * + * @return builder + * + */ + public Builder openaiApiType(@Nullable Output openaiApiType) { + $.openaiApiType = openaiApiType; + return this; + } + + /** + * @param openaiApiType This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and adjust this parameter to represent the preferred security access validation protocol. For access token validation, use azure. For authentication using Azure Active Directory (Azure AD) use, azuread. + * + * @return builder + * + */ + public Builder openaiApiType(String openaiApiType) { + return openaiApiType(Output.of(openaiApiType)); + } + + /** + * @param openaiApiVersion 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 builder + * + */ + public Builder openaiApiVersion(@Nullable Output openaiApiVersion) { + $.openaiApiVersion = openaiApiVersion; + return this; + } + + /** + * @param openaiApiVersion 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 builder + * + */ + public Builder openaiApiVersion(String openaiApiVersion) { + return openaiApiVersion(Output.of(openaiApiVersion)); + } + + /** + * @param openaiDeploymentName This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. + * + * @return builder + * + */ + public Builder openaiDeploymentName(@Nullable Output openaiDeploymentName) { + $.openaiDeploymentName = openaiDeploymentName; + return this; + } + + /** + * @param openaiDeploymentName This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. + * + * @return builder + * + */ + public Builder openaiDeploymentName(String openaiDeploymentName) { + return openaiDeploymentName(Output.of(openaiDeploymentName)); + } + + /** + * @param openaiOrganization This is an optional field to specify the organization in OpenAI or Azure OpenAI. + * + * @return builder + * + */ + public Builder openaiOrganization(@Nullable Output openaiOrganization) { + $.openaiOrganization = openaiOrganization; + return this; + } + + /** + * @param openaiOrganization This is an optional field to specify the organization in OpenAI or Azure OpenAI. + * + * @return builder + * + */ + public Builder openaiOrganization(String openaiOrganization) { + return openaiOrganization(Output.of(openaiOrganization)); + } + + public ModelServingConfigServedEntityExternalModelOpenaiConfigArgs build() { + if ($.openaiApiKey == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelOpenaiConfigArgs", "openaiApiKey"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelPalmConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelPalmConfigArgs.java new file mode 100644 index 00000000..e37768fb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedEntityExternalModelPalmConfigArgs.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 ModelServingConfigServedEntityExternalModelPalmConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final ModelServingConfigServedEntityExternalModelPalmConfigArgs Empty = new ModelServingConfigServedEntityExternalModelPalmConfigArgs(); + + /** + * The Databricks secret key reference for a PaLM API key. + * + */ + @Import(name="palmApiKey", required=true) + private Output palmApiKey; + + /** + * @return The Databricks secret key reference for a PaLM API key. + * + */ + public Output palmApiKey() { + return this.palmApiKey; + } + + private ModelServingConfigServedEntityExternalModelPalmConfigArgs() {} + + private ModelServingConfigServedEntityExternalModelPalmConfigArgs(ModelServingConfigServedEntityExternalModelPalmConfigArgs $) { + this.palmApiKey = $.palmApiKey; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ModelServingConfigServedEntityExternalModelPalmConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ModelServingConfigServedEntityExternalModelPalmConfigArgs $; + + public Builder() { + $ = new ModelServingConfigServedEntityExternalModelPalmConfigArgs(); + } + + public Builder(ModelServingConfigServedEntityExternalModelPalmConfigArgs defaults) { + $ = new ModelServingConfigServedEntityExternalModelPalmConfigArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param palmApiKey The Databricks secret key reference for a PaLM API key. + * + * @return builder + * + */ + public Builder palmApiKey(Output palmApiKey) { + $.palmApiKey = palmApiKey; + return this; + } + + /** + * @param palmApiKey The Databricks secret key reference for a PaLM API key. + * + * @return builder + * + */ + public Builder palmApiKey(String palmApiKey) { + return palmApiKey(Output.of(palmApiKey)); + } + + public ModelServingConfigServedEntityExternalModelPalmConfigArgs build() { + if ($.palmApiKey == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelPalmConfigArgs", "palmApiKey"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedModelArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedModelArgs.java index 177c06e4..1b8e21b1 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedModelArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedModelArgs.java @@ -95,14 +95,14 @@ public Optional> 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`. + * 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`. * */ @Import(name="scaleToZeroEnabled") private @Nullable Output scaleToZeroEnabled; /** - * @return 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 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`. * */ public Optional> scaleToZeroEnabled() { @@ -110,14 +110,14 @@ public Optional> 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). + * 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). * */ @Import(name="workloadSize", required=true) private Output workloadSize; /** - * @return 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 The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). * */ public Output workloadSize() { @@ -276,7 +276,7 @@ public Builder name(String name) { } /** - * @param scaleToZeroEnabled 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 scaleToZeroEnabled 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 builder * @@ -287,7 +287,7 @@ public Builder scaleToZeroEnabled(@Nullable Output scaleToZeroEnabled) } /** - * @param scaleToZeroEnabled 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 scaleToZeroEnabled 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 builder * @@ -297,7 +297,7 @@ public Builder scaleToZeroEnabled(Boolean scaleToZeroEnabled) { } /** - * @param workloadSize 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 workloadSize 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 builder * @@ -308,7 +308,7 @@ public Builder workloadSize(Output workloadSize) { } /** - * @param workloadSize 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 workloadSize 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 builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigTrafficConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigTrafficConfigArgs.java index 4f50ae09..1d3e4bb3 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigTrafficConfigArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigTrafficConfigArgs.java @@ -17,14 +17,14 @@ public final class ModelServingConfigTrafficConfigArgs extends com.pulumi.resour public static final ModelServingConfigTrafficConfigArgs Empty = new ModelServingConfigTrafficConfigArgs(); /** - * Each block represents a route that defines traffic to each served model. Each `served_models` block needs to have a corresponding `routes` block + * Each block represents a route that defines traffic to each served entity. Each `served_entity` block needs to have a corresponding `routes` block. * */ @Import(name="routes") private @Nullable Output> routes; /** - * @return Each block represents a route that defines traffic to each served model. Each `served_models` block needs to have a corresponding `routes` block + * @return Each block represents a route that defines traffic to each served entity. Each `served_entity` block needs to have a corresponding `routes` block. * */ public Optional>> routes() { @@ -56,7 +56,7 @@ public Builder(ModelServingConfigTrafficConfigArgs defaults) { } /** - * @param routes Each block represents a route that defines traffic to each served model. Each `served_models` block needs to have a corresponding `routes` block + * @param routes Each block represents a route that defines traffic to each served entity. Each `served_entity` block needs to have a corresponding `routes` block. * * @return builder * @@ -67,7 +67,7 @@ public Builder routes(@Nullable Output routes) { } /** - * @param routes Each block represents a route that defines traffic to each served model. Each `served_models` block needs to have a corresponding `routes` block + * @param routes Each block represents a route that defines traffic to each served entity. Each `served_entity` block needs to have a corresponding `routes` block. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigTrafficConfigRouteArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigTrafficConfigRouteArgs.java index 8c35bf58..2d36f983 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigTrafficConfigRouteArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigTrafficConfigRouteArgs.java @@ -15,17 +15,9 @@ public final class ModelServingConfigTrafficConfigRouteArgs extends com.pulumi.r public static final ModelServingConfigTrafficConfigRouteArgs Empty = new ModelServingConfigTrafficConfigRouteArgs(); - /** - * The name of the served model this route configures traffic for. This needs to match the name of a `served_models` block - * - */ @Import(name="servedModelName", required=true) private Output servedModelName; - /** - * @return The name of the served model this route configures traffic for. This needs to match the name of a `served_models` block - * - */ public Output servedModelName() { return this.servedModelName; } @@ -70,23 +62,11 @@ public Builder(ModelServingConfigTrafficConfigRouteArgs defaults) { $ = new ModelServingConfigTrafficConfigRouteArgs(Objects.requireNonNull(defaults)); } - /** - * @param servedModelName The name of the served model this route configures traffic for. This needs to match the name of a `served_models` block - * - * @return builder - * - */ public Builder servedModelName(Output servedModelName) { $.servedModelName = servedModelName; return this; } - /** - * @param servedModelName The name of the served model this route configures traffic for. This needs to match the name of a `served_models` block - * - * @return builder - * - */ public Builder servedModelName(String servedModelName) { return servedModelName(Output.of(servedModelName)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingRateLimitArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingRateLimitArgs.java index 7230e34b..872fefac 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingRateLimitArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingRateLimitArgs.java @@ -17,23 +17,47 @@ public final class ModelServingRateLimitArgs extends com.pulumi.resources.Resour public static final ModelServingRateLimitArgs Empty = new ModelServingRateLimitArgs(); + /** + * Used to specify how many calls are allowed for a key within the renewal_period. + * + */ @Import(name="calls", required=true) private Output calls; + /** + * @return Used to specify how many calls are allowed for a key within the renewal_period. + * + */ public Output calls() { return this.calls; } + /** + * Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + * + */ @Import(name="key") private @Nullable Output key; + /** + * @return Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + * + */ public Optional> key() { return Optional.ofNullable(this.key); } + /** + * Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + * + */ @Import(name="renewalPeriod", required=true) private Output renewalPeriod; + /** + * @return Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + * + */ public Output renewalPeriod() { return this.renewalPeriod; } @@ -64,29 +88,65 @@ public Builder(ModelServingRateLimitArgs defaults) { $ = new ModelServingRateLimitArgs(Objects.requireNonNull(defaults)); } + /** + * @param calls Used to specify how many calls are allowed for a key within the renewal_period. + * + * @return builder + * + */ public Builder calls(Output calls) { $.calls = calls; return this; } + /** + * @param calls Used to specify how many calls are allowed for a key within the renewal_period. + * + * @return builder + * + */ public Builder calls(Integer calls) { return calls(Output.of(calls)); } + /** + * @param key Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + * + * @return builder + * + */ public Builder key(@Nullable Output key) { $.key = key; return this; } + /** + * @param key Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + * + * @return builder + * + */ public Builder key(String key) { return key(Output.of(key)); } + /** + * @param renewalPeriod Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + * + * @return builder + * + */ public Builder renewalPeriod(Output renewalPeriod) { $.renewalPeriod = renewalPeriod; return this; } + /** + * @param renewalPeriod Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + * + * @return builder + * + */ public Builder renewalPeriod(String renewalPeriod) { return renewalPeriod(Output.of(renewalPeriod)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingState.java index 29bd6710..51439b38 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingState.java @@ -49,9 +49,17 @@ public Optional> name() { return Optional.ofNullable(this.name); } + /** + * A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + * + */ @Import(name="rateLimits") private @Nullable Output> rateLimits; + /** + * @return A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + * + */ public Optional>> rateLimits() { return Optional.ofNullable(this.rateLimits); } @@ -71,9 +79,17 @@ public Optional> servingEndpointId() { return Optional.ofNullable(this.servingEndpointId); } + /** + * 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); } @@ -148,15 +164,33 @@ public Builder name(String name) { return name(Output.of(name)); } + /** + * @param rateLimits A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + * + * @return builder + * + */ public Builder rateLimits(@Nullable Output> rateLimits) { $.rateLimits = rateLimits; return this; } + /** + * @param rateLimits A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + * + * @return builder + * + */ public Builder rateLimits(List rateLimits) { return rateLimits(Output.of(rateLimits)); } + /** + * @param rateLimits A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + * + * @return builder + * + */ public Builder rateLimits(ModelServingRateLimitArgs... rateLimits) { return rateLimits(List.of(rateLimits)); } @@ -182,15 +216,33 @@ public Builder servingEndpointId(String servingEndpointId) { return servingEndpointId(Output.of(servingEndpointId)); } + /** + * @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(ModelServingTagArgs... tags) { return tags(List.of(tags)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingTagArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingTagArgs.java index fdc222f6..4615307b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingTagArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingTagArgs.java @@ -16,16 +16,32 @@ public final class ModelServingTagArgs extends com.pulumi.resources.ResourceArgs public static final ModelServingTagArgs Empty = new ModelServingTagArgs(); + /** + * The key field for a tag. + * + */ @Import(name="key", required=true) private Output key; + /** + * @return The key field for a tag. + * + */ public Output key() { return this.key; } + /** + * The value field for a tag. + * + */ @Import(name="value") private @Nullable Output value; + /** + * @return The value field for a tag. + * + */ public Optional> value() { return Optional.ofNullable(this.value); } @@ -55,20 +71,44 @@ public Builder(ModelServingTagArgs defaults) { $ = new ModelServingTagArgs(Objects.requireNonNull(defaults)); } + /** + * @param key The key field for a tag. + * + * @return builder + * + */ public Builder key(Output key) { $.key = key; return this; } + /** + * @param key The key field for a tag. + * + * @return builder + * + */ public Builder key(String key) { return key(Output.of(key)); } + /** + * @param value The value field for a tag. + * + * @return builder + * + */ public Builder value(@Nullable Output value) { $.value = value; return this; } + /** + * @param value The value field for a tag. + * + * @return builder + * + */ public Builder value(String value) { return value(Output.of(value)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableSpecArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableSpecArgs.java new file mode 100644 index 00000000..ec0fce53 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableSpecArgs.java @@ -0,0 +1,319 @@ +// *** 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.OnlineTableSpecRunContinuouslyArgs; +import com.pulumi.databricks.inputs.OnlineTableSpecRunTriggeredArgs; +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 OnlineTableSpecArgs extends com.pulumi.resources.ResourceArgs { + + public static final OnlineTableSpecArgs Empty = new OnlineTableSpecArgs(); + + /** + * 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. + * + */ + @Import(name="performFullCopy") + private @Nullable Output performFullCopy; + + /** + * @return 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. + * + */ + public Optional> performFullCopy() { + return Optional.ofNullable(this.performFullCopy); + } + + /** + * ID of the associated Delta Live Table pipeline. + * + */ + @Import(name="pipelineId") + private @Nullable Output pipelineId; + + /** + * @return ID of the associated Delta Live Table pipeline. + * + */ + public Optional> pipelineId() { + return Optional.ofNullable(this.pipelineId); + } + + /** + * list of the columns comprising the primary key. + * + */ + @Import(name="primaryKeyColumns") + private @Nullable Output> primaryKeyColumns; + + /** + * @return list of the columns comprising the primary key. + * + */ + public Optional>> primaryKeyColumns() { + return Optional.ofNullable(this.primaryKeyColumns); + } + + /** + * empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `run_triggered`. + * + */ + @Import(name="runContinuously") + private @Nullable Output runContinuously; + + /** + * @return empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `run_triggered`. + * + */ + public Optional> runContinuously() { + return Optional.ofNullable(this.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). + * + */ + @Import(name="runTriggered") + private @Nullable Output runTriggered; + + /** + * @return 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). + * + */ + public Optional> runTriggered() { + return Optional.ofNullable(this.runTriggered); + } + + /** + * full name of the source table. + * + */ + @Import(name="sourceTableFullName") + private @Nullable Output sourceTableFullName; + + /** + * @return full name of the source table. + * + */ + public Optional> sourceTableFullName() { + return Optional.ofNullable(this.sourceTableFullName); + } + + /** + * Time series key to deduplicate (tie-break) rows with the same primary key. + * + */ + @Import(name="timeseriesKey") + private @Nullable Output timeseriesKey; + + /** + * @return Time series key to deduplicate (tie-break) rows with the same primary key. + * + */ + public Optional> timeseriesKey() { + return Optional.ofNullable(this.timeseriesKey); + } + + private OnlineTableSpecArgs() {} + + private OnlineTableSpecArgs(OnlineTableSpecArgs $) { + this.performFullCopy = $.performFullCopy; + this.pipelineId = $.pipelineId; + this.primaryKeyColumns = $.primaryKeyColumns; + this.runContinuously = $.runContinuously; + this.runTriggered = $.runTriggered; + this.sourceTableFullName = $.sourceTableFullName; + this.timeseriesKey = $.timeseriesKey; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(OnlineTableSpecArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private OnlineTableSpecArgs $; + + public Builder() { + $ = new OnlineTableSpecArgs(); + } + + public Builder(OnlineTableSpecArgs defaults) { + $ = new OnlineTableSpecArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param performFullCopy 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 builder + * + */ + public Builder performFullCopy(@Nullable Output performFullCopy) { + $.performFullCopy = performFullCopy; + return this; + } + + /** + * @param performFullCopy 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 builder + * + */ + public Builder performFullCopy(Boolean performFullCopy) { + return performFullCopy(Output.of(performFullCopy)); + } + + /** + * @param pipelineId ID of the associated Delta Live Table pipeline. + * + * @return builder + * + */ + public Builder pipelineId(@Nullable Output pipelineId) { + $.pipelineId = pipelineId; + return this; + } + + /** + * @param pipelineId ID of the associated Delta Live Table pipeline. + * + * @return builder + * + */ + public Builder pipelineId(String pipelineId) { + return pipelineId(Output.of(pipelineId)); + } + + /** + * @param primaryKeyColumns list of the columns comprising the primary key. + * + * @return builder + * + */ + public Builder primaryKeyColumns(@Nullable Output> primaryKeyColumns) { + $.primaryKeyColumns = primaryKeyColumns; + return this; + } + + /** + * @param primaryKeyColumns list of the columns comprising the primary key. + * + * @return builder + * + */ + public Builder primaryKeyColumns(List primaryKeyColumns) { + return primaryKeyColumns(Output.of(primaryKeyColumns)); + } + + /** + * @param primaryKeyColumns list of the columns comprising the primary key. + * + * @return builder + * + */ + public Builder primaryKeyColumns(String... primaryKeyColumns) { + return primaryKeyColumns(List.of(primaryKeyColumns)); + } + + /** + * @param runContinuously empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `run_triggered`. + * + * @return builder + * + */ + public Builder runContinuously(@Nullable Output runContinuously) { + $.runContinuously = runContinuously; + return this; + } + + /** + * @param runContinuously empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `run_triggered`. + * + * @return builder + * + */ + public Builder runContinuously(OnlineTableSpecRunContinuouslyArgs runContinuously) { + return runContinuously(Output.of(runContinuously)); + } + + /** + * @param runTriggered 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). + * + * @return builder + * + */ + public Builder runTriggered(@Nullable Output runTriggered) { + $.runTriggered = runTriggered; + return this; + } + + /** + * @param runTriggered 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). + * + * @return builder + * + */ + public Builder runTriggered(OnlineTableSpecRunTriggeredArgs runTriggered) { + return runTriggered(Output.of(runTriggered)); + } + + /** + * @param sourceTableFullName full name of the source table. + * + * @return builder + * + */ + public Builder sourceTableFullName(@Nullable Output sourceTableFullName) { + $.sourceTableFullName = sourceTableFullName; + return this; + } + + /** + * @param sourceTableFullName full name of the source table. + * + * @return builder + * + */ + public Builder sourceTableFullName(String sourceTableFullName) { + return sourceTableFullName(Output.of(sourceTableFullName)); + } + + /** + * @param timeseriesKey Time series key to deduplicate (tie-break) rows with the same primary key. + * + * @return builder + * + */ + public Builder timeseriesKey(@Nullable Output timeseriesKey) { + $.timeseriesKey = timeseriesKey; + return this; + } + + /** + * @param timeseriesKey Time series key to deduplicate (tie-break) rows with the same primary key. + * + * @return builder + * + */ + public Builder timeseriesKey(String timeseriesKey) { + return timeseriesKey(Output.of(timeseriesKey)); + } + + public OnlineTableSpecArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableSpecRunContinuouslyArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableSpecRunContinuouslyArgs.java new file mode 100644 index 00000000..095bab5e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableSpecRunContinuouslyArgs.java @@ -0,0 +1,28 @@ +// *** 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; + + + + +public final class OnlineTableSpecRunContinuouslyArgs extends com.pulumi.resources.ResourceArgs { + + public static final OnlineTableSpecRunContinuouslyArgs Empty = new OnlineTableSpecRunContinuouslyArgs(); + + public static Builder builder() { + return new Builder(); + } + + public static final class Builder { + private OnlineTableSpecRunContinuouslyArgs $; + + public Builder() { + $ = new OnlineTableSpecRunContinuouslyArgs(); + } + public OnlineTableSpecRunContinuouslyArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableSpecRunTriggeredArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableSpecRunTriggeredArgs.java new file mode 100644 index 00000000..50f75ee6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableSpecRunTriggeredArgs.java @@ -0,0 +1,28 @@ +// *** 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; + + + + +public final class OnlineTableSpecRunTriggeredArgs extends com.pulumi.resources.ResourceArgs { + + public static final OnlineTableSpecRunTriggeredArgs Empty = new OnlineTableSpecRunTriggeredArgs(); + + public static Builder builder() { + return new Builder(); + } + + public static final class Builder { + private OnlineTableSpecRunTriggeredArgs $; + + public Builder() { + $ = new OnlineTableSpecRunTriggeredArgs(); + } + public OnlineTableSpecRunTriggeredArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableState.java new file mode 100644 index 00000000..a3ab2059 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableState.java @@ -0,0 +1,170 @@ +// *** 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.OnlineTableSpecArgs; +import com.pulumi.databricks.inputs.OnlineTableStatusArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class OnlineTableState extends com.pulumi.resources.ResourceArgs { + + public static final OnlineTableState Empty = new OnlineTableState(); + + /** + * 3-level name of the Online Table to create. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return 3-level name of the Online Table to create. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * object containing specification of the online table: + * + */ + @Import(name="spec") + private @Nullable Output spec; + + /** + * @return object containing specification of the online table: + * + */ + public Optional> spec() { + return Optional.ofNullable(this.spec); + } + + /** + * object describing status of the online table: + * + */ + @Import(name="statuses") + private @Nullable Output> statuses; + + /** + * @return object describing status of the online table: + * + */ + public Optional>> statuses() { + return Optional.ofNullable(this.statuses); + } + + private OnlineTableState() {} + + private OnlineTableState(OnlineTableState $) { + this.name = $.name; + this.spec = $.spec; + this.statuses = $.statuses; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(OnlineTableState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private OnlineTableState $; + + public Builder() { + $ = new OnlineTableState(); + } + + public Builder(OnlineTableState defaults) { + $ = new OnlineTableState(Objects.requireNonNull(defaults)); + } + + /** + * @param name 3-level name of the Online Table to create. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name 3-level name of the Online Table to create. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param spec object containing specification of the online table: + * + * @return builder + * + */ + public Builder spec(@Nullable Output spec) { + $.spec = spec; + return this; + } + + /** + * @param spec object containing specification of the online table: + * + * @return builder + * + */ + public Builder spec(OnlineTableSpecArgs spec) { + return spec(Output.of(spec)); + } + + /** + * @param statuses object describing status of the online table: + * + * @return builder + * + */ + public Builder statuses(@Nullable Output> statuses) { + $.statuses = statuses; + return this; + } + + /** + * @param statuses object describing status of the online table: + * + * @return builder + * + */ + public Builder statuses(List statuses) { + return statuses(Output.of(statuses)); + } + + /** + * @param statuses object describing status of the online table: + * + * @return builder + * + */ + public Builder statuses(OnlineTableStatusArgs... statuses) { + return statuses(List.of(statuses)); + } + + public OnlineTableState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusArgs.java new file mode 100644 index 00000000..12027bad --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusArgs.java @@ -0,0 +1,192 @@ +// *** 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.OnlineTableStatusContinuousUpdateStatusArgs; +import com.pulumi.databricks.inputs.OnlineTableStatusFailedStatusArgs; +import com.pulumi.databricks.inputs.OnlineTableStatusProvisioningStatusArgs; +import com.pulumi.databricks.inputs.OnlineTableStatusTriggeredUpdateStatusArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class OnlineTableStatusArgs extends com.pulumi.resources.ResourceArgs { + + public static final OnlineTableStatusArgs Empty = new OnlineTableStatusArgs(); + + @Import(name="continuousUpdateStatus") + private @Nullable Output continuousUpdateStatus; + + public Optional> continuousUpdateStatus() { + return Optional.ofNullable(this.continuousUpdateStatus); + } + + /** + * The state of the online table. + * + */ + @Import(name="detailedState") + private @Nullable Output detailedState; + + /** + * @return The state of the online table. + * + */ + public Optional> detailedState() { + return Optional.ofNullable(this.detailedState); + } + + @Import(name="failedStatus") + private @Nullable Output failedStatus; + + public Optional> failedStatus() { + return Optional.ofNullable(this.failedStatus); + } + + /** + * A text description of the current state of the online table. + * + */ + @Import(name="message") + private @Nullable Output message; + + /** + * @return A text description of the current state of the online table. + * + */ + public Optional> message() { + return Optional.ofNullable(this.message); + } + + @Import(name="provisioningStatus") + private @Nullable Output provisioningStatus; + + public Optional> provisioningStatus() { + return Optional.ofNullable(this.provisioningStatus); + } + + @Import(name="triggeredUpdateStatus") + private @Nullable Output triggeredUpdateStatus; + + public Optional> triggeredUpdateStatus() { + return Optional.ofNullable(this.triggeredUpdateStatus); + } + + private OnlineTableStatusArgs() {} + + private OnlineTableStatusArgs(OnlineTableStatusArgs $) { + this.continuousUpdateStatus = $.continuousUpdateStatus; + this.detailedState = $.detailedState; + this.failedStatus = $.failedStatus; + this.message = $.message; + this.provisioningStatus = $.provisioningStatus; + this.triggeredUpdateStatus = $.triggeredUpdateStatus; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(OnlineTableStatusArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private OnlineTableStatusArgs $; + + public Builder() { + $ = new OnlineTableStatusArgs(); + } + + public Builder(OnlineTableStatusArgs defaults) { + $ = new OnlineTableStatusArgs(Objects.requireNonNull(defaults)); + } + + public Builder continuousUpdateStatus(@Nullable Output continuousUpdateStatus) { + $.continuousUpdateStatus = continuousUpdateStatus; + return this; + } + + public Builder continuousUpdateStatus(OnlineTableStatusContinuousUpdateStatusArgs continuousUpdateStatus) { + return continuousUpdateStatus(Output.of(continuousUpdateStatus)); + } + + /** + * @param detailedState The state of the online table. + * + * @return builder + * + */ + public Builder detailedState(@Nullable Output detailedState) { + $.detailedState = detailedState; + return this; + } + + /** + * @param detailedState The state of the online table. + * + * @return builder + * + */ + public Builder detailedState(String detailedState) { + return detailedState(Output.of(detailedState)); + } + + public Builder failedStatus(@Nullable Output failedStatus) { + $.failedStatus = failedStatus; + return this; + } + + public Builder failedStatus(OnlineTableStatusFailedStatusArgs failedStatus) { + return failedStatus(Output.of(failedStatus)); + } + + /** + * @param message A text description of the current state of the online table. + * + * @return builder + * + */ + public Builder message(@Nullable Output message) { + $.message = message; + return this; + } + + /** + * @param message A text description of the current state of the online table. + * + * @return builder + * + */ + public Builder message(String message) { + return message(Output.of(message)); + } + + public Builder provisioningStatus(@Nullable Output provisioningStatus) { + $.provisioningStatus = provisioningStatus; + return this; + } + + public Builder provisioningStatus(OnlineTableStatusProvisioningStatusArgs provisioningStatus) { + return provisioningStatus(Output.of(provisioningStatus)); + } + + public Builder triggeredUpdateStatus(@Nullable Output triggeredUpdateStatus) { + $.triggeredUpdateStatus = triggeredUpdateStatus; + return this; + } + + public Builder triggeredUpdateStatus(OnlineTableStatusTriggeredUpdateStatusArgs triggeredUpdateStatus) { + return triggeredUpdateStatus(Output.of(triggeredUpdateStatus)); + } + + public OnlineTableStatusArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusContinuousUpdateStatusArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusContinuousUpdateStatusArgs.java new file mode 100644 index 00000000..ffa82a89 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusContinuousUpdateStatusArgs.java @@ -0,0 +1,99 @@ +// *** 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.OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class OnlineTableStatusContinuousUpdateStatusArgs extends com.pulumi.resources.ResourceArgs { + + public static final OnlineTableStatusContinuousUpdateStatusArgs Empty = new OnlineTableStatusContinuousUpdateStatusArgs(); + + @Import(name="initialPipelineSyncProgress") + private @Nullable Output initialPipelineSyncProgress; + + public Optional> initialPipelineSyncProgress() { + return Optional.ofNullable(this.initialPipelineSyncProgress); + } + + @Import(name="lastProcessedCommitVersion") + private @Nullable Output lastProcessedCommitVersion; + + public Optional> lastProcessedCommitVersion() { + return Optional.ofNullable(this.lastProcessedCommitVersion); + } + + @Import(name="timestamp") + private @Nullable Output timestamp; + + public Optional> timestamp() { + return Optional.ofNullable(this.timestamp); + } + + private OnlineTableStatusContinuousUpdateStatusArgs() {} + + private OnlineTableStatusContinuousUpdateStatusArgs(OnlineTableStatusContinuousUpdateStatusArgs $) { + this.initialPipelineSyncProgress = $.initialPipelineSyncProgress; + this.lastProcessedCommitVersion = $.lastProcessedCommitVersion; + this.timestamp = $.timestamp; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(OnlineTableStatusContinuousUpdateStatusArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private OnlineTableStatusContinuousUpdateStatusArgs $; + + public Builder() { + $ = new OnlineTableStatusContinuousUpdateStatusArgs(); + } + + public Builder(OnlineTableStatusContinuousUpdateStatusArgs defaults) { + $ = new OnlineTableStatusContinuousUpdateStatusArgs(Objects.requireNonNull(defaults)); + } + + public Builder initialPipelineSyncProgress(@Nullable Output initialPipelineSyncProgress) { + $.initialPipelineSyncProgress = initialPipelineSyncProgress; + return this; + } + + public Builder initialPipelineSyncProgress(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs initialPipelineSyncProgress) { + return initialPipelineSyncProgress(Output.of(initialPipelineSyncProgress)); + } + + public Builder lastProcessedCommitVersion(@Nullable Output lastProcessedCommitVersion) { + $.lastProcessedCommitVersion = lastProcessedCommitVersion; + return this; + } + + public Builder lastProcessedCommitVersion(Integer lastProcessedCommitVersion) { + return lastProcessedCommitVersion(Output.of(lastProcessedCommitVersion)); + } + + public Builder timestamp(@Nullable Output timestamp) { + $.timestamp = timestamp; + return this; + } + + public Builder timestamp(String timestamp) { + return timestamp(Output.of(timestamp)); + } + + public OnlineTableStatusContinuousUpdateStatusArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs.java new file mode 100644 index 00000000..cfb71eb7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs.java @@ -0,0 +1,132 @@ +// *** 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.Double; +import java.lang.Integer; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs extends com.pulumi.resources.ResourceArgs { + + public static final OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs Empty = new OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs(); + + @Import(name="estimatedCompletionTimeSeconds") + private @Nullable Output estimatedCompletionTimeSeconds; + + public Optional> estimatedCompletionTimeSeconds() { + return Optional.ofNullable(this.estimatedCompletionTimeSeconds); + } + + @Import(name="latestVersionCurrentlyProcessing") + private @Nullable Output latestVersionCurrentlyProcessing; + + public Optional> latestVersionCurrentlyProcessing() { + return Optional.ofNullable(this.latestVersionCurrentlyProcessing); + } + + @Import(name="syncProgressCompletion") + private @Nullable Output syncProgressCompletion; + + public Optional> syncProgressCompletion() { + return Optional.ofNullable(this.syncProgressCompletion); + } + + @Import(name="syncedRowCount") + private @Nullable Output syncedRowCount; + + public Optional> syncedRowCount() { + return Optional.ofNullable(this.syncedRowCount); + } + + @Import(name="totalRowCount") + private @Nullable Output totalRowCount; + + public Optional> totalRowCount() { + return Optional.ofNullable(this.totalRowCount); + } + + private OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs() {} + + private OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs $) { + this.estimatedCompletionTimeSeconds = $.estimatedCompletionTimeSeconds; + this.latestVersionCurrentlyProcessing = $.latestVersionCurrentlyProcessing; + this.syncProgressCompletion = $.syncProgressCompletion; + this.syncedRowCount = $.syncedRowCount; + this.totalRowCount = $.totalRowCount; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs $; + + public Builder() { + $ = new OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs(); + } + + public Builder(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs defaults) { + $ = new OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs(Objects.requireNonNull(defaults)); + } + + public Builder estimatedCompletionTimeSeconds(@Nullable Output estimatedCompletionTimeSeconds) { + $.estimatedCompletionTimeSeconds = estimatedCompletionTimeSeconds; + return this; + } + + public Builder estimatedCompletionTimeSeconds(Double estimatedCompletionTimeSeconds) { + return estimatedCompletionTimeSeconds(Output.of(estimatedCompletionTimeSeconds)); + } + + public Builder latestVersionCurrentlyProcessing(@Nullable Output latestVersionCurrentlyProcessing) { + $.latestVersionCurrentlyProcessing = latestVersionCurrentlyProcessing; + return this; + } + + public Builder latestVersionCurrentlyProcessing(Integer latestVersionCurrentlyProcessing) { + return latestVersionCurrentlyProcessing(Output.of(latestVersionCurrentlyProcessing)); + } + + public Builder syncProgressCompletion(@Nullable Output syncProgressCompletion) { + $.syncProgressCompletion = syncProgressCompletion; + return this; + } + + public Builder syncProgressCompletion(Double syncProgressCompletion) { + return syncProgressCompletion(Output.of(syncProgressCompletion)); + } + + public Builder syncedRowCount(@Nullable Output syncedRowCount) { + $.syncedRowCount = syncedRowCount; + return this; + } + + public Builder syncedRowCount(Integer syncedRowCount) { + return syncedRowCount(Output.of(syncedRowCount)); + } + + public Builder totalRowCount(@Nullable Output totalRowCount) { + $.totalRowCount = totalRowCount; + return this; + } + + public Builder totalRowCount(Integer totalRowCount) { + return totalRowCount(Output.of(totalRowCount)); + } + + public OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusFailedStatusArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusFailedStatusArgs.java new file mode 100644 index 00000000..eb57e0e0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusFailedStatusArgs.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.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 OnlineTableStatusFailedStatusArgs extends com.pulumi.resources.ResourceArgs { + + public static final OnlineTableStatusFailedStatusArgs Empty = new OnlineTableStatusFailedStatusArgs(); + + @Import(name="lastProcessedCommitVersion") + private @Nullable Output lastProcessedCommitVersion; + + public Optional> lastProcessedCommitVersion() { + return Optional.ofNullable(this.lastProcessedCommitVersion); + } + + @Import(name="timestamp") + private @Nullable Output timestamp; + + public Optional> timestamp() { + return Optional.ofNullable(this.timestamp); + } + + private OnlineTableStatusFailedStatusArgs() {} + + private OnlineTableStatusFailedStatusArgs(OnlineTableStatusFailedStatusArgs $) { + this.lastProcessedCommitVersion = $.lastProcessedCommitVersion; + this.timestamp = $.timestamp; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(OnlineTableStatusFailedStatusArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private OnlineTableStatusFailedStatusArgs $; + + public Builder() { + $ = new OnlineTableStatusFailedStatusArgs(); + } + + public Builder(OnlineTableStatusFailedStatusArgs defaults) { + $ = new OnlineTableStatusFailedStatusArgs(Objects.requireNonNull(defaults)); + } + + public Builder lastProcessedCommitVersion(@Nullable Output lastProcessedCommitVersion) { + $.lastProcessedCommitVersion = lastProcessedCommitVersion; + return this; + } + + public Builder lastProcessedCommitVersion(Integer lastProcessedCommitVersion) { + return lastProcessedCommitVersion(Output.of(lastProcessedCommitVersion)); + } + + public Builder timestamp(@Nullable Output timestamp) { + $.timestamp = timestamp; + return this; + } + + public Builder timestamp(String timestamp) { + return timestamp(Output.of(timestamp)); + } + + public OnlineTableStatusFailedStatusArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusProvisioningStatusArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusProvisioningStatusArgs.java new file mode 100644 index 00000000..4bee8b53 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusProvisioningStatusArgs.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 com.pulumi.databricks.inputs.OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class OnlineTableStatusProvisioningStatusArgs extends com.pulumi.resources.ResourceArgs { + + public static final OnlineTableStatusProvisioningStatusArgs Empty = new OnlineTableStatusProvisioningStatusArgs(); + + @Import(name="initialPipelineSyncProgress") + private @Nullable Output initialPipelineSyncProgress; + + public Optional> initialPipelineSyncProgress() { + return Optional.ofNullable(this.initialPipelineSyncProgress); + } + + private OnlineTableStatusProvisioningStatusArgs() {} + + private OnlineTableStatusProvisioningStatusArgs(OnlineTableStatusProvisioningStatusArgs $) { + this.initialPipelineSyncProgress = $.initialPipelineSyncProgress; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(OnlineTableStatusProvisioningStatusArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private OnlineTableStatusProvisioningStatusArgs $; + + public Builder() { + $ = new OnlineTableStatusProvisioningStatusArgs(); + } + + public Builder(OnlineTableStatusProvisioningStatusArgs defaults) { + $ = new OnlineTableStatusProvisioningStatusArgs(Objects.requireNonNull(defaults)); + } + + public Builder initialPipelineSyncProgress(@Nullable Output initialPipelineSyncProgress) { + $.initialPipelineSyncProgress = initialPipelineSyncProgress; + return this; + } + + public Builder initialPipelineSyncProgress(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs initialPipelineSyncProgress) { + return initialPipelineSyncProgress(Output.of(initialPipelineSyncProgress)); + } + + public OnlineTableStatusProvisioningStatusArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs.java new file mode 100644 index 00000000..b4f65103 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs.java @@ -0,0 +1,132 @@ +// *** 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.Double; +import java.lang.Integer; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs extends com.pulumi.resources.ResourceArgs { + + public static final OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs Empty = new OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs(); + + @Import(name="estimatedCompletionTimeSeconds") + private @Nullable Output estimatedCompletionTimeSeconds; + + public Optional> estimatedCompletionTimeSeconds() { + return Optional.ofNullable(this.estimatedCompletionTimeSeconds); + } + + @Import(name="latestVersionCurrentlyProcessing") + private @Nullable Output latestVersionCurrentlyProcessing; + + public Optional> latestVersionCurrentlyProcessing() { + return Optional.ofNullable(this.latestVersionCurrentlyProcessing); + } + + @Import(name="syncProgressCompletion") + private @Nullable Output syncProgressCompletion; + + public Optional> syncProgressCompletion() { + return Optional.ofNullable(this.syncProgressCompletion); + } + + @Import(name="syncedRowCount") + private @Nullable Output syncedRowCount; + + public Optional> syncedRowCount() { + return Optional.ofNullable(this.syncedRowCount); + } + + @Import(name="totalRowCount") + private @Nullable Output totalRowCount; + + public Optional> totalRowCount() { + return Optional.ofNullable(this.totalRowCount); + } + + private OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs() {} + + private OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs $) { + this.estimatedCompletionTimeSeconds = $.estimatedCompletionTimeSeconds; + this.latestVersionCurrentlyProcessing = $.latestVersionCurrentlyProcessing; + this.syncProgressCompletion = $.syncProgressCompletion; + this.syncedRowCount = $.syncedRowCount; + this.totalRowCount = $.totalRowCount; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs $; + + public Builder() { + $ = new OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs(); + } + + public Builder(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs defaults) { + $ = new OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs(Objects.requireNonNull(defaults)); + } + + public Builder estimatedCompletionTimeSeconds(@Nullable Output estimatedCompletionTimeSeconds) { + $.estimatedCompletionTimeSeconds = estimatedCompletionTimeSeconds; + return this; + } + + public Builder estimatedCompletionTimeSeconds(Double estimatedCompletionTimeSeconds) { + return estimatedCompletionTimeSeconds(Output.of(estimatedCompletionTimeSeconds)); + } + + public Builder latestVersionCurrentlyProcessing(@Nullable Output latestVersionCurrentlyProcessing) { + $.latestVersionCurrentlyProcessing = latestVersionCurrentlyProcessing; + return this; + } + + public Builder latestVersionCurrentlyProcessing(Integer latestVersionCurrentlyProcessing) { + return latestVersionCurrentlyProcessing(Output.of(latestVersionCurrentlyProcessing)); + } + + public Builder syncProgressCompletion(@Nullable Output syncProgressCompletion) { + $.syncProgressCompletion = syncProgressCompletion; + return this; + } + + public Builder syncProgressCompletion(Double syncProgressCompletion) { + return syncProgressCompletion(Output.of(syncProgressCompletion)); + } + + public Builder syncedRowCount(@Nullable Output syncedRowCount) { + $.syncedRowCount = syncedRowCount; + return this; + } + + public Builder syncedRowCount(Integer syncedRowCount) { + return syncedRowCount(Output.of(syncedRowCount)); + } + + public Builder totalRowCount(@Nullable Output totalRowCount) { + $.totalRowCount = totalRowCount; + return this; + } + + public Builder totalRowCount(Integer totalRowCount) { + return totalRowCount(Output.of(totalRowCount)); + } + + public OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusTriggeredUpdateStatusArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusTriggeredUpdateStatusArgs.java new file mode 100644 index 00000000..43ab5ec8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusTriggeredUpdateStatusArgs.java @@ -0,0 +1,99 @@ +// *** 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.OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class OnlineTableStatusTriggeredUpdateStatusArgs extends com.pulumi.resources.ResourceArgs { + + public static final OnlineTableStatusTriggeredUpdateStatusArgs Empty = new OnlineTableStatusTriggeredUpdateStatusArgs(); + + @Import(name="lastProcessedCommitVersion") + private @Nullable Output lastProcessedCommitVersion; + + public Optional> lastProcessedCommitVersion() { + return Optional.ofNullable(this.lastProcessedCommitVersion); + } + + @Import(name="timestamp") + private @Nullable Output timestamp; + + public Optional> timestamp() { + return Optional.ofNullable(this.timestamp); + } + + @Import(name="triggeredUpdateProgress") + private @Nullable Output triggeredUpdateProgress; + + public Optional> triggeredUpdateProgress() { + return Optional.ofNullable(this.triggeredUpdateProgress); + } + + private OnlineTableStatusTriggeredUpdateStatusArgs() {} + + private OnlineTableStatusTriggeredUpdateStatusArgs(OnlineTableStatusTriggeredUpdateStatusArgs $) { + this.lastProcessedCommitVersion = $.lastProcessedCommitVersion; + this.timestamp = $.timestamp; + this.triggeredUpdateProgress = $.triggeredUpdateProgress; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(OnlineTableStatusTriggeredUpdateStatusArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private OnlineTableStatusTriggeredUpdateStatusArgs $; + + public Builder() { + $ = new OnlineTableStatusTriggeredUpdateStatusArgs(); + } + + public Builder(OnlineTableStatusTriggeredUpdateStatusArgs defaults) { + $ = new OnlineTableStatusTriggeredUpdateStatusArgs(Objects.requireNonNull(defaults)); + } + + public Builder lastProcessedCommitVersion(@Nullable Output lastProcessedCommitVersion) { + $.lastProcessedCommitVersion = lastProcessedCommitVersion; + return this; + } + + public Builder lastProcessedCommitVersion(Integer lastProcessedCommitVersion) { + return lastProcessedCommitVersion(Output.of(lastProcessedCommitVersion)); + } + + public Builder timestamp(@Nullable Output timestamp) { + $.timestamp = timestamp; + return this; + } + + public Builder timestamp(String timestamp) { + return timestamp(Output.of(timestamp)); + } + + public Builder triggeredUpdateProgress(@Nullable Output triggeredUpdateProgress) { + $.triggeredUpdateProgress = triggeredUpdateProgress; + return this; + } + + public Builder triggeredUpdateProgress(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs triggeredUpdateProgress) { + return triggeredUpdateProgress(Output.of(triggeredUpdateProgress)); + } + + public OnlineTableStatusTriggeredUpdateStatusArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs.java new file mode 100644 index 00000000..b15c5ffd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs.java @@ -0,0 +1,132 @@ +// *** 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.Double; +import java.lang.Integer; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs extends com.pulumi.resources.ResourceArgs { + + public static final OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs Empty = new OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs(); + + @Import(name="estimatedCompletionTimeSeconds") + private @Nullable Output estimatedCompletionTimeSeconds; + + public Optional> estimatedCompletionTimeSeconds() { + return Optional.ofNullable(this.estimatedCompletionTimeSeconds); + } + + @Import(name="latestVersionCurrentlyProcessing") + private @Nullable Output latestVersionCurrentlyProcessing; + + public Optional> latestVersionCurrentlyProcessing() { + return Optional.ofNullable(this.latestVersionCurrentlyProcessing); + } + + @Import(name="syncProgressCompletion") + private @Nullable Output syncProgressCompletion; + + public Optional> syncProgressCompletion() { + return Optional.ofNullable(this.syncProgressCompletion); + } + + @Import(name="syncedRowCount") + private @Nullable Output syncedRowCount; + + public Optional> syncedRowCount() { + return Optional.ofNullable(this.syncedRowCount); + } + + @Import(name="totalRowCount") + private @Nullable Output totalRowCount; + + public Optional> totalRowCount() { + return Optional.ofNullable(this.totalRowCount); + } + + private OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs() {} + + private OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs $) { + this.estimatedCompletionTimeSeconds = $.estimatedCompletionTimeSeconds; + this.latestVersionCurrentlyProcessing = $.latestVersionCurrentlyProcessing; + this.syncProgressCompletion = $.syncProgressCompletion; + this.syncedRowCount = $.syncedRowCount; + this.totalRowCount = $.totalRowCount; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs $; + + public Builder() { + $ = new OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs(); + } + + public Builder(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs defaults) { + $ = new OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs(Objects.requireNonNull(defaults)); + } + + public Builder estimatedCompletionTimeSeconds(@Nullable Output estimatedCompletionTimeSeconds) { + $.estimatedCompletionTimeSeconds = estimatedCompletionTimeSeconds; + return this; + } + + public Builder estimatedCompletionTimeSeconds(Double estimatedCompletionTimeSeconds) { + return estimatedCompletionTimeSeconds(Output.of(estimatedCompletionTimeSeconds)); + } + + public Builder latestVersionCurrentlyProcessing(@Nullable Output latestVersionCurrentlyProcessing) { + $.latestVersionCurrentlyProcessing = latestVersionCurrentlyProcessing; + return this; + } + + public Builder latestVersionCurrentlyProcessing(Integer latestVersionCurrentlyProcessing) { + return latestVersionCurrentlyProcessing(Output.of(latestVersionCurrentlyProcessing)); + } + + public Builder syncProgressCompletion(@Nullable Output syncProgressCompletion) { + $.syncProgressCompletion = syncProgressCompletion; + return this; + } + + public Builder syncProgressCompletion(Double syncProgressCompletion) { + return syncProgressCompletion(Output.of(syncProgressCompletion)); + } + + public Builder syncedRowCount(@Nullable Output syncedRowCount) { + $.syncedRowCount = syncedRowCount; + return this; + } + + public Builder syncedRowCount(Integer syncedRowCount) { + return syncedRowCount(Output.of(syncedRowCount)); + } + + public Builder totalRowCount(@Nullable Output totalRowCount) { + $.totalRowCount = totalRowCount; + return this; + } + + public Builder totalRowCount(Integer totalRowCount) { + return totalRowCount(Output.of(totalRowCount)); + } + + public OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/RegisteredModelState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/RegisteredModelState.java index 6a00bda2..c8c6d879 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/RegisteredModelState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/RegisteredModelState.java @@ -60,6 +60,21 @@ public Optional> name() { return Optional.ofNullable(this.name); } + /** + * Name of the registered model owner. + * + */ + @Import(name="owner") + private @Nullable Output owner; + + /** + * @return Name of the registered model owner. + * + */ + public Optional> owner() { + return Optional.ofNullable(this.owner); + } + /** * The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.* * @@ -96,6 +111,7 @@ private RegisteredModelState(RegisteredModelState $) { this.catalogName = $.catalogName; this.comment = $.comment; this.name = $.name; + this.owner = $.owner; this.schemaName = $.schemaName; this.storageLocation = $.storageLocation; } @@ -181,6 +197,27 @@ public Builder name(String name) { return name(Output.of(name)); } + /** + * @param owner Name of the registered model owner. + * + * @return builder + * + */ + public Builder owner(@Nullable Output owner) { + $.owner = owner; + return this; + } + + /** + * @param owner Name of the registered model owner. + * + * @return builder + * + */ + public Builder owner(String owner) { + return owner(Output.of(owner)); + } + /** * @param schemaName The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.* * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ServicePrincipalState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ServicePrincipalState.java index 8e4b4324..727305fb 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ServicePrincipalState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ServicePrincipalState.java @@ -77,14 +77,14 @@ public Optional> allowInstancePoolCreate() { } /** - * This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + * This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. * */ @Import(name="applicationId") private @Nullable Output applicationId; /** - * @return This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + * @return This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. * */ public Optional> applicationId() { @@ -107,14 +107,14 @@ public Optional> databricksSqlAccess() { } /** - * When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + * Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. * */ @Import(name="disableAsUserDeletion") private @Nullable Output disableAsUserDeletion; /** - * @return When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + * @return Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. * */ public Optional> disableAsUserDeletion() { @@ -356,7 +356,7 @@ public Builder allowInstancePoolCreate(Boolean allowInstancePoolCreate) { } /** - * @param applicationId This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + * @param applicationId This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. * * @return builder * @@ -367,7 +367,7 @@ public Builder applicationId(@Nullable Output applicationId) { } /** - * @param applicationId This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + * @param applicationId This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. * * @return builder * @@ -398,7 +398,7 @@ public Builder databricksSqlAccess(Boolean databricksSqlAccess) { } /** - * @param disableAsUserDeletion When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + * @param disableAsUserDeletion Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. * * @return builder * @@ -409,7 +409,7 @@ public Builder disableAsUserDeletion(@Nullable Output disableAsUserDele } /** - * @param disableAsUserDeletion When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + * @param disableAsUserDeletion Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ShareObjectArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ShareObjectArgs.java index ebf4dc89..e68a274d 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ShareObjectArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ShareObjectArgs.java @@ -65,14 +65,14 @@ public Optional> comment() { } /** - * Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, `NOTEBOOK_FILE` are supported. + * Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. * */ @Import(name="dataObjectType", required=true) private Output dataObjectType; /** - * @return Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, `NOTEBOOK_FILE` are supported. + * @return Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. * */ public Output dataObjectType() { @@ -99,14 +99,14 @@ public Optional> historyDataSharingStatus() { } /** - * Full name of the object, e.g. `catalog.schema.name` for a table. + * Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. * */ @Import(name="name", required=true) private Output name; /** - * @return Full name of the object, e.g. `catalog.schema.name` for a table. + * @return Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. * */ public Output name() { @@ -260,7 +260,7 @@ public Builder comment(String comment) { } /** - * @param dataObjectType Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, `NOTEBOOK_FILE` are supported. + * @param dataObjectType Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. * * @return builder * @@ -271,7 +271,7 @@ public Builder dataObjectType(Output dataObjectType) { } /** - * @param dataObjectType Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, `NOTEBOOK_FILE` are supported. + * @param dataObjectType Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. * * @return builder * @@ -306,7 +306,7 @@ public Builder historyDataSharingStatus(String historyDataSharingStatus) { } /** - * @param name Full name of the object, e.g. `catalog.schema.name` for a table. + * @param name Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. * * @return builder * @@ -317,7 +317,7 @@ public Builder name(Output name) { } /** - * @param name Full name of the object, e.g. `catalog.schema.name` for a table. + * @param name Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/StorageCredentialAwsIamRoleArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/StorageCredentialAwsIamRoleArgs.java index d90a04cb..54527806 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/StorageCredentialAwsIamRoleArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/StorageCredentialAwsIamRoleArgs.java @@ -16,17 +16,9 @@ public final class StorageCredentialAwsIamRoleArgs extends com.pulumi.resources. public static final StorageCredentialAwsIamRoleArgs Empty = new StorageCredentialAwsIamRoleArgs(); - /** - * The external ID used in role assumption to prevent confused deputy problem. - * - */ @Import(name="externalId") private @Nullable Output externalId; - /** - * @return The external ID used in role assumption to prevent confused deputy problem. - * - */ public Optional> externalId() { return Optional.ofNullable(this.externalId); } @@ -34,6 +26,8 @@ public Optional> 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` * + * `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): + * */ @Import(name="roleArn", required=true) private Output roleArn; @@ -41,26 +35,16 @@ public Optional> externalId() { /** * @return 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): + * */ public Output roleArn() { return this.roleArn; } - /** - * The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. - * - * `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): - * - */ @Import(name="unityCatalogIamArn") private @Nullable Output unityCatalogIamArn; - /** - * @return The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. - * - * `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): - * - */ public Optional> unityCatalogIamArn() { return Optional.ofNullable(this.unityCatalogIamArn); } @@ -91,23 +75,11 @@ public Builder(StorageCredentialAwsIamRoleArgs defaults) { $ = new StorageCredentialAwsIamRoleArgs(Objects.requireNonNull(defaults)); } - /** - * @param externalId The external ID used in role assumption to prevent confused deputy problem. - * - * @return builder - * - */ public Builder externalId(@Nullable Output externalId) { $.externalId = externalId; return this; } - /** - * @param externalId The external ID used in role assumption to prevent confused deputy problem. - * - * @return builder - * - */ public Builder externalId(String externalId) { return externalId(Output.of(externalId)); } @@ -115,6 +87,8 @@ public Builder externalId(String externalId) { /** * @param roleArn 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 builder * */ @@ -126,6 +100,8 @@ public Builder roleArn(Output roleArn) { /** * @param roleArn 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 builder * */ @@ -133,27 +109,11 @@ public Builder roleArn(String roleArn) { return roleArn(Output.of(roleArn)); } - /** - * @param unityCatalogIamArn The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. - * - * `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): - * - * @return builder - * - */ public Builder unityCatalogIamArn(@Nullable Output unityCatalogIamArn) { $.unityCatalogIamArn = unityCatalogIamArn; return this; } - /** - * @param unityCatalogIamArn The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. - * - * `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): - * - * @return builder - * - */ public Builder unityCatalogIamArn(String unityCatalogIamArn) { return unityCatalogIamArn(Output.of(unityCatalogIamArn)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/UserState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/UserState.java index 1adfc3d9..74fb5917 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/UserState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/UserState.java @@ -92,14 +92,14 @@ public Optional> databricksSqlAccess() { } /** - * When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + * Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. * */ @Import(name="disableAsUserDeletion") private @Nullable Output disableAsUserDeletion; /** - * @return When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + * @return Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. * */ public Optional> disableAsUserDeletion() { @@ -369,7 +369,7 @@ public Builder databricksSqlAccess(Boolean databricksSqlAccess) { } /** - * @param disableAsUserDeletion When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + * @param disableAsUserDeletion Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. * * @return builder * @@ -380,7 +380,7 @@ public Builder disableAsUserDeletion(@Nullable Output disableAsUserDele } /** - * @param disableAsUserDeletion When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + * @param disableAsUserDeletion Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchEndpointEndpointStatusArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchEndpointEndpointStatusArgs.java index b856a4cf..e910773f 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchEndpointEndpointStatusArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchEndpointEndpointStatusArgs.java @@ -31,14 +31,14 @@ public Optional> message() { } /** - * Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, `OFFLINE`. + * Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. * */ @Import(name="state") private @Nullable Output state; /** - * @return Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, `OFFLINE`. + * @return Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. * */ public Optional> state() { @@ -92,7 +92,7 @@ public Builder message(String message) { } /** - * @param state Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, `OFFLINE`. + * @param state Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. * * @return builder * @@ -103,7 +103,7 @@ public Builder state(@Nullable Output state) { } /** - * @param state Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, `OFFLINE`. + * @param state Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchEndpointState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchEndpointState.java index 481188a4..a98f1c00 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchEndpointState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchEndpointState.java @@ -64,14 +64,14 @@ public Optional> endpointId() { } /** - * Object describing the current status of the endpoint consisting of following fields: + * Object describing the current status of the endpoint consisting of the following fields: * */ @Import(name="endpointStatuses") private @Nullable Output> endpointStatuses; /** - * @return Object describing the current status of the endpoint consisting of following fields: + * @return Object describing the current status of the endpoint consisting of the following fields: * */ public Optional>> endpointStatuses() { @@ -79,14 +79,14 @@ public Optional>> endpointSt } /** - * type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + * Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). * */ @Import(name="endpointType") private @Nullable Output endpointType; /** - * @return type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + * @return Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). * */ public Optional> endpointType() { @@ -94,14 +94,14 @@ public Optional> endpointType() { } /** - * Timestamp of last update to the endpoint (milliseconds). + * Timestamp of the last update to the endpoint (milliseconds). * */ @Import(name="lastUpdatedTimestamp") private @Nullable Output lastUpdatedTimestamp; /** - * @return Timestamp of last update to the endpoint (milliseconds). + * @return Timestamp of the last update to the endpoint (milliseconds). * */ public Optional> lastUpdatedTimestamp() { @@ -124,14 +124,14 @@ public Optional> lastUpdatedUser() { } /** - * Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + * Name of the Vector Search Endpoint to create. * */ @Import(name="name") private @Nullable Output name; /** - * @return Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + * @return Name of the Vector Search Endpoint to create. * */ public Optional> name() { @@ -249,7 +249,7 @@ public Builder endpointId(String endpointId) { } /** - * @param endpointStatuses Object describing the current status of the endpoint consisting of following fields: + * @param endpointStatuses Object describing the current status of the endpoint consisting of the following fields: * * @return builder * @@ -260,7 +260,7 @@ public Builder endpointStatuses(@Nullable Output end } /** - * @param endpointStatuses Object describing the current status of the endpoint consisting of following fields: + * @param endpointStatuses Object describing the current status of the endpoint consisting of the following fields: * * @return builder * @@ -280,7 +280,7 @@ public Builder endpointStatuses(VectorSearchEndpointEndpointStatusArgs... endpoi } /** - * @param endpointType type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + * @param endpointType Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). * * @return builder * @@ -291,7 +291,7 @@ public Builder endpointType(@Nullable Output endpointType) { } /** - * @param endpointType type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + * @param endpointType Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). * * @return builder * @@ -301,7 +301,7 @@ public Builder endpointType(String endpointType) { } /** - * @param lastUpdatedTimestamp Timestamp of last update to the endpoint (milliseconds). + * @param lastUpdatedTimestamp Timestamp of the last update to the endpoint (milliseconds). * * @return builder * @@ -312,7 +312,7 @@ public Builder lastUpdatedTimestamp(@Nullable Output lastUpdatedTimesta } /** - * @param lastUpdatedTimestamp Timestamp of last update to the endpoint (milliseconds). + * @param lastUpdatedTimestamp Timestamp of the last update to the endpoint (milliseconds). * * @return builder * @@ -343,7 +343,7 @@ public Builder lastUpdatedUser(String lastUpdatedUser) { } /** - * @param name Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + * @param name Name of the Vector Search Endpoint to create. * * @return builder * @@ -354,7 +354,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + * @param name Name of the Vector Search Endpoint to create. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDeltaSyncIndexSpecArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDeltaSyncIndexSpecArgs.java new file mode 100644 index 00000000..e048a682 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDeltaSyncIndexSpecArgs.java @@ -0,0 +1,254 @@ +// *** 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.VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs; +import com.pulumi.databricks.inputs.VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class VectorSearchIndexDeltaSyncIndexSpecArgs extends com.pulumi.resources.ResourceArgs { + + public static final VectorSearchIndexDeltaSyncIndexSpecArgs Empty = new VectorSearchIndexDeltaSyncIndexSpecArgs(); + + /** + * array of objects representing columns that contain the embedding source. Each entry consists of: + * + */ + @Import(name="embeddingSourceColumns") + private @Nullable Output> embeddingSourceColumns; + + /** + * @return array of objects representing columns that contain the embedding source. Each entry consists of: + * + */ + public Optional>> embeddingSourceColumns() { + return Optional.ofNullable(this.embeddingSourceColumns); + } + + /** + * array of objects representing columns that contain the embedding vectors. Each entry consists of: + * + */ + @Import(name="embeddingVectorColumns") + private @Nullable Output> embeddingVectorColumns; + + /** + * @return array of objects representing columns that contain the embedding vectors. Each entry consists of: + * + */ + public Optional>> embeddingVectorColumns() { + return Optional.ofNullable(this.embeddingVectorColumns); + } + + /** + * ID of the associated Delta Live Table pipeline. + * + */ + @Import(name="pipelineId") + private @Nullable Output pipelineId; + + /** + * @return ID of the associated Delta Live Table pipeline. + * + */ + public Optional> pipelineId() { + return Optional.ofNullable(this.pipelineId); + } + + /** + * Pipeline execution mode. Possible values are: + * + */ + @Import(name="pipelineType") + private @Nullable Output pipelineType; + + /** + * @return Pipeline execution mode. Possible values are: + * + */ + public Optional> pipelineType() { + return Optional.ofNullable(this.pipelineType); + } + + /** + * The name of the source table. + * + */ + @Import(name="sourceTable") + private @Nullable Output sourceTable; + + /** + * @return The name of the source table. + * + */ + public Optional> sourceTable() { + return Optional.ofNullable(this.sourceTable); + } + + private VectorSearchIndexDeltaSyncIndexSpecArgs() {} + + private VectorSearchIndexDeltaSyncIndexSpecArgs(VectorSearchIndexDeltaSyncIndexSpecArgs $) { + this.embeddingSourceColumns = $.embeddingSourceColumns; + this.embeddingVectorColumns = $.embeddingVectorColumns; + this.pipelineId = $.pipelineId; + this.pipelineType = $.pipelineType; + this.sourceTable = $.sourceTable; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(VectorSearchIndexDeltaSyncIndexSpecArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private VectorSearchIndexDeltaSyncIndexSpecArgs $; + + public Builder() { + $ = new VectorSearchIndexDeltaSyncIndexSpecArgs(); + } + + public Builder(VectorSearchIndexDeltaSyncIndexSpecArgs defaults) { + $ = new VectorSearchIndexDeltaSyncIndexSpecArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param embeddingSourceColumns array of objects representing columns that contain the embedding source. Each entry consists of: + * + * @return builder + * + */ + public Builder embeddingSourceColumns(@Nullable Output> embeddingSourceColumns) { + $.embeddingSourceColumns = embeddingSourceColumns; + return this; + } + + /** + * @param embeddingSourceColumns array of objects representing columns that contain the embedding source. Each entry consists of: + * + * @return builder + * + */ + public Builder embeddingSourceColumns(List embeddingSourceColumns) { + return embeddingSourceColumns(Output.of(embeddingSourceColumns)); + } + + /** + * @param embeddingSourceColumns array of objects representing columns that contain the embedding source. Each entry consists of: + * + * @return builder + * + */ + public Builder embeddingSourceColumns(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs... embeddingSourceColumns) { + return embeddingSourceColumns(List.of(embeddingSourceColumns)); + } + + /** + * @param embeddingVectorColumns array of objects representing columns that contain the embedding vectors. Each entry consists of: + * + * @return builder + * + */ + public Builder embeddingVectorColumns(@Nullable Output> embeddingVectorColumns) { + $.embeddingVectorColumns = embeddingVectorColumns; + return this; + } + + /** + * @param embeddingVectorColumns array of objects representing columns that contain the embedding vectors. Each entry consists of: + * + * @return builder + * + */ + public Builder embeddingVectorColumns(List embeddingVectorColumns) { + return embeddingVectorColumns(Output.of(embeddingVectorColumns)); + } + + /** + * @param embeddingVectorColumns array of objects representing columns that contain the embedding vectors. Each entry consists of: + * + * @return builder + * + */ + public Builder embeddingVectorColumns(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs... embeddingVectorColumns) { + return embeddingVectorColumns(List.of(embeddingVectorColumns)); + } + + /** + * @param pipelineId ID of the associated Delta Live Table pipeline. + * + * @return builder + * + */ + public Builder pipelineId(@Nullable Output pipelineId) { + $.pipelineId = pipelineId; + return this; + } + + /** + * @param pipelineId ID of the associated Delta Live Table pipeline. + * + * @return builder + * + */ + public Builder pipelineId(String pipelineId) { + return pipelineId(Output.of(pipelineId)); + } + + /** + * @param pipelineType Pipeline execution mode. Possible values are: + * + * @return builder + * + */ + public Builder pipelineType(@Nullable Output pipelineType) { + $.pipelineType = pipelineType; + return this; + } + + /** + * @param pipelineType Pipeline execution mode. Possible values are: + * + * @return builder + * + */ + public Builder pipelineType(String pipelineType) { + return pipelineType(Output.of(pipelineType)); + } + + /** + * @param sourceTable The name of the source table. + * + * @return builder + * + */ + public Builder sourceTable(@Nullable Output sourceTable) { + $.sourceTable = sourceTable; + return this; + } + + /** + * @param sourceTable The name of the source table. + * + * @return builder + * + */ + public Builder sourceTable(String sourceTable) { + return sourceTable(Output.of(sourceTable)); + } + + public VectorSearchIndexDeltaSyncIndexSpecArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs.java new file mode 100644 index 00000000..c759179e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs.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 VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs extends com.pulumi.resources.ResourceArgs { + + public static final VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs Empty = new VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs(); + + /** + * The name of the embedding model endpoint + * + */ + @Import(name="embeddingModelEndpointName") + private @Nullable Output embeddingModelEndpointName; + + /** + * @return The name of the embedding model endpoint + * + */ + public Optional> embeddingModelEndpointName() { + return Optional.ofNullable(this.embeddingModelEndpointName); + } + + /** + * The name of the column. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the column. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs() {} + + private VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs $) { + this.embeddingModelEndpointName = $.embeddingModelEndpointName; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs $; + + public Builder() { + $ = new VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs(); + } + + public Builder(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs defaults) { + $ = new VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param embeddingModelEndpointName The name of the embedding model endpoint + * + * @return builder + * + */ + public Builder embeddingModelEndpointName(@Nullable Output embeddingModelEndpointName) { + $.embeddingModelEndpointName = embeddingModelEndpointName; + return this; + } + + /** + * @param embeddingModelEndpointName The name of the embedding model endpoint + * + * @return builder + * + */ + public Builder embeddingModelEndpointName(String embeddingModelEndpointName) { + return embeddingModelEndpointName(Output.of(embeddingModelEndpointName)); + } + + /** + * @param name The name of the column. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the column. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs.java new file mode 100644 index 00000000..0dc2ea87 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs.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 VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs extends com.pulumi.resources.ResourceArgs { + + public static final VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs Empty = new VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs(); + + /** + * Dimension of the embedding vector. + * + */ + @Import(name="embeddingDimension") + private @Nullable Output embeddingDimension; + + /** + * @return Dimension of the embedding vector. + * + */ + public Optional> embeddingDimension() { + return Optional.ofNullable(this.embeddingDimension); + } + + /** + * The name of the column. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the column. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs() {} + + private VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs $) { + this.embeddingDimension = $.embeddingDimension; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs $; + + public Builder() { + $ = new VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs(); + } + + public Builder(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs defaults) { + $ = new VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param embeddingDimension Dimension of the embedding vector. + * + * @return builder + * + */ + public Builder embeddingDimension(@Nullable Output embeddingDimension) { + $.embeddingDimension = embeddingDimension; + return this; + } + + /** + * @param embeddingDimension Dimension of the embedding vector. + * + * @return builder + * + */ + public Builder embeddingDimension(Integer embeddingDimension) { + return embeddingDimension(Output.of(embeddingDimension)); + } + + /** + * @param name The name of the column. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the column. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDirectAccessIndexSpecArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDirectAccessIndexSpecArgs.java new file mode 100644 index 00000000..836f40d1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDirectAccessIndexSpecArgs.java @@ -0,0 +1,180 @@ +// *** 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.VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs; +import com.pulumi.databricks.inputs.VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class VectorSearchIndexDirectAccessIndexSpecArgs extends com.pulumi.resources.ResourceArgs { + + public static final VectorSearchIndexDirectAccessIndexSpecArgs Empty = new VectorSearchIndexDirectAccessIndexSpecArgs(); + + /** + * array of objects representing columns that contain the embedding source. Each entry consists of: + * + */ + @Import(name="embeddingSourceColumns") + private @Nullable Output> embeddingSourceColumns; + + /** + * @return array of objects representing columns that contain the embedding source. Each entry consists of: + * + */ + public Optional>> embeddingSourceColumns() { + return Optional.ofNullable(this.embeddingSourceColumns); + } + + /** + * array of objects representing columns that contain the embedding vectors. Each entry consists of: + * + */ + @Import(name="embeddingVectorColumns") + private @Nullable Output> embeddingVectorColumns; + + /** + * @return array of objects representing columns that contain the embedding vectors. Each entry consists of: + * + */ + public Optional>> embeddingVectorColumns() { + return Optional.ofNullable(this.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. + * + */ + @Import(name="schemaJson") + private @Nullable Output schemaJson; + + /** + * @return 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. + * + */ + public Optional> schemaJson() { + return Optional.ofNullable(this.schemaJson); + } + + private VectorSearchIndexDirectAccessIndexSpecArgs() {} + + private VectorSearchIndexDirectAccessIndexSpecArgs(VectorSearchIndexDirectAccessIndexSpecArgs $) { + this.embeddingSourceColumns = $.embeddingSourceColumns; + this.embeddingVectorColumns = $.embeddingVectorColumns; + this.schemaJson = $.schemaJson; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(VectorSearchIndexDirectAccessIndexSpecArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private VectorSearchIndexDirectAccessIndexSpecArgs $; + + public Builder() { + $ = new VectorSearchIndexDirectAccessIndexSpecArgs(); + } + + public Builder(VectorSearchIndexDirectAccessIndexSpecArgs defaults) { + $ = new VectorSearchIndexDirectAccessIndexSpecArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param embeddingSourceColumns array of objects representing columns that contain the embedding source. Each entry consists of: + * + * @return builder + * + */ + public Builder embeddingSourceColumns(@Nullable Output> embeddingSourceColumns) { + $.embeddingSourceColumns = embeddingSourceColumns; + return this; + } + + /** + * @param embeddingSourceColumns array of objects representing columns that contain the embedding source. Each entry consists of: + * + * @return builder + * + */ + public Builder embeddingSourceColumns(List embeddingSourceColumns) { + return embeddingSourceColumns(Output.of(embeddingSourceColumns)); + } + + /** + * @param embeddingSourceColumns array of objects representing columns that contain the embedding source. Each entry consists of: + * + * @return builder + * + */ + public Builder embeddingSourceColumns(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs... embeddingSourceColumns) { + return embeddingSourceColumns(List.of(embeddingSourceColumns)); + } + + /** + * @param embeddingVectorColumns array of objects representing columns that contain the embedding vectors. Each entry consists of: + * + * @return builder + * + */ + public Builder embeddingVectorColumns(@Nullable Output> embeddingVectorColumns) { + $.embeddingVectorColumns = embeddingVectorColumns; + return this; + } + + /** + * @param embeddingVectorColumns array of objects representing columns that contain the embedding vectors. Each entry consists of: + * + * @return builder + * + */ + public Builder embeddingVectorColumns(List embeddingVectorColumns) { + return embeddingVectorColumns(Output.of(embeddingVectorColumns)); + } + + /** + * @param embeddingVectorColumns array of objects representing columns that contain the embedding vectors. Each entry consists of: + * + * @return builder + * + */ + public Builder embeddingVectorColumns(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs... embeddingVectorColumns) { + return embeddingVectorColumns(List.of(embeddingVectorColumns)); + } + + /** + * @param schemaJson 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 builder + * + */ + public Builder schemaJson(@Nullable Output schemaJson) { + $.schemaJson = schemaJson; + return this; + } + + /** + * @param schemaJson 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 builder + * + */ + public Builder schemaJson(String schemaJson) { + return schemaJson(Output.of(schemaJson)); + } + + public VectorSearchIndexDirectAccessIndexSpecArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs.java new file mode 100644 index 00000000..263fb7d8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs.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 VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs extends com.pulumi.resources.ResourceArgs { + + public static final VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs Empty = new VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs(); + + /** + * The name of the embedding model endpoint + * + */ + @Import(name="embeddingModelEndpointName") + private @Nullable Output embeddingModelEndpointName; + + /** + * @return The name of the embedding model endpoint + * + */ + public Optional> embeddingModelEndpointName() { + return Optional.ofNullable(this.embeddingModelEndpointName); + } + + /** + * The name of the column. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the column. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs() {} + + private VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs $) { + this.embeddingModelEndpointName = $.embeddingModelEndpointName; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs $; + + public Builder() { + $ = new VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs(); + } + + public Builder(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs defaults) { + $ = new VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param embeddingModelEndpointName The name of the embedding model endpoint + * + * @return builder + * + */ + public Builder embeddingModelEndpointName(@Nullable Output embeddingModelEndpointName) { + $.embeddingModelEndpointName = embeddingModelEndpointName; + return this; + } + + /** + * @param embeddingModelEndpointName The name of the embedding model endpoint + * + * @return builder + * + */ + public Builder embeddingModelEndpointName(String embeddingModelEndpointName) { + return embeddingModelEndpointName(Output.of(embeddingModelEndpointName)); + } + + /** + * @param name The name of the column. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the column. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs.java new file mode 100644 index 00000000..8c29bb1d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs.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 VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs extends com.pulumi.resources.ResourceArgs { + + public static final VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs Empty = new VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs(); + + /** + * Dimension of the embedding vector. + * + */ + @Import(name="embeddingDimension") + private @Nullable Output embeddingDimension; + + /** + * @return Dimension of the embedding vector. + * + */ + public Optional> embeddingDimension() { + return Optional.ofNullable(this.embeddingDimension); + } + + /** + * The name of the column. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the column. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs() {} + + private VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs $) { + this.embeddingDimension = $.embeddingDimension; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs $; + + public Builder() { + $ = new VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs(); + } + + public Builder(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs defaults) { + $ = new VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param embeddingDimension Dimension of the embedding vector. + * + * @return builder + * + */ + public Builder embeddingDimension(@Nullable Output embeddingDimension) { + $.embeddingDimension = embeddingDimension; + return this; + } + + /** + * @param embeddingDimension Dimension of the embedding vector. + * + * @return builder + * + */ + public Builder embeddingDimension(Integer embeddingDimension) { + return embeddingDimension(Output.of(embeddingDimension)); + } + + /** + * @param name The name of the column. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the column. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexState.java new file mode 100644 index 00000000..5e5575d7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexState.java @@ -0,0 +1,356 @@ +// *** 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.VectorSearchIndexDeltaSyncIndexSpecArgs; +import com.pulumi.databricks.inputs.VectorSearchIndexDirectAccessIndexSpecArgs; +import com.pulumi.databricks.inputs.VectorSearchIndexStatusArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class VectorSearchIndexState extends com.pulumi.resources.ResourceArgs { + + public static final VectorSearchIndexState Empty = new VectorSearchIndexState(); + + /** + * Creator of the endpoint. + * + */ + @Import(name="creator") + private @Nullable Output creator; + + /** + * @return Creator of the endpoint. + * + */ + public Optional> creator() { + return Optional.ofNullable(this.creator); + } + + /** + * Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`. + * + */ + @Import(name="deltaSyncIndexSpec") + private @Nullable Output deltaSyncIndexSpec; + + /** + * @return Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`. + * + */ + public Optional> deltaSyncIndexSpec() { + return Optional.ofNullable(this.deltaSyncIndexSpec); + } + + /** + * Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`. + * + */ + @Import(name="directAccessIndexSpec") + private @Nullable Output directAccessIndexSpec; + + /** + * @return Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`. + * + */ + public Optional> directAccessIndexSpec() { + return Optional.ofNullable(this.directAccessIndexSpec); + } + + /** + * The name of the Vector Search Endpoint that will be used for indexing the data. + * + */ + @Import(name="endpointName") + private @Nullable Output endpointName; + + /** + * @return The name of the Vector Search Endpoint that will be used for indexing the data. + * + */ + public Optional> endpointName() { + return Optional.ofNullable(this.endpointName); + } + + /** + * Vector Search index type. Currently supported values are: + * + */ + @Import(name="indexType") + private @Nullable Output indexType; + + /** + * @return Vector Search index type. Currently supported values are: + * + */ + public Optional> indexType() { + return Optional.ofNullable(this.indexType); + } + + /** + * The name of the column. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the column. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The column name that will be used as a primary key. + * + */ + @Import(name="primaryKey") + private @Nullable Output primaryKey; + + /** + * @return The column name that will be used as a primary key. + * + */ + public Optional> primaryKey() { + return Optional.ofNullable(this.primaryKey); + } + + /** + * Object describing the current status of the index consisting of the following fields: + * + */ + @Import(name="statuses") + private @Nullable Output> statuses; + + /** + * @return Object describing the current status of the index consisting of the following fields: + * + */ + public Optional>> statuses() { + return Optional.ofNullable(this.statuses); + } + + private VectorSearchIndexState() {} + + private VectorSearchIndexState(VectorSearchIndexState $) { + this.creator = $.creator; + this.deltaSyncIndexSpec = $.deltaSyncIndexSpec; + this.directAccessIndexSpec = $.directAccessIndexSpec; + this.endpointName = $.endpointName; + this.indexType = $.indexType; + this.name = $.name; + this.primaryKey = $.primaryKey; + this.statuses = $.statuses; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(VectorSearchIndexState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private VectorSearchIndexState $; + + public Builder() { + $ = new VectorSearchIndexState(); + } + + public Builder(VectorSearchIndexState defaults) { + $ = new VectorSearchIndexState(Objects.requireNonNull(defaults)); + } + + /** + * @param creator Creator of the endpoint. + * + * @return builder + * + */ + public Builder creator(@Nullable Output creator) { + $.creator = creator; + return this; + } + + /** + * @param creator Creator of the endpoint. + * + * @return builder + * + */ + public Builder creator(String creator) { + return creator(Output.of(creator)); + } + + /** + * @param deltaSyncIndexSpec Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`. + * + * @return builder + * + */ + public Builder deltaSyncIndexSpec(@Nullable Output deltaSyncIndexSpec) { + $.deltaSyncIndexSpec = deltaSyncIndexSpec; + return this; + } + + /** + * @param deltaSyncIndexSpec Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`. + * + * @return builder + * + */ + public Builder deltaSyncIndexSpec(VectorSearchIndexDeltaSyncIndexSpecArgs deltaSyncIndexSpec) { + return deltaSyncIndexSpec(Output.of(deltaSyncIndexSpec)); + } + + /** + * @param directAccessIndexSpec Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`. + * + * @return builder + * + */ + public Builder directAccessIndexSpec(@Nullable Output directAccessIndexSpec) { + $.directAccessIndexSpec = directAccessIndexSpec; + return this; + } + + /** + * @param directAccessIndexSpec Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`. + * + * @return builder + * + */ + public Builder directAccessIndexSpec(VectorSearchIndexDirectAccessIndexSpecArgs directAccessIndexSpec) { + return directAccessIndexSpec(Output.of(directAccessIndexSpec)); + } + + /** + * @param endpointName The name of the Vector Search Endpoint that will be used for indexing the data. + * + * @return builder + * + */ + public Builder endpointName(@Nullable Output endpointName) { + $.endpointName = endpointName; + return this; + } + + /** + * @param endpointName The name of the Vector Search Endpoint that will be used for indexing the data. + * + * @return builder + * + */ + public Builder endpointName(String endpointName) { + return endpointName(Output.of(endpointName)); + } + + /** + * @param indexType Vector Search index type. Currently supported values are: + * + * @return builder + * + */ + public Builder indexType(@Nullable Output indexType) { + $.indexType = indexType; + return this; + } + + /** + * @param indexType Vector Search index type. Currently supported values are: + * + * @return builder + * + */ + public Builder indexType(String indexType) { + return indexType(Output.of(indexType)); + } + + /** + * @param name The name of the column. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the column. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param primaryKey The column name that will be used as a primary key. + * + * @return builder + * + */ + public Builder primaryKey(@Nullable Output primaryKey) { + $.primaryKey = primaryKey; + return this; + } + + /** + * @param primaryKey The column name that will be used as a primary key. + * + * @return builder + * + */ + public Builder primaryKey(String primaryKey) { + return primaryKey(Output.of(primaryKey)); + } + + /** + * @param statuses Object describing the current status of the index consisting of the following fields: + * + * @return builder + * + */ + public Builder statuses(@Nullable Output> statuses) { + $.statuses = statuses; + return this; + } + + /** + * @param statuses Object describing the current status of the index consisting of the following fields: + * + * @return builder + * + */ + public Builder statuses(List statuses) { + return statuses(Output.of(statuses)); + } + + /** + * @param statuses Object describing the current status of the index consisting of the following fields: + * + * @return builder + * + */ + public Builder statuses(VectorSearchIndexStatusArgs... statuses) { + return statuses(List.of(statuses)); + } + + public VectorSearchIndexState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexStatusArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexStatusArgs.java new file mode 100644 index 00000000..ad848e39 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VectorSearchIndexStatusArgs.java @@ -0,0 +1,196 @@ +// *** 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 VectorSearchIndexStatusArgs extends com.pulumi.resources.ResourceArgs { + + public static final VectorSearchIndexStatusArgs Empty = new VectorSearchIndexStatusArgs(); + + /** + * Index API Url to be used to perform operations on the index + * + */ + @Import(name="indexUrl") + private @Nullable Output indexUrl; + + /** + * @return Index API Url to be used to perform operations on the index + * + */ + public Optional> indexUrl() { + return Optional.ofNullable(this.indexUrl); + } + + /** + * Number of rows indexed + * + */ + @Import(name="indexedRowCount") + private @Nullable Output indexedRowCount; + + /** + * @return Number of rows indexed + * + */ + public Optional> indexedRowCount() { + return Optional.ofNullable(this.indexedRowCount); + } + + /** + * Message associated with the index status + * + */ + @Import(name="message") + private @Nullable Output message; + + /** + * @return Message associated with the index status + * + */ + public Optional> message() { + return Optional.ofNullable(this.message); + } + + /** + * Whether the index is ready for search + * + */ + @Import(name="ready") + private @Nullable Output ready; + + /** + * @return Whether the index is ready for search + * + */ + public Optional> ready() { + return Optional.ofNullable(this.ready); + } + + private VectorSearchIndexStatusArgs() {} + + private VectorSearchIndexStatusArgs(VectorSearchIndexStatusArgs $) { + this.indexUrl = $.indexUrl; + this.indexedRowCount = $.indexedRowCount; + this.message = $.message; + this.ready = $.ready; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(VectorSearchIndexStatusArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private VectorSearchIndexStatusArgs $; + + public Builder() { + $ = new VectorSearchIndexStatusArgs(); + } + + public Builder(VectorSearchIndexStatusArgs defaults) { + $ = new VectorSearchIndexStatusArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param indexUrl Index API Url to be used to perform operations on the index + * + * @return builder + * + */ + public Builder indexUrl(@Nullable Output indexUrl) { + $.indexUrl = indexUrl; + return this; + } + + /** + * @param indexUrl Index API Url to be used to perform operations on the index + * + * @return builder + * + */ + public Builder indexUrl(String indexUrl) { + return indexUrl(Output.of(indexUrl)); + } + + /** + * @param indexedRowCount Number of rows indexed + * + * @return builder + * + */ + public Builder indexedRowCount(@Nullable Output indexedRowCount) { + $.indexedRowCount = indexedRowCount; + return this; + } + + /** + * @param indexedRowCount Number of rows indexed + * + * @return builder + * + */ + public Builder indexedRowCount(Integer indexedRowCount) { + return indexedRowCount(Output.of(indexedRowCount)); + } + + /** + * @param message Message associated with the index status + * + * @return builder + * + */ + public Builder message(@Nullable Output message) { + $.message = message; + return this; + } + + /** + * @param message Message associated with the index status + * + * @return builder + * + */ + public Builder message(String message) { + return message(Output.of(message)); + } + + /** + * @param ready Whether the index is ready for search + * + * @return builder + * + */ + public Builder ready(@Nullable Output ready) { + $.ready = ready; + return this; + } + + /** + * @param ready Whether the index is ready for search + * + * @return builder + * + */ + public Builder ready(Boolean ready) { + return ready(Output.of(ready)); + } + + public VectorSearchIndexStatusArgs build() { + return $; + } + } + +} 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 cb8f23f5..6e1a562f 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 @@ -8,10 +8,12 @@ import java.lang.String; import java.util.List; import java.util.Objects; +import java.util.Optional; import javax.annotation.Nullable; @CustomType public final class GetAwsCrossAccountPolicyResult { + private @Nullable String awsAccountId; /** * @return The provider-assigned unique ID for this managed resource. * @@ -23,8 +25,15 @@ public final class GetAwsCrossAccountPolicyResult { */ private String json; private @Nullable List passRoles; + private @Nullable String policyType; + private @Nullable String region; + private @Nullable String securityGroupId; + private @Nullable String vpcId; private GetAwsCrossAccountPolicyResult() {} + public Optional awsAccountId() { + return Optional.ofNullable(this.awsAccountId); + } /** * @return The provider-assigned unique ID for this managed resource. * @@ -42,6 +51,18 @@ public String json() { public List passRoles() { return this.passRoles == null ? List.of() : this.passRoles; } + public Optional policyType() { + return Optional.ofNullable(this.policyType); + } + public Optional region() { + return Optional.ofNullable(this.region); + } + public Optional securityGroupId() { + return Optional.ofNullable(this.securityGroupId); + } + public Optional vpcId() { + return Optional.ofNullable(this.vpcId); + } public static Builder builder() { return new Builder(); @@ -52,17 +73,33 @@ public static Builder builder(GetAwsCrossAccountPolicyResult defaults) { } @CustomType.Builder public static final class Builder { + private @Nullable String awsAccountId; private String id; private String json; private @Nullable List passRoles; + private @Nullable String policyType; + private @Nullable String region; + private @Nullable String securityGroupId; + private @Nullable String vpcId; public Builder() {} public Builder(GetAwsCrossAccountPolicyResult defaults) { Objects.requireNonNull(defaults); + this.awsAccountId = defaults.awsAccountId; this.id = defaults.id; this.json = defaults.json; this.passRoles = defaults.passRoles; + this.policyType = defaults.policyType; + this.region = defaults.region; + this.securityGroupId = defaults.securityGroupId; + this.vpcId = defaults.vpcId; } + @CustomType.Setter + public Builder awsAccountId(@Nullable String awsAccountId) { + + this.awsAccountId = awsAccountId; + return this; + } @CustomType.Setter public Builder id(String id) { if (id == null) { @@ -88,11 +125,40 @@ public Builder passRoles(@Nullable List passRoles) { public Builder passRoles(String... passRoles) { return passRoles(List.of(passRoles)); } + @CustomType.Setter + public Builder policyType(@Nullable String policyType) { + + this.policyType = policyType; + return this; + } + @CustomType.Setter + public Builder region(@Nullable String region) { + + this.region = region; + return this; + } + @CustomType.Setter + public Builder securityGroupId(@Nullable String securityGroupId) { + + this.securityGroupId = securityGroupId; + return this; + } + @CustomType.Setter + public Builder vpcId(@Nullable String vpcId) { + + this.vpcId = vpcId; + return this; + } public GetAwsCrossAccountPolicyResult build() { final var _resultValue = new GetAwsCrossAccountPolicyResult(); + _resultValue.awsAccountId = awsAccountId; _resultValue.id = id; _resultValue.json = json; _resultValue.passRoles = passRoles; + _resultValue.policyType = policyType; + _resultValue.region = region; + _resultValue.securityGroupId = securityGroupId; + _resultValue.vpcId = vpcId; return _resultValue; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskConditionTask.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskConditionTask.java index 9022bec9..91a05943 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskConditionTask.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskConditionTask.java @@ -4,26 +4,25 @@ 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 GetJobJobSettingsSettingsTaskConditionTask { - private @Nullable String left; - private @Nullable String op; - private @Nullable String right; + private String left; + private String op; + private String right; private GetJobJobSettingsSettingsTaskConditionTask() {} - public Optional left() { - return Optional.ofNullable(this.left); + public String left() { + return this.left; } - public Optional op() { - return Optional.ofNullable(this.op); + public String op() { + return this.op; } - public Optional right() { - return Optional.ofNullable(this.right); + public String right() { + return this.right; } public static Builder builder() { @@ -35,9 +34,9 @@ public static Builder builder(GetJobJobSettingsSettingsTaskConditionTask default } @CustomType.Builder public static final class Builder { - private @Nullable String left; - private @Nullable String op; - private @Nullable String right; + private String left; + private String op; + private String right; public Builder() {} public Builder(GetJobJobSettingsSettingsTaskConditionTask defaults) { Objects.requireNonNull(defaults); @@ -47,20 +46,26 @@ public Builder(GetJobJobSettingsSettingsTaskConditionTask defaults) { } @CustomType.Setter - public Builder left(@Nullable String left) { - + public Builder left(String left) { + if (left == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskConditionTask", "left"); + } this.left = left; return this; } @CustomType.Setter - public Builder op(@Nullable String op) { - + public Builder op(String op) { + if (op == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskConditionTask", "op"); + } this.op = op; return this; } @CustomType.Setter - public Builder right(@Nullable String right) { - + public Builder right(String right) { + if (right == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskConditionTask", "right"); + } this.right = right; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskEmailNotifications.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskEmailNotifications.java index 2eeaf8f2..ee35bf5c 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskEmailNotifications.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskEmailNotifications.java @@ -4,19 +4,25 @@ package com.pulumi.databricks.outputs; import com.pulumi.core.annotations.CustomType; +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 GetJobJobSettingsSettingsTaskEmailNotifications { + private @Nullable Boolean noAlertForSkippedRuns; private @Nullable List onDurationWarningThresholdExceededs; private @Nullable List onFailures; private @Nullable List onStarts; private @Nullable List onSuccesses; private GetJobJobSettingsSettingsTaskEmailNotifications() {} + public Optional noAlertForSkippedRuns() { + return Optional.ofNullable(this.noAlertForSkippedRuns); + } public List onDurationWarningThresholdExceededs() { return this.onDurationWarningThresholdExceededs == null ? List.of() : this.onDurationWarningThresholdExceededs; } @@ -39,6 +45,7 @@ public static Builder builder(GetJobJobSettingsSettingsTaskEmailNotifications de } @CustomType.Builder public static final class Builder { + private @Nullable Boolean noAlertForSkippedRuns; private @Nullable List onDurationWarningThresholdExceededs; private @Nullable List onFailures; private @Nullable List onStarts; @@ -46,12 +53,19 @@ public static final class Builder { public Builder() {} public Builder(GetJobJobSettingsSettingsTaskEmailNotifications defaults) { Objects.requireNonNull(defaults); + this.noAlertForSkippedRuns = defaults.noAlertForSkippedRuns; this.onDurationWarningThresholdExceededs = defaults.onDurationWarningThresholdExceededs; this.onFailures = defaults.onFailures; this.onStarts = defaults.onStarts; this.onSuccesses = defaults.onSuccesses; } + @CustomType.Setter + public Builder noAlertForSkippedRuns(@Nullable Boolean noAlertForSkippedRuns) { + + this.noAlertForSkippedRuns = noAlertForSkippedRuns; + return this; + } @CustomType.Setter public Builder onDurationWarningThresholdExceededs(@Nullable List onDurationWarningThresholdExceededs) { @@ -90,6 +104,7 @@ public Builder onSuccesses(String... onSuccesses) { } public GetJobJobSettingsSettingsTaskEmailNotifications build() { final var _resultValue = new GetJobJobSettingsSettingsTaskEmailNotifications(); + _resultValue.noAlertForSkippedRuns = noAlertForSkippedRuns; _resultValue.onDurationWarningThresholdExceededs = onDurationWarningThresholdExceededs; _resultValue.onFailures = onFailures; _resultValue.onStarts = onStarts; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask.java index e30ac8ca..0acd0fce 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask.java @@ -4,26 +4,25 @@ 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 GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { - private @Nullable String left; - private @Nullable String op; - private @Nullable String right; + private String left; + private String op; + private String right; private GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask() {} - public Optional left() { - return Optional.ofNullable(this.left); + public String left() { + return this.left; } - public Optional op() { - return Optional.ofNullable(this.op); + public String op() { + return this.op; } - public Optional right() { - return Optional.ofNullable(this.right); + public String right() { + return this.right; } public static Builder builder() { @@ -35,9 +34,9 @@ public static Builder builder(GetJobJobSettingsSettingsTaskForEachTaskTaskCondit } @CustomType.Builder public static final class Builder { - private @Nullable String left; - private @Nullable String op; - private @Nullable String right; + private String left; + private String op; + private String right; public Builder() {} public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask defaults) { Objects.requireNonNull(defaults); @@ -47,20 +46,26 @@ public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask default } @CustomType.Setter - public Builder left(@Nullable String left) { - + public Builder left(String left) { + if (left == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask", "left"); + } this.left = left; return this; } @CustomType.Setter - public Builder op(@Nullable String op) { - + public Builder op(String op) { + if (op == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask", "op"); + } this.op = op; return this; } @CustomType.Setter - public Builder right(@Nullable String right) { - + public Builder right(String right) { + if (right == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask", "right"); + } this.right = right; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications.java index 89ac793a..811f04e8 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications.java @@ -4,19 +4,25 @@ package com.pulumi.databricks.outputs; import com.pulumi.core.annotations.CustomType; +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 GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { + private @Nullable Boolean noAlertForSkippedRuns; private @Nullable List onDurationWarningThresholdExceededs; private @Nullable List onFailures; private @Nullable List onStarts; private @Nullable List onSuccesses; private GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications() {} + public Optional noAlertForSkippedRuns() { + return Optional.ofNullable(this.noAlertForSkippedRuns); + } public List onDurationWarningThresholdExceededs() { return this.onDurationWarningThresholdExceededs == null ? List.of() : this.onDurationWarningThresholdExceededs; } @@ -39,6 +45,7 @@ public static Builder builder(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailN } @CustomType.Builder public static final class Builder { + private @Nullable Boolean noAlertForSkippedRuns; private @Nullable List onDurationWarningThresholdExceededs; private @Nullable List onFailures; private @Nullable List onStarts; @@ -46,12 +53,19 @@ public static final class Builder { public Builder() {} public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications defaults) { Objects.requireNonNull(defaults); + this.noAlertForSkippedRuns = defaults.noAlertForSkippedRuns; this.onDurationWarningThresholdExceededs = defaults.onDurationWarningThresholdExceededs; this.onFailures = defaults.onFailures; this.onStarts = defaults.onStarts; this.onSuccesses = defaults.onSuccesses; } + @CustomType.Setter + public Builder noAlertForSkippedRuns(@Nullable Boolean noAlertForSkippedRuns) { + + this.noAlertForSkippedRuns = noAlertForSkippedRuns; + return this; + } @CustomType.Setter public Builder onDurationWarningThresholdExceededs(@Nullable List onDurationWarningThresholdExceededs) { @@ -90,6 +104,7 @@ public Builder onSuccesses(String... onSuccesses) { } public GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications build() { final var _resultValue = new GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications(); + _resultValue.noAlertForSkippedRuns = noAlertForSkippedRuns; _resultValue.onDurationWarningThresholdExceededs = onDurationWarningThresholdExceededs; _resultValue.onFailures = onFailures; _resultValue.onStarts = onStarts; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java index 2897ce62..2c35e921 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded { @@ -15,15 +14,15 @@ public final class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificati * @return the id of databricks.Job if the resource was matched by name. * */ - private @Nullable String id; + private String id; private GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded() {} /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -35,7 +34,7 @@ public static Builder builder(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhoo } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded defaults) { Objects.requireNonNull(defaults); @@ -43,8 +42,10 @@ public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsO } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure.java index 069bcef1..51efb820 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure { @@ -15,15 +14,15 @@ public final class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificati * @return the id of databricks.Job if the resource was matched by name. * */ - private @Nullable String id; + private String id; private GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure() {} /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -35,7 +34,7 @@ public static Builder builder(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhoo } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure defaults) { Objects.requireNonNull(defaults); @@ -43,8 +42,10 @@ public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsO } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart.java index b206d2ad..4e040977 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart { @@ -15,15 +14,15 @@ public final class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificati * @return the id of databricks.Job if the resource was matched by name. * */ - private @Nullable String id; + private String id; private GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart() {} /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -35,7 +34,7 @@ public static Builder builder(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhoo } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart defaults) { Objects.requireNonNull(defaults); @@ -43,8 +42,10 @@ public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsO } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess.java index 6b60d32b..1dc4488b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess { @@ -15,15 +14,15 @@ public final class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificati * @return the id of databricks.Job if the resource was matched by name. * */ - private @Nullable String id; + private String id; private GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess() {} /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -35,7 +34,7 @@ public static Builder builder(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhoo } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess defaults) { Objects.requireNonNull(defaults); @@ -43,8 +42,10 @@ public Builder(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsO } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java index 292ec5c3..942fb417 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded { @@ -15,15 +14,15 @@ public final class GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWa * @return the id of databricks.Job if the resource was matched by name. * */ - private @Nullable String id; + private String id; private GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded() {} /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -35,7 +34,7 @@ public static Builder builder(GetJobJobSettingsSettingsTaskWebhookNotificationsO } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded defaults) { Objects.requireNonNull(defaults); @@ -43,8 +42,10 @@ public Builder(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarnin } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure.java index 1d2552cb..b9b94e38 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure { @@ -15,15 +14,15 @@ public final class GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure { * @return the id of databricks.Job if the resource was matched by name. * */ - private @Nullable String id; + private String id; private GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure() {} /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -35,7 +34,7 @@ public static Builder builder(GetJobJobSettingsSettingsTaskWebhookNotificationsO } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure defaults) { Objects.requireNonNull(defaults); @@ -43,8 +42,10 @@ public Builder(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure defaul } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart.java index 236dda41..c4ce599b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart { @@ -15,15 +14,15 @@ public final class GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart { * @return the id of databricks.Job if the resource was matched by name. * */ - private @Nullable String id; + private String id; private GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart() {} /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -35,7 +34,7 @@ public static Builder builder(GetJobJobSettingsSettingsTaskWebhookNotificationsO } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart defaults) { Objects.requireNonNull(defaults); @@ -43,8 +42,10 @@ public Builder(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart defaults } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess.java index 34488c62..68841c34 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess { @@ -15,15 +14,15 @@ public final class GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess { * @return the id of databricks.Job if the resource was matched by name. * */ - private @Nullable String id; + private String id; private GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess() {} /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -35,7 +34,7 @@ public static Builder builder(GetJobJobSettingsSettingsTaskWebhookNotificationsO } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess defaults) { Objects.requireNonNull(defaults); @@ -43,8 +42,10 @@ public Builder(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess defaul } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTrigger.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTrigger.java index 40a40155..01c7e1e5 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTrigger.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTrigger.java @@ -5,7 +5,7 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.databricks.outputs.GetJobJobSettingsSettingsTriggerFileArrival; -import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.databricks.outputs.GetJobJobSettingsSettingsTriggerTableUpdate; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -13,16 +13,20 @@ @CustomType public final class GetJobJobSettingsSettingsTrigger { - private GetJobJobSettingsSettingsTriggerFileArrival fileArrival; + private @Nullable GetJobJobSettingsSettingsTriggerFileArrival fileArrival; private @Nullable String pauseStatus; + private @Nullable GetJobJobSettingsSettingsTriggerTableUpdate tableUpdate; private GetJobJobSettingsSettingsTrigger() {} - public GetJobJobSettingsSettingsTriggerFileArrival fileArrival() { - return this.fileArrival; + public Optional fileArrival() { + return Optional.ofNullable(this.fileArrival); } public Optional pauseStatus() { return Optional.ofNullable(this.pauseStatus); } + public Optional tableUpdate() { + return Optional.ofNullable(this.tableUpdate); + } public static Builder builder() { return new Builder(); @@ -33,20 +37,20 @@ public static Builder builder(GetJobJobSettingsSettingsTrigger defaults) { } @CustomType.Builder public static final class Builder { - private GetJobJobSettingsSettingsTriggerFileArrival fileArrival; + private @Nullable GetJobJobSettingsSettingsTriggerFileArrival fileArrival; private @Nullable String pauseStatus; + private @Nullable GetJobJobSettingsSettingsTriggerTableUpdate tableUpdate; public Builder() {} public Builder(GetJobJobSettingsSettingsTrigger defaults) { Objects.requireNonNull(defaults); this.fileArrival = defaults.fileArrival; this.pauseStatus = defaults.pauseStatus; + this.tableUpdate = defaults.tableUpdate; } @CustomType.Setter - public Builder fileArrival(GetJobJobSettingsSettingsTriggerFileArrival fileArrival) { - if (fileArrival == null) { - throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTrigger", "fileArrival"); - } + public Builder fileArrival(@Nullable GetJobJobSettingsSettingsTriggerFileArrival fileArrival) { + this.fileArrival = fileArrival; return this; } @@ -56,10 +60,17 @@ public Builder pauseStatus(@Nullable String pauseStatus) { this.pauseStatus = pauseStatus; return this; } + @CustomType.Setter + public Builder tableUpdate(@Nullable GetJobJobSettingsSettingsTriggerTableUpdate tableUpdate) { + + this.tableUpdate = tableUpdate; + return this; + } public GetJobJobSettingsSettingsTrigger build() { final var _resultValue = new GetJobJobSettingsSettingsTrigger(); _resultValue.fileArrival = fileArrival; _resultValue.pauseStatus = pauseStatus; + _resultValue.tableUpdate = tableUpdate; return _resultValue; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTriggerTableUpdate.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTriggerTableUpdate.java new file mode 100644 index 00000000..b053e4b4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsTriggerTableUpdate.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 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 GetJobJobSettingsSettingsTriggerTableUpdate { + private @Nullable String condition; + private @Nullable Integer minTimeBetweenTriggersSeconds; + private List tableNames; + private @Nullable Integer waitAfterLastChangeSeconds; + + private GetJobJobSettingsSettingsTriggerTableUpdate() {} + public Optional condition() { + return Optional.ofNullable(this.condition); + } + public Optional minTimeBetweenTriggersSeconds() { + return Optional.ofNullable(this.minTimeBetweenTriggersSeconds); + } + public List tableNames() { + return this.tableNames; + } + public Optional waitAfterLastChangeSeconds() { + return Optional.ofNullable(this.waitAfterLastChangeSeconds); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobJobSettingsSettingsTriggerTableUpdate defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String condition; + private @Nullable Integer minTimeBetweenTriggersSeconds; + private List tableNames; + private @Nullable Integer waitAfterLastChangeSeconds; + public Builder() {} + public Builder(GetJobJobSettingsSettingsTriggerTableUpdate defaults) { + Objects.requireNonNull(defaults); + this.condition = defaults.condition; + this.minTimeBetweenTriggersSeconds = defaults.minTimeBetweenTriggersSeconds; + this.tableNames = defaults.tableNames; + this.waitAfterLastChangeSeconds = defaults.waitAfterLastChangeSeconds; + } + + @CustomType.Setter + public Builder condition(@Nullable String condition) { + + this.condition = condition; + return this; + } + @CustomType.Setter + public Builder minTimeBetweenTriggersSeconds(@Nullable Integer minTimeBetweenTriggersSeconds) { + + this.minTimeBetweenTriggersSeconds = minTimeBetweenTriggersSeconds; + return this; + } + @CustomType.Setter + public Builder tableNames(List tableNames) { + if (tableNames == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsTriggerTableUpdate", "tableNames"); + } + this.tableNames = tableNames; + return this; + } + public Builder tableNames(String... tableNames) { + return tableNames(List.of(tableNames)); + } + @CustomType.Setter + public Builder waitAfterLastChangeSeconds(@Nullable Integer waitAfterLastChangeSeconds) { + + this.waitAfterLastChangeSeconds = waitAfterLastChangeSeconds; + return this; + } + public GetJobJobSettingsSettingsTriggerTableUpdate build() { + final var _resultValue = new GetJobJobSettingsSettingsTriggerTableUpdate(); + _resultValue.condition = condition; + _resultValue.minTimeBetweenTriggersSeconds = minTimeBetweenTriggersSeconds; + _resultValue.tableNames = tableNames; + _resultValue.waitAfterLastChangeSeconds = waitAfterLastChangeSeconds; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded.java index 2bf1e8bd..e798602f 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded { @@ -15,15 +14,15 @@ public final class GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarnin * @return the id of databricks.Job if the resource was matched by name. * */ - private @Nullable String id; + private String id; private GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded() {} /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -35,7 +34,7 @@ public static Builder builder(GetJobJobSettingsSettingsWebhookNotificationsOnDur } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded defaults) { Objects.requireNonNull(defaults); @@ -43,8 +42,10 @@ public Builder(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThr } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailure.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailure.java index 26827d41..2d3d30c4 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailure.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsWebhookNotificationsOnFailure.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsWebhookNotificationsOnFailure { @@ -15,15 +14,15 @@ public final class GetJobJobSettingsSettingsWebhookNotificationsOnFailure { * @return the id of databricks.Job if the resource was matched by name. * */ - private @Nullable String id; + private String id; private GetJobJobSettingsSettingsWebhookNotificationsOnFailure() {} /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -35,7 +34,7 @@ public static Builder builder(GetJobJobSettingsSettingsWebhookNotificationsOnFai } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(GetJobJobSettingsSettingsWebhookNotificationsOnFailure defaults) { Objects.requireNonNull(defaults); @@ -43,8 +42,10 @@ public Builder(GetJobJobSettingsSettingsWebhookNotificationsOnFailure defaults) } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsWebhookNotificationsOnFailure", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsWebhookNotificationsOnStart.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsWebhookNotificationsOnStart.java index beda8934..e4e8ff28 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsWebhookNotificationsOnStart.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsWebhookNotificationsOnStart.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsWebhookNotificationsOnStart { @@ -15,15 +14,15 @@ public final class GetJobJobSettingsSettingsWebhookNotificationsOnStart { * @return the id of databricks.Job if the resource was matched by name. * */ - private @Nullable String id; + private String id; private GetJobJobSettingsSettingsWebhookNotificationsOnStart() {} /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -35,7 +34,7 @@ public static Builder builder(GetJobJobSettingsSettingsWebhookNotificationsOnSta } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(GetJobJobSettingsSettingsWebhookNotificationsOnStart defaults) { Objects.requireNonNull(defaults); @@ -43,8 +42,10 @@ public Builder(GetJobJobSettingsSettingsWebhookNotificationsOnStart defaults) { } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsWebhookNotificationsOnStart", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccess.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccess.java index 1174627f..d2cfb8ae 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccess.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsWebhookNotificationsOnSuccess.java @@ -4,10 +4,9 @@ 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 GetJobJobSettingsSettingsWebhookNotificationsOnSuccess { @@ -15,15 +14,15 @@ public final class GetJobJobSettingsSettingsWebhookNotificationsOnSuccess { * @return the id of databricks.Job if the resource was matched by name. * */ - private @Nullable String id; + private String id; private GetJobJobSettingsSettingsWebhookNotificationsOnSuccess() {} /** * @return the id of databricks.Job if the resource was matched by name. * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -35,7 +34,7 @@ public static Builder builder(GetJobJobSettingsSettingsWebhookNotificationsOnSuc } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(GetJobJobSettingsSettingsWebhookNotificationsOnSuccess defaults) { Objects.requireNonNull(defaults); @@ -43,8 +42,10 @@ public Builder(GetJobJobSettingsSettingsWebhookNotificationsOnSuccess defaults) } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetJobJobSettingsSettingsWebhookNotificationsOnSuccess", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetStorageCredentialsResult.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetStorageCredentialsResult.java index 3bc3e39b..0ccd70f9 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetStorageCredentialsResult.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetStorageCredentialsResult.java @@ -16,6 +16,10 @@ public final class GetStorageCredentialsResult { * */ private String id; + /** + * @return List of names of databricks.StorageCredential in the metastore + * + */ private List names; private GetStorageCredentialsResult() {} @@ -26,6 +30,10 @@ private GetStorageCredentialsResult() {} public String id() { return this.id; } + /** + * @return List of names of databricks.StorageCredential in the metastore + * + */ public List names() { return this.names; } 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 871f8dcf..0fb6d8e8 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 @@ -63,7 +63,7 @@ public final class JobTask { */ private @Nullable String jobClusterKey; /** - * @return (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * @return (Set) An optional list of libraries to be installed on the cluster that will execute the job. * */ private @Nullable List libraries; @@ -174,7 +174,7 @@ public Optional jobClusterKey() { return Optional.ofNullable(this.jobClusterKey); } /** - * @return (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * @return (Set) An optional list of libraries to be installed on the cluster that will execute the job. * */ public List libraries() { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskConditionTask.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskConditionTask.java index 3873281f..04948b88 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskConditionTask.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskConditionTask.java @@ -4,10 +4,9 @@ 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 JobTaskConditionTask { @@ -15,27 +14,27 @@ public final class JobTaskConditionTask { * @return The left operand of the condition task. It could be a string value, job state, or a parameter reference. * */ - private @Nullable String left; + private String left; /** * @return 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. * */ - private @Nullable String op; + private String op; /** * @return The right operand of the condition task. It could be a string value, job state, or parameter reference. * */ - private @Nullable String right; + private String right; private JobTaskConditionTask() {} /** * @return The left operand of the condition task. It could be a string value, job state, or a parameter reference. * */ - public Optional left() { - return Optional.ofNullable(this.left); + public String left() { + return this.left; } /** * @return 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). @@ -43,15 +42,15 @@ public Optional left() { * This task does not require a cluster to execute and does not support retries or notifications. * */ - public Optional op() { - return Optional.ofNullable(this.op); + public String op() { + return this.op; } /** * @return The right operand of the condition task. It could be a string value, job state, or parameter reference. * */ - public Optional right() { - return Optional.ofNullable(this.right); + public String right() { + return this.right; } public static Builder builder() { @@ -63,9 +62,9 @@ public static Builder builder(JobTaskConditionTask defaults) { } @CustomType.Builder public static final class Builder { - private @Nullable String left; - private @Nullable String op; - private @Nullable String right; + private String left; + private String op; + private String right; public Builder() {} public Builder(JobTaskConditionTask defaults) { Objects.requireNonNull(defaults); @@ -75,20 +74,26 @@ public Builder(JobTaskConditionTask defaults) { } @CustomType.Setter - public Builder left(@Nullable String left) { - + public Builder left(String left) { + if (left == null) { + throw new MissingRequiredPropertyException("JobTaskConditionTask", "left"); + } this.left = left; return this; } @CustomType.Setter - public Builder op(@Nullable String op) { - + public Builder op(String op) { + if (op == null) { + throw new MissingRequiredPropertyException("JobTaskConditionTask", "op"); + } this.op = op; return this; } @CustomType.Setter - public Builder right(@Nullable String right) { - + public Builder right(String right) { + if (right == null) { + throw new MissingRequiredPropertyException("JobTaskConditionTask", "right"); + } this.right = right; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskEmailNotifications.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskEmailNotifications.java index 55ab03a2..adb0b275 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskEmailNotifications.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskEmailNotifications.java @@ -4,13 +4,20 @@ package com.pulumi.databricks.outputs; import com.pulumi.core.annotations.CustomType; +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 JobTaskEmailNotifications { + /** + * @return (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + * + */ + private @Nullable Boolean noAlertForSkippedRuns; /** * @return (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. * @@ -33,6 +40,13 @@ public final class JobTaskEmailNotifications { private @Nullable List onSuccesses; private JobTaskEmailNotifications() {} + /** + * @return (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + * + */ + public Optional noAlertForSkippedRuns() { + return Optional.ofNullable(this.noAlertForSkippedRuns); + } /** * @return (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. * @@ -71,6 +85,7 @@ public static Builder builder(JobTaskEmailNotifications defaults) { } @CustomType.Builder public static final class Builder { + private @Nullable Boolean noAlertForSkippedRuns; private @Nullable List onDurationWarningThresholdExceededs; private @Nullable List onFailures; private @Nullable List onStarts; @@ -78,12 +93,19 @@ public static final class Builder { public Builder() {} public Builder(JobTaskEmailNotifications defaults) { Objects.requireNonNull(defaults); + this.noAlertForSkippedRuns = defaults.noAlertForSkippedRuns; this.onDurationWarningThresholdExceededs = defaults.onDurationWarningThresholdExceededs; this.onFailures = defaults.onFailures; this.onStarts = defaults.onStarts; this.onSuccesses = defaults.onSuccesses; } + @CustomType.Setter + public Builder noAlertForSkippedRuns(@Nullable Boolean noAlertForSkippedRuns) { + + this.noAlertForSkippedRuns = noAlertForSkippedRuns; + return this; + } @CustomType.Setter public Builder onDurationWarningThresholdExceededs(@Nullable List onDurationWarningThresholdExceededs) { @@ -122,6 +144,7 @@ public Builder onSuccesses(String... onSuccesses) { } public JobTaskEmailNotifications build() { final var _resultValue = new JobTaskEmailNotifications(); + _resultValue.noAlertForSkippedRuns = noAlertForSkippedRuns; _resultValue.onDurationWarningThresholdExceededs = onDurationWarningThresholdExceededs; _resultValue.onFailures = onFailures; _resultValue.onStarts = onStarts; 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 bb8b2674..8f458711 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 @@ -61,7 +61,7 @@ public final class JobTaskForEachTaskTask { */ private @Nullable String jobClusterKey; /** - * @return (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * @return (Set) An optional list of libraries to be installed on the cluster that will execute the job. * */ private @Nullable List libraries; @@ -169,7 +169,7 @@ public Optional jobClusterKey() { return Optional.ofNullable(this.jobClusterKey); } /** - * @return (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * @return (Set) An optional list of libraries to be installed on the cluster that will execute the job. * */ public List libraries() { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskConditionTask.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskConditionTask.java index 0f4603b0..46a4b32a 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskConditionTask.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskConditionTask.java @@ -4,10 +4,9 @@ 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 JobTaskForEachTaskTaskConditionTask { @@ -15,27 +14,27 @@ public final class JobTaskForEachTaskTaskConditionTask { * @return The left operand of the condition task. It could be a string value, job state, or a parameter reference. * */ - private @Nullable String left; + private String left; /** * @return 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. * */ - private @Nullable String op; + private String op; /** * @return The right operand of the condition task. It could be a string value, job state, or parameter reference. * */ - private @Nullable String right; + private String right; private JobTaskForEachTaskTaskConditionTask() {} /** * @return The left operand of the condition task. It could be a string value, job state, or a parameter reference. * */ - public Optional left() { - return Optional.ofNullable(this.left); + public String left() { + return this.left; } /** * @return 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). @@ -43,15 +42,15 @@ public Optional left() { * This task does not require a cluster to execute and does not support retries or notifications. * */ - public Optional op() { - return Optional.ofNullable(this.op); + public String op() { + return this.op; } /** * @return The right operand of the condition task. It could be a string value, job state, or parameter reference. * */ - public Optional right() { - return Optional.ofNullable(this.right); + public String right() { + return this.right; } public static Builder builder() { @@ -63,9 +62,9 @@ public static Builder builder(JobTaskForEachTaskTaskConditionTask defaults) { } @CustomType.Builder public static final class Builder { - private @Nullable String left; - private @Nullable String op; - private @Nullable String right; + private String left; + private String op; + private String right; public Builder() {} public Builder(JobTaskForEachTaskTaskConditionTask defaults) { Objects.requireNonNull(defaults); @@ -75,20 +74,26 @@ public Builder(JobTaskForEachTaskTaskConditionTask defaults) { } @CustomType.Setter - public Builder left(@Nullable String left) { - + public Builder left(String left) { + if (left == null) { + throw new MissingRequiredPropertyException("JobTaskForEachTaskTaskConditionTask", "left"); + } this.left = left; return this; } @CustomType.Setter - public Builder op(@Nullable String op) { - + public Builder op(String op) { + if (op == null) { + throw new MissingRequiredPropertyException("JobTaskForEachTaskTaskConditionTask", "op"); + } this.op = op; return this; } @CustomType.Setter - public Builder right(@Nullable String right) { - + public Builder right(String right) { + if (right == null) { + throw new MissingRequiredPropertyException("JobTaskForEachTaskTaskConditionTask", "right"); + } this.right = right; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskEmailNotifications.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskEmailNotifications.java index f873809a..a5189b91 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskEmailNotifications.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskEmailNotifications.java @@ -4,13 +4,20 @@ package com.pulumi.databricks.outputs; import com.pulumi.core.annotations.CustomType; +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 JobTaskForEachTaskTaskEmailNotifications { + /** + * @return (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + * + */ + private @Nullable Boolean noAlertForSkippedRuns; /** * @return (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. * @@ -33,6 +40,13 @@ public final class JobTaskForEachTaskTaskEmailNotifications { private @Nullable List onSuccesses; private JobTaskForEachTaskTaskEmailNotifications() {} + /** + * @return (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + * + */ + public Optional noAlertForSkippedRuns() { + return Optional.ofNullable(this.noAlertForSkippedRuns); + } /** * @return (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. * @@ -71,6 +85,7 @@ public static Builder builder(JobTaskForEachTaskTaskEmailNotifications defaults) } @CustomType.Builder public static final class Builder { + private @Nullable Boolean noAlertForSkippedRuns; private @Nullable List onDurationWarningThresholdExceededs; private @Nullable List onFailures; private @Nullable List onStarts; @@ -78,12 +93,19 @@ public static final class Builder { public Builder() {} public Builder(JobTaskForEachTaskTaskEmailNotifications defaults) { Objects.requireNonNull(defaults); + this.noAlertForSkippedRuns = defaults.noAlertForSkippedRuns; this.onDurationWarningThresholdExceededs = defaults.onDurationWarningThresholdExceededs; this.onFailures = defaults.onFailures; this.onStarts = defaults.onStarts; this.onSuccesses = defaults.onSuccesses; } + @CustomType.Setter + public Builder noAlertForSkippedRuns(@Nullable Boolean noAlertForSkippedRuns) { + + this.noAlertForSkippedRuns = noAlertForSkippedRuns; + return this; + } @CustomType.Setter public Builder onDurationWarningThresholdExceededs(@Nullable List onDurationWarningThresholdExceededs) { @@ -122,6 +144,7 @@ public Builder onSuccesses(String... onSuccesses) { } public JobTaskForEachTaskTaskEmailNotifications build() { final var _resultValue = new JobTaskForEachTaskTaskEmailNotifications(); + _resultValue.noAlertForSkippedRuns = noAlertForSkippedRuns; _resultValue.onDurationWarningThresholdExceededs = onDurationWarningThresholdExceededs; _resultValue.onFailures = onFailures; _resultValue.onStarts = onStarts; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java index 438fad22..9b47bf52 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java @@ -4,10 +4,9 @@ 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 JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded { @@ -17,7 +16,7 @@ public final class JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningTh * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - private @Nullable String id; + private String id; private JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded() {} /** @@ -26,8 +25,8 @@ private JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExce * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -39,7 +38,7 @@ public static Builder builder(JobTaskForEachTaskTaskWebhookNotificationsOnDurati } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded defaults) { Objects.requireNonNull(defaults); @@ -47,8 +46,10 @@ public Builder(JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresh } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskWebhookNotificationsOnFailure.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskWebhookNotificationsOnFailure.java index ebcc1ce4..06373f57 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskWebhookNotificationsOnFailure.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskWebhookNotificationsOnFailure.java @@ -4,10 +4,9 @@ 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 JobTaskForEachTaskTaskWebhookNotificationsOnFailure { @@ -17,7 +16,7 @@ public final class JobTaskForEachTaskTaskWebhookNotificationsOnFailure { * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - private @Nullable String id; + private String id; private JobTaskForEachTaskTaskWebhookNotificationsOnFailure() {} /** @@ -26,8 +25,8 @@ private JobTaskForEachTaskTaskWebhookNotificationsOnFailure() {} * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -39,7 +38,7 @@ public static Builder builder(JobTaskForEachTaskTaskWebhookNotificationsOnFailur } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(JobTaskForEachTaskTaskWebhookNotificationsOnFailure defaults) { Objects.requireNonNull(defaults); @@ -47,8 +46,10 @@ public Builder(JobTaskForEachTaskTaskWebhookNotificationsOnFailure defaults) { } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("JobTaskForEachTaskTaskWebhookNotificationsOnFailure", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskWebhookNotificationsOnStart.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskWebhookNotificationsOnStart.java index 0d428fa7..892088e5 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskWebhookNotificationsOnStart.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskWebhookNotificationsOnStart.java @@ -4,10 +4,9 @@ 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 JobTaskForEachTaskTaskWebhookNotificationsOnStart { @@ -17,7 +16,7 @@ public final class JobTaskForEachTaskTaskWebhookNotificationsOnStart { * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - private @Nullable String id; + private String id; private JobTaskForEachTaskTaskWebhookNotificationsOnStart() {} /** @@ -26,8 +25,8 @@ private JobTaskForEachTaskTaskWebhookNotificationsOnStart() {} * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -39,7 +38,7 @@ public static Builder builder(JobTaskForEachTaskTaskWebhookNotificationsOnStart } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(JobTaskForEachTaskTaskWebhookNotificationsOnStart defaults) { Objects.requireNonNull(defaults); @@ -47,8 +46,10 @@ public Builder(JobTaskForEachTaskTaskWebhookNotificationsOnStart defaults) { } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("JobTaskForEachTaskTaskWebhookNotificationsOnStart", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskWebhookNotificationsOnSuccess.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskWebhookNotificationsOnSuccess.java index 584de5a5..5b042ff9 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskWebhookNotificationsOnSuccess.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskWebhookNotificationsOnSuccess.java @@ -4,10 +4,9 @@ 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 JobTaskForEachTaskTaskWebhookNotificationsOnSuccess { @@ -17,7 +16,7 @@ public final class JobTaskForEachTaskTaskWebhookNotificationsOnSuccess { * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - private @Nullable String id; + private String id; private JobTaskForEachTaskTaskWebhookNotificationsOnSuccess() {} /** @@ -26,8 +25,8 @@ private JobTaskForEachTaskTaskWebhookNotificationsOnSuccess() {} * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -39,7 +38,7 @@ public static Builder builder(JobTaskForEachTaskTaskWebhookNotificationsOnSucces } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(JobTaskForEachTaskTaskWebhookNotificationsOnSuccess defaults) { Objects.requireNonNull(defaults); @@ -47,8 +46,10 @@ public Builder(JobTaskForEachTaskTaskWebhookNotificationsOnSuccess defaults) { } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("JobTaskForEachTaskTaskWebhookNotificationsOnSuccess", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java index 5184aaaa..485078dc 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded.java @@ -4,10 +4,9 @@ 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 JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded { @@ -17,7 +16,7 @@ public final class JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - private @Nullable String id; + private String id; private JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded() {} /** @@ -26,8 +25,8 @@ private JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded() {} * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -39,7 +38,7 @@ public static Builder builder(JobTaskWebhookNotificationsOnDurationWarningThresh } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded defaults) { Objects.requireNonNull(defaults); @@ -47,8 +46,10 @@ public Builder(JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded def } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskWebhookNotificationsOnFailure.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskWebhookNotificationsOnFailure.java index ea637fa7..562f6610 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskWebhookNotificationsOnFailure.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskWebhookNotificationsOnFailure.java @@ -4,10 +4,9 @@ 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 JobTaskWebhookNotificationsOnFailure { @@ -17,7 +16,7 @@ public final class JobTaskWebhookNotificationsOnFailure { * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - private @Nullable String id; + private String id; private JobTaskWebhookNotificationsOnFailure() {} /** @@ -26,8 +25,8 @@ private JobTaskWebhookNotificationsOnFailure() {} * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -39,7 +38,7 @@ public static Builder builder(JobTaskWebhookNotificationsOnFailure defaults) { } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(JobTaskWebhookNotificationsOnFailure defaults) { Objects.requireNonNull(defaults); @@ -47,8 +46,10 @@ public Builder(JobTaskWebhookNotificationsOnFailure defaults) { } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("JobTaskWebhookNotificationsOnFailure", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskWebhookNotificationsOnStart.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskWebhookNotificationsOnStart.java index 020f79e4..34038d18 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskWebhookNotificationsOnStart.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskWebhookNotificationsOnStart.java @@ -4,10 +4,9 @@ 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 JobTaskWebhookNotificationsOnStart { @@ -17,7 +16,7 @@ public final class JobTaskWebhookNotificationsOnStart { * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - private @Nullable String id; + private String id; private JobTaskWebhookNotificationsOnStart() {} /** @@ -26,8 +25,8 @@ private JobTaskWebhookNotificationsOnStart() {} * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -39,7 +38,7 @@ public static Builder builder(JobTaskWebhookNotificationsOnStart defaults) { } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(JobTaskWebhookNotificationsOnStart defaults) { Objects.requireNonNull(defaults); @@ -47,8 +46,10 @@ public Builder(JobTaskWebhookNotificationsOnStart defaults) { } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("JobTaskWebhookNotificationsOnStart", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskWebhookNotificationsOnSuccess.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskWebhookNotificationsOnSuccess.java index b2c35040..7131dc48 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskWebhookNotificationsOnSuccess.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskWebhookNotificationsOnSuccess.java @@ -4,10 +4,9 @@ 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 JobTaskWebhookNotificationsOnSuccess { @@ -17,7 +16,7 @@ public final class JobTaskWebhookNotificationsOnSuccess { * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - private @Nullable String id; + private String id; private JobTaskWebhookNotificationsOnSuccess() {} /** @@ -26,8 +25,8 @@ private JobTaskWebhookNotificationsOnSuccess() {} * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -39,7 +38,7 @@ public static Builder builder(JobTaskWebhookNotificationsOnSuccess defaults) { } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(JobTaskWebhookNotificationsOnSuccess defaults) { Objects.requireNonNull(defaults); @@ -47,8 +46,10 @@ public Builder(JobTaskWebhookNotificationsOnSuccess defaults) { } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("JobTaskWebhookNotificationsOnSuccess", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTrigger.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTrigger.java index 328bd23b..c45886ec 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTrigger.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTrigger.java @@ -5,7 +5,7 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.databricks.outputs.JobTriggerFileArrival; -import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.databricks.outputs.JobTriggerTableUpdate; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -17,20 +17,25 @@ public final class JobTrigger { * @return 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: * */ - private JobTriggerFileArrival fileArrival; + private @Nullable JobTriggerFileArrival fileArrival; /** * @return 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`. * */ private @Nullable String pauseStatus; + /** + * @return configuration block to define a trigger for Table Update events consisting of following attributes: + * + */ + private @Nullable JobTriggerTableUpdate tableUpdate; private JobTrigger() {} /** * @return 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: * */ - public JobTriggerFileArrival fileArrival() { - return this.fileArrival; + public Optional fileArrival() { + return Optional.ofNullable(this.fileArrival); } /** * @return 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`. @@ -39,6 +44,13 @@ public JobTriggerFileArrival fileArrival() { public Optional pauseStatus() { return Optional.ofNullable(this.pauseStatus); } + /** + * @return configuration block to define a trigger for Table Update events consisting of following attributes: + * + */ + public Optional tableUpdate() { + return Optional.ofNullable(this.tableUpdate); + } public static Builder builder() { return new Builder(); @@ -49,20 +61,20 @@ public static Builder builder(JobTrigger defaults) { } @CustomType.Builder public static final class Builder { - private JobTriggerFileArrival fileArrival; + private @Nullable JobTriggerFileArrival fileArrival; private @Nullable String pauseStatus; + private @Nullable JobTriggerTableUpdate tableUpdate; public Builder() {} public Builder(JobTrigger defaults) { Objects.requireNonNull(defaults); this.fileArrival = defaults.fileArrival; this.pauseStatus = defaults.pauseStatus; + this.tableUpdate = defaults.tableUpdate; } @CustomType.Setter - public Builder fileArrival(JobTriggerFileArrival fileArrival) { - if (fileArrival == null) { - throw new MissingRequiredPropertyException("JobTrigger", "fileArrival"); - } + public Builder fileArrival(@Nullable JobTriggerFileArrival fileArrival) { + this.fileArrival = fileArrival; return this; } @@ -72,10 +84,17 @@ public Builder pauseStatus(@Nullable String pauseStatus) { this.pauseStatus = pauseStatus; return this; } + @CustomType.Setter + public Builder tableUpdate(@Nullable JobTriggerTableUpdate tableUpdate) { + + this.tableUpdate = tableUpdate; + return this; + } public JobTrigger build() { final var _resultValue = new JobTrigger(); _resultValue.fileArrival = fileArrival; _resultValue.pauseStatus = pauseStatus; + _resultValue.tableUpdate = tableUpdate; return _resultValue; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTriggerTableUpdate.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTriggerTableUpdate.java new file mode 100644 index 00000000..6fd5777b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTriggerTableUpdate.java @@ -0,0 +1,128 @@ +// *** 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.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class JobTriggerTableUpdate { + /** + * @return The table(s) condition based on which to trigger a job run. Valid values are `ANY_UPDATED` or `ALL_UPDATED`. + * + */ + private @Nullable String condition; + /** + * @return 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. + * + */ + private @Nullable Integer minTimeBetweenTriggersSeconds; + /** + * @return A list of Delta tables to monitor for changes. The table name must be in the format `catalog_name.schema_name.table_name`. + * + */ + private List tableNames; + /** + * @return 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. + * + */ + private @Nullable Integer waitAfterLastChangeSeconds; + + private JobTriggerTableUpdate() {} + /** + * @return The table(s) condition based on which to trigger a job run. Valid values are `ANY_UPDATED` or `ALL_UPDATED`. + * + */ + public Optional condition() { + return Optional.ofNullable(this.condition); + } + /** + * @return 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. + * + */ + public Optional minTimeBetweenTriggersSeconds() { + return Optional.ofNullable(this.minTimeBetweenTriggersSeconds); + } + /** + * @return A list of Delta tables to monitor for changes. The table name must be in the format `catalog_name.schema_name.table_name`. + * + */ + public List tableNames() { + return this.tableNames; + } + /** + * @return 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. + * + */ + public Optional waitAfterLastChangeSeconds() { + return Optional.ofNullable(this.waitAfterLastChangeSeconds); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(JobTriggerTableUpdate defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String condition; + private @Nullable Integer minTimeBetweenTriggersSeconds; + private List tableNames; + private @Nullable Integer waitAfterLastChangeSeconds; + public Builder() {} + public Builder(JobTriggerTableUpdate defaults) { + Objects.requireNonNull(defaults); + this.condition = defaults.condition; + this.minTimeBetweenTriggersSeconds = defaults.minTimeBetweenTriggersSeconds; + this.tableNames = defaults.tableNames; + this.waitAfterLastChangeSeconds = defaults.waitAfterLastChangeSeconds; + } + + @CustomType.Setter + public Builder condition(@Nullable String condition) { + + this.condition = condition; + return this; + } + @CustomType.Setter + public Builder minTimeBetweenTriggersSeconds(@Nullable Integer minTimeBetweenTriggersSeconds) { + + this.minTimeBetweenTriggersSeconds = minTimeBetweenTriggersSeconds; + return this; + } + @CustomType.Setter + public Builder tableNames(List tableNames) { + if (tableNames == null) { + throw new MissingRequiredPropertyException("JobTriggerTableUpdate", "tableNames"); + } + this.tableNames = tableNames; + return this; + } + public Builder tableNames(String... tableNames) { + return tableNames(List.of(tableNames)); + } + @CustomType.Setter + public Builder waitAfterLastChangeSeconds(@Nullable Integer waitAfterLastChangeSeconds) { + + this.waitAfterLastChangeSeconds = waitAfterLastChangeSeconds; + return this; + } + public JobTriggerTableUpdate build() { + final var _resultValue = new JobTriggerTableUpdate(); + _resultValue.condition = condition; + _resultValue.minTimeBetweenTriggersSeconds = minTimeBetweenTriggersSeconds; + _resultValue.tableNames = tableNames; + _resultValue.waitAfterLastChangeSeconds = waitAfterLastChangeSeconds; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobWebhookNotificationsOnDurationWarningThresholdExceeded.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobWebhookNotificationsOnDurationWarningThresholdExceeded.java index af2dca56..7b92c4cc 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobWebhookNotificationsOnDurationWarningThresholdExceeded.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobWebhookNotificationsOnDurationWarningThresholdExceeded.java @@ -4,10 +4,9 @@ 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 JobWebhookNotificationsOnDurationWarningThresholdExceeded { @@ -17,7 +16,7 @@ public final class JobWebhookNotificationsOnDurationWarningThresholdExceeded { * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - private @Nullable String id; + private String id; private JobWebhookNotificationsOnDurationWarningThresholdExceeded() {} /** @@ -26,8 +25,8 @@ private JobWebhookNotificationsOnDurationWarningThresholdExceeded() {} * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -39,7 +38,7 @@ public static Builder builder(JobWebhookNotificationsOnDurationWarningThresholdE } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(JobWebhookNotificationsOnDurationWarningThresholdExceeded defaults) { Objects.requireNonNull(defaults); @@ -47,8 +46,10 @@ public Builder(JobWebhookNotificationsOnDurationWarningThresholdExceeded default } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("JobWebhookNotificationsOnDurationWarningThresholdExceeded", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobWebhookNotificationsOnFailure.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobWebhookNotificationsOnFailure.java index bf957dbf..e0093e1f 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobWebhookNotificationsOnFailure.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobWebhookNotificationsOnFailure.java @@ -4,10 +4,9 @@ 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 JobWebhookNotificationsOnFailure { @@ -17,7 +16,7 @@ public final class JobWebhookNotificationsOnFailure { * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - private @Nullable String id; + private String id; private JobWebhookNotificationsOnFailure() {} /** @@ -26,8 +25,8 @@ private JobWebhookNotificationsOnFailure() {} * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -39,7 +38,7 @@ public static Builder builder(JobWebhookNotificationsOnFailure defaults) { } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(JobWebhookNotificationsOnFailure defaults) { Objects.requireNonNull(defaults); @@ -47,8 +46,10 @@ public Builder(JobWebhookNotificationsOnFailure defaults) { } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("JobWebhookNotificationsOnFailure", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobWebhookNotificationsOnStart.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobWebhookNotificationsOnStart.java index ab29a8e7..e535a17b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobWebhookNotificationsOnStart.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobWebhookNotificationsOnStart.java @@ -4,10 +4,9 @@ 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 JobWebhookNotificationsOnStart { @@ -17,7 +16,7 @@ public final class JobWebhookNotificationsOnStart { * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - private @Nullable String id; + private String id; private JobWebhookNotificationsOnStart() {} /** @@ -26,8 +25,8 @@ private JobWebhookNotificationsOnStart() {} * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -39,7 +38,7 @@ public static Builder builder(JobWebhookNotificationsOnStart defaults) { } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(JobWebhookNotificationsOnStart defaults) { Objects.requireNonNull(defaults); @@ -47,8 +46,10 @@ public Builder(JobWebhookNotificationsOnStart defaults) { } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("JobWebhookNotificationsOnStart", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobWebhookNotificationsOnSuccess.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobWebhookNotificationsOnSuccess.java index 61865e12..2d51528b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobWebhookNotificationsOnSuccess.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobWebhookNotificationsOnSuccess.java @@ -4,10 +4,9 @@ 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 JobWebhookNotificationsOnSuccess { @@ -17,7 +16,7 @@ public final class JobWebhookNotificationsOnSuccess { * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - private @Nullable String id; + private String id; private JobWebhookNotificationsOnSuccess() {} /** @@ -26,8 +25,8 @@ private JobWebhookNotificationsOnSuccess() {} * > **Note** The following configuration blocks can be standalone or nested inside a `task` block * */ - public Optional id() { - return Optional.ofNullable(this.id); + public String id() { + return this.id; } public static Builder builder() { @@ -39,7 +38,7 @@ public static Builder builder(JobWebhookNotificationsOnSuccess defaults) { } @CustomType.Builder public static final class Builder { - private @Nullable String id; + private String id; public Builder() {} public Builder(JobWebhookNotificationsOnSuccess defaults) { Objects.requireNonNull(defaults); @@ -47,8 +46,10 @@ public Builder(JobWebhookNotificationsOnSuccess defaults) { } @CustomType.Setter - public Builder id(@Nullable String id) { - + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("JobWebhookNotificationsOnSuccess", "id"); + } this.id = id; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorCustomMetric.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorCustomMetric.java new file mode 100644 index 00000000..4dd10f48 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorCustomMetric.java @@ -0,0 +1,145 @@ +// *** 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 LakehouseMonitorCustomMetric { + /** + * @return [create metric definition]: https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition + * + */ + private @Nullable String definition; + /** + * @return Columns on the monitored table to apply the custom metrics to. + * + */ + private @Nullable List inputColumns; + /** + * @return Name of the custom metric. + * + */ + private @Nullable String name; + /** + * @return The output type of the custom metric. + * + */ + private @Nullable String outputDataType; + /** + * @return The type of the custom metric. + * + */ + private @Nullable String type; + + private LakehouseMonitorCustomMetric() {} + /** + * @return [create metric definition]: https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition + * + */ + public Optional definition() { + return Optional.ofNullable(this.definition); + } + /** + * @return Columns on the monitored table to apply the custom metrics to. + * + */ + public List inputColumns() { + return this.inputColumns == null ? List.of() : this.inputColumns; + } + /** + * @return Name of the custom metric. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + /** + * @return The output type of the custom metric. + * + */ + public Optional outputDataType() { + return Optional.ofNullable(this.outputDataType); + } + /** + * @return The type of the custom metric. + * + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(LakehouseMonitorCustomMetric defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String definition; + private @Nullable List inputColumns; + private @Nullable String name; + private @Nullable String outputDataType; + private @Nullable String type; + public Builder() {} + public Builder(LakehouseMonitorCustomMetric defaults) { + Objects.requireNonNull(defaults); + this.definition = defaults.definition; + this.inputColumns = defaults.inputColumns; + this.name = defaults.name; + this.outputDataType = defaults.outputDataType; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder definition(@Nullable String definition) { + + this.definition = definition; + return this; + } + @CustomType.Setter + public Builder inputColumns(@Nullable List inputColumns) { + + this.inputColumns = inputColumns; + return this; + } + public Builder inputColumns(String... inputColumns) { + return inputColumns(List.of(inputColumns)); + } + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + @CustomType.Setter + public Builder outputDataType(@Nullable String outputDataType) { + + this.outputDataType = outputDataType; + return this; + } + @CustomType.Setter + public Builder type(@Nullable String type) { + + this.type = type; + return this; + } + public LakehouseMonitorCustomMetric build() { + final var _resultValue = new LakehouseMonitorCustomMetric(); + _resultValue.definition = definition; + _resultValue.inputColumns = inputColumns; + _resultValue.name = name; + _resultValue.outputDataType = outputDataType; + _resultValue.type = type; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorDataClassificationConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorDataClassificationConfig.java new file mode 100644 index 00000000..d251445f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorDataClassificationConfig.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 LakehouseMonitorDataClassificationConfig { + private @Nullable Boolean enabled; + + private LakehouseMonitorDataClassificationConfig() {} + public Optional enabled() { + return Optional.ofNullable(this.enabled); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(LakehouseMonitorDataClassificationConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Boolean enabled; + public Builder() {} + public Builder(LakehouseMonitorDataClassificationConfig defaults) { + Objects.requireNonNull(defaults); + this.enabled = defaults.enabled; + } + + @CustomType.Setter + public Builder enabled(@Nullable Boolean enabled) { + + this.enabled = enabled; + return this; + } + public LakehouseMonitorDataClassificationConfig build() { + final var _resultValue = new LakehouseMonitorDataClassificationConfig(); + _resultValue.enabled = enabled; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorInferenceLog.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorInferenceLog.java new file mode 100644 index 00000000..98ddd6fe --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorInferenceLog.java @@ -0,0 +1,187 @@ +// *** 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 LakehouseMonitorInferenceLog { + /** + * @return List of granularities to use when aggregating data into time windows based on their timestamp. + * + */ + private @Nullable List granularities; + /** + * @return Column of the model label + * + */ + private @Nullable String labelCol; + /** + * @return Column of the model id or version + * + */ + private @Nullable String modelIdCol; + /** + * @return Column of the model prediction + * + */ + private @Nullable String predictionCol; + /** + * @return Column of the model prediction probabilities + * + */ + private @Nullable String predictionProbaCol; + /** + * @return Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + * + */ + private @Nullable String problemType; + /** + * @return Column of the timestamp of predictions + * + */ + private @Nullable String timestampCol; + + private LakehouseMonitorInferenceLog() {} + /** + * @return List of granularities to use when aggregating data into time windows based on their timestamp. + * + */ + public List granularities() { + return this.granularities == null ? List.of() : this.granularities; + } + /** + * @return Column of the model label + * + */ + public Optional labelCol() { + return Optional.ofNullable(this.labelCol); + } + /** + * @return Column of the model id or version + * + */ + public Optional modelIdCol() { + return Optional.ofNullable(this.modelIdCol); + } + /** + * @return Column of the model prediction + * + */ + public Optional predictionCol() { + return Optional.ofNullable(this.predictionCol); + } + /** + * @return Column of the model prediction probabilities + * + */ + public Optional predictionProbaCol() { + return Optional.ofNullable(this.predictionProbaCol); + } + /** + * @return Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + * + */ + public Optional problemType() { + return Optional.ofNullable(this.problemType); + } + /** + * @return Column of the timestamp of predictions + * + */ + public Optional timestampCol() { + return Optional.ofNullable(this.timestampCol); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(LakehouseMonitorInferenceLog defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List granularities; + private @Nullable String labelCol; + private @Nullable String modelIdCol; + private @Nullable String predictionCol; + private @Nullable String predictionProbaCol; + private @Nullable String problemType; + private @Nullable String timestampCol; + public Builder() {} + public Builder(LakehouseMonitorInferenceLog defaults) { + Objects.requireNonNull(defaults); + this.granularities = defaults.granularities; + this.labelCol = defaults.labelCol; + this.modelIdCol = defaults.modelIdCol; + this.predictionCol = defaults.predictionCol; + this.predictionProbaCol = defaults.predictionProbaCol; + this.problemType = defaults.problemType; + this.timestampCol = defaults.timestampCol; + } + + @CustomType.Setter + public Builder granularities(@Nullable List granularities) { + + this.granularities = granularities; + return this; + } + public Builder granularities(String... granularities) { + return granularities(List.of(granularities)); + } + @CustomType.Setter + public Builder labelCol(@Nullable String labelCol) { + + this.labelCol = labelCol; + return this; + } + @CustomType.Setter + public Builder modelIdCol(@Nullable String modelIdCol) { + + this.modelIdCol = modelIdCol; + return this; + } + @CustomType.Setter + public Builder predictionCol(@Nullable String predictionCol) { + + this.predictionCol = predictionCol; + return this; + } + @CustomType.Setter + public Builder predictionProbaCol(@Nullable String predictionProbaCol) { + + this.predictionProbaCol = predictionProbaCol; + return this; + } + @CustomType.Setter + public Builder problemType(@Nullable String problemType) { + + this.problemType = problemType; + return this; + } + @CustomType.Setter + public Builder timestampCol(@Nullable String timestampCol) { + + this.timestampCol = timestampCol; + return this; + } + public LakehouseMonitorInferenceLog build() { + final var _resultValue = new LakehouseMonitorInferenceLog(); + _resultValue.granularities = granularities; + _resultValue.labelCol = labelCol; + _resultValue.modelIdCol = modelIdCol; + _resultValue.predictionCol = predictionCol; + _resultValue.predictionProbaCol = predictionProbaCol; + _resultValue.problemType = problemType; + _resultValue.timestampCol = timestampCol; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorNotifications.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorNotifications.java new file mode 100644 index 00000000..c0204dd1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorNotifications.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 com.pulumi.databricks.outputs.LakehouseMonitorNotificationsOnFailure; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class LakehouseMonitorNotifications { + private @Nullable LakehouseMonitorNotificationsOnFailure onFailure; + + private LakehouseMonitorNotifications() {} + public Optional onFailure() { + return Optional.ofNullable(this.onFailure); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(LakehouseMonitorNotifications defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable LakehouseMonitorNotificationsOnFailure onFailure; + public Builder() {} + public Builder(LakehouseMonitorNotifications defaults) { + Objects.requireNonNull(defaults); + this.onFailure = defaults.onFailure; + } + + @CustomType.Setter + public Builder onFailure(@Nullable LakehouseMonitorNotificationsOnFailure onFailure) { + + this.onFailure = onFailure; + return this; + } + public LakehouseMonitorNotifications build() { + final var _resultValue = new LakehouseMonitorNotifications(); + _resultValue.onFailure = onFailure; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorNotificationsOnFailure.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorNotificationsOnFailure.java new file mode 100644 index 00000000..f3eb3f76 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorNotificationsOnFailure.java @@ -0,0 +1,52 @@ +// *** 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 LakehouseMonitorNotificationsOnFailure { + private @Nullable List emailAddresses; + + private LakehouseMonitorNotificationsOnFailure() {} + public List emailAddresses() { + return this.emailAddresses == null ? List.of() : this.emailAddresses; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(LakehouseMonitorNotificationsOnFailure defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List emailAddresses; + public Builder() {} + public Builder(LakehouseMonitorNotificationsOnFailure defaults) { + Objects.requireNonNull(defaults); + this.emailAddresses = defaults.emailAddresses; + } + + @CustomType.Setter + public Builder emailAddresses(@Nullable List emailAddresses) { + + this.emailAddresses = emailAddresses; + return this; + } + public Builder emailAddresses(String... emailAddresses) { + return emailAddresses(List.of(emailAddresses)); + } + public LakehouseMonitorNotificationsOnFailure build() { + final var _resultValue = new LakehouseMonitorNotificationsOnFailure(); + _resultValue.emailAddresses = emailAddresses; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorSchedule.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorSchedule.java new file mode 100644 index 00000000..9dac5c01 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorSchedule.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 LakehouseMonitorSchedule { + private @Nullable String pauseStatus; + private @Nullable String quartzCronExpression; + private @Nullable String timezoneId; + + private LakehouseMonitorSchedule() {} + public Optional pauseStatus() { + return Optional.ofNullable(this.pauseStatus); + } + public Optional quartzCronExpression() { + return Optional.ofNullable(this.quartzCronExpression); + } + public Optional timezoneId() { + return Optional.ofNullable(this.timezoneId); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(LakehouseMonitorSchedule defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String pauseStatus; + private @Nullable String quartzCronExpression; + private @Nullable String timezoneId; + public Builder() {} + public Builder(LakehouseMonitorSchedule defaults) { + Objects.requireNonNull(defaults); + this.pauseStatus = defaults.pauseStatus; + this.quartzCronExpression = defaults.quartzCronExpression; + this.timezoneId = defaults.timezoneId; + } + + @CustomType.Setter + public Builder pauseStatus(@Nullable String pauseStatus) { + + this.pauseStatus = pauseStatus; + return this; + } + @CustomType.Setter + public Builder quartzCronExpression(@Nullable String quartzCronExpression) { + + this.quartzCronExpression = quartzCronExpression; + return this; + } + @CustomType.Setter + public Builder timezoneId(@Nullable String timezoneId) { + + this.timezoneId = timezoneId; + return this; + } + public LakehouseMonitorSchedule build() { + final var _resultValue = new LakehouseMonitorSchedule(); + _resultValue.pauseStatus = pauseStatus; + _resultValue.quartzCronExpression = quartzCronExpression; + _resultValue.timezoneId = timezoneId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorSnapshot.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorSnapshot.java new file mode 100644 index 00000000..ea4e7c2f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorSnapshot.java @@ -0,0 +1,32 @@ +// *** 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.util.Objects; + +@CustomType +public final class LakehouseMonitorSnapshot { + private LakehouseMonitorSnapshot() {} + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(LakehouseMonitorSnapshot defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + public Builder() {} + public Builder(LakehouseMonitorSnapshot defaults) { + Objects.requireNonNull(defaults); + } + + public LakehouseMonitorSnapshot build() { + final var _resultValue = new LakehouseMonitorSnapshot(); + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorTimeSeries.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorTimeSeries.java new file mode 100644 index 00000000..446e364c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/LakehouseMonitorTimeSeries.java @@ -0,0 +1,82 @@ +// *** 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 LakehouseMonitorTimeSeries { + /** + * @return List of granularities to use when aggregating data into time windows based on their timestamp. + * + */ + private @Nullable List granularities; + /** + * @return Column of the timestamp of predictions + * + */ + private @Nullable String timestampCol; + + private LakehouseMonitorTimeSeries() {} + /** + * @return List of granularities to use when aggregating data into time windows based on their timestamp. + * + */ + public List granularities() { + return this.granularities == null ? List.of() : this.granularities; + } + /** + * @return Column of the timestamp of predictions + * + */ + public Optional timestampCol() { + return Optional.ofNullable(this.timestampCol); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(LakehouseMonitorTimeSeries defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List granularities; + private @Nullable String timestampCol; + public Builder() {} + public Builder(LakehouseMonitorTimeSeries defaults) { + Objects.requireNonNull(defaults); + this.granularities = defaults.granularities; + this.timestampCol = defaults.timestampCol; + } + + @CustomType.Setter + public Builder granularities(@Nullable List granularities) { + + this.granularities = granularities; + return this; + } + public Builder granularities(String... granularities) { + return granularities(List.of(granularities)); + } + @CustomType.Setter + public Builder timestampCol(@Nullable String timestampCol) { + + this.timestampCol = timestampCol; + return this; + } + public LakehouseMonitorTimeSeries build() { + final var _resultValue = new LakehouseMonitorTimeSeries(); + _resultValue.granularities = granularities; + _resultValue.timestampCol = timestampCol; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfig.java index f5cfbfa5..1a71370c 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfig.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfig.java @@ -5,6 +5,7 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.databricks.outputs.ModelServingConfigAutoCaptureConfig; +import com.pulumi.databricks.outputs.ModelServingConfigServedEntity; import com.pulumi.databricks.outputs.ModelServingConfigServedModel; import com.pulumi.databricks.outputs.ModelServingConfigTrafficConfig; import java.util.List; @@ -14,11 +15,24 @@ @CustomType public final class ModelServingConfig { + /** + * @return Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. + * + */ private @Nullable ModelServingConfigAutoCaptureConfig autoCaptureConfig; + /** + * @return A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. + * + */ + private @Nullable List servedEntities; /** * @return 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'. + * */ + @Deprecated /* Please use 'config.served_entities' instead of 'config.served_models'. */ private @Nullable List servedModels; /** * @return A single block represents the traffic split configuration amongst the served models. @@ -27,13 +41,28 @@ public final class ModelServingConfig { private @Nullable ModelServingConfigTrafficConfig trafficConfig; private ModelServingConfig() {} + /** + * @return Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. + * + */ public Optional autoCaptureConfig() { return Optional.ofNullable(this.autoCaptureConfig); } + /** + * @return A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. + * + */ + public List servedEntities() { + return this.servedEntities == null ? List.of() : this.servedEntities; + } /** * @return 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'. + * */ + @Deprecated /* Please use 'config.served_entities' instead of 'config.served_models'. */ public List servedModels() { return this.servedModels == null ? List.of() : this.servedModels; } @@ -55,12 +84,14 @@ public static Builder builder(ModelServingConfig defaults) { @CustomType.Builder public static final class Builder { private @Nullable ModelServingConfigAutoCaptureConfig autoCaptureConfig; + private @Nullable List servedEntities; private @Nullable List servedModels; private @Nullable ModelServingConfigTrafficConfig trafficConfig; public Builder() {} public Builder(ModelServingConfig defaults) { Objects.requireNonNull(defaults); this.autoCaptureConfig = defaults.autoCaptureConfig; + this.servedEntities = defaults.servedEntities; this.servedModels = defaults.servedModels; this.trafficConfig = defaults.trafficConfig; } @@ -72,6 +103,15 @@ public Builder autoCaptureConfig(@Nullable ModelServingConfigAutoCaptureConfig a return this; } @CustomType.Setter + public Builder servedEntities(@Nullable List servedEntities) { + + this.servedEntities = servedEntities; + return this; + } + public Builder servedEntities(ModelServingConfigServedEntity... servedEntities) { + return servedEntities(List.of(servedEntities)); + } + @CustomType.Setter public Builder servedModels(@Nullable List servedModels) { this.servedModels = servedModels; @@ -89,6 +129,7 @@ public Builder trafficConfig(@Nullable ModelServingConfigTrafficConfig trafficCo public ModelServingConfig build() { final var _resultValue = new ModelServingConfig(); _resultValue.autoCaptureConfig = autoCaptureConfig; + _resultValue.servedEntities = servedEntities; _resultValue.servedModels = servedModels; _resultValue.trafficConfig = trafficConfig; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigAutoCaptureConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigAutoCaptureConfig.java index e41a2e7c..fa4cb0a9 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigAutoCaptureConfig.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigAutoCaptureConfig.java @@ -12,21 +12,53 @@ @CustomType public final class ModelServingConfigAutoCaptureConfig { + /** + * @return The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. + * + */ private @Nullable String catalogName; + /** + * @return If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable again. + * + */ private @Nullable Boolean enabled; + /** + * @return The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + * + */ private @Nullable String schemaName; + /** + * @return The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. + * + */ private @Nullable String tableNamePrefix; private ModelServingConfigAutoCaptureConfig() {} + /** + * @return The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. + * + */ public Optional catalogName() { return Optional.ofNullable(this.catalogName); } + /** + * @return If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable again. + * + */ public Optional enabled() { return Optional.ofNullable(this.enabled); } + /** + * @return The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + * + */ public Optional schemaName() { return Optional.ofNullable(this.schemaName); } + /** + * @return The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. + * + */ public Optional tableNamePrefix() { return Optional.ofNullable(this.tableNamePrefix); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntity.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntity.java new file mode 100644 index 00000000..353ae22e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntity.java @@ -0,0 +1,272 @@ +// *** 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.ModelServingConfigServedEntityExternalModel; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.Object; +import java.lang.String; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ModelServingConfigServedEntity { + /** + * @return 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`. + * + */ + private @Nullable String entityName; + /** + * @return The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. + * + */ + private @Nullable String entityVersion; + /** + * @return 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 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}}"}``` + * + */ + private @Nullable Map environmentVars; + /** + * @return 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. For an existing endpoint with `external_model`, it 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. + * + */ + private @Nullable ModelServingConfigServedEntityExternalModel externalModel; + /** + * @return ARN of the instance profile that the served entity uses to access AWS resources. + * + */ + private @Nullable String instanceProfileArn; + /** + * @return The maximum tokens per second that the endpoint can scale up to. + * + */ + private @Nullable Integer maxProvisionedThroughput; + /** + * @return The minimum tokens per second that the endpoint can scale down to. + * + */ + private @Nullable Integer minProvisionedThroughput; + /** + * @return The name of the external model. + * + */ + private @Nullable String name; + /** + * @return Whether the compute resources for the served entity should scale down to zero. + * + */ + private @Nullable Boolean scaleToZeroEnabled; + /** + * @return 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. + * + */ + private @Nullable String workloadSize; + /** + * @return 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). + * + */ + private @Nullable String workloadType; + + private ModelServingConfigServedEntity() {} + /** + * @return 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`. + * + */ + public Optional entityName() { + return Optional.ofNullable(this.entityName); + } + /** + * @return The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. + * + */ + public Optional entityVersion() { + return Optional.ofNullable(this.entityVersion); + } + /** + * @return 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 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}}"}``` + * + */ + public Map environmentVars() { + return this.environmentVars == null ? Map.of() : this.environmentVars; + } + /** + * @return 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. For an existing endpoint with `external_model`, it 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. + * + */ + public Optional externalModel() { + return Optional.ofNullable(this.externalModel); + } + /** + * @return ARN of the instance profile that the served entity uses to access AWS resources. + * + */ + public Optional instanceProfileArn() { + return Optional.ofNullable(this.instanceProfileArn); + } + /** + * @return The maximum tokens per second that the endpoint can scale up to. + * + */ + public Optional maxProvisionedThroughput() { + return Optional.ofNullable(this.maxProvisionedThroughput); + } + /** + * @return The minimum tokens per second that the endpoint can scale down to. + * + */ + public Optional minProvisionedThroughput() { + return Optional.ofNullable(this.minProvisionedThroughput); + } + /** + * @return The name of the external model. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + /** + * @return Whether the compute resources for the served entity should scale down to zero. + * + */ + public Optional scaleToZeroEnabled() { + return Optional.ofNullable(this.scaleToZeroEnabled); + } + /** + * @return 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. + * + */ + public Optional workloadSize() { + return Optional.ofNullable(this.workloadSize); + } + /** + * @return 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). + * + */ + public Optional workloadType() { + return Optional.ofNullable(this.workloadType); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ModelServingConfigServedEntity defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String entityName; + private @Nullable String entityVersion; + private @Nullable Map environmentVars; + private @Nullable ModelServingConfigServedEntityExternalModel externalModel; + private @Nullable String instanceProfileArn; + private @Nullable Integer maxProvisionedThroughput; + private @Nullable Integer minProvisionedThroughput; + private @Nullable String name; + private @Nullable Boolean scaleToZeroEnabled; + private @Nullable String workloadSize; + private @Nullable String workloadType; + public Builder() {} + public Builder(ModelServingConfigServedEntity defaults) { + Objects.requireNonNull(defaults); + this.entityName = defaults.entityName; + this.entityVersion = defaults.entityVersion; + this.environmentVars = defaults.environmentVars; + this.externalModel = defaults.externalModel; + this.instanceProfileArn = defaults.instanceProfileArn; + this.maxProvisionedThroughput = defaults.maxProvisionedThroughput; + this.minProvisionedThroughput = defaults.minProvisionedThroughput; + this.name = defaults.name; + this.scaleToZeroEnabled = defaults.scaleToZeroEnabled; + this.workloadSize = defaults.workloadSize; + this.workloadType = defaults.workloadType; + } + + @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 environmentVars(@Nullable Map environmentVars) { + + this.environmentVars = environmentVars; + return this; + } + @CustomType.Setter + public Builder externalModel(@Nullable ModelServingConfigServedEntityExternalModel externalModel) { + + this.externalModel = externalModel; + return this; + } + @CustomType.Setter + public Builder instanceProfileArn(@Nullable String instanceProfileArn) { + + this.instanceProfileArn = instanceProfileArn; + return this; + } + @CustomType.Setter + public Builder maxProvisionedThroughput(@Nullable Integer maxProvisionedThroughput) { + + this.maxProvisionedThroughput = maxProvisionedThroughput; + return this; + } + @CustomType.Setter + public Builder minProvisionedThroughput(@Nullable Integer minProvisionedThroughput) { + + this.minProvisionedThroughput = minProvisionedThroughput; + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + @CustomType.Setter + public Builder scaleToZeroEnabled(@Nullable Boolean scaleToZeroEnabled) { + + this.scaleToZeroEnabled = scaleToZeroEnabled; + return this; + } + @CustomType.Setter + public Builder workloadSize(@Nullable String workloadSize) { + + this.workloadSize = workloadSize; + return this; + } + @CustomType.Setter + public Builder workloadType(@Nullable String workloadType) { + + this.workloadType = workloadType; + return this; + } + public ModelServingConfigServedEntity build() { + final var _resultValue = new ModelServingConfigServedEntity(); + _resultValue.entityName = entityName; + _resultValue.entityVersion = entityVersion; + _resultValue.environmentVars = environmentVars; + _resultValue.externalModel = externalModel; + _resultValue.instanceProfileArn = instanceProfileArn; + _resultValue.maxProvisionedThroughput = maxProvisionedThroughput; + _resultValue.minProvisionedThroughput = minProvisionedThroughput; + _resultValue.name = name; + _resultValue.scaleToZeroEnabled = scaleToZeroEnabled; + _resultValue.workloadSize = workloadSize; + _resultValue.workloadType = workloadType; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModel.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModel.java new file mode 100644 index 00000000..575f7db6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModel.java @@ -0,0 +1,260 @@ +// *** 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.ModelServingConfigServedEntityExternalModelAi21labsConfig; +import com.pulumi.databricks.outputs.ModelServingConfigServedEntityExternalModelAmazonBedrockConfig; +import com.pulumi.databricks.outputs.ModelServingConfigServedEntityExternalModelAnthropicConfig; +import com.pulumi.databricks.outputs.ModelServingConfigServedEntityExternalModelCohereConfig; +import com.pulumi.databricks.outputs.ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig; +import com.pulumi.databricks.outputs.ModelServingConfigServedEntityExternalModelOpenaiConfig; +import com.pulumi.databricks.outputs.ModelServingConfigServedEntityExternalModelPalmConfig; +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 ModelServingConfigServedEntityExternalModel { + /** + * @return AI21Labs Config + * + */ + private @Nullable ModelServingConfigServedEntityExternalModelAi21labsConfig ai21labsConfig; + /** + * @return Amazon Bedrock Config + * + */ + private @Nullable ModelServingConfigServedEntityExternalModelAmazonBedrockConfig amazonBedrockConfig; + /** + * @return Anthropic Config + * + */ + private @Nullable ModelServingConfigServedEntityExternalModelAnthropicConfig anthropicConfig; + /** + * @return Cohere Config + * + */ + private @Nullable ModelServingConfigServedEntityExternalModelCohereConfig cohereConfig; + /** + * @return Databricks Model Serving Config + * + */ + private @Nullable ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig databricksModelServingConfig; + /** + * @return The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. + * + */ + private String name; + /** + * @return OpenAI Config + * + */ + private @Nullable ModelServingConfigServedEntityExternalModelOpenaiConfig openaiConfig; + /** + * @return PaLM Config + * + */ + private @Nullable ModelServingConfigServedEntityExternalModelPalmConfig palmConfig; + /** + * @return The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `openai`, and `palm`. + * + */ + private String provider; + /** + * @return The task type of the external model. + * + */ + private String task; + + private ModelServingConfigServedEntityExternalModel() {} + /** + * @return AI21Labs Config + * + */ + public Optional ai21labsConfig() { + return Optional.ofNullable(this.ai21labsConfig); + } + /** + * @return Amazon Bedrock Config + * + */ + public Optional amazonBedrockConfig() { + return Optional.ofNullable(this.amazonBedrockConfig); + } + /** + * @return Anthropic Config + * + */ + public Optional anthropicConfig() { + return Optional.ofNullable(this.anthropicConfig); + } + /** + * @return Cohere Config + * + */ + public Optional cohereConfig() { + return Optional.ofNullable(this.cohereConfig); + } + /** + * @return Databricks Model Serving Config + * + */ + public Optional databricksModelServingConfig() { + return Optional.ofNullable(this.databricksModelServingConfig); + } + /** + * @return The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. + * + */ + public String name() { + return this.name; + } + /** + * @return OpenAI Config + * + */ + public Optional openaiConfig() { + return Optional.ofNullable(this.openaiConfig); + } + /** + * @return PaLM Config + * + */ + public Optional palmConfig() { + return Optional.ofNullable(this.palmConfig); + } + /** + * @return The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `openai`, and `palm`. + * + */ + public String provider() { + return this.provider; + } + /** + * @return The task type of the external model. + * + */ + public String task() { + return this.task; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ModelServingConfigServedEntityExternalModel defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable ModelServingConfigServedEntityExternalModelAi21labsConfig ai21labsConfig; + private @Nullable ModelServingConfigServedEntityExternalModelAmazonBedrockConfig amazonBedrockConfig; + private @Nullable ModelServingConfigServedEntityExternalModelAnthropicConfig anthropicConfig; + private @Nullable ModelServingConfigServedEntityExternalModelCohereConfig cohereConfig; + private @Nullable ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig databricksModelServingConfig; + private String name; + private @Nullable ModelServingConfigServedEntityExternalModelOpenaiConfig openaiConfig; + private @Nullable ModelServingConfigServedEntityExternalModelPalmConfig palmConfig; + private String provider; + private String task; + public Builder() {} + public Builder(ModelServingConfigServedEntityExternalModel defaults) { + Objects.requireNonNull(defaults); + this.ai21labsConfig = defaults.ai21labsConfig; + this.amazonBedrockConfig = defaults.amazonBedrockConfig; + this.anthropicConfig = defaults.anthropicConfig; + this.cohereConfig = defaults.cohereConfig; + this.databricksModelServingConfig = defaults.databricksModelServingConfig; + this.name = defaults.name; + this.openaiConfig = defaults.openaiConfig; + this.palmConfig = defaults.palmConfig; + this.provider = defaults.provider; + this.task = defaults.task; + } + + @CustomType.Setter + public Builder ai21labsConfig(@Nullable ModelServingConfigServedEntityExternalModelAi21labsConfig ai21labsConfig) { + + this.ai21labsConfig = ai21labsConfig; + return this; + } + @CustomType.Setter + public Builder amazonBedrockConfig(@Nullable ModelServingConfigServedEntityExternalModelAmazonBedrockConfig amazonBedrockConfig) { + + this.amazonBedrockConfig = amazonBedrockConfig; + return this; + } + @CustomType.Setter + public Builder anthropicConfig(@Nullable ModelServingConfigServedEntityExternalModelAnthropicConfig anthropicConfig) { + + this.anthropicConfig = anthropicConfig; + return this; + } + @CustomType.Setter + public Builder cohereConfig(@Nullable ModelServingConfigServedEntityExternalModelCohereConfig cohereConfig) { + + this.cohereConfig = cohereConfig; + return this; + } + @CustomType.Setter + public Builder databricksModelServingConfig(@Nullable ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig databricksModelServingConfig) { + + this.databricksModelServingConfig = databricksModelServingConfig; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModel", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder openaiConfig(@Nullable ModelServingConfigServedEntityExternalModelOpenaiConfig openaiConfig) { + + this.openaiConfig = openaiConfig; + return this; + } + @CustomType.Setter + public Builder palmConfig(@Nullable ModelServingConfigServedEntityExternalModelPalmConfig palmConfig) { + + this.palmConfig = palmConfig; + return this; + } + @CustomType.Setter + public Builder provider(String provider) { + if (provider == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModel", "provider"); + } + this.provider = provider; + return this; + } + @CustomType.Setter + public Builder task(String task) { + if (task == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModel", "task"); + } + this.task = task; + return this; + } + public ModelServingConfigServedEntityExternalModel build() { + final var _resultValue = new ModelServingConfigServedEntityExternalModel(); + _resultValue.ai21labsConfig = ai21labsConfig; + _resultValue.amazonBedrockConfig = amazonBedrockConfig; + _resultValue.anthropicConfig = anthropicConfig; + _resultValue.cohereConfig = cohereConfig; + _resultValue.databricksModelServingConfig = databricksModelServingConfig; + _resultValue.name = name; + _resultValue.openaiConfig = openaiConfig; + _resultValue.palmConfig = palmConfig; + _resultValue.provider = provider; + _resultValue.task = task; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelAi21labsConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelAi21labsConfig.java new file mode 100644 index 00000000..a2894714 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelAi21labsConfig.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 ModelServingConfigServedEntityExternalModelAi21labsConfig { + /** + * @return The Databricks secret key reference for an AI21Labs API key. + * + */ + private String ai21labsApiKey; + + private ModelServingConfigServedEntityExternalModelAi21labsConfig() {} + /** + * @return The Databricks secret key reference for an AI21Labs API key. + * + */ + public String ai21labsApiKey() { + return this.ai21labsApiKey; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ModelServingConfigServedEntityExternalModelAi21labsConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String ai21labsApiKey; + public Builder() {} + public Builder(ModelServingConfigServedEntityExternalModelAi21labsConfig defaults) { + Objects.requireNonNull(defaults); + this.ai21labsApiKey = defaults.ai21labsApiKey; + } + + @CustomType.Setter + public Builder ai21labsApiKey(String ai21labsApiKey) { + if (ai21labsApiKey == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelAi21labsConfig", "ai21labsApiKey"); + } + this.ai21labsApiKey = ai21labsApiKey; + return this; + } + public ModelServingConfigServedEntityExternalModelAi21labsConfig build() { + final var _resultValue = new ModelServingConfigServedEntityExternalModelAi21labsConfig(); + _resultValue.ai21labsApiKey = ai21labsApiKey; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelAmazonBedrockConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelAmazonBedrockConfig.java new file mode 100644 index 00000000..3aee7f7d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelAmazonBedrockConfig.java @@ -0,0 +1,127 @@ +// *** 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 ModelServingConfigServedEntityExternalModelAmazonBedrockConfig { + /** + * @return The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. + * + */ + private String awsAccessKeyId; + /** + * @return The AWS region to use. Bedrock has to be enabled there. + * + */ + private String awsRegion; + /** + * @return The Databricks secret key reference for an AWS Secret Access Key paired with the access key ID, with permissions to interact with Bedrock services. + * + */ + private String awsSecretAccessKey; + /** + * @return The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. + * + */ + private String bedrockProvider; + + private ModelServingConfigServedEntityExternalModelAmazonBedrockConfig() {} + /** + * @return The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. + * + */ + public String awsAccessKeyId() { + return this.awsAccessKeyId; + } + /** + * @return The AWS region to use. Bedrock has to be enabled there. + * + */ + public String awsRegion() { + return this.awsRegion; + } + /** + * @return The Databricks secret key reference for an AWS Secret Access Key paired with the access key ID, with permissions to interact with Bedrock services. + * + */ + public String awsSecretAccessKey() { + return this.awsSecretAccessKey; + } + /** + * @return The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. + * + */ + public String bedrockProvider() { + return this.bedrockProvider; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ModelServingConfigServedEntityExternalModelAmazonBedrockConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String awsAccessKeyId; + private String awsRegion; + private String awsSecretAccessKey; + private String bedrockProvider; + public Builder() {} + public Builder(ModelServingConfigServedEntityExternalModelAmazonBedrockConfig defaults) { + Objects.requireNonNull(defaults); + this.awsAccessKeyId = defaults.awsAccessKeyId; + this.awsRegion = defaults.awsRegion; + this.awsSecretAccessKey = defaults.awsSecretAccessKey; + this.bedrockProvider = defaults.bedrockProvider; + } + + @CustomType.Setter + public Builder awsAccessKeyId(String awsAccessKeyId) { + if (awsAccessKeyId == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelAmazonBedrockConfig", "awsAccessKeyId"); + } + this.awsAccessKeyId = awsAccessKeyId; + return this; + } + @CustomType.Setter + public Builder awsRegion(String awsRegion) { + if (awsRegion == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelAmazonBedrockConfig", "awsRegion"); + } + this.awsRegion = awsRegion; + return this; + } + @CustomType.Setter + public Builder awsSecretAccessKey(String awsSecretAccessKey) { + if (awsSecretAccessKey == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelAmazonBedrockConfig", "awsSecretAccessKey"); + } + this.awsSecretAccessKey = awsSecretAccessKey; + return this; + } + @CustomType.Setter + public Builder bedrockProvider(String bedrockProvider) { + if (bedrockProvider == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelAmazonBedrockConfig", "bedrockProvider"); + } + this.bedrockProvider = bedrockProvider; + return this; + } + public ModelServingConfigServedEntityExternalModelAmazonBedrockConfig build() { + final var _resultValue = new ModelServingConfigServedEntityExternalModelAmazonBedrockConfig(); + _resultValue.awsAccessKeyId = awsAccessKeyId; + _resultValue.awsRegion = awsRegion; + _resultValue.awsSecretAccessKey = awsSecretAccessKey; + _resultValue.bedrockProvider = bedrockProvider; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelAnthropicConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelAnthropicConfig.java new file mode 100644 index 00000000..5ae06c5e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelAnthropicConfig.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.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class ModelServingConfigServedEntityExternalModelAnthropicConfig { + /** + * @return The Databricks secret key reference for an Anthropic API key. + * The Databricks secret key reference for an Anthropic API key. + * + */ + private String anthropicApiKey; + + private ModelServingConfigServedEntityExternalModelAnthropicConfig() {} + /** + * @return The Databricks secret key reference for an Anthropic API key. + * The Databricks secret key reference for an Anthropic API key. + * + */ + public String anthropicApiKey() { + return this.anthropicApiKey; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ModelServingConfigServedEntityExternalModelAnthropicConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String anthropicApiKey; + public Builder() {} + public Builder(ModelServingConfigServedEntityExternalModelAnthropicConfig defaults) { + Objects.requireNonNull(defaults); + this.anthropicApiKey = defaults.anthropicApiKey; + } + + @CustomType.Setter + public Builder anthropicApiKey(String anthropicApiKey) { + if (anthropicApiKey == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelAnthropicConfig", "anthropicApiKey"); + } + this.anthropicApiKey = anthropicApiKey; + return this; + } + public ModelServingConfigServedEntityExternalModelAnthropicConfig build() { + final var _resultValue = new ModelServingConfigServedEntityExternalModelAnthropicConfig(); + _resultValue.anthropicApiKey = anthropicApiKey; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelCohereConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelCohereConfig.java new file mode 100644 index 00000000..84e6b18e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelCohereConfig.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 ModelServingConfigServedEntityExternalModelCohereConfig { + /** + * @return The Databricks secret key reference for a Cohere API key. + * + */ + private String cohereApiKey; + + private ModelServingConfigServedEntityExternalModelCohereConfig() {} + /** + * @return The Databricks secret key reference for a Cohere API key. + * + */ + public String cohereApiKey() { + return this.cohereApiKey; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ModelServingConfigServedEntityExternalModelCohereConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String cohereApiKey; + public Builder() {} + public Builder(ModelServingConfigServedEntityExternalModelCohereConfig defaults) { + Objects.requireNonNull(defaults); + this.cohereApiKey = defaults.cohereApiKey; + } + + @CustomType.Setter + public Builder cohereApiKey(String cohereApiKey) { + if (cohereApiKey == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelCohereConfig", "cohereApiKey"); + } + this.cohereApiKey = cohereApiKey; + return this; + } + public ModelServingConfigServedEntityExternalModelCohereConfig build() { + final var _resultValue = new ModelServingConfigServedEntityExternalModelCohereConfig(); + _resultValue.cohereApiKey = cohereApiKey; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig.java new file mode 100644 index 00000000..16ccd581 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig.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 ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig { + /** + * @return 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. + * + */ + private String databricksApiToken; + /** + * @return The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. + * + */ + private String databricksWorkspaceUrl; + + private ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig() {} + /** + * @return 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. + * + */ + public String databricksApiToken() { + return this.databricksApiToken; + } + /** + * @return The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. + * + */ + public String databricksWorkspaceUrl() { + return this.databricksWorkspaceUrl; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String databricksApiToken; + private String databricksWorkspaceUrl; + public Builder() {} + public Builder(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig defaults) { + Objects.requireNonNull(defaults); + this.databricksApiToken = defaults.databricksApiToken; + this.databricksWorkspaceUrl = defaults.databricksWorkspaceUrl; + } + + @CustomType.Setter + public Builder databricksApiToken(String databricksApiToken) { + if (databricksApiToken == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig", "databricksApiToken"); + } + this.databricksApiToken = databricksApiToken; + return this; + } + @CustomType.Setter + public Builder databricksWorkspaceUrl(String databricksWorkspaceUrl) { + if (databricksWorkspaceUrl == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig", "databricksWorkspaceUrl"); + } + this.databricksWorkspaceUrl = databricksWorkspaceUrl; + return this; + } + public ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig build() { + final var _resultValue = new ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig(); + _resultValue.databricksApiToken = databricksApiToken; + _resultValue.databricksWorkspaceUrl = databricksWorkspaceUrl; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelOpenaiConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelOpenaiConfig.java new file mode 100644 index 00000000..60dd2608 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelOpenaiConfig.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.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 ModelServingConfigServedEntityExternalModelOpenaiConfig { + /** + * @return 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. + * + */ + private @Nullable String openaiApiBase; + /** + * @return The Databricks secret key reference for an OpenAI or Azure OpenAI API key. + * + */ + private String openaiApiKey; + /** + * @return This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and adjust this parameter to represent the preferred security access validation protocol. For access token validation, use azure. For authentication using Azure Active Directory (Azure AD) use, azuread. + * + */ + private @Nullable String openaiApiType; + /** + * @return 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. + * + */ + private @Nullable String openaiApiVersion; + /** + * @return This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. + * + */ + private @Nullable String openaiDeploymentName; + /** + * @return This is an optional field to specify the organization in OpenAI or Azure OpenAI. + * + */ + private @Nullable String openaiOrganization; + + private ModelServingConfigServedEntityExternalModelOpenaiConfig() {} + /** + * @return 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. + * + */ + public Optional openaiApiBase() { + return Optional.ofNullable(this.openaiApiBase); + } + /** + * @return The Databricks secret key reference for an OpenAI or Azure OpenAI API key. + * + */ + public String openaiApiKey() { + return this.openaiApiKey; + } + /** + * @return This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and adjust this parameter to represent the preferred security access validation protocol. For access token validation, use azure. For authentication using Azure Active Directory (Azure AD) use, azuread. + * + */ + public Optional openaiApiType() { + return Optional.ofNullable(this.openaiApiType); + } + /** + * @return 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. + * + */ + public Optional openaiApiVersion() { + return Optional.ofNullable(this.openaiApiVersion); + } + /** + * @return This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. + * + */ + public Optional openaiDeploymentName() { + return Optional.ofNullable(this.openaiDeploymentName); + } + /** + * @return This is an optional field to specify the organization in OpenAI or Azure OpenAI. + * + */ + public Optional openaiOrganization() { + return Optional.ofNullable(this.openaiOrganization); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ModelServingConfigServedEntityExternalModelOpenaiConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String openaiApiBase; + private String openaiApiKey; + private @Nullable String openaiApiType; + private @Nullable String openaiApiVersion; + private @Nullable String openaiDeploymentName; + private @Nullable String openaiOrganization; + public Builder() {} + public Builder(ModelServingConfigServedEntityExternalModelOpenaiConfig defaults) { + Objects.requireNonNull(defaults); + this.openaiApiBase = defaults.openaiApiBase; + this.openaiApiKey = defaults.openaiApiKey; + this.openaiApiType = defaults.openaiApiType; + this.openaiApiVersion = defaults.openaiApiVersion; + this.openaiDeploymentName = defaults.openaiDeploymentName; + this.openaiOrganization = defaults.openaiOrganization; + } + + @CustomType.Setter + public Builder openaiApiBase(@Nullable String openaiApiBase) { + + this.openaiApiBase = openaiApiBase; + return this; + } + @CustomType.Setter + public Builder openaiApiKey(String openaiApiKey) { + if (openaiApiKey == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelOpenaiConfig", "openaiApiKey"); + } + this.openaiApiKey = openaiApiKey; + 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 ModelServingConfigServedEntityExternalModelOpenaiConfig build() { + final var _resultValue = new ModelServingConfigServedEntityExternalModelOpenaiConfig(); + _resultValue.openaiApiBase = openaiApiBase; + _resultValue.openaiApiKey = openaiApiKey; + _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/ModelServingConfigServedEntityExternalModelPalmConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelPalmConfig.java new file mode 100644 index 00000000..4c888b5b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedEntityExternalModelPalmConfig.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 ModelServingConfigServedEntityExternalModelPalmConfig { + /** + * @return The Databricks secret key reference for a PaLM API key. + * + */ + private String palmApiKey; + + private ModelServingConfigServedEntityExternalModelPalmConfig() {} + /** + * @return The Databricks secret key reference for a PaLM API key. + * + */ + public String palmApiKey() { + return this.palmApiKey; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ModelServingConfigServedEntityExternalModelPalmConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String palmApiKey; + public Builder() {} + public Builder(ModelServingConfigServedEntityExternalModelPalmConfig defaults) { + Objects.requireNonNull(defaults); + this.palmApiKey = defaults.palmApiKey; + } + + @CustomType.Setter + public Builder palmApiKey(String palmApiKey) { + if (palmApiKey == null) { + throw new MissingRequiredPropertyException("ModelServingConfigServedEntityExternalModelPalmConfig", "palmApiKey"); + } + this.palmApiKey = palmApiKey; + return this; + } + public ModelServingConfigServedEntityExternalModelPalmConfig build() { + final var _resultValue = new ModelServingConfigServedEntityExternalModelPalmConfig(); + _resultValue.palmApiKey = palmApiKey; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedModel.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedModel.java index e5e57daa..c965cef0 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedModel.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedModel.java @@ -41,12 +41,12 @@ public final class ModelServingConfigServedModel { */ private @Nullable String name; /** - * @return 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 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`. * */ private @Nullable Boolean scaleToZeroEnabled; /** - * @return 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 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). * */ private String workloadSize; @@ -93,14 +93,14 @@ public Optional name() { return Optional.ofNullable(this.name); } /** - * @return 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 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`. * */ public Optional scaleToZeroEnabled() { return Optional.ofNullable(this.scaleToZeroEnabled); } /** - * @return 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 The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). * */ public String workloadSize() { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigTrafficConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigTrafficConfig.java index 0150c7a7..e82e8729 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigTrafficConfig.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigTrafficConfig.java @@ -12,14 +12,14 @@ @CustomType public final class ModelServingConfigTrafficConfig { /** - * @return Each block represents a route that defines traffic to each served model. Each `served_models` block needs to have a corresponding `routes` block + * @return Each block represents a route that defines traffic to each served entity. Each `served_entity` block needs to have a corresponding `routes` block. * */ private @Nullable List routes; private ModelServingConfigTrafficConfig() {} /** - * @return Each block represents a route that defines traffic to each served model. Each `served_models` block needs to have a corresponding `routes` block + * @return Each block represents a route that defines traffic to each served entity. Each `served_entity` block needs to have a corresponding `routes` block. * */ public List routes() { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigTrafficConfigRoute.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigTrafficConfigRoute.java index 28668378..886bbaef 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigTrafficConfigRoute.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigTrafficConfigRoute.java @@ -11,10 +11,6 @@ @CustomType public final class ModelServingConfigTrafficConfigRoute { - /** - * @return The name of the served model this route configures traffic for. This needs to match the name of a `served_models` block - * - */ private String servedModelName; /** * @return The percentage of endpoint traffic to send to this route. It must be an integer between 0 and 100 inclusive. @@ -23,10 +19,6 @@ public final class ModelServingConfigTrafficConfigRoute { private Integer trafficPercentage; private ModelServingConfigTrafficConfigRoute() {} - /** - * @return The name of the served model this route configures traffic for. This needs to match the name of a `served_models` block - * - */ public String servedModelName() { return this.servedModelName; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingRateLimit.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingRateLimit.java index 9032ae03..56964660 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingRateLimit.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingRateLimit.java @@ -13,17 +13,41 @@ @CustomType public final class ModelServingRateLimit { + /** + * @return Used to specify how many calls are allowed for a key within the renewal_period. + * + */ private Integer calls; + /** + * @return Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + * + */ private @Nullable String key; + /** + * @return Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + * + */ private String renewalPeriod; private ModelServingRateLimit() {} + /** + * @return Used to specify how many calls are allowed for a key within the renewal_period. + * + */ public Integer calls() { return this.calls; } + /** + * @return Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + * + */ public Optional key() { return Optional.ofNullable(this.key); } + /** + * @return Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + * + */ public String renewalPeriod() { return this.renewalPeriod; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingTag.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingTag.java index de12cca4..13674f7a 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingTag.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingTag.java @@ -12,13 +12,29 @@ @CustomType public final class ModelServingTag { + /** + * @return The key field for a tag. + * + */ private String key; + /** + * @return The value field for a tag. + * + */ private @Nullable String value; private ModelServingTag() {} + /** + * @return The key field for a tag. + * + */ public String key() { return this.key; } + /** + * @return The value field for a tag. + * + */ public Optional value() { return Optional.ofNullable(this.value); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableSpec.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableSpec.java new file mode 100644 index 00000000..6d493bf1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableSpec.java @@ -0,0 +1,190 @@ +// *** 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.OnlineTableSpecRunContinuously; +import com.pulumi.databricks.outputs.OnlineTableSpecRunTriggered; +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 OnlineTableSpec { + /** + * @return 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. + * + */ + private @Nullable Boolean performFullCopy; + /** + * @return ID of the associated Delta Live Table pipeline. + * + */ + private @Nullable String pipelineId; + /** + * @return list of the columns comprising the primary key. + * + */ + private @Nullable List primaryKeyColumns; + /** + * @return empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `run_triggered`. + * + */ + private @Nullable OnlineTableSpecRunContinuously runContinuously; + /** + * @return 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). + * + */ + private @Nullable OnlineTableSpecRunTriggered runTriggered; + /** + * @return full name of the source table. + * + */ + private @Nullable String sourceTableFullName; + /** + * @return Time series key to deduplicate (tie-break) rows with the same primary key. + * + */ + private @Nullable String timeseriesKey; + + private OnlineTableSpec() {} + /** + * @return 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. + * + */ + public Optional performFullCopy() { + return Optional.ofNullable(this.performFullCopy); + } + /** + * @return ID of the associated Delta Live Table pipeline. + * + */ + public Optional pipelineId() { + return Optional.ofNullable(this.pipelineId); + } + /** + * @return list of the columns comprising the primary key. + * + */ + public List primaryKeyColumns() { + return this.primaryKeyColumns == null ? List.of() : this.primaryKeyColumns; + } + /** + * @return empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `run_triggered`. + * + */ + public Optional runContinuously() { + return Optional.ofNullable(this.runContinuously); + } + /** + * @return 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). + * + */ + public Optional runTriggered() { + return Optional.ofNullable(this.runTriggered); + } + /** + * @return full name of the source table. + * + */ + public Optional sourceTableFullName() { + return Optional.ofNullable(this.sourceTableFullName); + } + /** + * @return Time series key to deduplicate (tie-break) rows with the same primary key. + * + */ + public Optional timeseriesKey() { + return Optional.ofNullable(this.timeseriesKey); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(OnlineTableSpec defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Boolean performFullCopy; + private @Nullable String pipelineId; + private @Nullable List primaryKeyColumns; + private @Nullable OnlineTableSpecRunContinuously runContinuously; + private @Nullable OnlineTableSpecRunTriggered runTriggered; + private @Nullable String sourceTableFullName; + private @Nullable String timeseriesKey; + public Builder() {} + public Builder(OnlineTableSpec defaults) { + Objects.requireNonNull(defaults); + this.performFullCopy = defaults.performFullCopy; + this.pipelineId = defaults.pipelineId; + this.primaryKeyColumns = defaults.primaryKeyColumns; + this.runContinuously = defaults.runContinuously; + this.runTriggered = defaults.runTriggered; + this.sourceTableFullName = defaults.sourceTableFullName; + this.timeseriesKey = defaults.timeseriesKey; + } + + @CustomType.Setter + public Builder performFullCopy(@Nullable Boolean performFullCopy) { + + this.performFullCopy = performFullCopy; + return this; + } + @CustomType.Setter + public Builder pipelineId(@Nullable String pipelineId) { + + this.pipelineId = pipelineId; + return this; + } + @CustomType.Setter + public Builder primaryKeyColumns(@Nullable List primaryKeyColumns) { + + this.primaryKeyColumns = primaryKeyColumns; + return this; + } + public Builder primaryKeyColumns(String... primaryKeyColumns) { + return primaryKeyColumns(List.of(primaryKeyColumns)); + } + @CustomType.Setter + public Builder runContinuously(@Nullable OnlineTableSpecRunContinuously runContinuously) { + + this.runContinuously = runContinuously; + return this; + } + @CustomType.Setter + public Builder runTriggered(@Nullable OnlineTableSpecRunTriggered runTriggered) { + + this.runTriggered = runTriggered; + return this; + } + @CustomType.Setter + public Builder sourceTableFullName(@Nullable String sourceTableFullName) { + + this.sourceTableFullName = sourceTableFullName; + return this; + } + @CustomType.Setter + public Builder timeseriesKey(@Nullable String timeseriesKey) { + + this.timeseriesKey = timeseriesKey; + return this; + } + public OnlineTableSpec build() { + final var _resultValue = new OnlineTableSpec(); + _resultValue.performFullCopy = performFullCopy; + _resultValue.pipelineId = pipelineId; + _resultValue.primaryKeyColumns = primaryKeyColumns; + _resultValue.runContinuously = runContinuously; + _resultValue.runTriggered = runTriggered; + _resultValue.sourceTableFullName = sourceTableFullName; + _resultValue.timeseriesKey = timeseriesKey; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableSpecRunContinuously.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableSpecRunContinuously.java new file mode 100644 index 00000000..79317b9b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableSpecRunContinuously.java @@ -0,0 +1,32 @@ +// *** 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.util.Objects; + +@CustomType +public final class OnlineTableSpecRunContinuously { + private OnlineTableSpecRunContinuously() {} + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(OnlineTableSpecRunContinuously defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + public Builder() {} + public Builder(OnlineTableSpecRunContinuously defaults) { + Objects.requireNonNull(defaults); + } + + public OnlineTableSpecRunContinuously build() { + final var _resultValue = new OnlineTableSpecRunContinuously(); + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableSpecRunTriggered.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableSpecRunTriggered.java new file mode 100644 index 00000000..af7b76a3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableSpecRunTriggered.java @@ -0,0 +1,32 @@ +// *** 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.util.Objects; + +@CustomType +public final class OnlineTableSpecRunTriggered { + private OnlineTableSpecRunTriggered() {} + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(OnlineTableSpecRunTriggered defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + public Builder() {} + public Builder(OnlineTableSpecRunTriggered defaults) { + Objects.requireNonNull(defaults); + } + + public OnlineTableSpecRunTriggered build() { + final var _resultValue = new OnlineTableSpecRunTriggered(); + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatus.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatus.java new file mode 100644 index 00000000..5b552f4c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatus.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.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.OnlineTableStatusContinuousUpdateStatus; +import com.pulumi.databricks.outputs.OnlineTableStatusFailedStatus; +import com.pulumi.databricks.outputs.OnlineTableStatusProvisioningStatus; +import com.pulumi.databricks.outputs.OnlineTableStatusTriggeredUpdateStatus; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class OnlineTableStatus { + private @Nullable OnlineTableStatusContinuousUpdateStatus continuousUpdateStatus; + /** + * @return The state of the online table. + * + */ + private @Nullable String detailedState; + private @Nullable OnlineTableStatusFailedStatus failedStatus; + /** + * @return A text description of the current state of the online table. + * + */ + private @Nullable String message; + private @Nullable OnlineTableStatusProvisioningStatus provisioningStatus; + private @Nullable OnlineTableStatusTriggeredUpdateStatus triggeredUpdateStatus; + + private OnlineTableStatus() {} + public Optional continuousUpdateStatus() { + return Optional.ofNullable(this.continuousUpdateStatus); + } + /** + * @return The state of the online table. + * + */ + public Optional detailedState() { + return Optional.ofNullable(this.detailedState); + } + public Optional failedStatus() { + return Optional.ofNullable(this.failedStatus); + } + /** + * @return A text description of the current state of the online table. + * + */ + public Optional message() { + return Optional.ofNullable(this.message); + } + public Optional provisioningStatus() { + return Optional.ofNullable(this.provisioningStatus); + } + public Optional triggeredUpdateStatus() { + return Optional.ofNullable(this.triggeredUpdateStatus); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(OnlineTableStatus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable OnlineTableStatusContinuousUpdateStatus continuousUpdateStatus; + private @Nullable String detailedState; + private @Nullable OnlineTableStatusFailedStatus failedStatus; + private @Nullable String message; + private @Nullable OnlineTableStatusProvisioningStatus provisioningStatus; + private @Nullable OnlineTableStatusTriggeredUpdateStatus triggeredUpdateStatus; + public Builder() {} + public Builder(OnlineTableStatus defaults) { + Objects.requireNonNull(defaults); + this.continuousUpdateStatus = defaults.continuousUpdateStatus; + this.detailedState = defaults.detailedState; + this.failedStatus = defaults.failedStatus; + this.message = defaults.message; + this.provisioningStatus = defaults.provisioningStatus; + this.triggeredUpdateStatus = defaults.triggeredUpdateStatus; + } + + @CustomType.Setter + public Builder continuousUpdateStatus(@Nullable OnlineTableStatusContinuousUpdateStatus continuousUpdateStatus) { + + this.continuousUpdateStatus = continuousUpdateStatus; + return this; + } + @CustomType.Setter + public Builder detailedState(@Nullable String detailedState) { + + this.detailedState = detailedState; + return this; + } + @CustomType.Setter + public Builder failedStatus(@Nullable OnlineTableStatusFailedStatus failedStatus) { + + this.failedStatus = failedStatus; + return this; + } + @CustomType.Setter + public Builder message(@Nullable String message) { + + this.message = message; + return this; + } + @CustomType.Setter + public Builder provisioningStatus(@Nullable OnlineTableStatusProvisioningStatus provisioningStatus) { + + this.provisioningStatus = provisioningStatus; + return this; + } + @CustomType.Setter + public Builder triggeredUpdateStatus(@Nullable OnlineTableStatusTriggeredUpdateStatus triggeredUpdateStatus) { + + this.triggeredUpdateStatus = triggeredUpdateStatus; + return this; + } + public OnlineTableStatus build() { + final var _resultValue = new OnlineTableStatus(); + _resultValue.continuousUpdateStatus = continuousUpdateStatus; + _resultValue.detailedState = detailedState; + _resultValue.failedStatus = failedStatus; + _resultValue.message = message; + _resultValue.provisioningStatus = provisioningStatus; + _resultValue.triggeredUpdateStatus = triggeredUpdateStatus; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusContinuousUpdateStatus.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusContinuousUpdateStatus.java new file mode 100644 index 00000000..2da9614b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusContinuousUpdateStatus.java @@ -0,0 +1,77 @@ +// *** 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.OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class OnlineTableStatusContinuousUpdateStatus { + private @Nullable OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress initialPipelineSyncProgress; + private @Nullable Integer lastProcessedCommitVersion; + private @Nullable String timestamp; + + private OnlineTableStatusContinuousUpdateStatus() {} + public Optional initialPipelineSyncProgress() { + return Optional.ofNullable(this.initialPipelineSyncProgress); + } + public Optional lastProcessedCommitVersion() { + return Optional.ofNullable(this.lastProcessedCommitVersion); + } + public Optional timestamp() { + return Optional.ofNullable(this.timestamp); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(OnlineTableStatusContinuousUpdateStatus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress initialPipelineSyncProgress; + private @Nullable Integer lastProcessedCommitVersion; + private @Nullable String timestamp; + public Builder() {} + public Builder(OnlineTableStatusContinuousUpdateStatus defaults) { + Objects.requireNonNull(defaults); + this.initialPipelineSyncProgress = defaults.initialPipelineSyncProgress; + this.lastProcessedCommitVersion = defaults.lastProcessedCommitVersion; + this.timestamp = defaults.timestamp; + } + + @CustomType.Setter + public Builder initialPipelineSyncProgress(@Nullable OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress initialPipelineSyncProgress) { + + this.initialPipelineSyncProgress = initialPipelineSyncProgress; + return this; + } + @CustomType.Setter + public Builder lastProcessedCommitVersion(@Nullable Integer lastProcessedCommitVersion) { + + this.lastProcessedCommitVersion = lastProcessedCommitVersion; + return this; + } + @CustomType.Setter + public Builder timestamp(@Nullable String timestamp) { + + this.timestamp = timestamp; + return this; + } + public OnlineTableStatusContinuousUpdateStatus build() { + final var _resultValue = new OnlineTableStatusContinuousUpdateStatus(); + _resultValue.initialPipelineSyncProgress = initialPipelineSyncProgress; + _resultValue.lastProcessedCommitVersion = lastProcessedCommitVersion; + _resultValue.timestamp = timestamp; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress.java new file mode 100644 index 00000000..231c152c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress.java @@ -0,0 +1,102 @@ +// *** 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.Double; +import java.lang.Integer; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress { + private @Nullable Double estimatedCompletionTimeSeconds; + private @Nullable Integer latestVersionCurrentlyProcessing; + private @Nullable Double syncProgressCompletion; + private @Nullable Integer syncedRowCount; + private @Nullable Integer totalRowCount; + + private OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress() {} + public Optional estimatedCompletionTimeSeconds() { + return Optional.ofNullable(this.estimatedCompletionTimeSeconds); + } + public Optional latestVersionCurrentlyProcessing() { + return Optional.ofNullable(this.latestVersionCurrentlyProcessing); + } + public Optional syncProgressCompletion() { + return Optional.ofNullable(this.syncProgressCompletion); + } + public Optional syncedRowCount() { + return Optional.ofNullable(this.syncedRowCount); + } + public Optional totalRowCount() { + return Optional.ofNullable(this.totalRowCount); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Double estimatedCompletionTimeSeconds; + private @Nullable Integer latestVersionCurrentlyProcessing; + private @Nullable Double syncProgressCompletion; + private @Nullable Integer syncedRowCount; + private @Nullable Integer totalRowCount; + public Builder() {} + public Builder(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress defaults) { + Objects.requireNonNull(defaults); + this.estimatedCompletionTimeSeconds = defaults.estimatedCompletionTimeSeconds; + this.latestVersionCurrentlyProcessing = defaults.latestVersionCurrentlyProcessing; + this.syncProgressCompletion = defaults.syncProgressCompletion; + this.syncedRowCount = defaults.syncedRowCount; + this.totalRowCount = defaults.totalRowCount; + } + + @CustomType.Setter + public Builder estimatedCompletionTimeSeconds(@Nullable Double estimatedCompletionTimeSeconds) { + + this.estimatedCompletionTimeSeconds = estimatedCompletionTimeSeconds; + return this; + } + @CustomType.Setter + public Builder latestVersionCurrentlyProcessing(@Nullable Integer latestVersionCurrentlyProcessing) { + + this.latestVersionCurrentlyProcessing = latestVersionCurrentlyProcessing; + return this; + } + @CustomType.Setter + public Builder syncProgressCompletion(@Nullable Double syncProgressCompletion) { + + this.syncProgressCompletion = syncProgressCompletion; + return this; + } + @CustomType.Setter + public Builder syncedRowCount(@Nullable Integer syncedRowCount) { + + this.syncedRowCount = syncedRowCount; + return this; + } + @CustomType.Setter + public Builder totalRowCount(@Nullable Integer totalRowCount) { + + this.totalRowCount = totalRowCount; + return this; + } + public OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress build() { + final var _resultValue = new OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress(); + _resultValue.estimatedCompletionTimeSeconds = estimatedCompletionTimeSeconds; + _resultValue.latestVersionCurrentlyProcessing = latestVersionCurrentlyProcessing; + _resultValue.syncProgressCompletion = syncProgressCompletion; + _resultValue.syncedRowCount = syncedRowCount; + _resultValue.totalRowCount = totalRowCount; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusFailedStatus.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusFailedStatus.java new file mode 100644 index 00000000..b568dccf --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusFailedStatus.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.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 OnlineTableStatusFailedStatus { + private @Nullable Integer lastProcessedCommitVersion; + private @Nullable String timestamp; + + private OnlineTableStatusFailedStatus() {} + public Optional lastProcessedCommitVersion() { + return Optional.ofNullable(this.lastProcessedCommitVersion); + } + public Optional timestamp() { + return Optional.ofNullable(this.timestamp); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(OnlineTableStatusFailedStatus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Integer lastProcessedCommitVersion; + private @Nullable String timestamp; + public Builder() {} + public Builder(OnlineTableStatusFailedStatus defaults) { + Objects.requireNonNull(defaults); + this.lastProcessedCommitVersion = defaults.lastProcessedCommitVersion; + this.timestamp = defaults.timestamp; + } + + @CustomType.Setter + public Builder lastProcessedCommitVersion(@Nullable Integer lastProcessedCommitVersion) { + + this.lastProcessedCommitVersion = lastProcessedCommitVersion; + return this; + } + @CustomType.Setter + public Builder timestamp(@Nullable String timestamp) { + + this.timestamp = timestamp; + return this; + } + public OnlineTableStatusFailedStatus build() { + final var _resultValue = new OnlineTableStatusFailedStatus(); + _resultValue.lastProcessedCommitVersion = lastProcessedCommitVersion; + _resultValue.timestamp = timestamp; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusProvisioningStatus.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusProvisioningStatus.java new file mode 100644 index 00000000..f39099ac --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusProvisioningStatus.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 com.pulumi.databricks.outputs.OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class OnlineTableStatusProvisioningStatus { + private @Nullable OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress initialPipelineSyncProgress; + + private OnlineTableStatusProvisioningStatus() {} + public Optional initialPipelineSyncProgress() { + return Optional.ofNullable(this.initialPipelineSyncProgress); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(OnlineTableStatusProvisioningStatus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress initialPipelineSyncProgress; + public Builder() {} + public Builder(OnlineTableStatusProvisioningStatus defaults) { + Objects.requireNonNull(defaults); + this.initialPipelineSyncProgress = defaults.initialPipelineSyncProgress; + } + + @CustomType.Setter + public Builder initialPipelineSyncProgress(@Nullable OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress initialPipelineSyncProgress) { + + this.initialPipelineSyncProgress = initialPipelineSyncProgress; + return this; + } + public OnlineTableStatusProvisioningStatus build() { + final var _resultValue = new OnlineTableStatusProvisioningStatus(); + _resultValue.initialPipelineSyncProgress = initialPipelineSyncProgress; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress.java new file mode 100644 index 00000000..d7ec9d6f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress.java @@ -0,0 +1,102 @@ +// *** 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.Double; +import java.lang.Integer; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress { + private @Nullable Double estimatedCompletionTimeSeconds; + private @Nullable Integer latestVersionCurrentlyProcessing; + private @Nullable Double syncProgressCompletion; + private @Nullable Integer syncedRowCount; + private @Nullable Integer totalRowCount; + + private OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress() {} + public Optional estimatedCompletionTimeSeconds() { + return Optional.ofNullable(this.estimatedCompletionTimeSeconds); + } + public Optional latestVersionCurrentlyProcessing() { + return Optional.ofNullable(this.latestVersionCurrentlyProcessing); + } + public Optional syncProgressCompletion() { + return Optional.ofNullable(this.syncProgressCompletion); + } + public Optional syncedRowCount() { + return Optional.ofNullable(this.syncedRowCount); + } + public Optional totalRowCount() { + return Optional.ofNullable(this.totalRowCount); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Double estimatedCompletionTimeSeconds; + private @Nullable Integer latestVersionCurrentlyProcessing; + private @Nullable Double syncProgressCompletion; + private @Nullable Integer syncedRowCount; + private @Nullable Integer totalRowCount; + public Builder() {} + public Builder(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress defaults) { + Objects.requireNonNull(defaults); + this.estimatedCompletionTimeSeconds = defaults.estimatedCompletionTimeSeconds; + this.latestVersionCurrentlyProcessing = defaults.latestVersionCurrentlyProcessing; + this.syncProgressCompletion = defaults.syncProgressCompletion; + this.syncedRowCount = defaults.syncedRowCount; + this.totalRowCount = defaults.totalRowCount; + } + + @CustomType.Setter + public Builder estimatedCompletionTimeSeconds(@Nullable Double estimatedCompletionTimeSeconds) { + + this.estimatedCompletionTimeSeconds = estimatedCompletionTimeSeconds; + return this; + } + @CustomType.Setter + public Builder latestVersionCurrentlyProcessing(@Nullable Integer latestVersionCurrentlyProcessing) { + + this.latestVersionCurrentlyProcessing = latestVersionCurrentlyProcessing; + return this; + } + @CustomType.Setter + public Builder syncProgressCompletion(@Nullable Double syncProgressCompletion) { + + this.syncProgressCompletion = syncProgressCompletion; + return this; + } + @CustomType.Setter + public Builder syncedRowCount(@Nullable Integer syncedRowCount) { + + this.syncedRowCount = syncedRowCount; + return this; + } + @CustomType.Setter + public Builder totalRowCount(@Nullable Integer totalRowCount) { + + this.totalRowCount = totalRowCount; + return this; + } + public OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress build() { + final var _resultValue = new OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress(); + _resultValue.estimatedCompletionTimeSeconds = estimatedCompletionTimeSeconds; + _resultValue.latestVersionCurrentlyProcessing = latestVersionCurrentlyProcessing; + _resultValue.syncProgressCompletion = syncProgressCompletion; + _resultValue.syncedRowCount = syncedRowCount; + _resultValue.totalRowCount = totalRowCount; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusTriggeredUpdateStatus.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusTriggeredUpdateStatus.java new file mode 100644 index 00000000..b271c1c8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusTriggeredUpdateStatus.java @@ -0,0 +1,77 @@ +// *** 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.OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class OnlineTableStatusTriggeredUpdateStatus { + private @Nullable Integer lastProcessedCommitVersion; + private @Nullable String timestamp; + private @Nullable OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress triggeredUpdateProgress; + + private OnlineTableStatusTriggeredUpdateStatus() {} + public Optional lastProcessedCommitVersion() { + return Optional.ofNullable(this.lastProcessedCommitVersion); + } + public Optional timestamp() { + return Optional.ofNullable(this.timestamp); + } + public Optional triggeredUpdateProgress() { + return Optional.ofNullable(this.triggeredUpdateProgress); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(OnlineTableStatusTriggeredUpdateStatus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Integer lastProcessedCommitVersion; + private @Nullable String timestamp; + private @Nullable OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress triggeredUpdateProgress; + public Builder() {} + public Builder(OnlineTableStatusTriggeredUpdateStatus defaults) { + Objects.requireNonNull(defaults); + this.lastProcessedCommitVersion = defaults.lastProcessedCommitVersion; + this.timestamp = defaults.timestamp; + this.triggeredUpdateProgress = defaults.triggeredUpdateProgress; + } + + @CustomType.Setter + public Builder lastProcessedCommitVersion(@Nullable Integer lastProcessedCommitVersion) { + + this.lastProcessedCommitVersion = lastProcessedCommitVersion; + return this; + } + @CustomType.Setter + public Builder timestamp(@Nullable String timestamp) { + + this.timestamp = timestamp; + return this; + } + @CustomType.Setter + public Builder triggeredUpdateProgress(@Nullable OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress triggeredUpdateProgress) { + + this.triggeredUpdateProgress = triggeredUpdateProgress; + return this; + } + public OnlineTableStatusTriggeredUpdateStatus build() { + final var _resultValue = new OnlineTableStatusTriggeredUpdateStatus(); + _resultValue.lastProcessedCommitVersion = lastProcessedCommitVersion; + _resultValue.timestamp = timestamp; + _resultValue.triggeredUpdateProgress = triggeredUpdateProgress; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress.java new file mode 100644 index 00000000..29650b29 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress.java @@ -0,0 +1,102 @@ +// *** 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.Double; +import java.lang.Integer; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress { + private @Nullable Double estimatedCompletionTimeSeconds; + private @Nullable Integer latestVersionCurrentlyProcessing; + private @Nullable Double syncProgressCompletion; + private @Nullable Integer syncedRowCount; + private @Nullable Integer totalRowCount; + + private OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress() {} + public Optional estimatedCompletionTimeSeconds() { + return Optional.ofNullable(this.estimatedCompletionTimeSeconds); + } + public Optional latestVersionCurrentlyProcessing() { + return Optional.ofNullable(this.latestVersionCurrentlyProcessing); + } + public Optional syncProgressCompletion() { + return Optional.ofNullable(this.syncProgressCompletion); + } + public Optional syncedRowCount() { + return Optional.ofNullable(this.syncedRowCount); + } + public Optional totalRowCount() { + return Optional.ofNullable(this.totalRowCount); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Double estimatedCompletionTimeSeconds; + private @Nullable Integer latestVersionCurrentlyProcessing; + private @Nullable Double syncProgressCompletion; + private @Nullable Integer syncedRowCount; + private @Nullable Integer totalRowCount; + public Builder() {} + public Builder(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress defaults) { + Objects.requireNonNull(defaults); + this.estimatedCompletionTimeSeconds = defaults.estimatedCompletionTimeSeconds; + this.latestVersionCurrentlyProcessing = defaults.latestVersionCurrentlyProcessing; + this.syncProgressCompletion = defaults.syncProgressCompletion; + this.syncedRowCount = defaults.syncedRowCount; + this.totalRowCount = defaults.totalRowCount; + } + + @CustomType.Setter + public Builder estimatedCompletionTimeSeconds(@Nullable Double estimatedCompletionTimeSeconds) { + + this.estimatedCompletionTimeSeconds = estimatedCompletionTimeSeconds; + return this; + } + @CustomType.Setter + public Builder latestVersionCurrentlyProcessing(@Nullable Integer latestVersionCurrentlyProcessing) { + + this.latestVersionCurrentlyProcessing = latestVersionCurrentlyProcessing; + return this; + } + @CustomType.Setter + public Builder syncProgressCompletion(@Nullable Double syncProgressCompletion) { + + this.syncProgressCompletion = syncProgressCompletion; + return this; + } + @CustomType.Setter + public Builder syncedRowCount(@Nullable Integer syncedRowCount) { + + this.syncedRowCount = syncedRowCount; + return this; + } + @CustomType.Setter + public Builder totalRowCount(@Nullable Integer totalRowCount) { + + this.totalRowCount = totalRowCount; + return this; + } + public OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress build() { + final var _resultValue = new OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress(); + _resultValue.estimatedCompletionTimeSeconds = estimatedCompletionTimeSeconds; + _resultValue.latestVersionCurrentlyProcessing = latestVersionCurrentlyProcessing; + _resultValue.syncProgressCompletion = syncProgressCompletion; + _resultValue.syncedRowCount = syncedRowCount; + _resultValue.totalRowCount = totalRowCount; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ShareObject.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ShareObject.java index e6ffe3e3..f765c13f 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ShareObject.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ShareObject.java @@ -29,7 +29,7 @@ public final class ShareObject { */ private @Nullable String comment; /** - * @return Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, `NOTEBOOK_FILE` are supported. + * @return Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. * */ private String dataObjectType; @@ -41,7 +41,7 @@ public final class ShareObject { */ private @Nullable String historyDataSharingStatus; /** - * @return Full name of the object, e.g. `catalog.schema.name` for a table. + * @return Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. * */ private String name; @@ -84,7 +84,7 @@ public Optional comment() { return Optional.ofNullable(this.comment); } /** - * @return Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, `NOTEBOOK_FILE` are supported. + * @return Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. * */ public String dataObjectType() { @@ -100,7 +100,7 @@ public Optional historyDataSharingStatus() { return Optional.ofNullable(this.historyDataSharingStatus); } /** - * @return Full name of the object, e.g. `catalog.schema.name` for a table. + * @return Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. * */ public String name() { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/StorageCredentialAwsIamRole.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/StorageCredentialAwsIamRole.java index e3d87a1e..014112d8 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/StorageCredentialAwsIamRole.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/StorageCredentialAwsIamRole.java @@ -12,45 +12,29 @@ @CustomType public final class StorageCredentialAwsIamRole { - /** - * @return The external ID used in role assumption to prevent confused deputy problem. - * - */ private @Nullable String externalId; /** * @return The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` * - */ - private String roleArn; - /** - * @return The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. - * * `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): * */ + private String roleArn; private @Nullable String unityCatalogIamArn; private StorageCredentialAwsIamRole() {} - /** - * @return The external ID used in role assumption to prevent confused deputy problem. - * - */ public Optional externalId() { return Optional.ofNullable(this.externalId); } /** * @return 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): + * */ public String roleArn() { return this.roleArn; } - /** - * @return The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. - * - * `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): - * - */ public Optional unityCatalogIamArn() { return Optional.ofNullable(this.unityCatalogIamArn); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchEndpointEndpointStatus.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchEndpointEndpointStatus.java index ae057d57..4d488238 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchEndpointEndpointStatus.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchEndpointEndpointStatus.java @@ -17,7 +17,7 @@ public final class VectorSearchEndpointEndpointStatus { */ private @Nullable String message; /** - * @return Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, `OFFLINE`. + * @return Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. * */ private @Nullable String state; @@ -31,7 +31,7 @@ public Optional message() { return Optional.ofNullable(this.message); } /** - * @return Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, `OFFLINE`. + * @return Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. * */ public Optional state() { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDeltaSyncIndexSpec.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDeltaSyncIndexSpec.java new file mode 100644 index 00000000..e66af50a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDeltaSyncIndexSpec.java @@ -0,0 +1,150 @@ +// *** 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.VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn; +import com.pulumi.databricks.outputs.VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class VectorSearchIndexDeltaSyncIndexSpec { + /** + * @return array of objects representing columns that contain the embedding source. Each entry consists of: + * + */ + private @Nullable List embeddingSourceColumns; + /** + * @return array of objects representing columns that contain the embedding vectors. Each entry consists of: + * + */ + private @Nullable List embeddingVectorColumns; + /** + * @return ID of the associated Delta Live Table pipeline. + * + */ + private @Nullable String pipelineId; + /** + * @return Pipeline execution mode. Possible values are: + * + */ + private @Nullable String pipelineType; + /** + * @return The name of the source table. + * + */ + private @Nullable String sourceTable; + + private VectorSearchIndexDeltaSyncIndexSpec() {} + /** + * @return array of objects representing columns that contain the embedding source. Each entry consists of: + * + */ + public List embeddingSourceColumns() { + return this.embeddingSourceColumns == null ? List.of() : this.embeddingSourceColumns; + } + /** + * @return array of objects representing columns that contain the embedding vectors. Each entry consists of: + * + */ + public List embeddingVectorColumns() { + return this.embeddingVectorColumns == null ? List.of() : this.embeddingVectorColumns; + } + /** + * @return ID of the associated Delta Live Table pipeline. + * + */ + public Optional pipelineId() { + return Optional.ofNullable(this.pipelineId); + } + /** + * @return Pipeline execution mode. Possible values are: + * + */ + public Optional pipelineType() { + return Optional.ofNullable(this.pipelineType); + } + /** + * @return The name of the source table. + * + */ + public Optional sourceTable() { + return Optional.ofNullable(this.sourceTable); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(VectorSearchIndexDeltaSyncIndexSpec defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List embeddingSourceColumns; + private @Nullable List embeddingVectorColumns; + private @Nullable String pipelineId; + private @Nullable String pipelineType; + private @Nullable String sourceTable; + public Builder() {} + public Builder(VectorSearchIndexDeltaSyncIndexSpec defaults) { + Objects.requireNonNull(defaults); + this.embeddingSourceColumns = defaults.embeddingSourceColumns; + this.embeddingVectorColumns = defaults.embeddingVectorColumns; + this.pipelineId = defaults.pipelineId; + this.pipelineType = defaults.pipelineType; + this.sourceTable = defaults.sourceTable; + } + + @CustomType.Setter + public Builder embeddingSourceColumns(@Nullable List embeddingSourceColumns) { + + this.embeddingSourceColumns = embeddingSourceColumns; + return this; + } + public Builder embeddingSourceColumns(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn... embeddingSourceColumns) { + return embeddingSourceColumns(List.of(embeddingSourceColumns)); + } + @CustomType.Setter + public Builder embeddingVectorColumns(@Nullable List embeddingVectorColumns) { + + this.embeddingVectorColumns = embeddingVectorColumns; + return this; + } + public Builder embeddingVectorColumns(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn... embeddingVectorColumns) { + return embeddingVectorColumns(List.of(embeddingVectorColumns)); + } + @CustomType.Setter + public Builder pipelineId(@Nullable String pipelineId) { + + this.pipelineId = pipelineId; + return this; + } + @CustomType.Setter + public Builder pipelineType(@Nullable String pipelineType) { + + this.pipelineType = pipelineType; + return this; + } + @CustomType.Setter + public Builder sourceTable(@Nullable String sourceTable) { + + this.sourceTable = sourceTable; + return this; + } + public VectorSearchIndexDeltaSyncIndexSpec build() { + final var _resultValue = new VectorSearchIndexDeltaSyncIndexSpec(); + _resultValue.embeddingSourceColumns = embeddingSourceColumns; + _resultValue.embeddingVectorColumns = embeddingVectorColumns; + _resultValue.pipelineId = pipelineId; + _resultValue.pipelineType = pipelineType; + _resultValue.sourceTable = sourceTable; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn.java new file mode 100644 index 00000000..dcb5e8b6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn.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 VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn { + /** + * @return The name of the embedding model endpoint + * + */ + private @Nullable String embeddingModelEndpointName; + /** + * @return The name of the column. + * + */ + private @Nullable String name; + + private VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn() {} + /** + * @return The name of the embedding model endpoint + * + */ + public Optional embeddingModelEndpointName() { + return Optional.ofNullable(this.embeddingModelEndpointName); + } + /** + * @return The name of the column. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String embeddingModelEndpointName; + private @Nullable String name; + public Builder() {} + public Builder(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn defaults) { + Objects.requireNonNull(defaults); + this.embeddingModelEndpointName = defaults.embeddingModelEndpointName; + this.name = defaults.name; + } + + @CustomType.Setter + public Builder embeddingModelEndpointName(@Nullable String embeddingModelEndpointName) { + + this.embeddingModelEndpointName = embeddingModelEndpointName; + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + public VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn build() { + final var _resultValue = new VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn(); + _resultValue.embeddingModelEndpointName = embeddingModelEndpointName; + _resultValue.name = name; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn.java new file mode 100644 index 00000000..ce33c881 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn.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 VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn { + /** + * @return Dimension of the embedding vector. + * + */ + private @Nullable Integer embeddingDimension; + /** + * @return The name of the column. + * + */ + private @Nullable String name; + + private VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn() {} + /** + * @return Dimension of the embedding vector. + * + */ + public Optional embeddingDimension() { + return Optional.ofNullable(this.embeddingDimension); + } + /** + * @return The name of the column. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Integer embeddingDimension; + private @Nullable String name; + public Builder() {} + public Builder(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn defaults) { + Objects.requireNonNull(defaults); + this.embeddingDimension = defaults.embeddingDimension; + this.name = defaults.name; + } + + @CustomType.Setter + public Builder embeddingDimension(@Nullable Integer embeddingDimension) { + + this.embeddingDimension = embeddingDimension; + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + public VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn build() { + final var _resultValue = new VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn(); + _resultValue.embeddingDimension = embeddingDimension; + _resultValue.name = name; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDirectAccessIndexSpec.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDirectAccessIndexSpec.java new file mode 100644 index 00000000..9b410f45 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDirectAccessIndexSpec.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.databricks.outputs.VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn; +import com.pulumi.databricks.outputs.VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class VectorSearchIndexDirectAccessIndexSpec { + /** + * @return array of objects representing columns that contain the embedding source. Each entry consists of: + * + */ + private @Nullable List embeddingSourceColumns; + /** + * @return array of objects representing columns that contain the embedding vectors. Each entry consists of: + * + */ + private @Nullable List embeddingVectorColumns; + /** + * @return 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. + * + */ + private @Nullable String schemaJson; + + private VectorSearchIndexDirectAccessIndexSpec() {} + /** + * @return array of objects representing columns that contain the embedding source. Each entry consists of: + * + */ + public List embeddingSourceColumns() { + return this.embeddingSourceColumns == null ? List.of() : this.embeddingSourceColumns; + } + /** + * @return array of objects representing columns that contain the embedding vectors. Each entry consists of: + * + */ + public List embeddingVectorColumns() { + return this.embeddingVectorColumns == null ? List.of() : this.embeddingVectorColumns; + } + /** + * @return 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. + * + */ + public Optional schemaJson() { + return Optional.ofNullable(this.schemaJson); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(VectorSearchIndexDirectAccessIndexSpec defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List embeddingSourceColumns; + private @Nullable List embeddingVectorColumns; + private @Nullable String schemaJson; + public Builder() {} + public Builder(VectorSearchIndexDirectAccessIndexSpec defaults) { + Objects.requireNonNull(defaults); + this.embeddingSourceColumns = defaults.embeddingSourceColumns; + this.embeddingVectorColumns = defaults.embeddingVectorColumns; + this.schemaJson = defaults.schemaJson; + } + + @CustomType.Setter + public Builder embeddingSourceColumns(@Nullable List embeddingSourceColumns) { + + this.embeddingSourceColumns = embeddingSourceColumns; + return this; + } + public Builder embeddingSourceColumns(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn... embeddingSourceColumns) { + return embeddingSourceColumns(List.of(embeddingSourceColumns)); + } + @CustomType.Setter + public Builder embeddingVectorColumns(@Nullable List embeddingVectorColumns) { + + this.embeddingVectorColumns = embeddingVectorColumns; + return this; + } + public Builder embeddingVectorColumns(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn... embeddingVectorColumns) { + return embeddingVectorColumns(List.of(embeddingVectorColumns)); + } + @CustomType.Setter + public Builder schemaJson(@Nullable String schemaJson) { + + this.schemaJson = schemaJson; + return this; + } + public VectorSearchIndexDirectAccessIndexSpec build() { + final var _resultValue = new VectorSearchIndexDirectAccessIndexSpec(); + _resultValue.embeddingSourceColumns = embeddingSourceColumns; + _resultValue.embeddingVectorColumns = embeddingVectorColumns; + _resultValue.schemaJson = schemaJson; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn.java new file mode 100644 index 00000000..8c033c1f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn.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 VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn { + /** + * @return The name of the embedding model endpoint + * + */ + private @Nullable String embeddingModelEndpointName; + /** + * @return The name of the column. + * + */ + private @Nullable String name; + + private VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn() {} + /** + * @return The name of the embedding model endpoint + * + */ + public Optional embeddingModelEndpointName() { + return Optional.ofNullable(this.embeddingModelEndpointName); + } + /** + * @return The name of the column. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String embeddingModelEndpointName; + private @Nullable String name; + public Builder() {} + public Builder(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn defaults) { + Objects.requireNonNull(defaults); + this.embeddingModelEndpointName = defaults.embeddingModelEndpointName; + this.name = defaults.name; + } + + @CustomType.Setter + public Builder embeddingModelEndpointName(@Nullable String embeddingModelEndpointName) { + + this.embeddingModelEndpointName = embeddingModelEndpointName; + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + public VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn build() { + final var _resultValue = new VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn(); + _resultValue.embeddingModelEndpointName = embeddingModelEndpointName; + _resultValue.name = name; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn.java new file mode 100644 index 00000000..23bca13e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn.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 VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn { + /** + * @return Dimension of the embedding vector. + * + */ + private @Nullable Integer embeddingDimension; + /** + * @return The name of the column. + * + */ + private @Nullable String name; + + private VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn() {} + /** + * @return Dimension of the embedding vector. + * + */ + public Optional embeddingDimension() { + return Optional.ofNullable(this.embeddingDimension); + } + /** + * @return The name of the column. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Integer embeddingDimension; + private @Nullable String name; + public Builder() {} + public Builder(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn defaults) { + Objects.requireNonNull(defaults); + this.embeddingDimension = defaults.embeddingDimension; + this.name = defaults.name; + } + + @CustomType.Setter + public Builder embeddingDimension(@Nullable Integer embeddingDimension) { + + this.embeddingDimension = embeddingDimension; + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + public VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn build() { + final var _resultValue = new VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn(); + _resultValue.embeddingDimension = embeddingDimension; + _resultValue.name = name; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexStatus.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexStatus.java new file mode 100644 index 00000000..47b13261 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/VectorSearchIndexStatus.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.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 VectorSearchIndexStatus { + /** + * @return Index API Url to be used to perform operations on the index + * + */ + private @Nullable String indexUrl; + /** + * @return Number of rows indexed + * + */ + private @Nullable Integer indexedRowCount; + /** + * @return Message associated with the index status + * + */ + private @Nullable String message; + /** + * @return Whether the index is ready for search + * + */ + private @Nullable Boolean ready; + + private VectorSearchIndexStatus() {} + /** + * @return Index API Url to be used to perform operations on the index + * + */ + public Optional indexUrl() { + return Optional.ofNullable(this.indexUrl); + } + /** + * @return Number of rows indexed + * + */ + public Optional indexedRowCount() { + return Optional.ofNullable(this.indexedRowCount); + } + /** + * @return Message associated with the index status + * + */ + public Optional message() { + return Optional.ofNullable(this.message); + } + /** + * @return Whether the index is ready for search + * + */ + public Optional ready() { + return Optional.ofNullable(this.ready); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(VectorSearchIndexStatus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String indexUrl; + private @Nullable Integer indexedRowCount; + private @Nullable String message; + private @Nullable Boolean ready; + public Builder() {} + public Builder(VectorSearchIndexStatus defaults) { + Objects.requireNonNull(defaults); + this.indexUrl = defaults.indexUrl; + this.indexedRowCount = defaults.indexedRowCount; + this.message = defaults.message; + this.ready = defaults.ready; + } + + @CustomType.Setter + public Builder indexUrl(@Nullable String indexUrl) { + + this.indexUrl = indexUrl; + return this; + } + @CustomType.Setter + public Builder indexedRowCount(@Nullable Integer indexedRowCount) { + + this.indexedRowCount = indexedRowCount; + return this; + } + @CustomType.Setter + public Builder message(@Nullable String message) { + + this.message = message; + return this; + } + @CustomType.Setter + public Builder ready(@Nullable Boolean ready) { + + this.ready = ready; + return this; + } + public VectorSearchIndexStatus build() { + final var _resultValue = new VectorSearchIndexStatus(); + _resultValue.indexUrl = indexUrl; + _resultValue.indexedRowCount = indexedRowCount; + _resultValue.message = message; + _resultValue.ready = ready; + return _resultValue; + } + } +} diff --git a/sdk/nodejs/catalogWorkspaceBinding.ts b/sdk/nodejs/catalogWorkspaceBinding.ts index f8874fae..fb1edb09 100644 --- a/sdk/nodejs/catalogWorkspaceBinding.ts +++ b/sdk/nodejs/catalogWorkspaceBinding.ts @@ -22,7 +22,11 @@ import * as utilities from "./utilities"; * * ## Import * - * -> **Note** Importing this resource is not currently supported. + * This resource can be imported by using combination of workspace ID, securable type and name: + * + * ```sh + * $ pulumi import databricks:index/catalogWorkspaceBinding:CatalogWorkspaceBinding this "||" + * ``` */ export class CatalogWorkspaceBinding extends pulumi.CustomResource { /** diff --git a/sdk/nodejs/getAwsCrossAccountPolicy.ts b/sdk/nodejs/getAwsCrossAccountPolicy.ts index 9dba9426..52f54cee 100644 --- a/sdk/nodejs/getAwsCrossAccountPolicy.ts +++ b/sdk/nodejs/getAwsCrossAccountPolicy.ts @@ -34,7 +34,12 @@ export function getAwsCrossAccountPolicy(args?: GetAwsCrossAccountPolicyArgs, op opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("databricks:index/getAwsCrossAccountPolicy:getAwsCrossAccountPolicy", { + "awsAccountId": args.awsAccountId, "passRoles": args.passRoles, + "policyType": args.policyType, + "region": args.region, + "securityGroupId": args.securityGroupId, + "vpcId": args.vpcId, }, opts); } @@ -42,16 +47,38 @@ export function getAwsCrossAccountPolicy(args?: GetAwsCrossAccountPolicyArgs, op * A collection of arguments for invoking getAwsCrossAccountPolicy. */ export interface GetAwsCrossAccountPolicyArgs { + /** + * — Your AWS account ID, which is a number. + */ + awsAccountId?: string; /** * 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[]; + /** + * 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 + */ + policyType?: string; + /** + * — AWS Region name for your VPC deployment, for example `us-west-2`. + */ + region?: string; + /** + * — ID of your AWS security group. When you add a security group restriction, you cannot reuse the cross-account IAM role or reference a credentials ID (`credentialsId`) for any other workspaces. For those other workspaces, you must create separate roles, policies, and credentials objects. + */ + securityGroupId?: string; + /** + * — ID of the AWS VPC where you want to launch workspaces. + */ + vpcId?: string; } /** * A collection of values returned by getAwsCrossAccountPolicy. */ export interface GetAwsCrossAccountPolicyResult { + readonly awsAccountId?: string; /** * The provider-assigned unique ID for this managed resource. */ @@ -61,6 +88,10 @@ export interface GetAwsCrossAccountPolicyResult { */ readonly json: string; readonly passRoles?: string[]; + readonly policyType?: string; + readonly region?: string; + readonly securityGroupId?: string; + readonly vpcId?: string; } /** * This data source constructs necessary AWS cross-account policy for you, which is based on [official documentation](). @@ -95,8 +126,29 @@ export function getAwsCrossAccountPolicyOutput(args?: GetAwsCrossAccountPolicyOu * A collection of arguments for invoking getAwsCrossAccountPolicy. */ export interface GetAwsCrossAccountPolicyOutputArgs { + /** + * — Your AWS account ID, which is a number. + */ + awsAccountId?: 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 */ passRoles?: pulumi.Input[]>; + /** + * 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 + */ + policyType?: pulumi.Input; + /** + * — AWS Region name for your VPC deployment, for example `us-west-2`. + */ + region?: pulumi.Input; + /** + * — ID of your AWS security group. When you add a security group restriction, you cannot reuse the cross-account IAM role or reference a credentials ID (`credentialsId`) for any other workspaces. For those other workspaces, you must create separate roles, policies, and credentials objects. + */ + securityGroupId?: pulumi.Input; + /** + * — ID of the AWS VPC where you want to launch workspaces. + */ + vpcId?: pulumi.Input; } diff --git a/sdk/nodejs/getStorageCredentials.ts b/sdk/nodejs/getStorageCredentials.ts index be322cb8..a087aa94 100644 --- a/sdk/nodejs/getStorageCredentials.ts +++ b/sdk/nodejs/getStorageCredentials.ts @@ -15,7 +15,7 @@ import * as utilities from "./utilities"; * import * as databricks from "@pulumi/databricks"; * * const all = databricks.getStorageCredentials({}); - * export const allMetastores = data.databricks_metastores.all.names; + * export const allStorageCredentials = all.then(all => all.names); * ``` * * @@ -39,6 +39,9 @@ export function getStorageCredentials(args?: GetStorageCredentialsArgs, opts?: p * A collection of arguments for invoking getStorageCredentials. */ export interface GetStorageCredentialsArgs { + /** + * List of names of databricks.StorageCredential in the metastore + */ names?: string[]; } @@ -50,6 +53,9 @@ export interface GetStorageCredentialsResult { * The provider-assigned unique ID for this managed resource. */ readonly id: string; + /** + * List of names of databricks.StorageCredential in the metastore + */ readonly names: string[]; } /** @@ -63,7 +69,7 @@ export interface GetStorageCredentialsResult { * import * as databricks from "@pulumi/databricks"; * * const all = databricks.getStorageCredentials({}); - * export const allMetastores = data.databricks_metastores.all.names; + * export const allStorageCredentials = all.then(all => all.names); * ``` * * @@ -82,5 +88,8 @@ export function getStorageCredentialsOutput(args?: GetStorageCredentialsOutputAr * A collection of arguments for invoking getStorageCredentials. */ export interface GetStorageCredentialsOutputArgs { + /** + * List of names of databricks.StorageCredential in the metastore + */ names?: pulumi.Input[]>; } diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index c7172dcd..dca2c77b 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -345,6 +345,11 @@ export type Job = import("./job").Job; export const Job: typeof import("./job").Job = null as any; utilities.lazyLoad(exports, ["Job"], () => require("./job")); +export { LakehouseMonitorArgs, LakehouseMonitorState } from "./lakehouseMonitor"; +export type LakehouseMonitor = import("./lakehouseMonitor").LakehouseMonitor; +export const LakehouseMonitor: typeof import("./lakehouseMonitor").LakehouseMonitor = null as any; +utilities.lazyLoad(exports, ["LakehouseMonitor"], () => require("./lakehouseMonitor")); + export { LibraryArgs, LibraryState } from "./library"; export type Library = import("./library").Library; export const Library: typeof import("./library").Library = null as any; @@ -450,6 +455,11 @@ export type OboToken = import("./oboToken").OboToken; export const OboToken: typeof import("./oboToken").OboToken = null as any; utilities.lazyLoad(exports, ["OboToken"], () => require("./oboToken")); +export { OnlineTableArgs, OnlineTableState } from "./onlineTable"; +export type OnlineTable = import("./onlineTable").OnlineTable; +export const OnlineTable: typeof import("./onlineTable").OnlineTable = null as any; +utilities.lazyLoad(exports, ["OnlineTable"], () => require("./onlineTable")); + export { PermissionAssignmentArgs, PermissionAssignmentState } from "./permissionAssignment"; export type PermissionAssignment = import("./permissionAssignment").PermissionAssignment; export const PermissionAssignment: typeof import("./permissionAssignment").PermissionAssignment = null as any; @@ -615,6 +625,11 @@ export type VectorSearchEndpoint = import("./vectorSearchEndpoint").VectorSearch export const VectorSearchEndpoint: typeof import("./vectorSearchEndpoint").VectorSearchEndpoint = null as any; utilities.lazyLoad(exports, ["VectorSearchEndpoint"], () => require("./vectorSearchEndpoint")); +export { VectorSearchIndexArgs, VectorSearchIndexState } from "./vectorSearchIndex"; +export type VectorSearchIndex = import("./vectorSearchIndex").VectorSearchIndex; +export const VectorSearchIndex: typeof import("./vectorSearchIndex").VectorSearchIndex = null as any; +utilities.lazyLoad(exports, ["VectorSearchIndex"], () => require("./vectorSearchIndex")); + export { VolumeArgs, VolumeState } from "./volume"; export type Volume = import("./volume").Volume; export const Volume: typeof import("./volume").Volume = null as any; @@ -694,6 +709,8 @@ const _module = { return new IpAccessList(name, undefined, { urn }) case "databricks:index/job:Job": return new Job(name, undefined, { urn }) + case "databricks:index/lakehouseMonitor:LakehouseMonitor": + return new LakehouseMonitor(name, undefined, { urn }) case "databricks:index/library:Library": return new Library(name, undefined, { urn }) case "databricks:index/metastore:Metastore": @@ -736,6 +753,8 @@ const _module = { return new Notebook(name, undefined, { urn }) case "databricks:index/oboToken:OboToken": return new OboToken(name, undefined, { urn }) + case "databricks:index/onlineTable:OnlineTable": + return new OnlineTable(name, undefined, { urn }) case "databricks:index/permissionAssignment:PermissionAssignment": return new PermissionAssignment(name, undefined, { urn }) case "databricks:index/permissions:Permissions": @@ -800,6 +819,8 @@ const _module = { return new UserRole(name, undefined, { urn }) case "databricks:index/vectorSearchEndpoint:VectorSearchEndpoint": return new VectorSearchEndpoint(name, undefined, { urn }) + case "databricks:index/vectorSearchIndex:VectorSearchIndex": + return new VectorSearchIndex(name, undefined, { urn }) case "databricks:index/volume:Volume": return new Volume(name, undefined, { urn }) case "databricks:index/workspaceConf:WorkspaceConf": @@ -836,6 +857,7 @@ pulumi.runtime.registerResourceModule("databricks", "index/instancePool", _modul pulumi.runtime.registerResourceModule("databricks", "index/instanceProfile", _module) pulumi.runtime.registerResourceModule("databricks", "index/ipAccessList", _module) pulumi.runtime.registerResourceModule("databricks", "index/job", _module) +pulumi.runtime.registerResourceModule("databricks", "index/lakehouseMonitor", _module) pulumi.runtime.registerResourceModule("databricks", "index/library", _module) pulumi.runtime.registerResourceModule("databricks", "index/metastore", _module) pulumi.runtime.registerResourceModule("databricks", "index/metastoreAssignment", _module) @@ -857,6 +879,7 @@ pulumi.runtime.registerResourceModule("databricks", "index/mwsVpcEndpoint", _mod pulumi.runtime.registerResourceModule("databricks", "index/mwsWorkspaces", _module) pulumi.runtime.registerResourceModule("databricks", "index/notebook", _module) pulumi.runtime.registerResourceModule("databricks", "index/oboToken", _module) +pulumi.runtime.registerResourceModule("databricks", "index/onlineTable", _module) pulumi.runtime.registerResourceModule("databricks", "index/permissionAssignment", _module) pulumi.runtime.registerResourceModule("databricks", "index/permissions", _module) pulumi.runtime.registerResourceModule("databricks", "index/pipeline", _module) @@ -889,6 +912,7 @@ pulumi.runtime.registerResourceModule("databricks", "index/user", _module) pulumi.runtime.registerResourceModule("databricks", "index/userInstanceProfile", _module) pulumi.runtime.registerResourceModule("databricks", "index/userRole", _module) pulumi.runtime.registerResourceModule("databricks", "index/vectorSearchEndpoint", _module) +pulumi.runtime.registerResourceModule("databricks", "index/vectorSearchIndex", _module) pulumi.runtime.registerResourceModule("databricks", "index/volume", _module) pulumi.runtime.registerResourceModule("databricks", "index/workspaceConf", _module) pulumi.runtime.registerResourceModule("databricks", "index/workspaceFile", _module) diff --git a/sdk/nodejs/job.ts b/sdk/nodejs/job.ts index 33fb3903..26a171b0 100644 --- a/sdk/nodejs/job.ts +++ b/sdk/nodejs/job.ts @@ -91,7 +91,7 @@ export class Job extends pulumi.CustomResource { */ public readonly jobClusters!: pulumi.Output; /** - * (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. */ public readonly libraries!: pulumi.Output; /** @@ -331,7 +331,7 @@ export interface JobState { */ jobClusters?: pulumi.Input[]>; /** - * (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. */ libraries?: pulumi.Input[]>; /** @@ -473,7 +473,7 @@ export interface JobArgs { */ jobClusters?: pulumi.Input[]>; /** - * (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the databricks.Cluster resource for more information. */ libraries?: pulumi.Input[]>; /** diff --git a/sdk/nodejs/lakehouseMonitor.ts b/sdk/nodejs/lakehouseMonitor.ts new file mode 100644 index 00000000..d54a472f --- /dev/null +++ b/sdk/nodejs/lakehouseMonitor.ts @@ -0,0 +1,381 @@ +// *** 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 allows you to manage [Lakehouse Monitors](https://docs.databricks.com/en/lakehouse-monitoring/index.html) in Databricks. + * + * A `databricks.LakehouseMonitor` is attached to a databricks.SqlTable and can be of type timeseries, snapshot or inference. + * + * ### Inference Monitor + * + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const testMonitorInference = new databricks.LakehouseMonitor("testMonitorInference", { + * assetsDir: `/Shared/provider-test/databricks_lakehouse_monitoring/${databricks_table.myTestTable.name}`, + * inferenceLog: { + * granularities: ["1 hour"], + * modelIdCol: "model_id", + * predictionCol: "prediction", + * problemType: "PROBLEM_TYPE_REGRESSION", + * timestampCol: "timestamp", + * }, + * outputSchemaName: `${databricks_catalog.sandbox.name}.${databricks_schema.things.name}`, + * tableName: `${databricks_catalog.sandbox.name}.${databricks_schema.things.name}.${databricks_table.myTestTable.name}`, + * }); + * ``` + * + * ### Snapshot Monitor + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const testMonitorInference = new databricks.LakehouseMonitor("testMonitorInference", { + * assetsDir: `/Shared/provider-test/databricks_lakehouse_monitoring/${databricks_table.myTestTable.name}`, + * outputSchemaName: `${databricks_catalog.sandbox.name}.${databricks_schema.things.name}`, + * snapshot: {}, + * tableName: `${databricks_catalog.sandbox.name}.${databricks_schema.things.name}.${databricks_table.myTestTable.name}`, + * }); + * ``` + * + * + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * databricks.Catalog + * * databricks.Schema + * * databricks.SqlTable + */ +export class LakehouseMonitor extends pulumi.CustomResource { + /** + * Get an existing LakehouseMonitor 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?: LakehouseMonitorState, opts?: pulumi.CustomResourceOptions): LakehouseMonitor { + return new LakehouseMonitor(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'databricks:index/lakehouseMonitor:LakehouseMonitor'; + + /** + * Returns true if the given object is an instance of LakehouseMonitor. 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 LakehouseMonitor { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === LakehouseMonitor.__pulumiType; + } + + /** + * The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + */ + public readonly assetsDir!: pulumi.Output; + /** + * Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + * table. + */ + public readonly baselineTableName!: pulumi.Output; + /** + * Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + */ + public readonly customMetrics!: pulumi.Output; + /** + * The ID of the generated dashboard. + */ + public /*out*/ readonly dashboardId!: pulumi.Output; + /** + * The data classification config for the monitor + */ + public readonly dataClassificationConfig!: pulumi.Output; + /** + * The full name of the drift metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + */ + public /*out*/ readonly driftMetricsTableName!: pulumi.Output; + /** + * Configuration for the inference log monitor + */ + public readonly inferenceLog!: pulumi.Output; + public readonly latestMonitorFailureMsg!: pulumi.Output; + /** + * The version of the monitor config (e.g. 1,2,3). If negative, the monitor may be corrupted + */ + public /*out*/ readonly monitorVersion!: pulumi.Output; + /** + * The notification settings for the monitor + */ + public readonly notifications!: pulumi.Output; + /** + * Schema where output metric tables are created + */ + public readonly outputSchemaName!: pulumi.Output; + /** + * The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + */ + public /*out*/ readonly profileMetricsTableName!: pulumi.Output; + /** + * The schedule for automatically updating and refreshing metric tables. + */ + public readonly schedule!: pulumi.Output; + /** + * Whether to skip creating a default dashboard summarizing data quality metrics. + */ + public readonly skipBuiltinDashboard!: pulumi.Output; + /** + * List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + */ + public readonly slicingExprs!: pulumi.Output; + /** + * Configuration for monitoring snapshot tables. + */ + public readonly snapshot!: pulumi.Output; + /** + * Status of the Monitor + */ + public /*out*/ readonly status!: pulumi.Output; + /** + * The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + */ + public readonly tableName!: pulumi.Output; + /** + * Configuration for monitoring timeseries tables. + */ + public readonly timeSeries!: pulumi.Output; + /** + * Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + */ + public readonly warehouseId!: pulumi.Output; + + /** + * Create a LakehouseMonitor 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: LakehouseMonitorArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: LakehouseMonitorArgs | LakehouseMonitorState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as LakehouseMonitorState | undefined; + resourceInputs["assetsDir"] = state ? state.assetsDir : undefined; + resourceInputs["baselineTableName"] = state ? state.baselineTableName : undefined; + resourceInputs["customMetrics"] = state ? state.customMetrics : undefined; + resourceInputs["dashboardId"] = state ? state.dashboardId : undefined; + resourceInputs["dataClassificationConfig"] = state ? state.dataClassificationConfig : undefined; + resourceInputs["driftMetricsTableName"] = state ? state.driftMetricsTableName : undefined; + resourceInputs["inferenceLog"] = state ? state.inferenceLog : undefined; + resourceInputs["latestMonitorFailureMsg"] = state ? state.latestMonitorFailureMsg : undefined; + resourceInputs["monitorVersion"] = state ? state.monitorVersion : undefined; + resourceInputs["notifications"] = state ? state.notifications : undefined; + resourceInputs["outputSchemaName"] = state ? state.outputSchemaName : undefined; + resourceInputs["profileMetricsTableName"] = state ? state.profileMetricsTableName : undefined; + resourceInputs["schedule"] = state ? state.schedule : undefined; + resourceInputs["skipBuiltinDashboard"] = state ? state.skipBuiltinDashboard : undefined; + resourceInputs["slicingExprs"] = state ? state.slicingExprs : undefined; + resourceInputs["snapshot"] = state ? state.snapshot : undefined; + resourceInputs["status"] = state ? state.status : undefined; + resourceInputs["tableName"] = state ? state.tableName : undefined; + resourceInputs["timeSeries"] = state ? state.timeSeries : undefined; + resourceInputs["warehouseId"] = state ? state.warehouseId : undefined; + } else { + const args = argsOrState as LakehouseMonitorArgs | undefined; + if ((!args || args.assetsDir === undefined) && !opts.urn) { + throw new Error("Missing required property 'assetsDir'"); + } + if ((!args || args.outputSchemaName === undefined) && !opts.urn) { + throw new Error("Missing required property 'outputSchemaName'"); + } + if ((!args || args.tableName === undefined) && !opts.urn) { + throw new Error("Missing required property 'tableName'"); + } + resourceInputs["assetsDir"] = args ? args.assetsDir : undefined; + resourceInputs["baselineTableName"] = args ? args.baselineTableName : undefined; + resourceInputs["customMetrics"] = args ? args.customMetrics : undefined; + resourceInputs["dataClassificationConfig"] = args ? args.dataClassificationConfig : undefined; + resourceInputs["inferenceLog"] = args ? args.inferenceLog : undefined; + resourceInputs["latestMonitorFailureMsg"] = args ? args.latestMonitorFailureMsg : undefined; + resourceInputs["notifications"] = args ? args.notifications : undefined; + resourceInputs["outputSchemaName"] = args ? args.outputSchemaName : undefined; + resourceInputs["schedule"] = args ? args.schedule : undefined; + resourceInputs["skipBuiltinDashboard"] = args ? args.skipBuiltinDashboard : undefined; + resourceInputs["slicingExprs"] = args ? args.slicingExprs : undefined; + resourceInputs["snapshot"] = args ? args.snapshot : undefined; + resourceInputs["tableName"] = args ? args.tableName : undefined; + resourceInputs["timeSeries"] = args ? args.timeSeries : undefined; + resourceInputs["warehouseId"] = args ? args.warehouseId : undefined; + resourceInputs["dashboardId"] = undefined /*out*/; + resourceInputs["driftMetricsTableName"] = undefined /*out*/; + resourceInputs["monitorVersion"] = undefined /*out*/; + resourceInputs["profileMetricsTableName"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(LakehouseMonitor.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering LakehouseMonitor resources. + */ +export interface LakehouseMonitorState { + /** + * The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + */ + assetsDir?: pulumi.Input; + /** + * Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + * table. + */ + baselineTableName?: pulumi.Input; + /** + * Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + */ + customMetrics?: pulumi.Input[]>; + /** + * The ID of the generated dashboard. + */ + dashboardId?: pulumi.Input; + /** + * The data classification config for the monitor + */ + dataClassificationConfig?: pulumi.Input; + /** + * The full name of the drift metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + */ + driftMetricsTableName?: pulumi.Input; + /** + * Configuration for the inference log monitor + */ + inferenceLog?: pulumi.Input; + latestMonitorFailureMsg?: pulumi.Input; + /** + * The version of the monitor config (e.g. 1,2,3). If negative, the monitor may be corrupted + */ + monitorVersion?: pulumi.Input; + /** + * The notification settings for the monitor + */ + notifications?: pulumi.Input; + /** + * Schema where output metric tables are created + */ + outputSchemaName?: pulumi.Input; + /** + * The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + */ + profileMetricsTableName?: pulumi.Input; + /** + * The schedule for automatically updating and refreshing metric tables. + */ + schedule?: pulumi.Input; + /** + * Whether to skip creating a default dashboard summarizing data quality metrics. + */ + skipBuiltinDashboard?: pulumi.Input; + /** + * List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + */ + slicingExprs?: pulumi.Input[]>; + /** + * Configuration for monitoring snapshot tables. + */ + snapshot?: pulumi.Input; + /** + * Status of the Monitor + */ + status?: pulumi.Input; + /** + * The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + */ + tableName?: pulumi.Input; + /** + * Configuration for monitoring timeseries tables. + */ + timeSeries?: pulumi.Input; + /** + * Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + */ + warehouseId?: pulumi.Input; +} + +/** + * The set of arguments for constructing a LakehouseMonitor resource. + */ +export interface LakehouseMonitorArgs { + /** + * The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + */ + assetsDir: pulumi.Input; + /** + * Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + * table. + */ + baselineTableName?: pulumi.Input; + /** + * Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + */ + customMetrics?: pulumi.Input[]>; + /** + * The data classification config for the monitor + */ + dataClassificationConfig?: pulumi.Input; + /** + * Configuration for the inference log monitor + */ + inferenceLog?: pulumi.Input; + latestMonitorFailureMsg?: pulumi.Input; + /** + * The notification settings for the monitor + */ + notifications?: pulumi.Input; + /** + * Schema where output metric tables are created + */ + outputSchemaName: pulumi.Input; + /** + * The schedule for automatically updating and refreshing metric tables. + */ + schedule?: pulumi.Input; + /** + * Whether to skip creating a default dashboard summarizing data quality metrics. + */ + skipBuiltinDashboard?: pulumi.Input; + /** + * List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + */ + slicingExprs?: pulumi.Input[]>; + /** + * Configuration for monitoring snapshot tables. + */ + snapshot?: pulumi.Input; + /** + * The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + */ + tableName: pulumi.Input; + /** + * Configuration for monitoring timeseries tables. + */ + timeSeries?: pulumi.Input; + /** + * Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + */ + warehouseId?: pulumi.Input; +} diff --git a/sdk/nodejs/modelServing.ts b/sdk/nodejs/modelServing.ts index 257ce680..c123f6bd 100644 --- a/sdk/nodejs/modelServing.ts +++ b/sdk/nodejs/modelServing.ts @@ -9,6 +9,8 @@ import * as utilities from "./utilities"; /** * This resource allows you to manage [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks. * + * **Note** If you replace `servedModels` with `servedEntities` in an existing serving endpoint, the serving endpoint will briefly go into an update state (~30 seconds) and increment the config version. + * * ## Example Usage * * @@ -17,17 +19,17 @@ import * as utilities from "./utilities"; * import * as databricks from "@pulumi/databricks"; * * const _this = new databricks.ModelServing("this", {config: { - * servedModels: [ + * servedEntities: [ * { - * modelName: "ads-model", - * modelVersion: "2", + * entityName: "ads-model", + * entityVersion: "2", * name: "prod_model", * scaleToZeroEnabled: true, * workloadSize: "Small", * }, * { - * modelName: "ads-model", - * modelVersion: "4", + * entityName: "ads-model", + * entityVersion: "4", * name: "candidate_model", * scaleToZeroEnabled: false, * workloadSize: "Small", @@ -111,11 +113,17 @@ export class ModelServing extends pulumi.CustomResource { * The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. */ public readonly name!: pulumi.Output; + /** + * A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + */ public readonly rateLimits!: pulumi.Output; /** * Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations. */ public /*out*/ readonly servingEndpointId!: pulumi.Output; + /** + * Tags to be attached to the serving endpoint and automatically propagated to billing logs. + */ public readonly tags!: pulumi.Output; /** @@ -164,11 +172,17 @@ export interface ModelServingState { * The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. */ name?: pulumi.Input; + /** + * A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + */ rateLimits?: pulumi.Input[]>; /** * Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations. */ servingEndpointId?: pulumi.Input; + /** + * Tags to be attached to the serving endpoint and automatically propagated to billing logs. + */ tags?: pulumi.Input[]>; } @@ -184,6 +198,12 @@ export interface ModelServingArgs { * The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. */ name?: pulumi.Input; + /** + * A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + */ rateLimits?: pulumi.Input[]>; + /** + * Tags to be attached to the serving endpoint and automatically propagated to billing logs. + */ tags?: pulumi.Input[]>; } diff --git a/sdk/nodejs/onlineTable.ts b/sdk/nodejs/onlineTable.ts new file mode 100644 index 00000000..0668bacd --- /dev/null +++ b/sdk/nodejs/onlineTable.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 inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * > **Note** This resource could be only used on Unity Catalog-enabled workspace! + * + * This resource allows you to create [Online Table](https://docs.databricks.com/en/machine-learning/feature-store/online-tables.html) in Databricks. An online table is a read-only copy of a Delta Table that is stored in row-oriented format optimized for online access. Online tables are fully serverless tables that auto-scale throughput capacity with the request load and provide low latency and high throughput access to data of any scale. Online tables are designed to work with Databricks Model Serving, Feature Serving, and retrieval-augmented generation (RAG) applications where they are used for fast data lookups. + * + * ## Example Usage + * + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const _this = new databricks.OnlineTable("this", {spec: { + * primaryKeyColumns: ["id"], + * runTriggered: {}, + * sourceTableFullName: "main.default.source_table", + * }}); + * ``` + * + * + * ## Import + * + * The resource can be imported using the name of the Online Table: + * + * bash + * + * ```sh + * $ pulumi import databricks:index/onlineTable:OnlineTable this + * ``` + */ +export class OnlineTable extends pulumi.CustomResource { + /** + * Get an existing OnlineTable 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?: OnlineTableState, opts?: pulumi.CustomResourceOptions): OnlineTable { + return new OnlineTable(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'databricks:index/onlineTable:OnlineTable'; + + /** + * Returns true if the given object is an instance of OnlineTable. 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 OnlineTable { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === OnlineTable.__pulumiType; + } + + /** + * 3-level name of the Online Table to create. + */ + public readonly name!: pulumi.Output; + /** + * object containing specification of the online table: + */ + public readonly spec!: pulumi.Output; + /** + * object describing status of the online table: + */ + public /*out*/ readonly statuses!: pulumi.Output; + + /** + * Create a OnlineTable 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?: OnlineTableArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: OnlineTableArgs | OnlineTableState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as OnlineTableState | undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["spec"] = state ? state.spec : undefined; + resourceInputs["statuses"] = state ? state.statuses : undefined; + } else { + const args = argsOrState as OnlineTableArgs | undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["spec"] = args ? args.spec : undefined; + resourceInputs["statuses"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(OnlineTable.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering OnlineTable resources. + */ +export interface OnlineTableState { + /** + * 3-level name of the Online Table to create. + */ + name?: pulumi.Input; + /** + * object containing specification of the online table: + */ + spec?: pulumi.Input; + /** + * object describing status of the online table: + */ + statuses?: pulumi.Input[]>; +} + +/** + * The set of arguments for constructing a OnlineTable resource. + */ +export interface OnlineTableArgs { + /** + * 3-level name of the Online Table to create. + */ + name?: pulumi.Input; + /** + * object containing specification of the online table: + */ + spec?: pulumi.Input; +} diff --git a/sdk/nodejs/registeredModel.ts b/sdk/nodejs/registeredModel.ts index 4e458107..799b183e 100644 --- a/sdk/nodejs/registeredModel.ts +++ b/sdk/nodejs/registeredModel.ts @@ -87,6 +87,10 @@ export class RegisteredModel extends pulumi.CustomResource { * The name of the registered model. *Change of this parameter forces recreation of the resource.* */ public readonly name!: pulumi.Output; + /** + * Name of the registered model owner. + */ + public readonly owner!: pulumi.Output; /** * The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.* */ @@ -112,6 +116,7 @@ export class RegisteredModel extends pulumi.CustomResource { resourceInputs["catalogName"] = state ? state.catalogName : undefined; resourceInputs["comment"] = state ? state.comment : undefined; resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["owner"] = state ? state.owner : undefined; resourceInputs["schemaName"] = state ? state.schemaName : undefined; resourceInputs["storageLocation"] = state ? state.storageLocation : undefined; } else { @@ -125,6 +130,7 @@ export class RegisteredModel extends pulumi.CustomResource { resourceInputs["catalogName"] = args ? args.catalogName : undefined; resourceInputs["comment"] = args ? args.comment : undefined; resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["owner"] = args ? args.owner : undefined; resourceInputs["schemaName"] = args ? args.schemaName : undefined; resourceInputs["storageLocation"] = args ? args.storageLocation : undefined; } @@ -149,6 +155,10 @@ export interface RegisteredModelState { * The name of the registered model. *Change of this parameter forces recreation of the resource.* */ name?: pulumi.Input; + /** + * Name of the registered model owner. + */ + owner?: pulumi.Input; /** * The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.* */ @@ -175,6 +185,10 @@ export interface RegisteredModelArgs { * The name of the registered model. *Change of this parameter forces recreation of the resource.* */ name?: pulumi.Input; + /** + * Name of the registered model owner. + */ + owner?: pulumi.Input; /** * The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.* */ diff --git a/sdk/nodejs/servicePrincipal.ts b/sdk/nodejs/servicePrincipal.ts index 64da1ec6..4c6f8af6 100644 --- a/sdk/nodejs/servicePrincipal.ts +++ b/sdk/nodejs/servicePrincipal.ts @@ -5,24 +5,31 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Directly manage [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html) that could be added to databricks.Group in Databricks workspace or account. + * Directly manage [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html) that could be added to databricks.Group in Databricks account or workspace. + * + * There are different types of service principals: + * + * * Databricks-managed - exists only inside the Databricks platform (all clouds) and couldn't be used for accessing non-Databricks services. + * * Azure-managed - existing Azure service principal (enterprise application) is registered inside Databricks. It could be used to work with other Azure services. * * > **Note** To assign account level service principals to workspace use databricks_mws_permission_assignment. * - * > **Note** Entitlements, like, `allowClusterCreate`, `allowInstancePoolCreate`, `databricksSqlAccess`, `workspaceAccess` applicable only for workspace-level service principals. Use databricks.Entitlements resource to assign entitlements inside a workspace to account-level service principals. + * > **Note** Entitlements, like, `allowClusterCreate`, `allowInstancePoolCreate`, `databricksSqlAccess`, `workspaceAccess` applicable only for workspace-level service principals. Use databricks.Entitlements resource to assign entitlements inside a workspace to account-level service principals. + * + * To create service principals in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using the supported authentication method for account operations. * - * To create service principals in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments + * The default behavior when deleting a `databricks.ServicePrincipal` resource depends on whether the provider is configured at the workspace-level or account-level. When the provider is configured at the workspace-level, the service principal will be deleted from the workspace. When the provider is configured at the account-level, the service principal will be deactivated but not deleted. When the provider is configured at the account level, to delete the service principal from the account when the resource is deleted, set `disableAsUserDeletion = false`. Conversely, when the provider is configured at the account-level, to deactivate the service principal when the resource is deleted, set `disableAsUserDeletion = true`. * * ## Example Usage * - * Creating regular service principal: + * Creating regular Databricks-managed service principal: * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as databricks from "@pulumi/databricks"; * - * const sp = new databricks.ServicePrincipal("sp", {applicationId: "00000000-0000-0000-0000-000000000000"}); + * const sp = new databricks.ServicePrincipal("sp", {displayName: "Admin SP"}); * ``` * * @@ -36,7 +43,7 @@ import * as utilities from "./utilities"; * const admins = databricks.getGroup({ * displayName: "admins", * }); - * const sp = new databricks.ServicePrincipal("sp", {applicationId: "00000000-0000-0000-0000-000000000000"}); + * const sp = new databricks.ServicePrincipal("sp", {displayName: "Admin SP"}); * const i_am_admin = new databricks.GroupMember("i-am-admin", { * groupId: admins.then(admins => admins.id), * memberId: sp.id, @@ -44,7 +51,7 @@ import * as utilities from "./utilities"; * ``` * * - * Creating service principal with cluster create permissions: + * Creating Azure-managed service principal with cluster create permissions: * * * ```typescript @@ -59,7 +66,7 @@ import * as utilities from "./utilities"; * ``` * * - * Creating service principal in AWS Databricks account: + * Creating Databricks-managed service principal in AWS Databricks account: * * * ```typescript @@ -67,19 +74,19 @@ import * as utilities from "./utilities"; * import * as databricks from "@pulumi/databricks"; * * // initialize provider at account-level - * const mws = new databricks.Provider("mws", { + * const account = new databricks.Provider("account", { * host: "https://accounts.cloud.databricks.com", * accountId: "00000000-0000-0000-0000-000000000000", * clientId: _var.client_id, * clientSecret: _var.client_secret, * }); * const sp = new databricks.ServicePrincipal("sp", {displayName: "Automation-only SP"}, { - * provider: databricks.mws, + * provider: databricks.account, * }); * ``` * * - * Creating service principal in Azure Databricks account: + * Creating Azure-managed service principal in Azure Databricks account: * * * ```typescript @@ -87,13 +94,13 @@ import * as utilities from "./utilities"; * import * as databricks from "@pulumi/databricks"; * * // initialize provider at Azure account-level - * const azureAccount = new databricks.Provider("azureAccount", { + * const account = new databricks.Provider("account", { * host: "https://accounts.azuredatabricks.net", * accountId: "00000000-0000-0000-0000-000000000000", * authType: "azure-cli", * }); * const sp = new databricks.ServicePrincipal("sp", {applicationId: "00000000-0000-0000-0000-000000000000"}, { - * provider: databricks.azure_account, + * provider: databricks.account, * }); * ``` * @@ -102,12 +109,12 @@ import * as utilities from "./utilities"; * * The following resources are often used in the same context: * - * * End to end workspace management guide. - * * 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.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.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and more to manage secrets for the service principal (only for AWS deployments) + * - End to end workspace management guide. + * - 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.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.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and more to manage secrets for the service principal (only for AWS deployments) * * ## Import * @@ -164,7 +171,7 @@ export class ServicePrincipal extends pulumi.CustomResource { */ public readonly allowInstancePoolCreate!: pulumi.Output; /** - * This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + * This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. */ public readonly applicationId!: pulumi.Output; /** @@ -172,7 +179,7 @@ export class ServicePrincipal extends pulumi.CustomResource { */ public readonly databricksSqlAccess!: pulumi.Output; /** - * When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. True by default for accounts SCIM API, false otherwise. + * Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. */ public readonly disableAsUserDeletion!: pulumi.Output; /** @@ -277,7 +284,7 @@ export interface ServicePrincipalState { */ allowInstancePoolCreate?: pulumi.Input; /** - * This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + * This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. */ applicationId?: pulumi.Input; /** @@ -285,7 +292,7 @@ export interface ServicePrincipalState { */ databricksSqlAccess?: pulumi.Input; /** - * When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. True by default for accounts SCIM API, false otherwise. + * Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. */ disableAsUserDeletion?: pulumi.Input; /** @@ -340,7 +347,7 @@ export interface ServicePrincipalArgs { */ allowInstancePoolCreate?: pulumi.Input; /** - * This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + * This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. */ applicationId?: pulumi.Input; /** @@ -348,7 +355,7 @@ export interface ServicePrincipalArgs { */ databricksSqlAccess?: pulumi.Input; /** - * When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. True by default for accounts SCIM API, false otherwise. + * Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. */ disableAsUserDeletion?: pulumi.Input; /** diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 1be4811f..957c972d 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -84,6 +84,7 @@ "instanceProfile.ts", "ipAccessList.ts", "job.ts", + "lakehouseMonitor.ts", "library.ts", "metastore.ts", "metastoreAssignment.ts", @@ -105,6 +106,7 @@ "mwsWorkspaces.ts", "notebook.ts", "oboToken.ts", + "onlineTable.ts", "permissionAssignment.ts", "permissions.ts", "pipeline.ts", @@ -142,6 +144,7 @@ "userRole.ts", "utilities.ts", "vectorSearchEndpoint.ts", + "vectorSearchIndex.ts", "volume.ts", "workspaceConf.ts", "workspaceFile.ts" diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 4854a78a..07499063 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -2420,15 +2420,15 @@ export interface GetJobJobSettingsSettingsTaskArgs { } export interface GetJobJobSettingsSettingsTaskConditionTask { - left?: string; - op?: string; - right?: string; + left: string; + op: string; + right: string; } export interface GetJobJobSettingsSettingsTaskConditionTaskArgs { - left?: pulumi.Input; - op?: pulumi.Input; - right?: pulumi.Input; + left: pulumi.Input; + op: pulumi.Input; + right: pulumi.Input; } export interface GetJobJobSettingsSettingsTaskDbtTask { @@ -2462,6 +2462,7 @@ export interface GetJobJobSettingsSettingsTaskDependsOnArgs { } export interface GetJobJobSettingsSettingsTaskEmailNotifications { + noAlertForSkippedRuns?: boolean; onDurationWarningThresholdExceededs?: string[]; onFailures?: string[]; onStarts?: string[]; @@ -2469,6 +2470,7 @@ export interface GetJobJobSettingsSettingsTaskEmailNotifications { } export interface GetJobJobSettingsSettingsTaskEmailNotificationsArgs { + noAlertForSkippedRuns?: pulumi.Input; onDurationWarningThresholdExceededs?: pulumi.Input[]>; onFailures?: pulumi.Input[]>; onStarts?: pulumi.Input[]>; @@ -2548,15 +2550,15 @@ export interface GetJobJobSettingsSettingsTaskForEachTaskTaskArgs { } export interface GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { - left?: string; - op?: string; - right?: string; + left: string; + op: string; + right: string; } export interface GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs { - left?: pulumi.Input; - op?: pulumi.Input; - right?: pulumi.Input; + left: pulumi.Input; + op: pulumi.Input; + right: pulumi.Input; } export interface GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { @@ -2590,6 +2592,7 @@ export interface GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs { } export interface GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { + noAlertForSkippedRuns?: boolean; onDurationWarningThresholdExceededs?: string[]; onFailures?: string[]; onStarts?: string[]; @@ -2597,6 +2600,7 @@ export interface GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications } export interface GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs { + noAlertForSkippedRuns?: pulumi.Input; onDurationWarningThresholdExceededs?: pulumi.Input[]>; onFailures?: pulumi.Input[]>; onStarts?: pulumi.Input[]>; @@ -3177,56 +3181,56 @@ export interface GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotification /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs { /** * the id of databricks.Job if the resource was matched by name. */ - id?: pulumi.Input; + id: pulumi.Input; } export interface GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure { /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs { /** * the id of databricks.Job if the resource was matched by name. */ - id?: pulumi.Input; + id: pulumi.Input; } export interface GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart { /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs { /** * the id of databricks.Job if the resource was matched by name. */ - id?: pulumi.Input; + id: pulumi.Input; } export interface GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess { /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs { /** * the id of databricks.Job if the resource was matched by name. */ - id?: pulumi.Input; + id: pulumi.Input; } export interface GetJobJobSettingsSettingsTaskHealth { @@ -3803,66 +3807,68 @@ export interface GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarn /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs { /** * the id of databricks.Job if the resource was matched by name. */ - id?: pulumi.Input; + id: pulumi.Input; } export interface GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure { /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs { /** * the id of databricks.Job if the resource was matched by name. */ - id?: pulumi.Input; + id: pulumi.Input; } export interface GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart { /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs { /** * the id of databricks.Job if the resource was matched by name. */ - id?: pulumi.Input; + id: pulumi.Input; } export interface GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess { /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs { /** * the id of databricks.Job if the resource was matched by name. */ - id?: pulumi.Input; + id: pulumi.Input; } export interface GetJobJobSettingsSettingsTrigger { - fileArrival: inputs.GetJobJobSettingsSettingsTriggerFileArrival; + fileArrival?: inputs.GetJobJobSettingsSettingsTriggerFileArrival; pauseStatus?: string; + tableUpdate?: inputs.GetJobJobSettingsSettingsTriggerTableUpdate; } export interface GetJobJobSettingsSettingsTriggerArgs { - fileArrival: pulumi.Input; + fileArrival?: pulumi.Input; pauseStatus?: pulumi.Input; + tableUpdate?: pulumi.Input; } export interface GetJobJobSettingsSettingsTriggerFileArrival { @@ -3877,6 +3883,20 @@ export interface GetJobJobSettingsSettingsTriggerFileArrivalArgs { waitAfterLastChangeSeconds?: pulumi.Input; } +export interface GetJobJobSettingsSettingsTriggerTableUpdate { + condition?: string; + minTimeBetweenTriggersSeconds?: number; + tableNames: string[]; + waitAfterLastChangeSeconds?: number; +} + +export interface GetJobJobSettingsSettingsTriggerTableUpdateArgs { + condition?: pulumi.Input; + minTimeBetweenTriggersSeconds?: pulumi.Input; + tableNames: pulumi.Input[]>; + waitAfterLastChangeSeconds?: pulumi.Input; +} + export interface GetJobJobSettingsSettingsWebhookNotifications { onDurationWarningThresholdExceededs?: inputs.GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded[]; onFailures?: inputs.GetJobJobSettingsSettingsWebhookNotificationsOnFailure[]; @@ -3895,56 +3915,56 @@ export interface GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningT /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs { /** * the id of databricks.Job if the resource was matched by name. */ - id?: pulumi.Input; + id: pulumi.Input; } export interface GetJobJobSettingsSettingsWebhookNotificationsOnFailure { /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs { /** * the id of databricks.Job if the resource was matched by name. */ - id?: pulumi.Input; + id: pulumi.Input; } export interface GetJobJobSettingsSettingsWebhookNotificationsOnStart { /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs { /** * the id of databricks.Job if the resource was matched by name. */ - id?: pulumi.Input; + id: pulumi.Input; } export interface GetJobJobSettingsSettingsWebhookNotificationsOnSuccess { /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs { /** * the id of databricks.Job if the resource was matched by name. */ - id?: pulumi.Input; + id: pulumi.Input; } export interface GetMetastoreMetastoreInfo { @@ -5231,7 +5251,7 @@ export interface JobTask { */ jobClusterKey?: pulumi.Input; /** - * (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * (Set) An optional list of libraries to be installed on the cluster that will execute the job. */ libraries?: pulumi.Input[]>; /** @@ -5285,17 +5305,17 @@ export interface JobTaskConditionTask { /** * The left operand of the condition task. It could be a string value, job state, or a parameter reference. */ - left?: pulumi.Input; + left: pulumi.Input; /** * 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.Input; + op: pulumi.Input; /** * The right operand of the condition task. It could be a string value, job state, or parameter reference. */ - right?: pulumi.Input; + right: pulumi.Input; } export interface JobTaskDbtTask { @@ -5345,6 +5365,10 @@ export interface JobTaskDependsOn { } export interface JobTaskEmailNotifications { + /** + * (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). + */ + noAlertForSkippedRuns?: pulumi.Input; /** * (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. */ @@ -5404,7 +5428,7 @@ export interface JobTaskForEachTaskTask { */ jobClusterKey?: pulumi.Input; /** - * (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * (Set) An optional list of libraries to be installed on the cluster that will execute the job. */ libraries?: pulumi.Input[]>; /** @@ -5458,17 +5482,17 @@ export interface JobTaskForEachTaskTaskConditionTask { /** * The left operand of the condition task. It could be a string value, job state, or a parameter reference. */ - left?: pulumi.Input; + left: pulumi.Input; /** * 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.Input; + op: pulumi.Input; /** * The right operand of the condition task. It could be a string value, job state, or parameter reference. */ - right?: pulumi.Input; + right: pulumi.Input; } export interface JobTaskForEachTaskTaskDbtTask { @@ -5518,6 +5542,10 @@ export interface JobTaskForEachTaskTaskDependsOn { } export interface JobTaskForEachTaskTaskEmailNotifications { + /** + * (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). + */ + noAlertForSkippedRuns?: pulumi.Input; /** * (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. */ @@ -6027,7 +6055,7 @@ export interface JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThre * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: pulumi.Input; + id: pulumi.Input; } export interface JobTaskForEachTaskTaskWebhookNotificationsOnFailure { @@ -6036,7 +6064,7 @@ export interface JobTaskForEachTaskTaskWebhookNotificationsOnFailure { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: pulumi.Input; + id: pulumi.Input; } export interface JobTaskForEachTaskTaskWebhookNotificationsOnStart { @@ -6045,7 +6073,7 @@ export interface JobTaskForEachTaskTaskWebhookNotificationsOnStart { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: pulumi.Input; + id: pulumi.Input; } export interface JobTaskForEachTaskTaskWebhookNotificationsOnSuccess { @@ -6054,7 +6082,7 @@ export interface JobTaskForEachTaskTaskWebhookNotificationsOnSuccess { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: pulumi.Input; + id: pulumi.Input; } export interface JobTaskHealth { @@ -6551,7 +6579,7 @@ export interface JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: pulumi.Input; + id: pulumi.Input; } export interface JobTaskWebhookNotificationsOnFailure { @@ -6560,7 +6588,7 @@ export interface JobTaskWebhookNotificationsOnFailure { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: pulumi.Input; + id: pulumi.Input; } export interface JobTaskWebhookNotificationsOnStart { @@ -6569,7 +6597,7 @@ export interface JobTaskWebhookNotificationsOnStart { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: pulumi.Input; + id: pulumi.Input; } export interface JobTaskWebhookNotificationsOnSuccess { @@ -6578,18 +6606,22 @@ export interface JobTaskWebhookNotificationsOnSuccess { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: pulumi.Input; + id: pulumi.Input; } export interface JobTrigger { /** * 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: pulumi.Input; + fileArrival?: pulumi.Input; /** * 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.Input; + /** + * configuration block to define a trigger for Table Update events consisting of following attributes: + */ + tableUpdate?: pulumi.Input; } export interface JobTriggerFileArrival { @@ -6607,6 +6639,25 @@ export interface JobTriggerFileArrival { waitAfterLastChangeSeconds?: pulumi.Input; } +export interface JobTriggerTableUpdate { + /** + * The table(s) condition based on which to trigger a job run. Valid values are `ANY_UPDATED` or `ALL_UPDATED`. + */ + condition?: pulumi.Input; + /** + * 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.Input; + /** + * A list of Delta tables to monitor for changes. The table name must be in the format `catalog_name.schema_name.table_name`. + */ + tableNames: pulumi.Input[]>; + /** + * 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.Input; +} + export interface JobWebhookNotifications { /** * (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. @@ -6642,7 +6693,7 @@ export interface JobWebhookNotificationsOnDurationWarningThresholdExceeded { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: pulumi.Input; + id: pulumi.Input; } export interface JobWebhookNotificationsOnFailure { @@ -6651,7 +6702,7 @@ export interface JobWebhookNotificationsOnFailure { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: pulumi.Input; + id: pulumi.Input; } export interface JobWebhookNotificationsOnStart { @@ -6660,7 +6711,7 @@ export interface JobWebhookNotificationsOnStart { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: pulumi.Input; + id: pulumi.Input; } export interface JobWebhookNotificationsOnSuccess { @@ -6669,7 +6720,93 @@ export interface JobWebhookNotificationsOnSuccess { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: pulumi.Input; + id: pulumi.Input; +} + +export interface LakehouseMonitorCustomMetric { + /** + * [create metric definition]: https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition + */ + definition?: pulumi.Input; + /** + * Columns on the monitored table to apply the custom metrics to. + */ + inputColumns?: pulumi.Input[]>; + /** + * Name of the custom metric. + */ + name?: pulumi.Input; + /** + * The output type of the custom metric. + */ + outputDataType?: pulumi.Input; + /** + * The type of the custom metric. + */ + type?: pulumi.Input; +} + +export interface LakehouseMonitorDataClassificationConfig { + enabled?: pulumi.Input; +} + +export interface LakehouseMonitorInferenceLog { + /** + * List of granularities to use when aggregating data into time windows based on their timestamp. + */ + granularities?: pulumi.Input[]>; + /** + * Column of the model label + */ + labelCol?: pulumi.Input; + /** + * Column of the model id or version + */ + modelIdCol?: pulumi.Input; + /** + * Column of the model prediction + */ + predictionCol?: pulumi.Input; + /** + * Column of the model prediction probabilities + */ + predictionProbaCol?: pulumi.Input; + /** + * Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + */ + problemType?: pulumi.Input; + /** + * Column of the timestamp of predictions + */ + timestampCol?: pulumi.Input; +} + +export interface LakehouseMonitorNotifications { + onFailure?: pulumi.Input; +} + +export interface LakehouseMonitorNotificationsOnFailure { + emailAddresses?: pulumi.Input[]>; +} + +export interface LakehouseMonitorSchedule { + pauseStatus?: pulumi.Input; + quartzCronExpression?: pulumi.Input; + timezoneId?: pulumi.Input; +} + +export interface LakehouseMonitorSnapshot { +} + +export interface LakehouseMonitorTimeSeries { + /** + * List of granularities to use when aggregating data into time windows based on their timestamp. + */ + granularities?: pulumi.Input[]>; + /** + * Column of the timestamp of predictions + */ + timestampCol?: pulumi.Input; } export interface LibraryCran { @@ -6757,9 +6894,18 @@ export interface MlflowWebhookJobSpec { } export interface ModelServingConfig { + /** + * Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. + */ autoCaptureConfig?: pulumi.Input; + /** + * A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. + */ + servedEntities?: pulumi.Input[]>; /** * 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?: pulumi.Input[]>; /** @@ -6769,12 +6915,200 @@ export interface ModelServingConfig { } export interface ModelServingConfigAutoCaptureConfig { + /** + * The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. + */ catalogName?: pulumi.Input; + /** + * If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable again. + */ enabled?: pulumi.Input; + /** + * The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + */ schemaName?: pulumi.Input; + /** + * The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. + */ tableNamePrefix?: pulumi.Input; } +export interface ModelServingConfigServedEntity { + /** + * 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.Input; + /** + * The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. + */ + entityVersion?: pulumi.Input; + /** + * 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 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.Input<{[key: string]: any}>; + /** + * 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. For an existing endpoint with `externalModel`, it 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?: pulumi.Input; + /** + * ARN of the instance profile that the served entity uses to access AWS resources. + */ + instanceProfileArn?: pulumi.Input; + /** + * The maximum tokens per second that the endpoint can scale up to. + */ + maxProvisionedThroughput?: pulumi.Input; + /** + * The minimum tokens per second that the endpoint can scale down to. + */ + minProvisionedThroughput?: pulumi.Input; + /** + * The name of the external model. + */ + name?: pulumi.Input; + /** + * Whether the compute resources for the served entity should scale down to zero. + */ + scaleToZeroEnabled?: pulumi.Input; + /** + * 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.Input; + /** + * 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.Input; +} + +export interface ModelServingConfigServedEntityExternalModel { + /** + * AI21Labs Config + */ + ai21labsConfig?: pulumi.Input; + /** + * Amazon Bedrock Config + */ + amazonBedrockConfig?: pulumi.Input; + /** + * Anthropic Config + */ + anthropicConfig?: pulumi.Input; + /** + * Cohere Config + */ + cohereConfig?: pulumi.Input; + /** + * Databricks Model Serving Config + */ + databricksModelServingConfig?: pulumi.Input; + /** + * The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. + */ + name: pulumi.Input; + /** + * OpenAI Config + */ + openaiConfig?: pulumi.Input; + /** + * PaLM Config + */ + palmConfig?: pulumi.Input; + /** + * The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `openai`, and `palm`. + */ + provider: pulumi.Input; + /** + * The task type of the external model. + */ + task: pulumi.Input; +} + +export interface ModelServingConfigServedEntityExternalModelAi21labsConfig { + /** + * The Databricks secret key reference for an AI21Labs API key. + */ + ai21labsApiKey: pulumi.Input; +} + +export interface ModelServingConfigServedEntityExternalModelAmazonBedrockConfig { + /** + * The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. + */ + awsAccessKeyId: pulumi.Input; + /** + * The AWS region to use. Bedrock has to be enabled there. + */ + awsRegion: pulumi.Input; + /** + * 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.Input; + /** + * The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. + */ + bedrockProvider: pulumi.Input; +} + +export interface ModelServingConfigServedEntityExternalModelAnthropicConfig { + /** + * The Databricks secret key reference for an Anthropic API key. + * The Databricks secret key reference for an Anthropic API key. + */ + anthropicApiKey: pulumi.Input; +} + +export interface ModelServingConfigServedEntityExternalModelCohereConfig { + /** + * The Databricks secret key reference for a Cohere API key. + */ + cohereApiKey: pulumi.Input; +} + +export interface ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig { + /** + * 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.Input; + /** + * The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. + */ + databricksWorkspaceUrl: pulumi.Input; +} + +export interface ModelServingConfigServedEntityExternalModelOpenaiConfig { + /** + * 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.Input; + /** + * The Databricks secret key reference for an OpenAI or Azure OpenAI API key. + */ + openaiApiKey: pulumi.Input; + /** + * This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and adjust this parameter to represent the preferred security access validation protocol. For access token validation, use azure. For authentication using Azure Active Directory (Azure AD) use, azuread. + */ + openaiApiType?: pulumi.Input; + /** + * 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.Input; + /** + * This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. + */ + openaiDeploymentName?: pulumi.Input; + /** + * This is an optional field to specify the organization in OpenAI or Azure OpenAI. + */ + openaiOrganization?: pulumi.Input; +} + +export interface ModelServingConfigServedEntityExternalModelPalmConfig { + /** + * The Databricks secret key reference for a PaLM API key. + */ + palmApiKey: pulumi.Input; +} + export interface ModelServingConfigServedModel { /** * a map of environment variable name/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}}`. @@ -6797,11 +7131,11 @@ export interface ModelServingConfigServedModel { */ name?: pulumi.Input; /** - * 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`. + * 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.Input; /** - * 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). + * The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). */ workloadSize: pulumi.Input; /** @@ -6812,15 +7146,12 @@ export interface ModelServingConfigServedModel { export interface ModelServingConfigTrafficConfig { /** - * Each block represents a route that defines traffic to each served model. Each `servedModels` block needs to have a corresponding `routes` block + * Each block represents a route that defines traffic to each served entity. Each `servedEntity` block needs to have a corresponding `routes` block. */ routes?: pulumi.Input[]>; } export interface ModelServingConfigTrafficConfigRoute { - /** - * The name of the served model this route configures traffic for. This needs to match the name of a `servedModels` block - */ servedModelName: pulumi.Input; /** * The percentage of endpoint traffic to send to this route. It must be an integer between 0 and 100 inclusive. @@ -6829,13 +7160,28 @@ export interface ModelServingConfigTrafficConfigRoute { } export interface ModelServingRateLimit { + /** + * Used to specify how many calls are allowed for a key within the renewal_period. + */ calls: pulumi.Input; + /** + * 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.Input; + /** + * Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + */ renewalPeriod: pulumi.Input; } export interface ModelServingTag { + /** + * The key field for a tag. + */ key: pulumi.Input; + /** + * The value field for a tag. + */ value?: pulumi.Input; } @@ -7008,6 +7354,103 @@ export interface MwsWorkspacesToken { tokenValue?: pulumi.Input; } +export interface OnlineTableSpec { + /** + * 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.Input; + /** + * ID of the associated Delta Live Table pipeline. + */ + pipelineId?: pulumi.Input; + /** + * list of the columns comprising the primary key. + */ + primaryKeyColumns?: pulumi.Input[]>; + /** + * empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `runTriggered`. + */ + runContinuously?: pulumi.Input; + /** + * 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?: pulumi.Input; + /** + * full name of the source table. + */ + sourceTableFullName?: pulumi.Input; + /** + * Time series key to deduplicate (tie-break) rows with the same primary key. + */ + timeseriesKey?: pulumi.Input; +} + +export interface OnlineTableSpecRunContinuously { +} + +export interface OnlineTableSpecRunTriggered { +} + +export interface OnlineTableStatus { + continuousUpdateStatus?: pulumi.Input; + /** + * The state of the online table. + */ + detailedState?: pulumi.Input; + failedStatus?: pulumi.Input; + /** + * A text description of the current state of the online table. + */ + message?: pulumi.Input; + provisioningStatus?: pulumi.Input; + triggeredUpdateStatus?: pulumi.Input; +} + +export interface OnlineTableStatusContinuousUpdateStatus { + initialPipelineSyncProgress?: pulumi.Input; + lastProcessedCommitVersion?: pulumi.Input; + timestamp?: pulumi.Input; +} + +export interface OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress { + estimatedCompletionTimeSeconds?: pulumi.Input; + latestVersionCurrentlyProcessing?: pulumi.Input; + syncProgressCompletion?: pulumi.Input; + syncedRowCount?: pulumi.Input; + totalRowCount?: pulumi.Input; +} + +export interface OnlineTableStatusFailedStatus { + lastProcessedCommitVersion?: pulumi.Input; + timestamp?: pulumi.Input; +} + +export interface OnlineTableStatusProvisioningStatus { + initialPipelineSyncProgress?: pulumi.Input; +} + +export interface OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress { + estimatedCompletionTimeSeconds?: pulumi.Input; + latestVersionCurrentlyProcessing?: pulumi.Input; + syncProgressCompletion?: pulumi.Input; + syncedRowCount?: pulumi.Input; + totalRowCount?: pulumi.Input; +} + +export interface OnlineTableStatusTriggeredUpdateStatus { + lastProcessedCommitVersion?: pulumi.Input; + timestamp?: pulumi.Input; + triggeredUpdateProgress?: pulumi.Input; +} + +export interface OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress { + estimatedCompletionTimeSeconds?: pulumi.Input; + latestVersionCurrentlyProcessing?: pulumi.Input; + syncProgressCompletion?: pulumi.Input; + syncedRowCount?: pulumi.Input; + totalRowCount?: pulumi.Input; +} + export interface PermissionsAccessControl { /** * name of the group. We recommend setting permissions on groups. @@ -7260,7 +7703,7 @@ export interface ShareObject { */ comment?: pulumi.Input; /** - * Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, `NOTEBOOK_FILE` are supported. + * Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. */ dataObjectType: pulumi.Input; /** @@ -7270,7 +7713,7 @@ export interface ShareObject { */ historyDataSharingStatus?: pulumi.Input; /** - * Full name of the object, e.g. `catalog.schema.name` for a table. + * Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. */ name: pulumi.Input; partitions?: pulumi.Input[]>; @@ -7590,19 +8033,13 @@ export interface SqlWidgetPosition { } export interface StorageCredentialAwsIamRole { - /** - * The external ID used in role assumption to prevent confused deputy problem. - */ externalId?: pulumi.Input; /** * The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` - */ - roleArn: pulumi.Input; - /** - * The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. * * `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): */ + roleArn: pulumi.Input; unityCatalogIamArn?: pulumi.Input; } @@ -7676,7 +8113,108 @@ export interface VectorSearchEndpointEndpointStatus { */ message?: pulumi.Input; /** - * Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, `OFFLINE`. + * Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. */ state?: pulumi.Input; } + +export interface VectorSearchIndexDeltaSyncIndexSpec { + /** + * array of objects representing columns that contain the embedding source. Each entry consists of: + */ + embeddingSourceColumns?: pulumi.Input[]>; + /** + * array of objects representing columns that contain the embedding vectors. Each entry consists of: + */ + embeddingVectorColumns?: pulumi.Input[]>; + /** + * ID of the associated Delta Live Table pipeline. + */ + pipelineId?: pulumi.Input; + /** + * Pipeline execution mode. Possible values are: + */ + pipelineType?: pulumi.Input; + /** + * The name of the source table. + */ + sourceTable?: pulumi.Input; +} + +export interface VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn { + /** + * The name of the embedding model endpoint + */ + embeddingModelEndpointName?: pulumi.Input; + /** + * The name of the column. + */ + name?: pulumi.Input; +} + +export interface VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn { + /** + * Dimension of the embedding vector. + */ + embeddingDimension?: pulumi.Input; + /** + * The name of the column. + */ + name?: pulumi.Input; +} + +export interface VectorSearchIndexDirectAccessIndexSpec { + /** + * array of objects representing columns that contain the embedding source. Each entry consists of: + */ + embeddingSourceColumns?: pulumi.Input[]>; + /** + * array of objects representing columns that contain the embedding vectors. Each entry consists of: + */ + embeddingVectorColumns?: pulumi.Input[]>; + /** + * 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.Input; +} + +export interface VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn { + /** + * The name of the embedding model endpoint + */ + embeddingModelEndpointName?: pulumi.Input; + /** + * The name of the column. + */ + name?: pulumi.Input; +} + +export interface VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn { + /** + * Dimension of the embedding vector. + */ + embeddingDimension?: pulumi.Input; + /** + * The name of the column. + */ + name?: pulumi.Input; +} + +export interface VectorSearchIndexStatus { + /** + * Index API Url to be used to perform operations on the index + */ + indexUrl?: pulumi.Input; + /** + * Number of rows indexed + */ + indexedRowCount?: pulumi.Input; + /** + * Message associated with the index status + */ + message?: pulumi.Input; + /** + * Whether the index is ready for search + */ + ready?: pulumi.Input; +} diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index a4cc52bc..4f744ad9 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -1455,9 +1455,9 @@ export interface GetJobJobSettingsSettingsTask { } export interface GetJobJobSettingsSettingsTaskConditionTask { - left?: string; - op?: string; - right?: string; + left: string; + op: string; + right: string; } export interface GetJobJobSettingsSettingsTaskDbtTask { @@ -1476,6 +1476,7 @@ export interface GetJobJobSettingsSettingsTaskDependsOn { } export interface GetJobJobSettingsSettingsTaskEmailNotifications { + noAlertForSkippedRuns?: boolean; onDurationWarningThresholdExceededs?: string[]; onFailures?: string[]; onStarts?: string[]; @@ -1519,9 +1520,9 @@ export interface GetJobJobSettingsSettingsTaskForEachTaskTask { } export interface GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { - left?: string; - op?: string; - right?: string; + left: string; + op: string; + right: string; } export interface GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { @@ -1540,6 +1541,7 @@ export interface GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn { } export interface GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { + noAlertForSkippedRuns?: boolean; onDurationWarningThresholdExceededs?: string[]; onFailures?: string[]; onStarts?: string[]; @@ -1835,28 +1837,28 @@ export interface GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotification /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure { /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart { /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess { /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsTaskHealth { @@ -2148,33 +2150,34 @@ export interface GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarn /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure { /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart { /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess { /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsTrigger { - fileArrival: outputs.GetJobJobSettingsSettingsTriggerFileArrival; + fileArrival?: outputs.GetJobJobSettingsSettingsTriggerFileArrival; pauseStatus?: string; + tableUpdate?: outputs.GetJobJobSettingsSettingsTriggerTableUpdate; } export interface GetJobJobSettingsSettingsTriggerFileArrival { @@ -2183,6 +2186,13 @@ export interface GetJobJobSettingsSettingsTriggerFileArrival { waitAfterLastChangeSeconds?: number; } +export interface GetJobJobSettingsSettingsTriggerTableUpdate { + condition?: string; + minTimeBetweenTriggersSeconds?: number; + tableNames: string[]; + waitAfterLastChangeSeconds?: number; +} + export interface GetJobJobSettingsSettingsWebhookNotifications { onDurationWarningThresholdExceededs?: outputs.GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded[]; onFailures?: outputs.GetJobJobSettingsSettingsWebhookNotificationsOnFailure[]; @@ -2194,28 +2204,28 @@ export interface GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningT /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsWebhookNotificationsOnFailure { /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsWebhookNotificationsOnStart { /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetJobJobSettingsSettingsWebhookNotificationsOnSuccess { /** * the id of databricks.Job if the resource was matched by name. */ - id?: string; + id: string; } export interface GetMetastoreMetastoreInfo { @@ -3271,7 +3281,7 @@ export interface JobTask { */ jobClusterKey?: string; /** - * (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * (Set) An optional list of libraries to be installed on the cluster that will execute the job. */ libraries?: outputs.JobTaskLibrary[]; /** @@ -3325,17 +3335,17 @@ export interface JobTaskConditionTask { /** * The left operand of the condition task. It could be a string value, job state, or a parameter reference. */ - left?: string; + left: string; /** * 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; + op: string; /** * The right operand of the condition task. It could be a string value, job state, or parameter reference. */ - right?: string; + right: string; } export interface JobTaskDbtTask { @@ -3385,6 +3395,10 @@ export interface JobTaskDependsOn { } export interface JobTaskEmailNotifications { + /** + * (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). + */ + noAlertForSkippedRuns?: boolean; /** * (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. */ @@ -3444,7 +3458,7 @@ export interface JobTaskForEachTaskTask { */ jobClusterKey?: string; /** - * (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for databricks.Cluster resource. + * (Set) An optional list of libraries to be installed on the cluster that will execute the job. */ libraries?: outputs.JobTaskForEachTaskTaskLibrary[]; /** @@ -3498,17 +3512,17 @@ export interface JobTaskForEachTaskTaskConditionTask { /** * The left operand of the condition task. It could be a string value, job state, or a parameter reference. */ - left?: string; + left: string; /** * 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; + op: string; /** * The right operand of the condition task. It could be a string value, job state, or parameter reference. */ - right?: string; + right: string; } export interface JobTaskForEachTaskTaskDbtTask { @@ -3558,6 +3572,10 @@ export interface JobTaskForEachTaskTaskDependsOn { } export interface JobTaskForEachTaskTaskEmailNotifications { + /** + * (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). + */ + noAlertForSkippedRuns?: boolean; /** * (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. */ @@ -4067,7 +4085,7 @@ export interface JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThre * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: string; + id: string; } export interface JobTaskForEachTaskTaskWebhookNotificationsOnFailure { @@ -4076,7 +4094,7 @@ export interface JobTaskForEachTaskTaskWebhookNotificationsOnFailure { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: string; + id: string; } export interface JobTaskForEachTaskTaskWebhookNotificationsOnStart { @@ -4085,7 +4103,7 @@ export interface JobTaskForEachTaskTaskWebhookNotificationsOnStart { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: string; + id: string; } export interface JobTaskForEachTaskTaskWebhookNotificationsOnSuccess { @@ -4094,7 +4112,7 @@ export interface JobTaskForEachTaskTaskWebhookNotificationsOnSuccess { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: string; + id: string; } export interface JobTaskHealth { @@ -4591,7 +4609,7 @@ export interface JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: string; + id: string; } export interface JobTaskWebhookNotificationsOnFailure { @@ -4600,7 +4618,7 @@ export interface JobTaskWebhookNotificationsOnFailure { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: string; + id: string; } export interface JobTaskWebhookNotificationsOnStart { @@ -4609,7 +4627,7 @@ export interface JobTaskWebhookNotificationsOnStart { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: string; + id: string; } export interface JobTaskWebhookNotificationsOnSuccess { @@ -4618,18 +4636,22 @@ export interface JobTaskWebhookNotificationsOnSuccess { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: string; + id: string; } export interface JobTrigger { /** * 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: outputs.JobTriggerFileArrival; + fileArrival?: outputs.JobTriggerFileArrival; /** * 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; + /** + * configuration block to define a trigger for Table Update events consisting of following attributes: + */ + tableUpdate?: outputs.JobTriggerTableUpdate; } export interface JobTriggerFileArrival { @@ -4647,6 +4669,25 @@ export interface JobTriggerFileArrival { waitAfterLastChangeSeconds?: number; } +export interface JobTriggerTableUpdate { + /** + * The table(s) condition based on which to trigger a job run. Valid values are `ANY_UPDATED` or `ALL_UPDATED`. + */ + condition?: 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. + */ + minTimeBetweenTriggersSeconds?: number; + /** + * A list of Delta tables to monitor for changes. The table name must be in the format `catalog_name.schema_name.table_name`. + */ + tableNames: 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. + */ + waitAfterLastChangeSeconds?: number; +} + export interface JobWebhookNotifications { /** * (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. @@ -4682,7 +4723,7 @@ export interface JobWebhookNotificationsOnDurationWarningThresholdExceeded { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: string; + id: string; } export interface JobWebhookNotificationsOnFailure { @@ -4691,7 +4732,7 @@ export interface JobWebhookNotificationsOnFailure { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: string; + id: string; } export interface JobWebhookNotificationsOnStart { @@ -4700,7 +4741,7 @@ export interface JobWebhookNotificationsOnStart { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: string; + id: string; } export interface JobWebhookNotificationsOnSuccess { @@ -4709,7 +4750,93 @@ export interface JobWebhookNotificationsOnSuccess { * * > **Note** The following configuration blocks can be standalone or nested inside a `task` block */ - id?: string; + id: string; +} + +export interface LakehouseMonitorCustomMetric { + /** + * [create metric definition]: https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition + */ + definition?: string; + /** + * Columns on the monitored table to apply the custom metrics to. + */ + inputColumns?: string[]; + /** + * Name of the custom metric. + */ + name?: string; + /** + * The output type of the custom metric. + */ + outputDataType?: string; + /** + * The type of the custom metric. + */ + type?: string; +} + +export interface LakehouseMonitorDataClassificationConfig { + enabled?: boolean; +} + +export interface LakehouseMonitorInferenceLog { + /** + * List of granularities to use when aggregating data into time windows based on their timestamp. + */ + granularities?: string[]; + /** + * Column of the model label + */ + labelCol?: string; + /** + * Column of the model id or version + */ + modelIdCol?: string; + /** + * Column of the model prediction + */ + predictionCol?: string; + /** + * Column of the model prediction probabilities + */ + predictionProbaCol?: string; + /** + * Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + */ + problemType?: string; + /** + * Column of the timestamp of predictions + */ + timestampCol?: string; +} + +export interface LakehouseMonitorNotifications { + onFailure?: outputs.LakehouseMonitorNotificationsOnFailure; +} + +export interface LakehouseMonitorNotificationsOnFailure { + emailAddresses?: string[]; +} + +export interface LakehouseMonitorSchedule { + pauseStatus?: string; + quartzCronExpression?: string; + timezoneId?: string; +} + +export interface LakehouseMonitorSnapshot { +} + +export interface LakehouseMonitorTimeSeries { + /** + * List of granularities to use when aggregating data into time windows based on their timestamp. + */ + granularities?: string[]; + /** + * Column of the timestamp of predictions + */ + timestampCol?: string; } export interface LibraryCran { @@ -4797,9 +4924,18 @@ export interface MlflowWebhookJobSpec { } export interface ModelServingConfig { + /** + * Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. + */ autoCaptureConfig?: outputs.ModelServingConfigAutoCaptureConfig; + /** + * A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. + */ + servedEntities?: outputs.ModelServingConfigServedEntity[]; /** * 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?: outputs.ModelServingConfigServedModel[]; /** @@ -4809,12 +4945,200 @@ export interface ModelServingConfig { } export interface ModelServingConfigAutoCaptureConfig { + /** + * The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. + */ catalogName?: string; + /** + * If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable again. + */ enabled?: boolean; + /** + * The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + */ schemaName?: string; + /** + * The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. + */ tableNamePrefix?: string; } +export interface ModelServingConfigServedEntity { + /** + * 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; + /** + * The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. + */ + entityVersion?: string; + /** + * 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 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?: {[key: string]: any}; + /** + * 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. For an existing endpoint with `externalModel`, it 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?: outputs.ModelServingConfigServedEntityExternalModel; + /** + * ARN of the instance profile that the served entity uses to access AWS resources. + */ + instanceProfileArn?: string; + /** + * The maximum tokens per second that the endpoint can scale up to. + */ + maxProvisionedThroughput?: number; + /** + * The minimum tokens per second that the endpoint can scale down to. + */ + minProvisionedThroughput?: number; + /** + * The name of the external model. + */ + name: string; + /** + * Whether the compute resources for the served entity should scale down to zero. + */ + scaleToZeroEnabled?: boolean; + /** + * 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; + /** + * 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; +} + +export interface ModelServingConfigServedEntityExternalModel { + /** + * AI21Labs Config + */ + ai21labsConfig?: outputs.ModelServingConfigServedEntityExternalModelAi21labsConfig; + /** + * Amazon Bedrock Config + */ + amazonBedrockConfig?: outputs.ModelServingConfigServedEntityExternalModelAmazonBedrockConfig; + /** + * Anthropic Config + */ + anthropicConfig?: outputs.ModelServingConfigServedEntityExternalModelAnthropicConfig; + /** + * Cohere Config + */ + cohereConfig?: outputs.ModelServingConfigServedEntityExternalModelCohereConfig; + /** + * Databricks Model Serving Config + */ + databricksModelServingConfig?: outputs.ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig; + /** + * The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. + */ + name: string; + /** + * OpenAI Config + */ + openaiConfig?: outputs.ModelServingConfigServedEntityExternalModelOpenaiConfig; + /** + * PaLM Config + */ + palmConfig?: outputs.ModelServingConfigServedEntityExternalModelPalmConfig; + /** + * The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `openai`, and `palm`. + */ + provider: string; + /** + * The task type of the external model. + */ + task: string; +} + +export interface ModelServingConfigServedEntityExternalModelAi21labsConfig { + /** + * The Databricks secret key reference for an AI21Labs API key. + */ + ai21labsApiKey: string; +} + +export interface ModelServingConfigServedEntityExternalModelAmazonBedrockConfig { + /** + * The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. + */ + awsAccessKeyId: string; + /** + * The AWS region to use. Bedrock has to be enabled there. + */ + awsRegion: string; + /** + * 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; + /** + * The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. + */ + bedrockProvider: string; +} + +export interface ModelServingConfigServedEntityExternalModelAnthropicConfig { + /** + * The Databricks secret key reference for an Anthropic API key. + * The Databricks secret key reference for an Anthropic API key. + */ + anthropicApiKey: string; +} + +export interface ModelServingConfigServedEntityExternalModelCohereConfig { + /** + * The Databricks secret key reference for a Cohere API key. + */ + cohereApiKey: string; +} + +export interface ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig { + /** + * 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; + /** + * The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. + */ + databricksWorkspaceUrl: string; +} + +export interface ModelServingConfigServedEntityExternalModelOpenaiConfig { + /** + * 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; + /** + * The Databricks secret key reference for an OpenAI or Azure OpenAI API key. + */ + openaiApiKey: string; + /** + * This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and adjust this parameter to represent the preferred security access validation protocol. For access token validation, use azure. For authentication using Azure Active Directory (Azure AD) use, azuread. + */ + openaiApiType?: 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. + */ + openaiApiVersion?: string; + /** + * This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. + */ + openaiDeploymentName?: string; + /** + * This is an optional field to specify the organization in OpenAI or Azure OpenAI. + */ + openaiOrganization?: string; +} + +export interface ModelServingConfigServedEntityExternalModelPalmConfig { + /** + * The Databricks secret key reference for a PaLM API key. + */ + palmApiKey: string; +} + export interface ModelServingConfigServedModel { /** * a map of environment variable name/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}}`. @@ -4837,11 +5161,11 @@ export interface ModelServingConfigServedModel { */ name: string; /** - * 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`. + * 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?: boolean; /** - * 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). + * 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; /** @@ -4852,15 +5176,12 @@ export interface ModelServingConfigServedModel { export interface ModelServingConfigTrafficConfig { /** - * Each block represents a route that defines traffic to each served model. Each `servedModels` block needs to have a corresponding `routes` block + * Each block represents a route that defines traffic to each served entity. Each `servedEntity` block needs to have a corresponding `routes` block. */ routes?: outputs.ModelServingConfigTrafficConfigRoute[]; } export interface ModelServingConfigTrafficConfigRoute { - /** - * The name of the served model this route configures traffic for. This needs to match the name of a `servedModels` block - */ servedModelName: string; /** * The percentage of endpoint traffic to send to this route. It must be an integer between 0 and 100 inclusive. @@ -4869,13 +5190,28 @@ export interface ModelServingConfigTrafficConfigRoute { } export interface ModelServingRateLimit { + /** + * Used to specify how many calls are allowed for a key within the renewal_period. + */ calls: number; + /** + * 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; + /** + * Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + */ renewalPeriod: string; } export interface ModelServingTag { + /** + * The key field for a tag. + */ key: string; + /** + * The value field for a tag. + */ value?: string; } @@ -5048,6 +5384,103 @@ export interface MwsWorkspacesToken { tokenValue: string; } +export interface OnlineTableSpec { + /** + * 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?: boolean; + /** + * ID of the associated Delta Live Table pipeline. + */ + pipelineId: string; + /** + * list of the columns comprising the primary key. + */ + primaryKeyColumns?: string[]; + /** + * empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `runTriggered`. + */ + runContinuously?: outputs.OnlineTableSpecRunContinuously; + /** + * 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?: outputs.OnlineTableSpecRunTriggered; + /** + * full name of the source table. + */ + sourceTableFullName?: string; + /** + * Time series key to deduplicate (tie-break) rows with the same primary key. + */ + timeseriesKey?: string; +} + +export interface OnlineTableSpecRunContinuously { +} + +export interface OnlineTableSpecRunTriggered { +} + +export interface OnlineTableStatus { + continuousUpdateStatus?: outputs.OnlineTableStatusContinuousUpdateStatus; + /** + * The state of the online table. + */ + detailedState?: string; + failedStatus?: outputs.OnlineTableStatusFailedStatus; + /** + * A text description of the current state of the online table. + */ + message?: string; + provisioningStatus?: outputs.OnlineTableStatusProvisioningStatus; + triggeredUpdateStatus?: outputs.OnlineTableStatusTriggeredUpdateStatus; +} + +export interface OnlineTableStatusContinuousUpdateStatus { + initialPipelineSyncProgress?: outputs.OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress; + lastProcessedCommitVersion?: number; + timestamp?: string; +} + +export interface OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress { + estimatedCompletionTimeSeconds?: number; + latestVersionCurrentlyProcessing?: number; + syncProgressCompletion?: number; + syncedRowCount?: number; + totalRowCount?: number; +} + +export interface OnlineTableStatusFailedStatus { + lastProcessedCommitVersion?: number; + timestamp?: string; +} + +export interface OnlineTableStatusProvisioningStatus { + initialPipelineSyncProgress?: outputs.OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress; +} + +export interface OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress { + estimatedCompletionTimeSeconds?: number; + latestVersionCurrentlyProcessing?: number; + syncProgressCompletion?: number; + syncedRowCount?: number; + totalRowCount?: number; +} + +export interface OnlineTableStatusTriggeredUpdateStatus { + lastProcessedCommitVersion?: number; + timestamp?: string; + triggeredUpdateProgress?: outputs.OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress; +} + +export interface OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress { + estimatedCompletionTimeSeconds?: number; + latestVersionCurrentlyProcessing?: number; + syncProgressCompletion?: number; + syncedRowCount?: number; + totalRowCount?: number; +} + export interface PermissionsAccessControl { /** * name of the group. We recommend setting permissions on groups. @@ -5300,7 +5733,7 @@ export interface ShareObject { */ comment?: string; /** - * Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, `NOTEBOOK_FILE` are supported. + * Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. */ dataObjectType: string; /** @@ -5310,7 +5743,7 @@ export interface ShareObject { */ historyDataSharingStatus?: string; /** - * Full name of the object, e.g. `catalog.schema.name` for a table. + * Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. */ name: string; partitions?: outputs.ShareObjectPartition[]; @@ -5630,19 +6063,13 @@ export interface SqlWidgetPosition { } export interface StorageCredentialAwsIamRole { - /** - * The external ID used in role assumption to prevent confused deputy problem. - */ externalId: 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` - */ - roleArn: string; - /** - * The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. * * `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): */ + roleArn: string; unityCatalogIamArn: string; } @@ -5716,8 +6143,109 @@ export interface VectorSearchEndpointEndpointStatus { */ message?: string; /** - * Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, `OFFLINE`. + * Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. */ state?: string; } +export interface VectorSearchIndexDeltaSyncIndexSpec { + /** + * array of objects representing columns that contain the embedding source. Each entry consists of: + */ + embeddingSourceColumns?: outputs.VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn[]; + /** + * array of objects representing columns that contain the embedding vectors. Each entry consists of: + */ + embeddingVectorColumns?: outputs.VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn[]; + /** + * ID of the associated Delta Live Table pipeline. + */ + pipelineId: string; + /** + * Pipeline execution mode. Possible values are: + */ + pipelineType?: string; + /** + * The name of the source table. + */ + sourceTable?: string; +} + +export interface VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn { + /** + * The name of the embedding model endpoint + */ + embeddingModelEndpointName?: string; + /** + * The name of the column. + */ + name?: string; +} + +export interface VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn { + /** + * Dimension of the embedding vector. + */ + embeddingDimension?: number; + /** + * The name of the column. + */ + name?: string; +} + +export interface VectorSearchIndexDirectAccessIndexSpec { + /** + * array of objects representing columns that contain the embedding source. Each entry consists of: + */ + embeddingSourceColumns?: outputs.VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn[]; + /** + * array of objects representing columns that contain the embedding vectors. Each entry consists of: + */ + embeddingVectorColumns?: outputs.VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn[]; + /** + * 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; +} + +export interface VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn { + /** + * The name of the embedding model endpoint + */ + embeddingModelEndpointName?: string; + /** + * The name of the column. + */ + name?: string; +} + +export interface VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn { + /** + * Dimension of the embedding vector. + */ + embeddingDimension?: number; + /** + * The name of the column. + */ + name?: string; +} + +export interface VectorSearchIndexStatus { + /** + * Index API Url to be used to perform operations on the index + */ + indexUrl?: string; + /** + * Number of rows indexed + */ + indexedRowCount?: number; + /** + * Message associated with the index status + */ + message?: string; + /** + * Whether the index is ready for search + */ + ready?: boolean; +} + diff --git a/sdk/nodejs/user.ts b/sdk/nodejs/user.ts index 446b155b..7b1f9349 100644 --- a/sdk/nodejs/user.ts +++ b/sdk/nodejs/user.ts @@ -11,7 +11,9 @@ import * as utilities from "./utilities"; * * > **Note** Entitlements, like, `allowClusterCreate`, `allowInstancePoolCreate`, `databricksSqlAccess`, `workspaceAccess` applicable only for workspace-level users. Use databricks.Entitlements resource to assign entitlements inside a workspace to account-level users. * - * To create users in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments + * To create users in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments. + * + * The default behavior when deleting a `databricks.User` resource depends on whether the provider is configured at the workspace-level or account-level. When the provider is configured at the workspace-level, the user will be deleted from the workspace. When the provider is configured at the account-level, the user will be deactivated but not deleted. When the provider is configured at the account level, to delete the user from the account when the resource is deleted, set `disableAsUserDeletion = false`. Conversely, when the provider is configured at the account-level, to deactivate the user when the resource is deleted, set `disableAsUserDeletion = true`. * * ## Example Usage * @@ -175,7 +177,7 @@ export class User extends pulumi.CustomResource { */ public readonly databricksSqlAccess!: pulumi.Output; /** - * When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. True by default for accounts SCIM API, false otherwise. + * Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. */ public readonly disableAsUserDeletion!: pulumi.Output; /** @@ -288,7 +290,7 @@ export interface UserState { */ databricksSqlAccess?: pulumi.Input; /** - * When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. True by default for accounts SCIM API, false otherwise. + * Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. */ disableAsUserDeletion?: pulumi.Input; /** @@ -348,7 +350,7 @@ export interface UserArgs { */ databricksSqlAccess?: pulumi.Input; /** - * When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. True by default for accounts SCIM API, false otherwise. + * Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to forceDeleteRepos and forceDeleteHomeDir flags. */ disableAsUserDeletion?: pulumi.Input; /** diff --git a/sdk/nodejs/vectorSearchEndpoint.ts b/sdk/nodejs/vectorSearchEndpoint.ts index 6edc7c9c..c6fc838e 100644 --- a/sdk/nodejs/vectorSearchEndpoint.ts +++ b/sdk/nodejs/vectorSearchEndpoint.ts @@ -73,15 +73,15 @@ export class VectorSearchEndpoint extends pulumi.CustomResource { */ public /*out*/ readonly endpointId!: pulumi.Output; /** - * Object describing the current status of the endpoint consisting of following fields: + * Object describing the current status of the endpoint consisting of the following fields: */ public /*out*/ readonly endpointStatuses!: pulumi.Output; /** - * type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + * Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). */ public readonly endpointType!: pulumi.Output; /** - * Timestamp of last update to the endpoint (milliseconds). + * Timestamp of the last update to the endpoint (milliseconds). */ public /*out*/ readonly lastUpdatedTimestamp!: pulumi.Output; /** @@ -89,7 +89,7 @@ export class VectorSearchEndpoint extends pulumi.CustomResource { */ public /*out*/ readonly lastUpdatedUser!: pulumi.Output; /** - * Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + * Name of the Vector Search Endpoint to create. */ public readonly name!: pulumi.Output; /** @@ -156,15 +156,15 @@ export interface VectorSearchEndpointState { */ endpointId?: pulumi.Input; /** - * Object describing the current status of the endpoint consisting of following fields: + * Object describing the current status of the endpoint consisting of the following fields: */ endpointStatuses?: pulumi.Input[]>; /** - * type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + * Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). */ endpointType?: pulumi.Input; /** - * Timestamp of last update to the endpoint (milliseconds). + * Timestamp of the last update to the endpoint (milliseconds). */ lastUpdatedTimestamp?: pulumi.Input; /** @@ -172,7 +172,7 @@ export interface VectorSearchEndpointState { */ lastUpdatedUser?: pulumi.Input; /** - * Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + * Name of the Vector Search Endpoint to create. */ name?: pulumi.Input; /** @@ -186,11 +186,11 @@ export interface VectorSearchEndpointState { */ export interface VectorSearchEndpointArgs { /** - * type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + * Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). */ endpointType: pulumi.Input; /** - * Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + * Name of the Vector Search Endpoint to create. */ name?: pulumi.Input; } diff --git a/sdk/nodejs/vectorSearchIndex.ts b/sdk/nodejs/vectorSearchIndex.ts new file mode 100644 index 00000000..1525e639 --- /dev/null +++ b/sdk/nodejs/vectorSearchIndex.ts @@ -0,0 +1,220 @@ +// *** 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 resource could be only used on Unity Catalog-enabled workspace! + * + * This resource allows you to create [Vector Search Index](https://docs.databricks.com/en/generative-ai/create-query-vector-search.html) in Databricks. Vector Search is a serverless similarity search engine that allows you to store a vector representation of your data, including metadata, in a vector database. The Vector Search Index provides the ability to search data in the linked Delta Table. + * + * ## Example Usage + * + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const sync = new databricks.VectorSearchIndex("sync", { + * endpointName: databricks_vector_search_endpoint["this"].name, + * primaryKey: "id", + * indexType: "DELTA_SYNC", + * deltaSyncIndexSpec: { + * sourceTable: "main.default.source_table", + * pipelineType: "TRIGGERED", + * embeddingSourceColumns: [{ + * name: "text", + * embeddingModelEndpointName: databricks_model_serving["this"].name, + * }], + * }, + * }); + * ``` + * + * + * ## Import + * + * The resource can be imported using the name of the Vector Search Index + * + * bash + * + * ```sh + * $ pulumi import databricks:index/vectorSearchIndex:VectorSearchIndex this + * ``` + */ +export class VectorSearchIndex extends pulumi.CustomResource { + /** + * Get an existing VectorSearchIndex 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?: VectorSearchIndexState, opts?: pulumi.CustomResourceOptions): VectorSearchIndex { + return new VectorSearchIndex(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'databricks:index/vectorSearchIndex:VectorSearchIndex'; + + /** + * Returns true if the given object is an instance of VectorSearchIndex. 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 VectorSearchIndex { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === VectorSearchIndex.__pulumiType; + } + + /** + * Creator of the endpoint. + */ + public /*out*/ readonly creator!: pulumi.Output; + /** + * Specification for Delta Sync Index. Required if `indexType` is `DELTA_SYNC`. + */ + public readonly deltaSyncIndexSpec!: pulumi.Output; + /** + * Specification for Direct Vector Access Index. Required if `indexType` is `DIRECT_ACCESS`. + */ + public readonly directAccessIndexSpec!: pulumi.Output; + /** + * The name of the Vector Search Endpoint that will be used for indexing the data. + */ + public readonly endpointName!: pulumi.Output; + /** + * Vector Search index type. Currently supported values are: + */ + public readonly indexType!: pulumi.Output; + /** + * The name of the column. + */ + public readonly name!: pulumi.Output; + /** + * The column name that will be used as a primary key. + */ + public readonly primaryKey!: pulumi.Output; + /** + * Object describing the current status of the index consisting of the following fields: + */ + public /*out*/ readonly statuses!: pulumi.Output; + + /** + * Create a VectorSearchIndex 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: VectorSearchIndexArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: VectorSearchIndexArgs | VectorSearchIndexState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as VectorSearchIndexState | undefined; + resourceInputs["creator"] = state ? state.creator : undefined; + resourceInputs["deltaSyncIndexSpec"] = state ? state.deltaSyncIndexSpec : undefined; + resourceInputs["directAccessIndexSpec"] = state ? state.directAccessIndexSpec : undefined; + resourceInputs["endpointName"] = state ? state.endpointName : undefined; + resourceInputs["indexType"] = state ? state.indexType : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["primaryKey"] = state ? state.primaryKey : undefined; + resourceInputs["statuses"] = state ? state.statuses : undefined; + } else { + const args = argsOrState as VectorSearchIndexArgs | undefined; + if ((!args || args.endpointName === undefined) && !opts.urn) { + throw new Error("Missing required property 'endpointName'"); + } + if ((!args || args.indexType === undefined) && !opts.urn) { + throw new Error("Missing required property 'indexType'"); + } + if ((!args || args.primaryKey === undefined) && !opts.urn) { + throw new Error("Missing required property 'primaryKey'"); + } + resourceInputs["deltaSyncIndexSpec"] = args ? args.deltaSyncIndexSpec : undefined; + resourceInputs["directAccessIndexSpec"] = args ? args.directAccessIndexSpec : undefined; + resourceInputs["endpointName"] = args ? args.endpointName : undefined; + resourceInputs["indexType"] = args ? args.indexType : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["primaryKey"] = args ? args.primaryKey : undefined; + resourceInputs["creator"] = undefined /*out*/; + resourceInputs["statuses"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(VectorSearchIndex.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering VectorSearchIndex resources. + */ +export interface VectorSearchIndexState { + /** + * Creator of the endpoint. + */ + creator?: pulumi.Input; + /** + * Specification for Delta Sync Index. Required if `indexType` is `DELTA_SYNC`. + */ + deltaSyncIndexSpec?: pulumi.Input; + /** + * Specification for Direct Vector Access Index. Required if `indexType` is `DIRECT_ACCESS`. + */ + directAccessIndexSpec?: pulumi.Input; + /** + * The name of the Vector Search Endpoint that will be used for indexing the data. + */ + endpointName?: pulumi.Input; + /** + * Vector Search index type. Currently supported values are: + */ + indexType?: pulumi.Input; + /** + * The name of the column. + */ + name?: pulumi.Input; + /** + * The column name that will be used as a primary key. + */ + primaryKey?: pulumi.Input; + /** + * Object describing the current status of the index consisting of the following fields: + */ + statuses?: pulumi.Input[]>; +} + +/** + * The set of arguments for constructing a VectorSearchIndex resource. + */ +export interface VectorSearchIndexArgs { + /** + * Specification for Delta Sync Index. Required if `indexType` is `DELTA_SYNC`. + */ + deltaSyncIndexSpec?: pulumi.Input; + /** + * Specification for Direct Vector Access Index. Required if `indexType` is `DIRECT_ACCESS`. + */ + directAccessIndexSpec?: pulumi.Input; + /** + * The name of the Vector Search Endpoint that will be used for indexing the data. + */ + endpointName: pulumi.Input; + /** + * Vector Search index type. Currently supported values are: + */ + indexType: pulumi.Input; + /** + * The name of the column. + */ + name?: pulumi.Input; + /** + * The column name that will be used as a primary key. + */ + primaryKey: pulumi.Input; +} diff --git a/sdk/python/pulumi_databricks/__init__.py b/sdk/python/pulumi_databricks/__init__.py index e7edc2c1..fa8f85e9 100644 --- a/sdk/python/pulumi_databricks/__init__.py +++ b/sdk/python/pulumi_databricks/__init__.py @@ -73,6 +73,7 @@ from .instance_profile import * from .ip_access_list import * from .job import * +from .lakehouse_monitor import * from .library import * from .metastore import * from .metastore_assignment import * @@ -94,6 +95,7 @@ from .mws_workspaces import * from .notebook import * from .obo_token import * +from .online_table import * from .permission_assignment import * from .permissions import * from .pipeline import * @@ -127,6 +129,7 @@ from .user_instance_profile import * from .user_role import * from .vector_search_endpoint import * +from .vector_search_index import * from .volume import * from .workspace_conf import * from .workspace_file import * @@ -343,6 +346,14 @@ "databricks:index/job:Job": "Job" } }, + { + "pkg": "databricks", + "mod": "index/lakehouseMonitor", + "fqn": "pulumi_databricks", + "classes": { + "databricks:index/lakehouseMonitor:LakehouseMonitor": "LakehouseMonitor" + } + }, { "pkg": "databricks", "mod": "index/library", @@ -511,6 +522,14 @@ "databricks:index/oboToken:OboToken": "OboToken" } }, + { + "pkg": "databricks", + "mod": "index/onlineTable", + "fqn": "pulumi_databricks", + "classes": { + "databricks:index/onlineTable:OnlineTable": "OnlineTable" + } + }, { "pkg": "databricks", "mod": "index/permissionAssignment", @@ -767,6 +786,14 @@ "databricks:index/vectorSearchEndpoint:VectorSearchEndpoint": "VectorSearchEndpoint" } }, + { + "pkg": "databricks", + "mod": "index/vectorSearchIndex", + "fqn": "pulumi_databricks", + "classes": { + "databricks:index/vectorSearchIndex:VectorSearchIndex": "VectorSearchIndex" + } + }, { "pkg": "databricks", "mod": "index/volume", diff --git a/sdk/python/pulumi_databricks/_inputs.py b/sdk/python/pulumi_databricks/_inputs.py index 3ff5a631..cf4437ca 100644 --- a/sdk/python/pulumi_databricks/_inputs.py +++ b/sdk/python/pulumi_databricks/_inputs.py @@ -237,11 +237,20 @@ 'JobTaskWebhookNotificationsOnSuccessArgs', 'JobTriggerArgs', 'JobTriggerFileArrivalArgs', + 'JobTriggerTableUpdateArgs', 'JobWebhookNotificationsArgs', 'JobWebhookNotificationsOnDurationWarningThresholdExceededArgs', 'JobWebhookNotificationsOnFailureArgs', 'JobWebhookNotificationsOnStartArgs', 'JobWebhookNotificationsOnSuccessArgs', + 'LakehouseMonitorCustomMetricArgs', + 'LakehouseMonitorDataClassificationConfigArgs', + 'LakehouseMonitorInferenceLogArgs', + 'LakehouseMonitorNotificationsArgs', + 'LakehouseMonitorNotificationsOnFailureArgs', + 'LakehouseMonitorScheduleArgs', + 'LakehouseMonitorSnapshotArgs', + 'LakehouseMonitorTimeSeriesArgs', 'LibraryCranArgs', 'LibraryMavenArgs', 'LibraryPypiArgs', @@ -255,6 +264,15 @@ 'MlflowWebhookJobSpecArgs', 'ModelServingConfigArgs', 'ModelServingConfigAutoCaptureConfigArgs', + 'ModelServingConfigServedEntityArgs', + 'ModelServingConfigServedEntityExternalModelArgs', + 'ModelServingConfigServedEntityExternalModelAi21labsConfigArgs', + 'ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs', + 'ModelServingConfigServedEntityExternalModelAnthropicConfigArgs', + 'ModelServingConfigServedEntityExternalModelCohereConfigArgs', + 'ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs', + 'ModelServingConfigServedEntityExternalModelOpenaiConfigArgs', + 'ModelServingConfigServedEntityExternalModelPalmConfigArgs', 'ModelServingConfigServedModelArgs', 'ModelServingConfigTrafficConfigArgs', 'ModelServingConfigTrafficConfigRouteArgs', @@ -277,6 +295,17 @@ 'MwsWorkspacesGcpManagedNetworkConfigArgs', 'MwsWorkspacesGkeConfigArgs', 'MwsWorkspacesTokenArgs', + 'OnlineTableSpecArgs', + 'OnlineTableSpecRunContinuouslyArgs', + 'OnlineTableSpecRunTriggeredArgs', + 'OnlineTableStatusArgs', + 'OnlineTableStatusContinuousUpdateStatusArgs', + 'OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs', + 'OnlineTableStatusFailedStatusArgs', + 'OnlineTableStatusProvisioningStatusArgs', + 'OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs', + 'OnlineTableStatusTriggeredUpdateStatusArgs', + 'OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs', 'PermissionsAccessControlArgs', 'PipelineClusterArgs', 'PipelineClusterAutoscaleArgs', @@ -346,6 +375,13 @@ 'StorageCredentialGcpServiceAccountKeyArgs', 'TableColumnArgs', 'VectorSearchEndpointEndpointStatusArgs', + 'VectorSearchIndexDeltaSyncIndexSpecArgs', + 'VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs', + 'VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs', + 'VectorSearchIndexDirectAccessIndexSpecArgs', + 'VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs', + 'VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs', + 'VectorSearchIndexStatusArgs', 'GetClusterClusterInfoArgs', 'GetClusterClusterInfoAutoscaleArgs', 'GetClusterClusterInfoAwsAttributesArgs', @@ -567,6 +603,7 @@ 'GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs', 'GetJobJobSettingsSettingsTriggerArgs', 'GetJobJobSettingsSettingsTriggerFileArrivalArgs', + 'GetJobJobSettingsSettingsTriggerTableUpdateArgs', 'GetJobJobSettingsSettingsWebhookNotificationsArgs', 'GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs', 'GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs', @@ -6593,7 +6630,7 @@ def __init__(__self__, *, :param pulumi.Input['JobTaskEmailNotificationsArgs'] email_notifications: (List) An optional set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below. :param pulumi.Input['JobTaskHealthArgs'] health: block described below that specifies health conditions for a given task. :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[Sequence[pulumi.Input['JobTaskLibraryArgs']]] libraries: (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + :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: Same set of parameters as for Cluster resource. @@ -6771,7 +6808,7 @@ def job_cluster_key(self, value: Optional[pulumi.Input[str]]): @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. Please consult libraries section for Cluster resource. + (Set) An optional list of libraries to be installed on the cluster that will execute the job. """ return pulumi.get(self, "libraries") @@ -6964,9 +7001,9 @@ def webhook_notifications(self, value: Optional[pulumi.Input['JobTaskWebhookNoti @pulumi.input_type class JobTaskConditionTaskArgs: def __init__(__self__, *, - left: Optional[pulumi.Input[str]] = None, - op: Optional[pulumi.Input[str]] = None, - right: Optional[pulumi.Input[str]] = None): + 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). @@ -6974,28 +7011,25 @@ def __init__(__self__, *, 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. """ - if left is not None: - pulumi.set(__self__, "left", left) - if op is not None: - pulumi.set(__self__, "op", op) - if right is not None: - pulumi.set(__self__, "right", right) + pulumi.set(__self__, "left", left) + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "right", right) @property @pulumi.getter - def left(self) -> Optional[pulumi.Input[str]]: + 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: Optional[pulumi.Input[str]]): + def left(self, value: pulumi.Input[str]): pulumi.set(self, "left", value) @property @pulumi.getter - def op(self) -> Optional[pulumi.Input[str]]: + 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). @@ -7004,19 +7038,19 @@ def op(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "op") @op.setter - def op(self, value: Optional[pulumi.Input[str]]): + def op(self, value: pulumi.Input[str]): pulumi.set(self, "op", value) @property @pulumi.getter - def right(self) -> Optional[pulumi.Input[str]]: + 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: Optional[pulumi.Input[str]]): + def right(self, value: pulumi.Input[str]): pulumi.set(self, "right", value) @@ -7187,16 +7221,20 @@ def outcome(self, value: Optional[pulumi.Input[str]]): @pulumi.input_type class JobTaskEmailNotificationsArgs: 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_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. :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: @@ -7206,6 +7244,18 @@ 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[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]]]]: @@ -7344,7 +7394,7 @@ def __init__(__self__, *, :param pulumi.Input['JobTaskForEachTaskTaskEmailNotificationsArgs'] email_notifications: (List) An optional set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below. :param pulumi.Input['JobTaskForEachTaskTaskHealthArgs'] health: block described below that specifies health conditions for a given task. :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[Sequence[pulumi.Input['JobTaskForEachTaskTaskLibraryArgs']]] libraries: (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + :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: Same set of parameters as for Cluster resource. @@ -7511,7 +7561,7 @@ def job_cluster_key(self, value: Optional[pulumi.Input[str]]): @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. Please consult libraries section for Cluster resource. + (Set) An optional list of libraries to be installed on the cluster that will execute the job. """ return pulumi.get(self, "libraries") @@ -7704,9 +7754,9 @@ def webhook_notifications(self, value: Optional[pulumi.Input['JobTaskForEachTask @pulumi.input_type class JobTaskForEachTaskTaskConditionTaskArgs: def __init__(__self__, *, - left: Optional[pulumi.Input[str]] = None, - op: Optional[pulumi.Input[str]] = None, - right: Optional[pulumi.Input[str]] = None): + 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). @@ -7714,28 +7764,25 @@ def __init__(__self__, *, 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. """ - if left is not None: - pulumi.set(__self__, "left", left) - if op is not None: - pulumi.set(__self__, "op", op) - if right is not None: - pulumi.set(__self__, "right", right) + pulumi.set(__self__, "left", left) + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "right", right) @property @pulumi.getter - def left(self) -> Optional[pulumi.Input[str]]: + 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: Optional[pulumi.Input[str]]): + def left(self, value: pulumi.Input[str]): pulumi.set(self, "left", value) @property @pulumi.getter - def op(self) -> Optional[pulumi.Input[str]]: + 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). @@ -7744,19 +7791,19 @@ def op(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "op") @op.setter - def op(self, value: Optional[pulumi.Input[str]]): + def op(self, value: pulumi.Input[str]): pulumi.set(self, "op", value) @property @pulumi.getter - def right(self) -> Optional[pulumi.Input[str]]: + 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: Optional[pulumi.Input[str]]): + def right(self, value: pulumi.Input[str]): pulumi.set(self, "right", value) @@ -7927,16 +7974,20 @@ def outcome(self, value: Optional[pulumi.Input[str]]): @pulumi.input_type class JobTaskForEachTaskTaskEmailNotificationsArgs: 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_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. :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: @@ -7946,6 +7997,18 @@ 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[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]]]]: @@ -10367,18 +10430,17 @@ def on_successes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTa @pulumi.input_type class JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs: def __init__(__self__, *, - id: Optional[pulumi.Input[str]] = None): + id: pulumi.Input[str]): """ :param pulumi.Input[str] id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[pulumi.Input[str]]: + def id(self) -> pulumi.Input[str]: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -10387,25 +10449,24 @@ def id(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "id") @id.setter - def id(self, value: Optional[pulumi.Input[str]]): + def id(self, value: pulumi.Input[str]): pulumi.set(self, "id", value) @pulumi.input_type class JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs: def __init__(__self__, *, - id: Optional[pulumi.Input[str]] = None): + id: pulumi.Input[str]): """ :param pulumi.Input[str] id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[pulumi.Input[str]]: + def id(self) -> pulumi.Input[str]: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -10414,25 +10475,24 @@ def id(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "id") @id.setter - def id(self, value: Optional[pulumi.Input[str]]): + def id(self, value: pulumi.Input[str]): pulumi.set(self, "id", value) @pulumi.input_type class JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs: def __init__(__self__, *, - id: Optional[pulumi.Input[str]] = None): + id: pulumi.Input[str]): """ :param pulumi.Input[str] id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[pulumi.Input[str]]: + def id(self) -> pulumi.Input[str]: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -10441,25 +10501,24 @@ def id(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "id") @id.setter - def id(self, value: Optional[pulumi.Input[str]]): + def id(self, value: pulumi.Input[str]): pulumi.set(self, "id", value) @pulumi.input_type class JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs: def __init__(__self__, *, - id: Optional[pulumi.Input[str]] = None): + id: pulumi.Input[str]): """ :param pulumi.Input[str] id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[pulumi.Input[str]]: + def id(self) -> pulumi.Input[str]: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -10468,7 +10527,7 @@ def id(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "id") @id.setter - def id(self, value: Optional[pulumi.Input[str]]): + def id(self, value: pulumi.Input[str]): pulumi.set(self, "id", value) @@ -12851,18 +12910,17 @@ def on_successes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTa @pulumi.input_type class JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs: def __init__(__self__, *, - id: Optional[pulumi.Input[str]] = None): + id: pulumi.Input[str]): """ :param pulumi.Input[str] id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[pulumi.Input[str]]: + def id(self) -> pulumi.Input[str]: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -12871,25 +12929,24 @@ def id(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "id") @id.setter - def id(self, value: Optional[pulumi.Input[str]]): + def id(self, value: pulumi.Input[str]): pulumi.set(self, "id", value) @pulumi.input_type class JobTaskWebhookNotificationsOnFailureArgs: def __init__(__self__, *, - id: Optional[pulumi.Input[str]] = None): + id: pulumi.Input[str]): """ :param pulumi.Input[str] id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[pulumi.Input[str]]: + def id(self) -> pulumi.Input[str]: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -12898,25 +12955,24 @@ def id(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "id") @id.setter - def id(self, value: Optional[pulumi.Input[str]]): + def id(self, value: pulumi.Input[str]): pulumi.set(self, "id", value) @pulumi.input_type class JobTaskWebhookNotificationsOnStartArgs: def __init__(__self__, *, - id: Optional[pulumi.Input[str]] = None): + id: pulumi.Input[str]): """ :param pulumi.Input[str] id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[pulumi.Input[str]]: + def id(self) -> pulumi.Input[str]: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -12925,25 +12981,24 @@ def id(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "id") @id.setter - def id(self, value: Optional[pulumi.Input[str]]): + def id(self, value: pulumi.Input[str]): pulumi.set(self, "id", value) @pulumi.input_type class JobTaskWebhookNotificationsOnSuccessArgs: def __init__(__self__, *, - id: Optional[pulumi.Input[str]] = None): + id: pulumi.Input[str]): """ :param pulumi.Input[str] id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[pulumi.Input[str]]: + def id(self) -> pulumi.Input[str]: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -12952,33 +13007,38 @@ def id(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "id") @id.setter - def id(self, value: Optional[pulumi.Input[str]]): + def id(self, value: pulumi.Input[str]): pulumi.set(self, "id", value) @pulumi.input_type class JobTriggerArgs: def __init__(__self__, *, - file_arrival: pulumi.Input['JobTriggerFileArrivalArgs'], - pause_status: Optional[pulumi.Input[str]] = None): + file_arrival: Optional[pulumi.Input['JobTriggerFileArrivalArgs']] = None, + pause_status: Optional[pulumi.Input[str]] = 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['JobTriggerTableUpdateArgs'] table_update: configuration block to define a trigger for Table Update events consisting of following attributes: """ - pulumi.set(__self__, "file_arrival", file_arrival) + 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 table_update is not None: + pulumi.set(__self__, "table_update", table_update) @property @pulumi.getter(name="fileArrival") - def file_arrival(self) -> pulumi.Input['JobTriggerFileArrivalArgs']: + 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") @file_arrival.setter - def file_arrival(self, value: pulumi.Input['JobTriggerFileArrivalArgs']): + def file_arrival(self, value: Optional[pulumi.Input['JobTriggerFileArrivalArgs']]): pulumi.set(self, "file_arrival", value) @property @@ -12993,6 +13053,18 @@ def pause_status(self) -> Optional[pulumi.Input[str]]: def pause_status(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "pause_status", value) + @property + @pulumi.getter(name="tableUpdate") + def table_update(self) -> Optional[pulumi.Input['JobTriggerTableUpdateArgs']]: + """ + configuration block to define a trigger for Table Update events consisting of following attributes: + """ + 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.input_type class JobTriggerFileArrivalArgs: @@ -13048,6 +13120,76 @@ def wait_after_last_change_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "wait_after_last_change_seconds", value) +@pulumi.input_type +class JobTriggerTableUpdateArgs: + 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[Sequence[pulumi.Input[str]]] table_names: A list of Delta tables to monitor for changes. The table name must be in the format `catalog_name.schema_name.table_name`. + :param pulumi.Input[str] condition: The table(s) condition based on which to trigger a job run. Valid values are `ANY_UPDATED` or `ALL_UPDATED`. + :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) + + @property + @pulumi.getter(name="tableNames") + def table_names(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + A list of Delta tables to monitor for changes. The table name must be in the format `catalog_name.schema_name.table_name`. + """ + 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 condition(self) -> Optional[pulumi.Input[str]]: + """ + The table(s) condition based on which to trigger a job run. Valid values are `ANY_UPDATED` or `ALL_UPDATED`. + """ + return pulumi.get(self, "condition") + + @condition.setter + def condition(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "condition", 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) + + @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") + + @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) + + @pulumi.input_type class JobWebhookNotificationsArgs: def __init__(__self__, *, @@ -13142,18 +13284,17 @@ def on_successes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobWe @pulumi.input_type class JobWebhookNotificationsOnDurationWarningThresholdExceededArgs: def __init__(__self__, *, - id: Optional[pulumi.Input[str]] = None): + id: pulumi.Input[str]): """ :param pulumi.Input[str] id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[pulumi.Input[str]]: + def id(self) -> pulumi.Input[str]: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -13162,25 +13303,24 @@ def id(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "id") @id.setter - def id(self, value: Optional[pulumi.Input[str]]): + def id(self, value: pulumi.Input[str]): pulumi.set(self, "id", value) @pulumi.input_type class JobWebhookNotificationsOnFailureArgs: def __init__(__self__, *, - id: Optional[pulumi.Input[str]] = None): + id: pulumi.Input[str]): """ :param pulumi.Input[str] id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[pulumi.Input[str]]: + def id(self) -> pulumi.Input[str]: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -13189,25 +13329,24 @@ def id(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "id") @id.setter - def id(self, value: Optional[pulumi.Input[str]]): + def id(self, value: pulumi.Input[str]): pulumi.set(self, "id", value) @pulumi.input_type class JobWebhookNotificationsOnStartArgs: def __init__(__self__, *, - id: Optional[pulumi.Input[str]] = None): + id: pulumi.Input[str]): """ :param pulumi.Input[str] id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[pulumi.Input[str]]: + def id(self) -> pulumi.Input[str]: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -13216,25 +13355,24 @@ def id(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "id") @id.setter - def id(self, value: Optional[pulumi.Input[str]]): + def id(self, value: pulumi.Input[str]): pulumi.set(self, "id", value) @pulumi.input_type class JobWebhookNotificationsOnSuccessArgs: def __init__(__self__, *, - id: Optional[pulumi.Input[str]] = None): + id: pulumi.Input[str]): """ :param pulumi.Input[str] id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[pulumi.Input[str]]: + def id(self) -> pulumi.Input[str]: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -13243,110 +13381,453 @@ def id(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "id") @id.setter - def id(self, value: Optional[pulumi.Input[str]]): + def id(self, value: pulumi.Input[str]): pulumi.set(self, "id", value) @pulumi.input_type -class LibraryCranArgs: +class LakehouseMonitorCustomMetricArgs: 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) + definition: Optional[pulumi.Input[str]] = None, + input_columns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + output_data_type: Optional[pulumi.Input[str]] = None, + type: Optional[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. + """ + if definition is not None: + pulumi.set(__self__, "definition", definition) + if input_columns is not None: + pulumi.set(__self__, "input_columns", input_columns) + if name is not None: + pulumi.set(__self__, "name", name) + if output_data_type is not None: + pulumi.set(__self__, "output_data_type", output_data_type) + if type is not None: + pulumi.set(__self__, "type", type) @property @pulumi.getter - def package(self) -> pulumi.Input[str]: - return pulumi.get(self, "package") + def definition(self) -> Optional[pulumi.Input[str]]: + """ + [create metric definition]: https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition + """ + return pulumi.get(self, "definition") - @package.setter - def package(self, value: pulumi.Input[str]): - pulumi.set(self, "package", value) + @definition.setter + def definition(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "definition", 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="inputColumns") + def input_columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Columns on the monitored table to apply the custom metrics to. + """ + return pulumi.get(self, "input_columns") -@pulumi.input_type -class LibraryMavenArgs: - 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) + @input_columns.setter + def input_columns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "input_columns", value) @property @pulumi.getter - def coordinates(self) -> pulumi.Input[str]: - return pulumi.get(self, "coordinates") + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the custom metric. + """ + return pulumi.get(self, "name") - @coordinates.setter - def coordinates(self, value: pulumi.Input[str]): - pulumi.set(self, "coordinates", value) + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) @property - @pulumi.getter - def exclusions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "exclusions") + @pulumi.getter(name="outputDataType") + def output_data_type(self) -> Optional[pulumi.Input[str]]: + """ + The output type of the custom metric. + """ + return pulumi.get(self, "output_data_type") - @exclusions.setter - def exclusions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "exclusions", value) + @output_data_type.setter + def output_data_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "output_data_type", value) @property @pulumi.getter - def repo(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "repo") + def type(self) -> Optional[pulumi.Input[str]]: + """ + The type of the custom metric. + """ + return pulumi.get(self, "type") - @repo.setter - def repo(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "repo", value) + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) @pulumi.input_type -class LibraryPypiArgs: +class LakehouseMonitorDataClassificationConfigArgs: 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) + enabled: Optional[pulumi.Input[bool]] = None): + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) @property @pulumi.getter - def repo(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "repo") + def enabled(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enabled") - @repo.setter - def repo(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "repo", value) + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) @pulumi.input_type -class MetastoreDataAccessAwsIamRoleArgs: +class LakehouseMonitorInferenceLogArgs: def __init__(__self__, *, - role_arn: pulumi.Input[str], + granularities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + label_col: Optional[pulumi.Input[str]] = None, + model_id_col: Optional[pulumi.Input[str]] = None, + prediction_col: Optional[pulumi.Input[str]] = None, + prediction_proba_col: Optional[pulumi.Input[str]] = None, + problem_type: Optional[pulumi.Input[str]] = None, + timestamp_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] label_col: Column of the model label + :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] prediction_proba_col: Column of the model prediction probabilities + :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 + """ + if granularities is not None: + pulumi.set(__self__, "granularities", granularities) + if label_col is not None: + pulumi.set(__self__, "label_col", label_col) + if model_id_col is not None: + pulumi.set(__self__, "model_id_col", model_id_col) + if prediction_col is not None: + pulumi.set(__self__, "prediction_col", prediction_col) + if prediction_proba_col is not None: + pulumi.set(__self__, "prediction_proba_col", prediction_proba_col) + if problem_type is not None: + pulumi.set(__self__, "problem_type", problem_type) + if timestamp_col is not None: + pulumi.set(__self__, "timestamp_col", timestamp_col) + + @property + @pulumi.getter + def granularities(self) -> Optional[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") + + @granularities.setter + def granularities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "granularities", 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="modelIdCol") + def model_id_col(self) -> Optional[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: Optional[pulumi.Input[str]]): + pulumi.set(self, "model_id_col", value) + + @property + @pulumi.getter(name="predictionCol") + def prediction_col(self) -> Optional[pulumi.Input[str]]: + """ + Column of the model prediction + """ + return pulumi.get(self, "prediction_col") + + @prediction_col.setter + def prediction_col(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "prediction_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) + + @property + @pulumi.getter(name="problemType") + def problem_type(self) -> Optional[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: Optional[pulumi.Input[str]]): + pulumi.set(self, "problem_type", value) + + @property + @pulumi.getter(name="timestampCol") + def timestamp_col(self) -> Optional[pulumi.Input[str]]: + """ + Column of the timestamp of predictions + """ + return pulumi.get(self, "timestamp_col") + + @timestamp_col.setter + def timestamp_col(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "timestamp_col", value) + + +@pulumi.input_type +class LakehouseMonitorNotificationsArgs: + def __init__(__self__, *, + on_failure: Optional[pulumi.Input['LakehouseMonitorNotificationsOnFailureArgs']] = None): + if on_failure is not None: + pulumi.set(__self__, "on_failure", on_failure) + + @property + @pulumi.getter(name="onFailure") + def on_failure(self) -> Optional[pulumi.Input['LakehouseMonitorNotificationsOnFailureArgs']]: + return pulumi.get(self, "on_failure") + + @on_failure.setter + def on_failure(self, value: Optional[pulumi.Input['LakehouseMonitorNotificationsOnFailureArgs']]): + pulumi.set(self, "on_failure", value) + + +@pulumi.input_type +class LakehouseMonitorNotificationsOnFailureArgs: + 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="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.input_type +class LakehouseMonitorScheduleArgs: + def __init__(__self__, *, + pause_status: Optional[pulumi.Input[str]] = None, + quartz_cron_expression: Optional[pulumi.Input[str]] = None, + timezone_id: Optional[pulumi.Input[str]] = None): + if pause_status is not None: + pulumi.set(__self__, "pause_status", pause_status) + if quartz_cron_expression is not None: + pulumi.set(__self__, "quartz_cron_expression", quartz_cron_expression) + if timezone_id is not None: + pulumi.set(__self__, "timezone_id", timezone_id) + + @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) + + @property + @pulumi.getter(name="quartzCronExpression") + def quartz_cron_expression(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "quartz_cron_expression") + + @quartz_cron_expression.setter + def quartz_cron_expression(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "quartz_cron_expression", value) + + @property + @pulumi.getter(name="timezoneId") + def timezone_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "timezone_id") + + @timezone_id.setter + def timezone_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "timezone_id", value) + + +@pulumi.input_type +class LakehouseMonitorSnapshotArgs: + def __init__(__self__): + pass + + +@pulumi.input_type +class LakehouseMonitorTimeSeriesArgs: + def __init__(__self__, *, + granularities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + timestamp_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] timestamp_col: Column of the timestamp of predictions + """ + if granularities is not None: + pulumi.set(__self__, "granularities", granularities) + if timestamp_col is not None: + pulumi.set(__self__, "timestamp_col", timestamp_col) + + @property + @pulumi.getter + def granularities(self) -> Optional[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") + + @granularities.setter + def granularities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "granularities", value) + + @property + @pulumi.getter(name="timestampCol") + def timestamp_col(self) -> Optional[pulumi.Input[str]]: + """ + Column of the timestamp of predictions + """ + return pulumi.get(self, "timestamp_col") + + @timestamp_col.setter + def timestamp_col(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "timestamp_col", 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 package(self) -> pulumi.Input[str]: + return pulumi.get(self, "package") + + @package.setter + def package(self, value: pulumi.Input[str]): + pulumi.set(self, "package", 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.input_type +class LibraryMavenArgs: + 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) + + +@pulumi.input_type +class LibraryPypiArgs: + 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) + + @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.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) @@ -13684,14 +14165,22 @@ def workspace_url(self, value: Optional[pulumi.Input[str]]): class ModelServingConfigArgs: 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): """ + :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 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: @@ -13700,18 +14189,36 @@ def __init__(__self__, *, @property @pulumi.getter(name="autoCaptureConfig") def auto_capture_config(self) -> Optional[pulumi.Input['ModelServingConfigAutoCaptureConfigArgs']]: + """ + Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. + """ return pulumi.get(self, "auto_capture_config") @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="servedEntities") + def served_entities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedEntityArgs']]]]: + """ + A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. + """ + 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) + @property @pulumi.getter(name="servedModels") def served_models(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedModelArgs']]]]: """ Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. """ + 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'.""") + return pulumi.get(self, "served_models") @served_models.setter @@ -13738,6 +14245,12 @@ def __init__(__self__, *, 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] 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 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 catalog_name is not None: pulumi.set(__self__, "catalog_name", catalog_name) if enabled is not None: @@ -13748,40 +14261,695 @@ def __init__(__self__, *, pulumi.set(__self__, "table_name_prefix", table_name_prefix) @property - @pulumi.getter(name="catalogName") - def catalog_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "catalog_name") + @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 enabled(self) -> Optional[pulumi.Input[bool]]: + """ + If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable again. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", 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") + + @schema_name.setter + def schema_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "schema_name", value) + + @property + @pulumi.getter(name="tableNamePrefix") + def table_name_prefix(self) -> Optional[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. + """ + return pulumi.get(self, "table_name_prefix") + + @table_name_prefix.setter + def table_name_prefix(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "table_name_prefix", value) + + +@pulumi.input_type +class ModelServingConfigServedEntityArgs: + def __init__(__self__, *, + entity_name: Optional[pulumi.Input[str]] = None, + entity_version: Optional[pulumi.Input[str]] = None, + environment_vars: Optional[pulumi.Input[Mapping[str, Any]]] = 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, Any]] 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 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. For an existing endpoint with `external_model`, it 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 the external model. + :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, Any]]]: + """ + 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 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, Any]]]): + 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. For an existing endpoint with `external_model`, it 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]]: + """ + ARN of the instance profile that the served entity uses 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) + + @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") + + @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="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") + + @min_provisioned_throughput.setter + def min_provisioned_throughput(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "min_provisioned_throughput", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the external model. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="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") + + @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="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") + + @workload_size.setter + def workload_size(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "workload_size", value) + + @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") + + @workload_type.setter + def workload_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "workload_type", value) + + +@pulumi.input_type +class ModelServingConfigServedEntityExternalModelArgs: + 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, + openai_config: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelOpenaiConfigArgs']] = None, + palm_config: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelPalmConfigArgs']] = None): + """ + :param pulumi.Input[str] name: The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. + :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`, `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['ModelServingConfigServedEntityExternalModelOpenaiConfigArgs'] openai_config: OpenAI Config + :param pulumi.Input['ModelServingConfigServedEntityExternalModelPalmConfigArgs'] palm_config: PaLM Config + """ + 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 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 + def name(self) -> pulumi.Input[str]: + """ + The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def provider(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`, `openai`, and `palm`. + """ + return pulumi.get(self, "provider") + + @provider.setter + def provider(self, value: pulumi.Input[str]): + pulumi.set(self, "provider", value) + + @property + @pulumi.getter + def task(self) -> pulumi.Input[str]: + """ + The task type of the external model. + """ + return pulumi.get(self, "task") + + @task.setter + def task(self, value: pulumi.Input[str]): + pulumi.set(self, "task", value) + + @property + @pulumi.getter(name="ai21labsConfig") + def ai21labs_config(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAi21labsConfigArgs']]: + """ + AI21Labs Config + """ + return pulumi.get(self, "ai21labs_config") + + @ai21labs_config.setter + def ai21labs_config(self, value: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAi21labsConfigArgs']]): + pulumi.set(self, "ai21labs_config", value) + + @property + @pulumi.getter(name="amazonBedrockConfig") + def amazon_bedrock_config(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs']]: + """ + Amazon Bedrock Config + """ + return pulumi.get(self, "amazon_bedrock_config") + + @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="anthropicConfig") + def anthropic_config(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAnthropicConfigArgs']]: + """ + Anthropic Config + """ + return pulumi.get(self, "anthropic_config") + + @anthropic_config.setter + def anthropic_config(self, value: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAnthropicConfigArgs']]): + pulumi.set(self, "anthropic_config", value) + + @property + @pulumi.getter(name="cohereConfig") + def cohere_config(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelCohereConfigArgs']]: + """ + Cohere Config + """ + return pulumi.get(self, "cohere_config") + + @cohere_config.setter + def cohere_config(self, value: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelCohereConfigArgs']]): + pulumi.set(self, "cohere_config", value) + + @property + @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) + + @property + @pulumi.getter(name="openaiConfig") + def openai_config(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelOpenaiConfigArgs']]: + """ + OpenAI Config + """ + 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']]: + """ + 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) + + +@pulumi.input_type +class ModelServingConfigServedEntityExternalModelAi21labsConfigArgs: + def __init__(__self__, *, + ai21labs_api_key: pulumi.Input[str]): + """ + :param pulumi.Input[str] ai21labs_api_key: The Databricks secret key reference for an AI21Labs API key. + """ + pulumi.set(__self__, "ai21labs_api_key", ai21labs_api_key) + + @property + @pulumi.getter(name="ai21labsApiKey") + def ai21labs_api_key(self) -> pulumi.Input[str]: + """ + The Databricks secret key reference for an AI21Labs API key. + """ + return pulumi.get(self, "ai21labs_api_key") + + @ai21labs_api_key.setter + def ai21labs_api_key(self, value: pulumi.Input[str]): + pulumi.set(self, "ai21labs_api_key", value) + + +@pulumi.input_type +class ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs: + def __init__(__self__, *, + aws_access_key_id: pulumi.Input[str], + aws_region: pulumi.Input[str], + aws_secret_access_key: pulumi.Input[str], + bedrock_provider: pulumi.Input[str]): + """ + :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_region: The AWS region to use. Bedrock has to be enabled there. + :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] bedrock_provider: The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. + """ + pulumi.set(__self__, "aws_access_key_id", aws_access_key_id) + pulumi.set(__self__, "aws_region", aws_region) + pulumi.set(__self__, "aws_secret_access_key", aws_secret_access_key) + pulumi.set(__self__, "bedrock_provider", bedrock_provider) + + @property + @pulumi.getter(name="awsAccessKeyId") + def aws_access_key_id(self) -> pulumi.Input[str]: + """ + The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. + """ + return pulumi.get(self, "aws_access_key_id") + + @aws_access_key_id.setter + def aws_access_key_id(self, value: pulumi.Input[str]): + pulumi.set(self, "aws_access_key_id", value) + + @property + @pulumi.getter(name="awsRegion") + def aws_region(self) -> pulumi.Input[str]: + """ + The AWS region to use. Bedrock has to be enabled there. + """ + return pulumi.get(self, "aws_region") + + @aws_region.setter + def aws_region(self, value: pulumi.Input[str]): + pulumi.set(self, "aws_region", value) + + @property + @pulumi.getter(name="awsSecretAccessKey") + def aws_secret_access_key(self) -> 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") + + @aws_secret_access_key.setter + def aws_secret_access_key(self, value: pulumi.Input[str]): + pulumi.set(self, "aws_secret_access_key", value) + + @property + @pulumi.getter(name="bedrockProvider") + def bedrock_provider(self) -> pulumi.Input[str]: + """ + The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. + """ + return pulumi.get(self, "bedrock_provider") + + @bedrock_provider.setter + def bedrock_provider(self, value: pulumi.Input[str]): + pulumi.set(self, "bedrock_provider", value) + + +@pulumi.input_type +class ModelServingConfigServedEntityExternalModelAnthropicConfigArgs: + def __init__(__self__, *, + anthropic_api_key: pulumi.Input[str]): + """ + :param pulumi.Input[str] anthropic_api_key: The Databricks secret key reference for an Anthropic API key. + The Databricks secret key reference for an Anthropic API key. + """ + pulumi.set(__self__, "anthropic_api_key", anthropic_api_key) + + @property + @pulumi.getter(name="anthropicApiKey") + def anthropic_api_key(self) -> pulumi.Input[str]: + """ + The Databricks secret key reference for an Anthropic API key. + The Databricks secret key reference for an Anthropic API key. + """ + return pulumi.get(self, "anthropic_api_key") + + @anthropic_api_key.setter + def anthropic_api_key(self, value: pulumi.Input[str]): + pulumi.set(self, "anthropic_api_key", value) + + +@pulumi.input_type +class ModelServingConfigServedEntityExternalModelCohereConfigArgs: + def __init__(__self__, *, + cohere_api_key: pulumi.Input[str]): + """ + :param pulumi.Input[str] cohere_api_key: The Databricks secret key reference for a Cohere API key. + """ + pulumi.set(__self__, "cohere_api_key", cohere_api_key) + + @property + @pulumi.getter(name="cohereApiKey") + def cohere_api_key(self) -> pulumi.Input[str]: + """ + The Databricks secret key reference for a Cohere API key. + """ + return pulumi.get(self, "cohere_api_key") + + @cohere_api_key.setter + def cohere_api_key(self, value: pulumi.Input[str]): + pulumi.set(self, "cohere_api_key", value) + + +@pulumi.input_type +class ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs: + def __init__(__self__, *, + databricks_api_token: pulumi.Input[str], + databricks_workspace_url: pulumi.Input[str]): + """ + :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_workspace_url: The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. + """ + pulumi.set(__self__, "databricks_api_token", databricks_api_token) + pulumi.set(__self__, "databricks_workspace_url", databricks_workspace_url) + + @property + @pulumi.getter(name="databricksApiToken") + def databricks_api_token(self) -> 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") + + @databricks_api_token.setter + def databricks_api_token(self, value: pulumi.Input[str]): + pulumi.set(self, "databricks_api_token", value) + + @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") + + @databricks_workspace_url.setter + def databricks_workspace_url(self, value: pulumi.Input[str]): + pulumi.set(self, "databricks_workspace_url", value) + + +@pulumi.input_type +class ModelServingConfigServedEntityExternalModelOpenaiConfigArgs: + def __init__(__self__, *, + openai_api_key: pulumi.Input[str], + openai_api_base: 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] openai_api_key: The Databricks secret key reference for an OpenAI or Azure OpenAI API key. + :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_type: This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and adjust this parameter to represent 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. + """ + pulumi.set(__self__, "openai_api_key", openai_api_key) + if openai_api_base is not None: + pulumi.set(__self__, "openai_api_base", openai_api_base) + 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="openaiApiKey") + def openai_api_key(self) -> pulumi.Input[str]: + """ + The Databricks secret key reference for an OpenAI or Azure OpenAI API key. + """ + return pulumi.get(self, "openai_api_key") + + @openai_api_key.setter + def openai_api_key(self, value: pulumi.Input[str]): + pulumi.set(self, "openai_api_key", value) + + @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") + + @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="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 adjust this parameter to represent 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) + + @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") - @catalog_name.setter - def catalog_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "catalog_name", value) + @openai_api_version.setter + def openai_api_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "openai_api_version", value) @property - @pulumi.getter - def enabled(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enabled") + @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") - @enabled.setter - def enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enabled", 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="schemaName") - def schema_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "schema_name") + @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") - @schema_name.setter - def schema_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "schema_name", value) + @openai_organization.setter + def openai_organization(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "openai_organization", value) + + +@pulumi.input_type +class ModelServingConfigServedEntityExternalModelPalmConfigArgs: + def __init__(__self__, *, + palm_api_key: pulumi.Input[str]): + """ + :param pulumi.Input[str] palm_api_key: The Databricks secret key reference for a PaLM API key. + """ + pulumi.set(__self__, "palm_api_key", palm_api_key) @property - @pulumi.getter(name="tableNamePrefix") - def table_name_prefix(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "table_name_prefix") + @pulumi.getter(name="palmApiKey") + def palm_api_key(self) -> pulumi.Input[str]: + """ + The Databricks secret key reference for a PaLM API key. + """ + return pulumi.get(self, "palm_api_key") - @table_name_prefix.setter - def table_name_prefix(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "table_name_prefix", value) + @palm_api_key.setter + def palm_api_key(self, value: pulumi.Input[str]): + pulumi.set(self, "palm_api_key", value) @pulumi.input_type @@ -13798,11 +14966,11 @@ def __init__(__self__, *, """ :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[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_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[Mapping[str, Any]] environment_vars: a map of environment variable name/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[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[bool] scale_to_zero_enabled: Whether the compute resources for the served model should scale down to zero. If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size will be 0. The default value is `true`. :param pulumi.Input[str] workload_type: The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. """ pulumi.set(__self__, "model_name", model_name) @@ -13847,7 +15015,7 @@ def model_version(self, value: pulumi.Input[str]): @pulumi.getter(name="workloadSize") def workload_size(self) -> 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). + 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") @@ -13895,7 +15063,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @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`. + 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") @@ -13921,7 +15089,7 @@ class ModelServingConfigTrafficConfigArgs: def __init__(__self__, *, routes: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigTrafficConfigRouteArgs']]]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input['ModelServingConfigTrafficConfigRouteArgs']]] routes: Each block represents a route that defines traffic to each served model. Each `served_models` block needs to have a corresponding `routes` block + :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 routes is not None: pulumi.set(__self__, "routes", routes) @@ -13930,7 +15098,7 @@ def __init__(__self__, *, @pulumi.getter def routes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigTrafficConfigRouteArgs']]]]: """ - Each block represents a route that defines traffic to each served model. Each `served_models` block needs to have a corresponding `routes` block + 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, "routes") @@ -13945,7 +15113,6 @@ def __init__(__self__, *, served_model_name: pulumi.Input[str], traffic_percentage: pulumi.Input[int]): """ - :param pulumi.Input[str] served_model_name: The name of the served model this route configures traffic for. This needs to match the name of a `served_models` block :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) @@ -13954,9 +15121,6 @@ def __init__(__self__, *, @property @pulumi.getter(name="servedModelName") def served_model_name(self) -> pulumi.Input[str]: - """ - The name of the served model this route configures traffic for. This needs to match the name of a `served_models` block - """ return pulumi.get(self, "served_model_name") @served_model_name.setter @@ -13982,6 +15146,11 @@ def __init__(__self__, *, 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: @@ -13990,6 +15159,9 @@ def __init__(__self__, *, @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") @calls.setter @@ -13999,6 +15171,9 @@ def calls(self, value: pulumi.Input[int]): @property @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") @renewal_period.setter @@ -14008,6 +15183,9 @@ def renewal_period(self, value: pulumi.Input[str]): @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 @@ -14020,6 +15198,10 @@ class ModelServingTagArgs: def __init__(__self__, *, 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) @@ -14027,6 +15209,9 @@ def __init__(__self__, *, @property @pulumi.getter def key(self) -> pulumi.Input[str]: + """ + The key field for a tag. + """ return pulumi.get(self, "key") @key.setter @@ -14036,6 +15221,9 @@ def key(self, value: pulumi.Input[str]): @property @pulumi.getter def value(self) -> Optional[pulumi.Input[str]]: + """ + The value field for a tag. + """ return pulumi.get(self, "value") @value.setter @@ -14847,42 +16035,583 @@ def __init__(__self__, *, @property @pulumi.getter - def comment(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "comment") + 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="lifetimeSeconds") + def lifetime_seconds(self) -> Optional[pulumi.Input[int]]: + """ + Token expiry lifetime. By default its 2592000 (30 days). + """ + 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") + + @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) + + +@pulumi.input_type +class OnlineTableSpecArgs: + 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): + """ + :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="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") + + @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="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="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") + + @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="runContinuously") + def run_continuously(self) -> Optional[pulumi.Input['OnlineTableSpecRunContinuouslyArgs']]: + """ + empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `run_triggered`. + """ + return pulumi.get(self, "run_continuously") + + @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']]: + """ + 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). + """ + 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(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") + + @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(name="timeseriesKey") + def timeseries_key(self) -> Optional[pulumi.Input[str]]: + """ + Time series key to deduplicate (tie-break) rows with the same primary key. + """ + return pulumi.get(self, "timeseries_key") + + @timeseries_key.setter + def timeseries_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "timeseries_key", value) + + +@pulumi.input_type +class OnlineTableSpecRunContinuouslyArgs: + def __init__(__self__): + pass + + +@pulumi.input_type +class OnlineTableSpecRunTriggeredArgs: + def __init__(__self__): + pass + + +@pulumi.input_type +class OnlineTableStatusArgs: + 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): + """ + :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="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) + + @property + @pulumi.getter(name="detailedState") + def detailed_state(self) -> Optional[pulumi.Input[str]]: + """ + The state of the online table. + """ + return pulumi.get(self, "detailed_state") + + @detailed_state.setter + def detailed_state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "detailed_state", value) + + @property + @pulumi.getter(name="failedStatus") + def failed_status(self) -> Optional[pulumi.Input['OnlineTableStatusFailedStatusArgs']]: + return pulumi.get(self, "failed_status") + + @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]]: + """ + A text description of the current state of the online table. + """ + return pulumi.get(self, "message") + + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) + + @property + @pulumi.getter(name="provisioningStatus") + def provisioning_status(self) -> Optional[pulumi.Input['OnlineTableStatusProvisioningStatusArgs']]: + return pulumi.get(self, "provisioning_status") + + @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) + + +@pulumi.input_type +class OnlineTableStatusContinuousUpdateStatusArgs: + 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) + + @property + @pulumi.getter(name="initialPipelineSyncProgress") + def initial_pipeline_sync_progress(self) -> Optional[pulumi.Input['OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs']]: + return pulumi.get(self, "initial_pipeline_sync_progress") + + @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="lastProcessedCommitVersion") + def last_processed_commit_version(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "last_processed_commit_version") + + @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 + 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) + + +@pulumi.input_type +class OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs: + 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="estimatedCompletionTimeSeconds") + def estimated_completion_time_seconds(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "estimated_completion_time_seconds") + + @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="latestVersionCurrentlyProcessing") + def latest_version_currently_processing(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "latest_version_currently_processing") + + @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="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) + + @property + @pulumi.getter(name="syncedRowCount") + def synced_row_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "synced_row_count") + + @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") + + @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 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="lastProcessedCommitVersion") + def last_processed_commit_version(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "last_processed_commit_version") + + @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 + 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) + + +@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) + + @property + @pulumi.getter(name="initialPipelineSyncProgress") + def initial_pipeline_sync_progress(self) -> Optional[pulumi.Input['OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs']]: + return pulumi.get(self, "initial_pipeline_sync_progress") + + @initial_pipeline_sync_progress.setter + def initial_pipeline_sync_progress(self, value: Optional[pulumi.Input['OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs']]): + pulumi.set(self, "initial_pipeline_sync_progress", value) + + +@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="estimatedCompletionTimeSeconds") + def estimated_completion_time_seconds(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "estimated_completion_time_seconds") + + @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="latestVersionCurrentlyProcessing") + def latest_version_currently_processing(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "latest_version_currently_processing") + + @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="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) + + @property + @pulumi.getter(name="syncedRowCount") + def synced_row_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "synced_row_count") + + @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") + + @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 OnlineTableStatusTriggeredUpdateStatusArgs: + 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) + + @property + @pulumi.getter(name="lastProcessedCommitVersion") + def last_processed_commit_version(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "last_processed_commit_version") + + @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 + def timestamp(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "timestamp") - @comment.setter - def comment(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "comment", value) + @timestamp.setter + def timestamp(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "timestamp", value) @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.getter(name="triggeredUpdateProgress") + def triggered_update_progress(self) -> Optional[pulumi.Input['OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs']]: + return pulumi.get(self, "triggered_update_progress") - @lifetime_seconds.setter - def lifetime_seconds(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "lifetime_seconds", value) + @triggered_update_progress.setter + def triggered_update_progress(self, value: Optional[pulumi.Input['OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs']]): + pulumi.set(self, "triggered_update_progress", value) + + +@pulumi.input_type +class OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs: + 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="tokenId") - def token_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "token_id") + @pulumi.getter(name="estimatedCompletionTimeSeconds") + def estimated_completion_time_seconds(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "estimated_completion_time_seconds") - @token_id.setter - def token_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "token_id", 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="tokenValue") - def token_value(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "token_value") + @pulumi.getter(name="latestVersionCurrentlyProcessing") + def latest_version_currently_processing(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "latest_version_currently_processing") - @token_value.setter - def token_value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "token_value", 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="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) + + @property + @pulumi.getter(name="syncedRowCount") + def synced_row_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "synced_row_count") + + @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") + + @total_row_count.setter + def total_row_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "total_row_count", value) @pulumi.input_type @@ -16282,8 +18011,8 @@ def __init__(__self__, *, start_version: Optional[pulumi.Input[int]] = None, status: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] data_object_type: Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, `NOTEBOOK_FILE` are supported. - :param pulumi.Input[str] name: Full name of the object, e.g. `catalog.schema.name` for a table. + :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. @@ -16318,7 +18047,7 @@ def __init__(__self__, *, @pulumi.getter(name="dataObjectType") def data_object_type(self) -> pulumi.Input[str]: """ - Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, `NOTEBOOK_FILE` are supported. + Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. """ return pulumi.get(self, "data_object_type") @@ -16330,7 +18059,7 @@ def data_object_type(self, value: pulumi.Input[str]): @pulumi.getter def name(self) -> pulumi.Input[str]: """ - Full name of the object, e.g. `catalog.schema.name` for a table. + 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") @@ -17960,8 +19689,6 @@ def __init__(__self__, *, 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` - :param pulumi.Input[str] external_id: The external ID used in role assumption to prevent confused deputy problem. - :param pulumi.Input[str] unity_catalog_iam_arn: The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): """ @@ -17976,6 +19703,8 @@ def __init__(__self__, *, 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") @@ -17986,9 +19715,6 @@ def role_arn(self, value: pulumi.Input[str]): @property @pulumi.getter(name="externalId") def external_id(self) -> Optional[pulumi.Input[str]]: - """ - The external ID used in role assumption to prevent confused deputy problem. - """ return pulumi.get(self, "external_id") @external_id.setter @@ -17998,11 +19724,6 @@ def external_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="unityCatalogIamArn") def unity_catalog_iam_arn(self) -> Optional[pulumi.Input[str]]: - """ - The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. - - `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): - """ return pulumi.get(self, "unity_catalog_iam_arn") @unity_catalog_iam_arn.setter @@ -18250,111 +19971,480 @@ def name(self, value: pulumi.Input[str]): 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) + @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) + + +@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) + + +@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, + 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[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs']]] embedding_vector_columns: array of objects representing columns that contain the embedding vectors. 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: + :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 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']]]]: + """ + array of objects representing columns that contain the embedding vectors. Each entry consists of: + """ + 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="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: + """ + 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) + + +@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] embedding_model_endpoint_name: The name of the embedding model endpoint + :param pulumi.Input[str] name: The name of the column. + """ + 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]]: + """ + The name of the embedding model endpoint + """ + 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]]: + """ + The name of the column. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs: + def __init__(__self__, *, + embedding_dimension: Optional[pulumi.Input[int]] = None, + name: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[int] embedding_dimension: Dimension of the embedding vector. + :param pulumi.Input[str] name: The name of the column. + """ + 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]]: + """ + Dimension of the embedding vector. + """ + 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]]: + """ + The name of the column. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +@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[Sequence[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs']]] embedding_vector_columns: array of objects representing columns that contain the embedding vectors. 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="typeName") - def type_name(self) -> pulumi.Input[str]: - return pulumi.get(self, "type_name") + @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") - @type_name.setter - def type_name(self, value: pulumi.Input[str]): - pulumi.set(self, "type_name", value) + @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="typeText") - def type_text(self) -> pulumi.Input[str]: - return pulumi.get(self, "type_text") + @pulumi.getter(name="embeddingVectorColumns") + def embedding_vector_columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs']]]]: + """ + array of objects representing columns that contain the embedding vectors. Each entry consists of: + """ + return pulumi.get(self, "embedding_vector_columns") - @type_text.setter - def type_text(self, value: pulumi.Input[str]): - pulumi.set(self, "type_text", value) + @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 - def comment(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "comment") + @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") - @comment.setter - def comment(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "comment", value) + @schema_json.setter + def schema_json(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "schema_json", 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) +@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] embedding_model_endpoint_name: The name of the embedding model endpoint + :param pulumi.Input[str] name: The name of the column. + """ + 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="partitionIndex") - def partition_index(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "partition_index") + @pulumi.getter(name="embeddingModelEndpointName") + def embedding_model_endpoint_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the embedding model endpoint + """ + return pulumi.get(self, "embedding_model_endpoint_name") - @partition_index.setter - def partition_index(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "partition_index", value) + @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(name="typeIntervalType") - def type_interval_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "type_interval_type") + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the column. + """ + return pulumi.get(self, "name") - @type_interval_type.setter - def type_interval_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "type_interval_type", value) + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", 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) +@pulumi.input_type +class VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs: + def __init__(__self__, *, + embedding_dimension: Optional[pulumi.Input[int]] = None, + name: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[int] embedding_dimension: Dimension of the embedding vector. + :param pulumi.Input[str] name: The name of the column. + """ + 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="typePrecision") - def type_precision(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "type_precision") + @pulumi.getter(name="embeddingDimension") + def embedding_dimension(self) -> Optional[pulumi.Input[int]]: + """ + Dimension of the embedding vector. + """ + return pulumi.get(self, "embedding_dimension") - @type_precision.setter - def type_precision(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "type_precision", value) + @embedding_dimension.setter + def embedding_dimension(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "embedding_dimension", value) @property - @pulumi.getter(name="typeScale") - def type_scale(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "type_scale") + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the column. + """ + return pulumi.get(self, "name") - @type_scale.setter - def type_scale(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "type_scale", value) + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) @pulumi.input_type -class VectorSearchEndpointEndpointStatusArgs: +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, - state: Optional[pulumi.Input[str]] = None): + ready: Optional[pulumi.Input[bool]] = 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`, `OFFLINE`. + :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 state is not None: - pulumi.set(__self__, "state", state) + 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]]: """ - Additional status message. + Message associated with the index status """ return pulumi.get(self, "message") @@ -18364,15 +20454,15 @@ def message(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: + def ready(self) -> Optional[pulumi.Input[bool]]: """ - Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, `OFFLINE`. + Whether the index is ready for search """ - return pulumi.get(self, "state") + return pulumi.get(self, "ready") - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) + @ready.setter + def ready(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "ready", value) @pulumi.input_type @@ -25147,41 +27237,38 @@ def webhook_notifications(self, value: Optional['GetJobJobSettingsSettingsTaskWe @pulumi.input_type class GetJobJobSettingsSettingsTaskConditionTaskArgs: def __init__(__self__, *, - left: Optional[str] = None, - op: Optional[str] = None, - right: Optional[str] = None): - if left is not None: - pulumi.set(__self__, "left", left) - if op is not None: - pulumi.set(__self__, "op", op) - if right is not None: - pulumi.set(__self__, "right", right) + 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 left(self) -> Optional[str]: + def left(self) -> str: return pulumi.get(self, "left") @left.setter - def left(self, value: Optional[str]): + def left(self, value: str): pulumi.set(self, "left", value) @property @pulumi.getter - def op(self) -> Optional[str]: + def op(self) -> str: return pulumi.get(self, "op") @op.setter - def op(self, value: Optional[str]): + def op(self, value: str): pulumi.set(self, "op", value) @property @pulumi.getter - def right(self) -> Optional[str]: + def right(self) -> str: return pulumi.get(self, "right") @right.setter - def right(self, value: Optional[str]): + def right(self, value: str): pulumi.set(self, "right", value) @@ -25304,10 +27391,13 @@ def outcome(self, value: Optional[str]): @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_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: @@ -25317,6 +27407,15 @@ 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]]: @@ -25724,41 +27823,38 @@ def webhook_notifications(self, value: Optional['GetJobJobSettingsSettingsTaskFo @pulumi.input_type class GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs: def __init__(__self__, *, - left: Optional[str] = None, - op: Optional[str] = None, - right: Optional[str] = None): - if left is not None: - pulumi.set(__self__, "left", left) - if op is not None: - pulumi.set(__self__, "op", op) - if right is not None: - pulumi.set(__self__, "right", right) + 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 left(self) -> Optional[str]: + def left(self) -> str: return pulumi.get(self, "left") @left.setter - def left(self, value: Optional[str]): + def left(self, value: str): pulumi.set(self, "left", value) @property @pulumi.getter - def op(self) -> Optional[str]: + def op(self) -> str: return pulumi.get(self, "op") @op.setter - def op(self, value: Optional[str]): + def op(self, value: str): pulumi.set(self, "op", value) @property @pulumi.getter - def right(self) -> Optional[str]: + def right(self) -> str: return pulumi.get(self, "right") @right.setter - def right(self, value: Optional[str]): + def right(self, value: str): pulumi.set(self, "right", value) @@ -25881,10 +27977,13 @@ def outcome(self, value: Optional[str]): @pulumi.input_type class GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs: 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_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: @@ -25894,6 +27993,15 @@ 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]]: @@ -27954,92 +30062,88 @@ def on_successes(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskFo @pulumi.input_type class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs: def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + 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: Optional[str]): + def id(self, value: str): pulumi.set(self, "id", value) @pulumi.input_type class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs: def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + 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: Optional[str]): + def id(self, value: str): pulumi.set(self, "id", value) @pulumi.input_type class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs: def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + 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: Optional[str]): + def id(self, value: str): pulumi.set(self, "id", value) @pulumi.input_type class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs: def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + 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: Optional[str]): + def id(self, value: str): pulumi.set(self, "id", value) @@ -30066,111 +32170,111 @@ def on_successes(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskWe @pulumi.input_type class GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs: def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + 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: Optional[str]): + def id(self, value: str): pulumi.set(self, "id", value) @pulumi.input_type class GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs: def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + 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: Optional[str]): + def id(self, value: str): pulumi.set(self, "id", value) @pulumi.input_type class GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs: def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + 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: Optional[str]): + def id(self, value: str): pulumi.set(self, "id", value) @pulumi.input_type class GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs: def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + 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: Optional[str]): + def id(self, value: str): pulumi.set(self, "id", value) @pulumi.input_type class GetJobJobSettingsSettingsTriggerArgs: def __init__(__self__, *, - file_arrival: 'GetJobJobSettingsSettingsTriggerFileArrivalArgs', - pause_status: Optional[str] = None): - pulumi.set(__self__, "file_arrival", file_arrival) + file_arrival: Optional['GetJobJobSettingsSettingsTriggerFileArrivalArgs'] = None, + pause_status: Optional[str] = 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 table_update is not None: + pulumi.set(__self__, "table_update", table_update) @property @pulumi.getter(name="fileArrival") - def file_arrival(self) -> 'GetJobJobSettingsSettingsTriggerFileArrivalArgs': + def file_arrival(self) -> Optional['GetJobJobSettingsSettingsTriggerFileArrivalArgs']: return pulumi.get(self, "file_arrival") @file_arrival.setter - def file_arrival(self, value: 'GetJobJobSettingsSettingsTriggerFileArrivalArgs'): + def file_arrival(self, value: Optional['GetJobJobSettingsSettingsTriggerFileArrivalArgs']): pulumi.set(self, "file_arrival", value) @property @@ -30182,6 +32286,15 @@ def pause_status(self) -> Optional[str]: def pause_status(self, value: Optional[str]): pulumi.set(self, "pause_status", 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.input_type class GetJobJobSettingsSettingsTriggerFileArrivalArgs: @@ -30223,6 +32336,58 @@ def wait_after_last_change_seconds(self, value: Optional[int]): pulumi.set(self, "wait_after_last_change_seconds", 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="tableNames") + def table_names(self) -> Sequence[str]: + return pulumi.get(self, "table_names") + + @table_names.setter + def table_names(self, value: Sequence[str]): + pulumi.set(self, "table_names", value) + + @property + @pulumi.getter + def condition(self) -> Optional[str]: + return pulumi.get(self, "condition") + + @condition.setter + def condition(self, value: Optional[str]): + pulumi.set(self, "condition", value) + + @property + @pulumi.getter(name="minTimeBetweenTriggersSeconds") + def min_time_between_triggers_seconds(self) -> Optional[int]: + return pulumi.get(self, "min_time_between_triggers_seconds") + + @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) + + @pulumi.input_type class GetJobJobSettingsSettingsWebhookNotificationsArgs: def __init__(__self__, *, @@ -30279,92 +32444,88 @@ def on_successes(self, value: Optional[Sequence['GetJobJobSettingsSettingsWebhoo @pulumi.input_type class GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs: def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + 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: Optional[str]): + def id(self, value: str): pulumi.set(self, "id", value) @pulumi.input_type class GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs: def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + 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: Optional[str]): + def id(self, value: str): pulumi.set(self, "id", value) @pulumi.input_type class GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs: def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + 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: Optional[str]): + def id(self, value: str): pulumi.set(self, "id", value) @pulumi.input_type class GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs: def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + 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: Optional[str]): + def id(self, value: str): pulumi.set(self, "id", value) diff --git a/sdk/python/pulumi_databricks/catalog_workspace_binding.py b/sdk/python/pulumi_databricks/catalog_workspace_binding.py index 769581af..12fe4810 100644 --- a/sdk/python/pulumi_databricks/catalog_workspace_binding.py +++ b/sdk/python/pulumi_databricks/catalog_workspace_binding.py @@ -219,7 +219,11 @@ def __init__(__self__, ## Import - -> **Note** Importing this resource is not currently supported. + This resource can be imported by using combination of workspace ID, securable type and name: + + ```sh + $ pulumi import databricks:index/catalogWorkspaceBinding:CatalogWorkspaceBinding this "||" + ``` :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -251,7 +255,11 @@ def __init__(__self__, ## Import - -> **Note** Importing this resource is not currently supported. + This resource can be imported by using combination of workspace ID, securable type and name: + + ```sh + $ pulumi import databricks:index/catalogWorkspaceBinding:CatalogWorkspaceBinding this "||" + ``` :param str resource_name: The name of the resource. :param CatalogWorkspaceBindingArgs args: The arguments to use to populate this resource's properties. 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 7a75c3ee..42da6b0a 100644 --- a/sdk/python/pulumi_databricks/get_aws_cross_account_policy.py +++ b/sdk/python/pulumi_databricks/get_aws_cross_account_policy.py @@ -21,7 +21,10 @@ class GetAwsCrossAccountPolicyResult: """ A collection of values returned by getAwsCrossAccountPolicy. """ - def __init__(__self__, id=None, json=None, pass_roles=None): + 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): + 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 id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") pulumi.set(__self__, "id", id) @@ -31,6 +34,23 @@ def __init__(__self__, id=None, json=None, pass_roles=None): if pass_roles and not isinstance(pass_roles, list): raise TypeError("Expected argument 'pass_roles' to be a list") pulumi.set(__self__, "pass_roles", pass_roles) + if policy_type and not isinstance(policy_type, str): + raise TypeError("Expected argument 'policy_type' to be a str") + pulumi.set(__self__, "policy_type", policy_type) + if region and not isinstance(region, str): + raise TypeError("Expected argument 'region' to be a str") + pulumi.set(__self__, "region", region) + if security_group_id and not isinstance(security_group_id, str): + raise TypeError("Expected argument 'security_group_id' to be a str") + pulumi.set(__self__, "security_group_id", security_group_id) + if vpc_id and not isinstance(vpc_id, str): + raise TypeError("Expected argument 'vpc_id' to be a str") + pulumi.set(__self__, "vpc_id", vpc_id) + + @property + @pulumi.getter(name="awsAccountId") + def aws_account_id(self) -> Optional[str]: + return pulumi.get(self, "aws_account_id") @property @pulumi.getter @@ -53,6 +73,26 @@ def json(self) -> str: def pass_roles(self) -> Optional[Sequence[str]]: return pulumi.get(self, "pass_roles") + @property + @pulumi.getter(name="policyType") + def policy_type(self) -> Optional[str]: + return pulumi.get(self, "policy_type") + + @property + @pulumi.getter + def region(self) -> Optional[str]: + return pulumi.get(self, "region") + + @property + @pulumi.getter(name="securityGroupId") + def security_group_id(self) -> Optional[str]: + return pulumi.get(self, "security_group_id") + + @property + @pulumi.getter(name="vpcId") + def vpc_id(self) -> Optional[str]: + return pulumi.get(self, "vpc_id") + class AwaitableGetAwsCrossAccountPolicyResult(GetAwsCrossAccountPolicyResult): # pylint: disable=using-constant-test @@ -60,12 +100,22 @@ def __await__(self): if False: yield self return GetAwsCrossAccountPolicyResult( + aws_account_id=self.aws_account_id, id=self.id, json=self.json, - pass_roles=self.pass_roles) - - -def get_aws_cross_account_policy(pass_roles: Optional[Sequence[str]] = None, + pass_roles=self.pass_roles, + policy_type=self.policy_type, + region=self.region, + security_group_id=self.security_group_id, + vpc_id=self.vpc_id) + + +def get_aws_cross_account_policy(aws_account_id: Optional[str] = None, + pass_roles: Optional[Sequence[str]] = None, + policy_type: Optional[str] = None, + region: Optional[str] = None, + security_group_id: Optional[str] = None, + vpc_id: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAwsCrossAccountPolicyResult: """ This data source constructs necessary AWS cross-account policy for you, which is based on [official documentation](). @@ -93,21 +143,42 @@ def get_aws_cross_account_policy(pass_roles: Optional[Sequence[str]] = None, * InstanceProfile to manage AWS EC2 instance profiles that users can launch Cluster and access data, like databricks_mount. + :param str aws_account_id: — Your AWS account ID, which is a number. :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 + :param str region: — AWS Region name for your VPC deployment, for example `us-west-2`. + :param str security_group_id: — ID of your AWS security group. When you add a security group restriction, you cannot reuse the cross-account IAM role or reference a credentials ID (`credentials_id`) for any other workspaces. For those other workspaces, you must create separate roles, policies, and credentials objects. + :param str vpc_id: — ID of the AWS VPC where you want to launch workspaces. """ __args__ = dict() + __args__['awsAccountId'] = aws_account_id __args__['passRoles'] = pass_roles + __args__['policyType'] = policy_type + __args__['region'] = region + __args__['securityGroupId'] = security_group_id + __args__['vpcId'] = vpc_id opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('databricks:index/getAwsCrossAccountPolicy:getAwsCrossAccountPolicy', __args__, opts=opts, typ=GetAwsCrossAccountPolicyResult).value return AwaitableGetAwsCrossAccountPolicyResult( + aws_account_id=pulumi.get(__ret__, 'aws_account_id'), id=pulumi.get(__ret__, 'id'), json=pulumi.get(__ret__, 'json'), - pass_roles=pulumi.get(__ret__, 'pass_roles')) + pass_roles=pulumi.get(__ret__, 'pass_roles'), + policy_type=pulumi.get(__ret__, 'policy_type'), + region=pulumi.get(__ret__, 'region'), + security_group_id=pulumi.get(__ret__, 'security_group_id'), + vpc_id=pulumi.get(__ret__, 'vpc_id')) @_utilities.lift_output_func(get_aws_cross_account_policy) -def get_aws_cross_account_policy_output(pass_roles: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, +def get_aws_cross_account_policy_output(aws_account_id: 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, + security_group_id: Optional[pulumi.Input[Optional[str]]] = None, + vpc_id: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAwsCrossAccountPolicyResult]: """ This data source constructs necessary AWS cross-account policy for you, which is based on [official documentation](). @@ -135,6 +206,12 @@ def get_aws_cross_account_policy_output(pass_roles: Optional[pulumi.Input[Option * InstanceProfile to manage AWS EC2 instance profiles that users can launch Cluster and access data, like databricks_mount. + :param str aws_account_id: — Your AWS account ID, which is a number. :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 + :param str region: — AWS Region name for your VPC deployment, for example `us-west-2`. + :param str security_group_id: — ID of your AWS security group. When you add a security group restriction, you cannot reuse the cross-account IAM role or reference a credentials ID (`credentials_id`) for any other workspaces. For those other workspaces, you must create separate roles, policies, and credentials objects. + :param str vpc_id: — ID of the AWS VPC where you want to launch workspaces. """ ... diff --git a/sdk/python/pulumi_databricks/get_storage_credentials.py b/sdk/python/pulumi_databricks/get_storage_credentials.py index 2fcd709e..81017df8 100644 --- a/sdk/python/pulumi_databricks/get_storage_credentials.py +++ b/sdk/python/pulumi_databricks/get_storage_credentials.py @@ -40,6 +40,9 @@ def id(self) -> str: @property @pulumi.getter def names(self) -> Sequence[str]: + """ + List of names of StorageCredential in the metastore + """ return pulumi.get(self, "names") @@ -66,7 +69,7 @@ def get_storage_credentials(names: Optional[Sequence[str]] = None, import pulumi_databricks as databricks all = databricks.get_storage_credentials() - pulumi.export("allMetastores", data["databricks_metastores"]["all"]["names"]) + pulumi.export("allStorageCredentials", all.names) ``` @@ -76,6 +79,9 @@ def get_storage_credentials(names: Optional[Sequence[str]] = None, * StorageCredential to get information about a single credential * StorageCredential to manage Storage Credentials within Unity Catalog. + + + :param Sequence[str] names: List of names of StorageCredential in the metastore """ __args__ = dict() __args__['names'] = names @@ -101,7 +107,7 @@ def get_storage_credentials_output(names: Optional[pulumi.Input[Optional[Sequenc import pulumi_databricks as databricks all = databricks.get_storage_credentials() - pulumi.export("allMetastores", data["databricks_metastores"]["all"]["names"]) + pulumi.export("allStorageCredentials", all.names) ``` @@ -111,5 +117,8 @@ def get_storage_credentials_output(names: Optional[pulumi.Input[Optional[Sequenc * StorageCredential to get information about a single credential * StorageCredential to manage Storage Credentials within Unity Catalog. + + + :param Sequence[str] names: List of names of StorageCredential in the metastore """ ... diff --git a/sdk/python/pulumi_databricks/job.py b/sdk/python/pulumi_databricks/job.py index 3c905a86..7f2296f6 100644 --- a/sdk/python/pulumi_databricks/job.py +++ b/sdk/python/pulumi_databricks/job.py @@ -70,7 +70,7 @@ def __init__(__self__, *, :param pulumi.Input['JobEmailNotificationsArgs'] email_notifications: (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below. :param pulumi.Input['JobHealthArgs'] health: An optional block that specifies the health conditions for the job (described below). :param pulumi.Input[Sequence[pulumi.Input['JobJobClusterArgs']]] job_clusters: A list of job Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. *Multi-task syntax* - :param pulumi.Input[Sequence[pulumi.Input['JobLibraryArgs']]] libraries: (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + :param pulumi.Input[Sequence[pulumi.Input['JobLibraryArgs']]] libraries: (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. :param pulumi.Input[int] max_concurrent_runs: (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*. :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. @@ -358,7 +358,7 @@ def job_clusters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobJo @pulumi.getter def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobLibraryArgs']]]]: """ - (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. """ return pulumi.get(self, "libraries") @@ -695,7 +695,7 @@ def __init__(__self__, *, :param pulumi.Input['JobEmailNotificationsArgs'] email_notifications: (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below. :param pulumi.Input['JobHealthArgs'] health: An optional block that specifies the health conditions for the job (described below). :param pulumi.Input[Sequence[pulumi.Input['JobJobClusterArgs']]] job_clusters: A list of job Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. *Multi-task syntax* - :param pulumi.Input[Sequence[pulumi.Input['JobLibraryArgs']]] libraries: (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + :param pulumi.Input[Sequence[pulumi.Input['JobLibraryArgs']]] libraries: (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. :param pulumi.Input[int] max_concurrent_runs: (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*. :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. @@ -986,7 +986,7 @@ def job_clusters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobJo @pulumi.getter def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobLibraryArgs']]]]: """ - (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. """ return pulumi.get(self, "libraries") @@ -1348,7 +1348,7 @@ def __init__(__self__, :param pulumi.Input[pulumi.InputType['JobEmailNotificationsArgs']] email_notifications: (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below. :param pulumi.Input[pulumi.InputType['JobHealthArgs']] health: An optional block that specifies the health conditions for the job (described below). :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['JobJobClusterArgs']]]] job_clusters: A list of job Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. *Multi-task syntax* - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['JobLibraryArgs']]]] libraries: (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['JobLibraryArgs']]]] libraries: (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. :param pulumi.Input[int] max_concurrent_runs: (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*. :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. @@ -1549,7 +1549,7 @@ def get(resource_name: str, :param pulumi.Input[pulumi.InputType['JobEmailNotificationsArgs']] email_notifications: (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below. :param pulumi.Input[pulumi.InputType['JobHealthArgs']] health: An optional block that specifies the health conditions for the job (described below). :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['JobJobClusterArgs']]]] job_clusters: A list of job Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. *Multi-task syntax* - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['JobLibraryArgs']]]] libraries: (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['JobLibraryArgs']]]] libraries: (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. :param pulumi.Input[int] max_concurrent_runs: (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*. :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. @@ -1714,7 +1714,7 @@ def job_clusters(self) -> pulumi.Output[Optional[Sequence['outputs.JobJobCluster @pulumi.getter def libraries(self) -> pulumi.Output[Optional[Sequence['outputs.JobLibrary']]]: """ - (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section of the Cluster resource for more information. """ return pulumi.get(self, "libraries") diff --git a/sdk/python/pulumi_databricks/lakehouse_monitor.py b/sdk/python/pulumi_databricks/lakehouse_monitor.py new file mode 100644 index 00000000..d75d9882 --- /dev/null +++ b/sdk/python/pulumi_databricks/lakehouse_monitor.py @@ -0,0 +1,1030 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['LakehouseMonitorArgs', 'LakehouseMonitor'] + +@pulumi.input_type +class LakehouseMonitorArgs: + def __init__(__self__, *, + assets_dir: pulumi.Input[str], + output_schema_name: pulumi.Input[str], + table_name: pulumi.Input[str], + baseline_table_name: Optional[pulumi.Input[str]] = None, + custom_metrics: Optional[pulumi.Input[Sequence[pulumi.Input['LakehouseMonitorCustomMetricArgs']]]] = None, + data_classification_config: Optional[pulumi.Input['LakehouseMonitorDataClassificationConfigArgs']] = None, + inference_log: Optional[pulumi.Input['LakehouseMonitorInferenceLogArgs']] = None, + latest_monitor_failure_msg: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input['LakehouseMonitorNotificationsArgs']] = None, + schedule: Optional[pulumi.Input['LakehouseMonitorScheduleArgs']] = None, + skip_builtin_dashboard: Optional[pulumi.Input[bool]] = None, + slicing_exprs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + snapshot: Optional[pulumi.Input['LakehouseMonitorSnapshotArgs']] = None, + time_series: Optional[pulumi.Input['LakehouseMonitorTimeSeriesArgs']] = None, + warehouse_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a LakehouseMonitor resource. + :param pulumi.Input[str] assets_dir: The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + :param pulumi.Input[str] output_schema_name: Schema where output metric tables are created + :param pulumi.Input[str] table_name: The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + :param pulumi.Input[str] baseline_table_name: Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + table. + :param pulumi.Input[Sequence[pulumi.Input['LakehouseMonitorCustomMetricArgs']]] custom_metrics: Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + :param pulumi.Input['LakehouseMonitorDataClassificationConfigArgs'] data_classification_config: The data classification config for the monitor + :param pulumi.Input['LakehouseMonitorInferenceLogArgs'] inference_log: Configuration for the inference log monitor + :param pulumi.Input['LakehouseMonitorNotificationsArgs'] notifications: The notification settings for the monitor + :param pulumi.Input['LakehouseMonitorScheduleArgs'] schedule: The schedule for automatically updating and refreshing metric tables. + :param pulumi.Input[bool] skip_builtin_dashboard: Whether to skip creating a default dashboard summarizing data quality metrics. + :param pulumi.Input[Sequence[pulumi.Input[str]]] slicing_exprs: List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + :param pulumi.Input['LakehouseMonitorSnapshotArgs'] snapshot: Configuration for monitoring snapshot tables. + :param pulumi.Input['LakehouseMonitorTimeSeriesArgs'] time_series: Configuration for monitoring timeseries tables. + :param pulumi.Input[str] warehouse_id: Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + """ + pulumi.set(__self__, "assets_dir", assets_dir) + pulumi.set(__self__, "output_schema_name", output_schema_name) + pulumi.set(__self__, "table_name", table_name) + if baseline_table_name is not None: + pulumi.set(__self__, "baseline_table_name", baseline_table_name) + if custom_metrics is not None: + pulumi.set(__self__, "custom_metrics", custom_metrics) + if data_classification_config is not None: + pulumi.set(__self__, "data_classification_config", data_classification_config) + if inference_log is not None: + pulumi.set(__self__, "inference_log", inference_log) + if latest_monitor_failure_msg is not None: + pulumi.set(__self__, "latest_monitor_failure_msg", latest_monitor_failure_msg) + if notifications is not None: + pulumi.set(__self__, "notifications", notifications) + if schedule is not None: + pulumi.set(__self__, "schedule", schedule) + if skip_builtin_dashboard is not None: + pulumi.set(__self__, "skip_builtin_dashboard", skip_builtin_dashboard) + if slicing_exprs is not None: + pulumi.set(__self__, "slicing_exprs", slicing_exprs) + if snapshot is not None: + pulumi.set(__self__, "snapshot", snapshot) + if time_series is not None: + pulumi.set(__self__, "time_series", time_series) + if warehouse_id is not None: + pulumi.set(__self__, "warehouse_id", warehouse_id) + + @property + @pulumi.getter(name="assetsDir") + def assets_dir(self) -> pulumi.Input[str]: + """ + The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + """ + return pulumi.get(self, "assets_dir") + + @assets_dir.setter + def assets_dir(self, value: pulumi.Input[str]): + pulumi.set(self, "assets_dir", value) + + @property + @pulumi.getter(name="outputSchemaName") + def output_schema_name(self) -> pulumi.Input[str]: + """ + Schema where output metric tables are created + """ + return pulumi.get(self, "output_schema_name") + + @output_schema_name.setter + def output_schema_name(self, value: pulumi.Input[str]): + pulumi.set(self, "output_schema_name", value) + + @property + @pulumi.getter(name="tableName") + def table_name(self) -> pulumi.Input[str]: + """ + The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + """ + return pulumi.get(self, "table_name") + + @table_name.setter + def table_name(self, value: pulumi.Input[str]): + pulumi.set(self, "table_name", value) + + @property + @pulumi.getter(name="baselineTableName") + def baseline_table_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + table. + """ + return pulumi.get(self, "baseline_table_name") + + @baseline_table_name.setter + def baseline_table_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "baseline_table_name", value) + + @property + @pulumi.getter(name="customMetrics") + def custom_metrics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LakehouseMonitorCustomMetricArgs']]]]: + """ + Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + """ + return pulumi.get(self, "custom_metrics") + + @custom_metrics.setter + def custom_metrics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LakehouseMonitorCustomMetricArgs']]]]): + pulumi.set(self, "custom_metrics", value) + + @property + @pulumi.getter(name="dataClassificationConfig") + def data_classification_config(self) -> Optional[pulumi.Input['LakehouseMonitorDataClassificationConfigArgs']]: + """ + The data classification config for the monitor + """ + return pulumi.get(self, "data_classification_config") + + @data_classification_config.setter + def data_classification_config(self, value: Optional[pulumi.Input['LakehouseMonitorDataClassificationConfigArgs']]): + pulumi.set(self, "data_classification_config", value) + + @property + @pulumi.getter(name="inferenceLog") + def inference_log(self) -> Optional[pulumi.Input['LakehouseMonitorInferenceLogArgs']]: + """ + Configuration for the inference log monitor + """ + return pulumi.get(self, "inference_log") + + @inference_log.setter + def inference_log(self, value: Optional[pulumi.Input['LakehouseMonitorInferenceLogArgs']]): + pulumi.set(self, "inference_log", value) + + @property + @pulumi.getter(name="latestMonitorFailureMsg") + def latest_monitor_failure_msg(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "latest_monitor_failure_msg") + + @latest_monitor_failure_msg.setter + def latest_monitor_failure_msg(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "latest_monitor_failure_msg", value) + + @property + @pulumi.getter + def notifications(self) -> Optional[pulumi.Input['LakehouseMonitorNotificationsArgs']]: + """ + The notification settings for the monitor + """ + return pulumi.get(self, "notifications") + + @notifications.setter + def notifications(self, value: Optional[pulumi.Input['LakehouseMonitorNotificationsArgs']]): + pulumi.set(self, "notifications", value) + + @property + @pulumi.getter + def schedule(self) -> Optional[pulumi.Input['LakehouseMonitorScheduleArgs']]: + """ + The schedule for automatically updating and refreshing metric tables. + """ + return pulumi.get(self, "schedule") + + @schedule.setter + def schedule(self, value: Optional[pulumi.Input['LakehouseMonitorScheduleArgs']]): + pulumi.set(self, "schedule", value) + + @property + @pulumi.getter(name="skipBuiltinDashboard") + def skip_builtin_dashboard(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to skip creating a default dashboard summarizing data quality metrics. + """ + return pulumi.get(self, "skip_builtin_dashboard") + + @skip_builtin_dashboard.setter + def skip_builtin_dashboard(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "skip_builtin_dashboard", value) + + @property + @pulumi.getter(name="slicingExprs") + def slicing_exprs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + """ + return pulumi.get(self, "slicing_exprs") + + @slicing_exprs.setter + def slicing_exprs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "slicing_exprs", value) + + @property + @pulumi.getter + def snapshot(self) -> Optional[pulumi.Input['LakehouseMonitorSnapshotArgs']]: + """ + Configuration for monitoring snapshot tables. + """ + return pulumi.get(self, "snapshot") + + @snapshot.setter + def snapshot(self, value: Optional[pulumi.Input['LakehouseMonitorSnapshotArgs']]): + pulumi.set(self, "snapshot", value) + + @property + @pulumi.getter(name="timeSeries") + def time_series(self) -> Optional[pulumi.Input['LakehouseMonitorTimeSeriesArgs']]: + """ + Configuration for monitoring timeseries tables. + """ + return pulumi.get(self, "time_series") + + @time_series.setter + def time_series(self, value: Optional[pulumi.Input['LakehouseMonitorTimeSeriesArgs']]): + pulumi.set(self, "time_series", value) + + @property + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> Optional[pulumi.Input[str]]: + """ + Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + """ + return pulumi.get(self, "warehouse_id") + + @warehouse_id.setter + def warehouse_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "warehouse_id", value) + + +@pulumi.input_type +class _LakehouseMonitorState: + def __init__(__self__, *, + assets_dir: Optional[pulumi.Input[str]] = None, + baseline_table_name: Optional[pulumi.Input[str]] = None, + custom_metrics: Optional[pulumi.Input[Sequence[pulumi.Input['LakehouseMonitorCustomMetricArgs']]]] = None, + dashboard_id: Optional[pulumi.Input[str]] = None, + data_classification_config: Optional[pulumi.Input['LakehouseMonitorDataClassificationConfigArgs']] = None, + drift_metrics_table_name: Optional[pulumi.Input[str]] = None, + inference_log: Optional[pulumi.Input['LakehouseMonitorInferenceLogArgs']] = None, + latest_monitor_failure_msg: Optional[pulumi.Input[str]] = None, + monitor_version: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input['LakehouseMonitorNotificationsArgs']] = None, + output_schema_name: Optional[pulumi.Input[str]] = None, + profile_metrics_table_name: Optional[pulumi.Input[str]] = None, + schedule: Optional[pulumi.Input['LakehouseMonitorScheduleArgs']] = None, + skip_builtin_dashboard: Optional[pulumi.Input[bool]] = None, + slicing_exprs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + snapshot: Optional[pulumi.Input['LakehouseMonitorSnapshotArgs']] = None, + status: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + time_series: Optional[pulumi.Input['LakehouseMonitorTimeSeriesArgs']] = None, + warehouse_id: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering LakehouseMonitor resources. + :param pulumi.Input[str] assets_dir: The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + :param pulumi.Input[str] baseline_table_name: Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + table. + :param pulumi.Input[Sequence[pulumi.Input['LakehouseMonitorCustomMetricArgs']]] custom_metrics: Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + :param pulumi.Input[str] dashboard_id: The ID of the generated dashboard. + :param pulumi.Input['LakehouseMonitorDataClassificationConfigArgs'] data_classification_config: The data classification config for the monitor + :param pulumi.Input[str] drift_metrics_table_name: The full name of the drift metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + :param pulumi.Input['LakehouseMonitorInferenceLogArgs'] inference_log: Configuration for the inference log monitor + :param pulumi.Input[str] monitor_version: The version of the monitor config (e.g. 1,2,3). If negative, the monitor may be corrupted + :param pulumi.Input['LakehouseMonitorNotificationsArgs'] notifications: The notification settings for the monitor + :param pulumi.Input[str] output_schema_name: Schema where output metric tables are created + :param pulumi.Input[str] profile_metrics_table_name: The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + :param pulumi.Input['LakehouseMonitorScheduleArgs'] schedule: The schedule for automatically updating and refreshing metric tables. + :param pulumi.Input[bool] skip_builtin_dashboard: Whether to skip creating a default dashboard summarizing data quality metrics. + :param pulumi.Input[Sequence[pulumi.Input[str]]] slicing_exprs: List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + :param pulumi.Input['LakehouseMonitorSnapshotArgs'] snapshot: Configuration for monitoring snapshot tables. + :param pulumi.Input[str] status: Status of the Monitor + :param pulumi.Input[str] table_name: The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + :param pulumi.Input['LakehouseMonitorTimeSeriesArgs'] time_series: Configuration for monitoring timeseries tables. + :param pulumi.Input[str] warehouse_id: Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + """ + if assets_dir is not None: + pulumi.set(__self__, "assets_dir", assets_dir) + if baseline_table_name is not None: + pulumi.set(__self__, "baseline_table_name", baseline_table_name) + if custom_metrics is not None: + pulumi.set(__self__, "custom_metrics", custom_metrics) + if dashboard_id is not None: + pulumi.set(__self__, "dashboard_id", dashboard_id) + if data_classification_config is not None: + pulumi.set(__self__, "data_classification_config", data_classification_config) + if drift_metrics_table_name is not None: + pulumi.set(__self__, "drift_metrics_table_name", drift_metrics_table_name) + if inference_log is not None: + pulumi.set(__self__, "inference_log", inference_log) + if latest_monitor_failure_msg is not None: + pulumi.set(__self__, "latest_monitor_failure_msg", latest_monitor_failure_msg) + if monitor_version is not None: + pulumi.set(__self__, "monitor_version", monitor_version) + if notifications is not None: + pulumi.set(__self__, "notifications", notifications) + if output_schema_name is not None: + pulumi.set(__self__, "output_schema_name", output_schema_name) + if profile_metrics_table_name is not None: + pulumi.set(__self__, "profile_metrics_table_name", profile_metrics_table_name) + if schedule is not None: + pulumi.set(__self__, "schedule", schedule) + if skip_builtin_dashboard is not None: + pulumi.set(__self__, "skip_builtin_dashboard", skip_builtin_dashboard) + if slicing_exprs is not None: + pulumi.set(__self__, "slicing_exprs", slicing_exprs) + if snapshot is not None: + pulumi.set(__self__, "snapshot", snapshot) + if status is not None: + pulumi.set(__self__, "status", status) + if table_name is not None: + pulumi.set(__self__, "table_name", table_name) + if time_series is not None: + pulumi.set(__self__, "time_series", time_series) + if warehouse_id is not None: + pulumi.set(__self__, "warehouse_id", warehouse_id) + + @property + @pulumi.getter(name="assetsDir") + def assets_dir(self) -> Optional[pulumi.Input[str]]: + """ + The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + """ + return pulumi.get(self, "assets_dir") + + @assets_dir.setter + def assets_dir(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "assets_dir", value) + + @property + @pulumi.getter(name="baselineTableName") + def baseline_table_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + table. + """ + return pulumi.get(self, "baseline_table_name") + + @baseline_table_name.setter + def baseline_table_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "baseline_table_name", value) + + @property + @pulumi.getter(name="customMetrics") + def custom_metrics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LakehouseMonitorCustomMetricArgs']]]]: + """ + Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + """ + return pulumi.get(self, "custom_metrics") + + @custom_metrics.setter + def custom_metrics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LakehouseMonitorCustomMetricArgs']]]]): + pulumi.set(self, "custom_metrics", value) + + @property + @pulumi.getter(name="dashboardId") + def dashboard_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID of the generated dashboard. + """ + return pulumi.get(self, "dashboard_id") + + @dashboard_id.setter + def dashboard_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "dashboard_id", value) + + @property + @pulumi.getter(name="dataClassificationConfig") + def data_classification_config(self) -> Optional[pulumi.Input['LakehouseMonitorDataClassificationConfigArgs']]: + """ + The data classification config for the monitor + """ + return pulumi.get(self, "data_classification_config") + + @data_classification_config.setter + def data_classification_config(self, value: Optional[pulumi.Input['LakehouseMonitorDataClassificationConfigArgs']]): + pulumi.set(self, "data_classification_config", value) + + @property + @pulumi.getter(name="driftMetricsTableName") + def drift_metrics_table_name(self) -> Optional[pulumi.Input[str]]: + """ + The full name of the drift metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + """ + return pulumi.get(self, "drift_metrics_table_name") + + @drift_metrics_table_name.setter + def drift_metrics_table_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "drift_metrics_table_name", value) + + @property + @pulumi.getter(name="inferenceLog") + def inference_log(self) -> Optional[pulumi.Input['LakehouseMonitorInferenceLogArgs']]: + """ + Configuration for the inference log monitor + """ + return pulumi.get(self, "inference_log") + + @inference_log.setter + def inference_log(self, value: Optional[pulumi.Input['LakehouseMonitorInferenceLogArgs']]): + pulumi.set(self, "inference_log", value) + + @property + @pulumi.getter(name="latestMonitorFailureMsg") + def latest_monitor_failure_msg(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "latest_monitor_failure_msg") + + @latest_monitor_failure_msg.setter + def latest_monitor_failure_msg(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "latest_monitor_failure_msg", value) + + @property + @pulumi.getter(name="monitorVersion") + def monitor_version(self) -> Optional[pulumi.Input[str]]: + """ + The version of the monitor config (e.g. 1,2,3). If negative, the monitor may be corrupted + """ + return pulumi.get(self, "monitor_version") + + @monitor_version.setter + def monitor_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "monitor_version", value) + + @property + @pulumi.getter + def notifications(self) -> Optional[pulumi.Input['LakehouseMonitorNotificationsArgs']]: + """ + The notification settings for the monitor + """ + return pulumi.get(self, "notifications") + + @notifications.setter + def notifications(self, value: Optional[pulumi.Input['LakehouseMonitorNotificationsArgs']]): + pulumi.set(self, "notifications", value) + + @property + @pulumi.getter(name="outputSchemaName") + def output_schema_name(self) -> Optional[pulumi.Input[str]]: + """ + Schema where output metric tables are created + """ + return pulumi.get(self, "output_schema_name") + + @output_schema_name.setter + def output_schema_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "output_schema_name", value) + + @property + @pulumi.getter(name="profileMetricsTableName") + def profile_metrics_table_name(self) -> Optional[pulumi.Input[str]]: + """ + The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + """ + return pulumi.get(self, "profile_metrics_table_name") + + @profile_metrics_table_name.setter + def profile_metrics_table_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "profile_metrics_table_name", value) + + @property + @pulumi.getter + def schedule(self) -> Optional[pulumi.Input['LakehouseMonitorScheduleArgs']]: + """ + The schedule for automatically updating and refreshing metric tables. + """ + return pulumi.get(self, "schedule") + + @schedule.setter + def schedule(self, value: Optional[pulumi.Input['LakehouseMonitorScheduleArgs']]): + pulumi.set(self, "schedule", value) + + @property + @pulumi.getter(name="skipBuiltinDashboard") + def skip_builtin_dashboard(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to skip creating a default dashboard summarizing data quality metrics. + """ + return pulumi.get(self, "skip_builtin_dashboard") + + @skip_builtin_dashboard.setter + def skip_builtin_dashboard(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "skip_builtin_dashboard", value) + + @property + @pulumi.getter(name="slicingExprs") + def slicing_exprs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + """ + return pulumi.get(self, "slicing_exprs") + + @slicing_exprs.setter + def slicing_exprs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "slicing_exprs", value) + + @property + @pulumi.getter + def snapshot(self) -> Optional[pulumi.Input['LakehouseMonitorSnapshotArgs']]: + """ + Configuration for monitoring snapshot tables. + """ + return pulumi.get(self, "snapshot") + + @snapshot.setter + def snapshot(self, value: Optional[pulumi.Input['LakehouseMonitorSnapshotArgs']]): + pulumi.set(self, "snapshot", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input[str]]: + """ + Status of the Monitor + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "status", value) + + @property + @pulumi.getter(name="tableName") + def table_name(self) -> Optional[pulumi.Input[str]]: + """ + The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + """ + return pulumi.get(self, "table_name") + + @table_name.setter + def table_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "table_name", value) + + @property + @pulumi.getter(name="timeSeries") + def time_series(self) -> Optional[pulumi.Input['LakehouseMonitorTimeSeriesArgs']]: + """ + Configuration for monitoring timeseries tables. + """ + return pulumi.get(self, "time_series") + + @time_series.setter + def time_series(self, value: Optional[pulumi.Input['LakehouseMonitorTimeSeriesArgs']]): + pulumi.set(self, "time_series", value) + + @property + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> Optional[pulumi.Input[str]]: + """ + Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + """ + return pulumi.get(self, "warehouse_id") + + @warehouse_id.setter + def warehouse_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "warehouse_id", value) + + +class LakehouseMonitor(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + assets_dir: Optional[pulumi.Input[str]] = None, + baseline_table_name: Optional[pulumi.Input[str]] = None, + custom_metrics: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LakehouseMonitorCustomMetricArgs']]]]] = None, + data_classification_config: Optional[pulumi.Input[pulumi.InputType['LakehouseMonitorDataClassificationConfigArgs']]] = None, + inference_log: Optional[pulumi.Input[pulumi.InputType['LakehouseMonitorInferenceLogArgs']]] = None, + latest_monitor_failure_msg: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input[pulumi.InputType['LakehouseMonitorNotificationsArgs']]] = None, + output_schema_name: Optional[pulumi.Input[str]] = None, + schedule: Optional[pulumi.Input[pulumi.InputType['LakehouseMonitorScheduleArgs']]] = None, + skip_builtin_dashboard: Optional[pulumi.Input[bool]] = None, + slicing_exprs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + snapshot: Optional[pulumi.Input[pulumi.InputType['LakehouseMonitorSnapshotArgs']]] = None, + table_name: Optional[pulumi.Input[str]] = None, + time_series: Optional[pulumi.Input[pulumi.InputType['LakehouseMonitorTimeSeriesArgs']]] = None, + warehouse_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + This resource allows you to manage [Lakehouse Monitors](https://docs.databricks.com/en/lakehouse-monitoring/index.html) in Databricks. + + A `LakehouseMonitor` is attached to a SqlTable and can be of type timeseries, snapshot or inference. + + ### Inference Monitor + + + ```python + import pulumi + import pulumi_databricks as databricks + + test_monitor_inference = databricks.LakehouseMonitor("testMonitorInference", + assets_dir=f"/Shared/provider-test/databricks_lakehouse_monitoring/{databricks_table['myTestTable']['name']}", + inference_log=databricks.LakehouseMonitorInferenceLogArgs( + granularities=["1 hour"], + model_id_col="model_id", + prediction_col="prediction", + problem_type="PROBLEM_TYPE_REGRESSION", + timestamp_col="timestamp", + ), + output_schema_name=f"{databricks_catalog['sandbox']['name']}.{databricks_schema['things']['name']}", + table_name=f"{databricks_catalog['sandbox']['name']}.{databricks_schema['things']['name']}.{databricks_table['myTestTable']['name']}") + ``` + + ### Snapshot Monitor + + ```python + import pulumi + import pulumi_databricks as databricks + + test_monitor_inference = databricks.LakehouseMonitor("testMonitorInference", + assets_dir=f"/Shared/provider-test/databricks_lakehouse_monitoring/{databricks_table['myTestTable']['name']}", + output_schema_name=f"{databricks_catalog['sandbox']['name']}.{databricks_schema['things']['name']}", + snapshot=databricks.LakehouseMonitorSnapshotArgs(), + table_name=f"{databricks_catalog['sandbox']['name']}.{databricks_schema['things']['name']}.{databricks_table['myTestTable']['name']}") + ``` + + + ## Related Resources + + The following resources are often used in the same context: + + * Catalog + * Schema + * SqlTable + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] assets_dir: The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + :param pulumi.Input[str] baseline_table_name: Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + table. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LakehouseMonitorCustomMetricArgs']]]] custom_metrics: Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + :param pulumi.Input[pulumi.InputType['LakehouseMonitorDataClassificationConfigArgs']] data_classification_config: The data classification config for the monitor + :param pulumi.Input[pulumi.InputType['LakehouseMonitorInferenceLogArgs']] inference_log: Configuration for the inference log monitor + :param pulumi.Input[pulumi.InputType['LakehouseMonitorNotificationsArgs']] notifications: The notification settings for the monitor + :param pulumi.Input[str] output_schema_name: Schema where output metric tables are created + :param pulumi.Input[pulumi.InputType['LakehouseMonitorScheduleArgs']] schedule: The schedule for automatically updating and refreshing metric tables. + :param pulumi.Input[bool] skip_builtin_dashboard: Whether to skip creating a default dashboard summarizing data quality metrics. + :param pulumi.Input[Sequence[pulumi.Input[str]]] slicing_exprs: List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + :param pulumi.Input[pulumi.InputType['LakehouseMonitorSnapshotArgs']] snapshot: Configuration for monitoring snapshot tables. + :param pulumi.Input[str] table_name: The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + :param pulumi.Input[pulumi.InputType['LakehouseMonitorTimeSeriesArgs']] time_series: Configuration for monitoring timeseries tables. + :param pulumi.Input[str] warehouse_id: Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: LakehouseMonitorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + This resource allows you to manage [Lakehouse Monitors](https://docs.databricks.com/en/lakehouse-monitoring/index.html) in Databricks. + + A `LakehouseMonitor` is attached to a SqlTable and can be of type timeseries, snapshot or inference. + + ### Inference Monitor + + + ```python + import pulumi + import pulumi_databricks as databricks + + test_monitor_inference = databricks.LakehouseMonitor("testMonitorInference", + assets_dir=f"/Shared/provider-test/databricks_lakehouse_monitoring/{databricks_table['myTestTable']['name']}", + inference_log=databricks.LakehouseMonitorInferenceLogArgs( + granularities=["1 hour"], + model_id_col="model_id", + prediction_col="prediction", + problem_type="PROBLEM_TYPE_REGRESSION", + timestamp_col="timestamp", + ), + output_schema_name=f"{databricks_catalog['sandbox']['name']}.{databricks_schema['things']['name']}", + table_name=f"{databricks_catalog['sandbox']['name']}.{databricks_schema['things']['name']}.{databricks_table['myTestTable']['name']}") + ``` + + ### Snapshot Monitor + + ```python + import pulumi + import pulumi_databricks as databricks + + test_monitor_inference = databricks.LakehouseMonitor("testMonitorInference", + assets_dir=f"/Shared/provider-test/databricks_lakehouse_monitoring/{databricks_table['myTestTable']['name']}", + output_schema_name=f"{databricks_catalog['sandbox']['name']}.{databricks_schema['things']['name']}", + snapshot=databricks.LakehouseMonitorSnapshotArgs(), + table_name=f"{databricks_catalog['sandbox']['name']}.{databricks_schema['things']['name']}.{databricks_table['myTestTable']['name']}") + ``` + + + ## Related Resources + + The following resources are often used in the same context: + + * Catalog + * Schema + * SqlTable + + :param str resource_name: The name of the resource. + :param LakehouseMonitorArgs 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(LakehouseMonitorArgs, 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, + assets_dir: Optional[pulumi.Input[str]] = None, + baseline_table_name: Optional[pulumi.Input[str]] = None, + custom_metrics: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LakehouseMonitorCustomMetricArgs']]]]] = None, + data_classification_config: Optional[pulumi.Input[pulumi.InputType['LakehouseMonitorDataClassificationConfigArgs']]] = None, + inference_log: Optional[pulumi.Input[pulumi.InputType['LakehouseMonitorInferenceLogArgs']]] = None, + latest_monitor_failure_msg: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input[pulumi.InputType['LakehouseMonitorNotificationsArgs']]] = None, + output_schema_name: Optional[pulumi.Input[str]] = None, + schedule: Optional[pulumi.Input[pulumi.InputType['LakehouseMonitorScheduleArgs']]] = None, + skip_builtin_dashboard: Optional[pulumi.Input[bool]] = None, + slicing_exprs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + snapshot: Optional[pulumi.Input[pulumi.InputType['LakehouseMonitorSnapshotArgs']]] = None, + table_name: Optional[pulumi.Input[str]] = None, + time_series: Optional[pulumi.Input[pulumi.InputType['LakehouseMonitorTimeSeriesArgs']]] = None, + warehouse_id: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = LakehouseMonitorArgs.__new__(LakehouseMonitorArgs) + + if assets_dir is None and not opts.urn: + raise TypeError("Missing required property 'assets_dir'") + __props__.__dict__["assets_dir"] = assets_dir + __props__.__dict__["baseline_table_name"] = baseline_table_name + __props__.__dict__["custom_metrics"] = custom_metrics + __props__.__dict__["data_classification_config"] = data_classification_config + __props__.__dict__["inference_log"] = inference_log + __props__.__dict__["latest_monitor_failure_msg"] = latest_monitor_failure_msg + __props__.__dict__["notifications"] = notifications + if output_schema_name is None and not opts.urn: + raise TypeError("Missing required property 'output_schema_name'") + __props__.__dict__["output_schema_name"] = output_schema_name + __props__.__dict__["schedule"] = schedule + __props__.__dict__["skip_builtin_dashboard"] = skip_builtin_dashboard + __props__.__dict__["slicing_exprs"] = slicing_exprs + __props__.__dict__["snapshot"] = snapshot + if table_name is None and not opts.urn: + raise TypeError("Missing required property 'table_name'") + __props__.__dict__["table_name"] = table_name + __props__.__dict__["time_series"] = time_series + __props__.__dict__["warehouse_id"] = warehouse_id + __props__.__dict__["dashboard_id"] = None + __props__.__dict__["drift_metrics_table_name"] = None + __props__.__dict__["monitor_version"] = None + __props__.__dict__["profile_metrics_table_name"] = None + __props__.__dict__["status"] = None + super(LakehouseMonitor, __self__).__init__( + 'databricks:index/lakehouseMonitor:LakehouseMonitor', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + assets_dir: Optional[pulumi.Input[str]] = None, + baseline_table_name: Optional[pulumi.Input[str]] = None, + custom_metrics: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LakehouseMonitorCustomMetricArgs']]]]] = None, + dashboard_id: Optional[pulumi.Input[str]] = None, + data_classification_config: Optional[pulumi.Input[pulumi.InputType['LakehouseMonitorDataClassificationConfigArgs']]] = None, + drift_metrics_table_name: Optional[pulumi.Input[str]] = None, + inference_log: Optional[pulumi.Input[pulumi.InputType['LakehouseMonitorInferenceLogArgs']]] = None, + latest_monitor_failure_msg: Optional[pulumi.Input[str]] = None, + monitor_version: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input[pulumi.InputType['LakehouseMonitorNotificationsArgs']]] = None, + output_schema_name: Optional[pulumi.Input[str]] = None, + profile_metrics_table_name: Optional[pulumi.Input[str]] = None, + schedule: Optional[pulumi.Input[pulumi.InputType['LakehouseMonitorScheduleArgs']]] = None, + skip_builtin_dashboard: Optional[pulumi.Input[bool]] = None, + slicing_exprs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + snapshot: Optional[pulumi.Input[pulumi.InputType['LakehouseMonitorSnapshotArgs']]] = None, + status: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + time_series: Optional[pulumi.Input[pulumi.InputType['LakehouseMonitorTimeSeriesArgs']]] = None, + warehouse_id: Optional[pulumi.Input[str]] = None) -> 'LakehouseMonitor': + """ + Get an existing LakehouseMonitor 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] assets_dir: The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + :param pulumi.Input[str] baseline_table_name: Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + table. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LakehouseMonitorCustomMetricArgs']]]] custom_metrics: Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + :param pulumi.Input[str] dashboard_id: The ID of the generated dashboard. + :param pulumi.Input[pulumi.InputType['LakehouseMonitorDataClassificationConfigArgs']] data_classification_config: The data classification config for the monitor + :param pulumi.Input[str] drift_metrics_table_name: The full name of the drift metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + :param pulumi.Input[pulumi.InputType['LakehouseMonitorInferenceLogArgs']] inference_log: Configuration for the inference log monitor + :param pulumi.Input[str] monitor_version: The version of the monitor config (e.g. 1,2,3). If negative, the monitor may be corrupted + :param pulumi.Input[pulumi.InputType['LakehouseMonitorNotificationsArgs']] notifications: The notification settings for the monitor + :param pulumi.Input[str] output_schema_name: Schema where output metric tables are created + :param pulumi.Input[str] profile_metrics_table_name: The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + :param pulumi.Input[pulumi.InputType['LakehouseMonitorScheduleArgs']] schedule: The schedule for automatically updating and refreshing metric tables. + :param pulumi.Input[bool] skip_builtin_dashboard: Whether to skip creating a default dashboard summarizing data quality metrics. + :param pulumi.Input[Sequence[pulumi.Input[str]]] slicing_exprs: List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + :param pulumi.Input[pulumi.InputType['LakehouseMonitorSnapshotArgs']] snapshot: Configuration for monitoring snapshot tables. + :param pulumi.Input[str] status: Status of the Monitor + :param pulumi.Input[str] table_name: The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + :param pulumi.Input[pulumi.InputType['LakehouseMonitorTimeSeriesArgs']] time_series: Configuration for monitoring timeseries tables. + :param pulumi.Input[str] warehouse_id: Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _LakehouseMonitorState.__new__(_LakehouseMonitorState) + + __props__.__dict__["assets_dir"] = assets_dir + __props__.__dict__["baseline_table_name"] = baseline_table_name + __props__.__dict__["custom_metrics"] = custom_metrics + __props__.__dict__["dashboard_id"] = dashboard_id + __props__.__dict__["data_classification_config"] = data_classification_config + __props__.__dict__["drift_metrics_table_name"] = drift_metrics_table_name + __props__.__dict__["inference_log"] = inference_log + __props__.__dict__["latest_monitor_failure_msg"] = latest_monitor_failure_msg + __props__.__dict__["monitor_version"] = monitor_version + __props__.__dict__["notifications"] = notifications + __props__.__dict__["output_schema_name"] = output_schema_name + __props__.__dict__["profile_metrics_table_name"] = profile_metrics_table_name + __props__.__dict__["schedule"] = schedule + __props__.__dict__["skip_builtin_dashboard"] = skip_builtin_dashboard + __props__.__dict__["slicing_exprs"] = slicing_exprs + __props__.__dict__["snapshot"] = snapshot + __props__.__dict__["status"] = status + __props__.__dict__["table_name"] = table_name + __props__.__dict__["time_series"] = time_series + __props__.__dict__["warehouse_id"] = warehouse_id + return LakehouseMonitor(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="assetsDir") + def assets_dir(self) -> pulumi.Output[str]: + """ + The directory to store the monitoring assets (Eg. Dashboard and Metric Tables) + """ + return pulumi.get(self, "assets_dir") + + @property + @pulumi.getter(name="baselineTableName") + def baseline_table_name(self) -> pulumi.Output[Optional[str]]: + """ + Name of the baseline table from which drift metrics are computed from.Columns in the monitored table should also be present in the baseline + table. + """ + return pulumi.get(self, "baseline_table_name") + + @property + @pulumi.getter(name="customMetrics") + def custom_metrics(self) -> pulumi.Output[Optional[Sequence['outputs.LakehouseMonitorCustomMetric']]]: + """ + Custom metrics to compute on the monitored table. These can be aggregate metrics, derived metrics (from already computed aggregate metrics), or drift metrics (comparing metrics across time windows). + """ + return pulumi.get(self, "custom_metrics") + + @property + @pulumi.getter(name="dashboardId") + def dashboard_id(self) -> pulumi.Output[str]: + """ + The ID of the generated dashboard. + """ + return pulumi.get(self, "dashboard_id") + + @property + @pulumi.getter(name="dataClassificationConfig") + def data_classification_config(self) -> pulumi.Output[Optional['outputs.LakehouseMonitorDataClassificationConfig']]: + """ + The data classification config for the monitor + """ + return pulumi.get(self, "data_classification_config") + + @property + @pulumi.getter(name="driftMetricsTableName") + def drift_metrics_table_name(self) -> pulumi.Output[str]: + """ + The full name of the drift metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + """ + return pulumi.get(self, "drift_metrics_table_name") + + @property + @pulumi.getter(name="inferenceLog") + def inference_log(self) -> pulumi.Output[Optional['outputs.LakehouseMonitorInferenceLog']]: + """ + Configuration for the inference log monitor + """ + return pulumi.get(self, "inference_log") + + @property + @pulumi.getter(name="latestMonitorFailureMsg") + def latest_monitor_failure_msg(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "latest_monitor_failure_msg") + + @property + @pulumi.getter(name="monitorVersion") + def monitor_version(self) -> pulumi.Output[str]: + """ + The version of the monitor config (e.g. 1,2,3). If negative, the monitor may be corrupted + """ + return pulumi.get(self, "monitor_version") + + @property + @pulumi.getter + def notifications(self) -> pulumi.Output[Optional['outputs.LakehouseMonitorNotifications']]: + """ + The notification settings for the monitor + """ + return pulumi.get(self, "notifications") + + @property + @pulumi.getter(name="outputSchemaName") + def output_schema_name(self) -> pulumi.Output[str]: + """ + Schema where output metric tables are created + """ + return pulumi.get(self, "output_schema_name") + + @property + @pulumi.getter(name="profileMetricsTableName") + def profile_metrics_table_name(self) -> pulumi.Output[str]: + """ + The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__. + """ + return pulumi.get(self, "profile_metrics_table_name") + + @property + @pulumi.getter + def schedule(self) -> pulumi.Output[Optional['outputs.LakehouseMonitorSchedule']]: + """ + The schedule for automatically updating and refreshing metric tables. + """ + return pulumi.get(self, "schedule") + + @property + @pulumi.getter(name="skipBuiltinDashboard") + def skip_builtin_dashboard(self) -> pulumi.Output[Optional[bool]]: + """ + Whether to skip creating a default dashboard summarizing data quality metrics. + """ + return pulumi.get(self, "skip_builtin_dashboard") + + @property + @pulumi.getter(name="slicingExprs") + def slicing_exprs(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + """ + return pulumi.get(self, "slicing_exprs") + + @property + @pulumi.getter + def snapshot(self) -> pulumi.Output[Optional['outputs.LakehouseMonitorSnapshot']]: + """ + Configuration for monitoring snapshot tables. + """ + return pulumi.get(self, "snapshot") + + @property + @pulumi.getter + def status(self) -> pulumi.Output[str]: + """ + Status of the Monitor + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="tableName") + def table_name(self) -> pulumi.Output[str]: + """ + The full name of the table to attach the monitor too. Its of the format {catalog}.{schema}.{tableName} + """ + return pulumi.get(self, "table_name") + + @property + @pulumi.getter(name="timeSeries") + def time_series(self) -> pulumi.Output[Optional['outputs.LakehouseMonitorTimeSeries']]: + """ + Configuration for monitoring timeseries tables. + """ + return pulumi.get(self, "time_series") + + @property + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> pulumi.Output[Optional[str]]: + """ + Optional argument to specify the warehouse for dashboard creation. If not specified, the first running warehouse will be used. + """ + return pulumi.get(self, "warehouse_id") + diff --git a/sdk/python/pulumi_databricks/model_serving.py b/sdk/python/pulumi_databricks/model_serving.py index f5a7b6a3..99578742 100644 --- a/sdk/python/pulumi_databricks/model_serving.py +++ b/sdk/python/pulumi_databricks/model_serving.py @@ -24,6 +24,8 @@ def __init__(__self__, *, The set of arguments for constructing a ModelServing resource. :param pulumi.Input['ModelServingConfigArgs'] config: The model serving endpoint configuration. :param pulumi.Input[str] name: The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. + :param pulumi.Input[Sequence[pulumi.Input['ModelServingRateLimitArgs']]] rate_limits: A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + :param pulumi.Input[Sequence[pulumi.Input['ModelServingTagArgs']]] tags: Tags to be attached to the serving endpoint and automatically propagated to billing logs. """ pulumi.set(__self__, "config", config) if name is not None: @@ -60,6 +62,9 @@ def name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="rateLimits") def rate_limits(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingRateLimitArgs']]]]: + """ + A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + """ return pulumi.get(self, "rate_limits") @rate_limits.setter @@ -69,6 +74,9 @@ def rate_limits(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ModelS @property @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingTagArgs']]]]: + """ + Tags to be attached to the serving endpoint and automatically propagated to billing logs. + """ return pulumi.get(self, "tags") @tags.setter @@ -88,7 +96,9 @@ def __init__(__self__, *, Input properties used for looking up and filtering ModelServing resources. :param pulumi.Input['ModelServingConfigArgs'] config: The model serving endpoint configuration. :param pulumi.Input[str] name: The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. + :param pulumi.Input[Sequence[pulumi.Input['ModelServingRateLimitArgs']]] rate_limits: A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. :param pulumi.Input[str] serving_endpoint_id: Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations. + :param pulumi.Input[Sequence[pulumi.Input['ModelServingTagArgs']]] tags: Tags to be attached to the serving endpoint and automatically propagated to billing logs. """ if config is not None: pulumi.set(__self__, "config", config) @@ -128,6 +138,9 @@ def name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="rateLimits") def rate_limits(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingRateLimitArgs']]]]: + """ + A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + """ return pulumi.get(self, "rate_limits") @rate_limits.setter @@ -149,6 +162,9 @@ def serving_endpoint_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingTagArgs']]]]: + """ + Tags to be attached to the serving endpoint and automatically propagated to billing logs. + """ return pulumi.get(self, "tags") @tags.setter @@ -169,6 +185,8 @@ def __init__(__self__, """ This resource allows you to manage [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks. + **Note** If you replace `served_models` with `served_entities` in an existing serving endpoint, the serving endpoint will briefly go into an update state (~30 seconds) and increment the config version. + ## Example Usage @@ -177,17 +195,17 @@ def __init__(__self__, import pulumi_databricks as databricks this = databricks.ModelServing("this", config=databricks.ModelServingConfigArgs( - served_models=[ - databricks.ModelServingConfigServedModelArgs( - model_name="ads-model", - model_version="2", + served_entities=[ + databricks.ModelServingConfigServedEntityArgs( + entity_name="ads-model", + entity_version="2", name="prod_model", scale_to_zero_enabled=True, workload_size="Small", ), - databricks.ModelServingConfigServedModelArgs( - model_name="ads-model", - model_version="4", + databricks.ModelServingConfigServedEntityArgs( + entity_name="ads-model", + entity_version="4", name="candidate_model", scale_to_zero_enabled=False, workload_size="Small", @@ -239,6 +257,8 @@ def __init__(__self__, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[pulumi.InputType['ModelServingConfigArgs']] config: The model serving endpoint configuration. :param pulumi.Input[str] name: The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ModelServingRateLimitArgs']]]] rate_limits: A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ModelServingTagArgs']]]] tags: Tags to be attached to the serving endpoint and automatically propagated to billing logs. """ ... @overload @@ -249,6 +269,8 @@ def __init__(__self__, """ This resource allows you to manage [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks. + **Note** If you replace `served_models` with `served_entities` in an existing serving endpoint, the serving endpoint will briefly go into an update state (~30 seconds) and increment the config version. + ## Example Usage @@ -257,17 +279,17 @@ def __init__(__self__, import pulumi_databricks as databricks this = databricks.ModelServing("this", config=databricks.ModelServingConfigArgs( - served_models=[ - databricks.ModelServingConfigServedModelArgs( - model_name="ads-model", - model_version="2", + served_entities=[ + databricks.ModelServingConfigServedEntityArgs( + entity_name="ads-model", + entity_version="2", name="prod_model", scale_to_zero_enabled=True, workload_size="Small", ), - databricks.ModelServingConfigServedModelArgs( - model_name="ads-model", - model_version="4", + databricks.ModelServingConfigServedEntityArgs( + entity_name="ads-model", + entity_version="4", name="candidate_model", scale_to_zero_enabled=False, workload_size="Small", @@ -374,7 +396,9 @@ def get(resource_name: str, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[pulumi.InputType['ModelServingConfigArgs']] config: The model serving endpoint configuration. :param pulumi.Input[str] name: The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ModelServingRateLimitArgs']]]] rate_limits: A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. :param pulumi.Input[str] serving_endpoint_id: Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ModelServingTagArgs']]]] tags: Tags to be attached to the serving endpoint and automatically propagated to billing logs. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -406,6 +430,9 @@ def name(self) -> pulumi.Output[str]: @property @pulumi.getter(name="rateLimits") def rate_limits(self) -> pulumi.Output[Optional[Sequence['outputs.ModelServingRateLimit']]]: + """ + A list of rate limits to be applied to the serving endpoint. NOTE: only external and foundation model endpoints are supported as of now. + """ return pulumi.get(self, "rate_limits") @property @@ -419,5 +446,8 @@ def serving_endpoint_id(self) -> pulumi.Output[str]: @property @pulumi.getter def tags(self) -> pulumi.Output[Optional[Sequence['outputs.ModelServingTag']]]: + """ + Tags to be attached to the serving endpoint and automatically propagated to billing logs. + """ return pulumi.get(self, "tags") diff --git a/sdk/python/pulumi_databricks/online_table.py b/sdk/python/pulumi_databricks/online_table.py new file mode 100644 index 00000000..7f41746c --- /dev/null +++ b/sdk/python/pulumi_databricks/online_table.py @@ -0,0 +1,276 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['OnlineTableArgs', 'OnlineTable'] + +@pulumi.input_type +class OnlineTableArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None, + spec: Optional[pulumi.Input['OnlineTableSpecArgs']] = None): + """ + The set of arguments for constructing a OnlineTable resource. + :param pulumi.Input[str] name: 3-level name of the Online Table to create. + :param pulumi.Input['OnlineTableSpecArgs'] spec: object containing specification of the online table: + """ + if name is not None: + pulumi.set(__self__, "name", name) + if spec is not None: + pulumi.set(__self__, "spec", spec) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + 3-level name of the Online Table to create. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def spec(self) -> Optional[pulumi.Input['OnlineTableSpecArgs']]: + """ + object containing specification of the online table: + """ + return pulumi.get(self, "spec") + + @spec.setter + def spec(self, value: Optional[pulumi.Input['OnlineTableSpecArgs']]): + pulumi.set(self, "spec", value) + + +@pulumi.input_type +class _OnlineTableState: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None, + spec: Optional[pulumi.Input['OnlineTableSpecArgs']] = None, + statuses: Optional[pulumi.Input[Sequence[pulumi.Input['OnlineTableStatusArgs']]]] = None): + """ + Input properties used for looking up and filtering OnlineTable resources. + :param pulumi.Input[str] name: 3-level name of the Online Table to create. + :param pulumi.Input['OnlineTableSpecArgs'] spec: object containing specification of the online table: + :param pulumi.Input[Sequence[pulumi.Input['OnlineTableStatusArgs']]] statuses: object describing status of the online table: + """ + if name is not None: + pulumi.set(__self__, "name", name) + if spec is not None: + pulumi.set(__self__, "spec", spec) + if statuses is not None: + pulumi.set(__self__, "statuses", statuses) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + 3-level name of the Online Table to create. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def spec(self) -> Optional[pulumi.Input['OnlineTableSpecArgs']]: + """ + object containing specification of the online table: + """ + return pulumi.get(self, "spec") + + @spec.setter + def spec(self, value: Optional[pulumi.Input['OnlineTableSpecArgs']]): + pulumi.set(self, "spec", value) + + @property + @pulumi.getter + def statuses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OnlineTableStatusArgs']]]]: + """ + object describing status of the online table: + """ + return pulumi.get(self, "statuses") + + @statuses.setter + def statuses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OnlineTableStatusArgs']]]]): + pulumi.set(self, "statuses", value) + + +class OnlineTable(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + name: Optional[pulumi.Input[str]] = None, + spec: Optional[pulumi.Input[pulumi.InputType['OnlineTableSpecArgs']]] = None, + __props__=None): + """ + > **Note** This resource could be only used on Unity Catalog-enabled workspace! + + This resource allows you to create [Online Table](https://docs.databricks.com/en/machine-learning/feature-store/online-tables.html) in Databricks. An online table is a read-only copy of a Delta Table that is stored in row-oriented format optimized for online access. Online tables are fully serverless tables that auto-scale throughput capacity with the request load and provide low latency and high throughput access to data of any scale. Online tables are designed to work with Databricks Model Serving, Feature Serving, and retrieval-augmented generation (RAG) applications where they are used for fast data lookups. + + ## Example Usage + + + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.OnlineTable("this", spec=databricks.OnlineTableSpecArgs( + primary_key_columns=["id"], + run_triggered=databricks.OnlineTableSpecRunTriggeredArgs(), + source_table_full_name="main.default.source_table", + )) + ``` + + + ## Import + + The resource can be imported using the name of the Online Table: + + bash + + ```sh + $ pulumi import databricks:index/onlineTable:OnlineTable this + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] name: 3-level name of the Online Table to create. + :param pulumi.Input[pulumi.InputType['OnlineTableSpecArgs']] spec: object containing specification of the online table: + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: Optional[OnlineTableArgs] = None, + opts: Optional[pulumi.ResourceOptions] = None): + """ + > **Note** This resource could be only used on Unity Catalog-enabled workspace! + + This resource allows you to create [Online Table](https://docs.databricks.com/en/machine-learning/feature-store/online-tables.html) in Databricks. An online table is a read-only copy of a Delta Table that is stored in row-oriented format optimized for online access. Online tables are fully serverless tables that auto-scale throughput capacity with the request load and provide low latency and high throughput access to data of any scale. Online tables are designed to work with Databricks Model Serving, Feature Serving, and retrieval-augmented generation (RAG) applications where they are used for fast data lookups. + + ## Example Usage + + + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.OnlineTable("this", spec=databricks.OnlineTableSpecArgs( + primary_key_columns=["id"], + run_triggered=databricks.OnlineTableSpecRunTriggeredArgs(), + source_table_full_name="main.default.source_table", + )) + ``` + + + ## Import + + The resource can be imported using the name of the Online Table: + + bash + + ```sh + $ pulumi import databricks:index/onlineTable:OnlineTable this + ``` + + :param str resource_name: The name of the resource. + :param OnlineTableArgs 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(OnlineTableArgs, 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, + name: Optional[pulumi.Input[str]] = None, + spec: Optional[pulumi.Input[pulumi.InputType['OnlineTableSpecArgs']]] = 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__ = OnlineTableArgs.__new__(OnlineTableArgs) + + __props__.__dict__["name"] = name + __props__.__dict__["spec"] = spec + __props__.__dict__["statuses"] = None + super(OnlineTable, __self__).__init__( + 'databricks:index/onlineTable:OnlineTable', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + name: Optional[pulumi.Input[str]] = None, + spec: Optional[pulumi.Input[pulumi.InputType['OnlineTableSpecArgs']]] = None, + statuses: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OnlineTableStatusArgs']]]]] = None) -> 'OnlineTable': + """ + Get an existing OnlineTable 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] name: 3-level name of the Online Table to create. + :param pulumi.Input[pulumi.InputType['OnlineTableSpecArgs']] spec: object containing specification of the online table: + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OnlineTableStatusArgs']]]] statuses: object describing status of the online table: + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _OnlineTableState.__new__(_OnlineTableState) + + __props__.__dict__["name"] = name + __props__.__dict__["spec"] = spec + __props__.__dict__["statuses"] = statuses + return OnlineTable(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + 3-level name of the Online Table to create. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def spec(self) -> pulumi.Output[Optional['outputs.OnlineTableSpec']]: + """ + object containing specification of the online table: + """ + return pulumi.get(self, "spec") + + @property + @pulumi.getter + def statuses(self) -> pulumi.Output[Sequence['outputs.OnlineTableStatus']]: + """ + object describing status of the online table: + """ + return pulumi.get(self, "statuses") + diff --git a/sdk/python/pulumi_databricks/outputs.py b/sdk/python/pulumi_databricks/outputs.py index 1f5680b7..2c335cd2 100644 --- a/sdk/python/pulumi_databricks/outputs.py +++ b/sdk/python/pulumi_databricks/outputs.py @@ -238,11 +238,20 @@ 'JobTaskWebhookNotificationsOnSuccess', 'JobTrigger', 'JobTriggerFileArrival', + 'JobTriggerTableUpdate', 'JobWebhookNotifications', 'JobWebhookNotificationsOnDurationWarningThresholdExceeded', 'JobWebhookNotificationsOnFailure', 'JobWebhookNotificationsOnStart', 'JobWebhookNotificationsOnSuccess', + 'LakehouseMonitorCustomMetric', + 'LakehouseMonitorDataClassificationConfig', + 'LakehouseMonitorInferenceLog', + 'LakehouseMonitorNotifications', + 'LakehouseMonitorNotificationsOnFailure', + 'LakehouseMonitorSchedule', + 'LakehouseMonitorSnapshot', + 'LakehouseMonitorTimeSeries', 'LibraryCran', 'LibraryMaven', 'LibraryPypi', @@ -256,6 +265,15 @@ 'MlflowWebhookJobSpec', 'ModelServingConfig', 'ModelServingConfigAutoCaptureConfig', + 'ModelServingConfigServedEntity', + 'ModelServingConfigServedEntityExternalModel', + 'ModelServingConfigServedEntityExternalModelAi21labsConfig', + 'ModelServingConfigServedEntityExternalModelAmazonBedrockConfig', + 'ModelServingConfigServedEntityExternalModelAnthropicConfig', + 'ModelServingConfigServedEntityExternalModelCohereConfig', + 'ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig', + 'ModelServingConfigServedEntityExternalModelOpenaiConfig', + 'ModelServingConfigServedEntityExternalModelPalmConfig', 'ModelServingConfigServedModel', 'ModelServingConfigTrafficConfig', 'ModelServingConfigTrafficConfigRoute', @@ -278,6 +296,17 @@ 'MwsWorkspacesGcpManagedNetworkConfig', 'MwsWorkspacesGkeConfig', 'MwsWorkspacesToken', + 'OnlineTableSpec', + 'OnlineTableSpecRunContinuously', + 'OnlineTableSpecRunTriggered', + 'OnlineTableStatus', + 'OnlineTableStatusContinuousUpdateStatus', + 'OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress', + 'OnlineTableStatusFailedStatus', + 'OnlineTableStatusProvisioningStatus', + 'OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress', + 'OnlineTableStatusTriggeredUpdateStatus', + 'OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress', 'PermissionsAccessControl', 'PipelineCluster', 'PipelineClusterAutoscale', @@ -347,6 +376,13 @@ 'StorageCredentialGcpServiceAccountKey', 'TableColumn', 'VectorSearchEndpointEndpointStatus', + 'VectorSearchIndexDeltaSyncIndexSpec', + 'VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn', + 'VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn', + 'VectorSearchIndexDirectAccessIndexSpec', + 'VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn', + 'VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn', + 'VectorSearchIndexStatus', 'GetClusterClusterInfoResult', 'GetClusterClusterInfoAutoscaleResult', 'GetClusterClusterInfoAwsAttributesResult', @@ -569,6 +605,7 @@ 'GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessResult', 'GetJobJobSettingsSettingsTriggerResult', 'GetJobJobSettingsSettingsTriggerFileArrivalResult', + 'GetJobJobSettingsSettingsTriggerTableUpdateResult', 'GetJobJobSettingsSettingsWebhookNotificationsResult', 'GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededResult', 'GetJobJobSettingsSettingsWebhookNotificationsOnFailureResult', @@ -6444,7 +6481,7 @@ def __init__(__self__, *, :param 'JobTaskEmailNotificationsArgs' email_notifications: (List) An optional set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below. :param 'JobTaskHealthArgs' health: block described below that specifies health conditions for a given task. :param str job_cluster_key: Identifier that can be referenced in `task` block, so that cluster is shared between tasks - :param Sequence['JobTaskLibraryArgs'] libraries: (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + :param Sequence['JobTaskLibraryArgs'] libraries: (Set) An optional list of libraries to be installed on the cluster that will execute the job. :param 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 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 'JobTaskNewClusterArgs' new_cluster: Same set of parameters as for Cluster resource. @@ -6582,7 +6619,7 @@ def job_cluster_key(self) -> Optional[str]: @pulumi.getter def libraries(self) -> Optional[Sequence['outputs.JobTaskLibrary']]: """ - (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + (Set) An optional list of libraries to be installed on the cluster that will execute the job. """ return pulumi.get(self, "libraries") @@ -6703,9 +6740,9 @@ def webhook_notifications(self) -> Optional['outputs.JobTaskWebhookNotifications @pulumi.output_type class JobTaskConditionTask(dict): def __init__(__self__, *, - left: Optional[str] = None, - op: Optional[str] = None, - right: Optional[str] = None): + left: str, + op: str, + right: str): """ :param str left: The left operand of the condition task. It could be a string value, job state, or a parameter reference. :param 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). @@ -6713,16 +6750,13 @@ def __init__(__self__, *, This task does not require a cluster to execute and does not support retries or notifications. :param str right: The right operand of the condition task. It could be a string value, job state, or parameter reference. """ - if left is not None: - pulumi.set(__self__, "left", left) - if op is not None: - pulumi.set(__self__, "op", op) - if right is not None: - pulumi.set(__self__, "right", right) + pulumi.set(__self__, "left", left) + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "right", right) @property @pulumi.getter - def left(self) -> Optional[str]: + def left(self) -> str: """ The left operand of the condition task. It could be a string value, job state, or a parameter reference. """ @@ -6730,7 +6764,7 @@ def left(self) -> Optional[str]: @property @pulumi.getter - def op(self) -> Optional[str]: + def op(self) -> 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). @@ -6740,7 +6774,7 @@ def op(self) -> Optional[str]: @property @pulumi.getter - def right(self) -> Optional[str]: + def right(self) -> str: """ The right operand of the condition task. It could be a string value, job state, or parameter reference. """ @@ -6918,7 +6952,9 @@ class JobTaskEmailNotifications(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "onDurationWarningThresholdExceededs": + if key == "noAlertForSkippedRuns": + suggest = "no_alert_for_skipped_runs" + elif key == "onDurationWarningThresholdExceededs": suggest = "on_duration_warning_threshold_exceededs" elif key == "onFailures": suggest = "on_failures" @@ -6939,16 +6975,20 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) 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_successes: Optional[Sequence[str]] = None): """ + :param 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 Sequence[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 Sequence[str] on_failures: (List) list of emails to notify when the run fails. :param Sequence[str] on_starts: (List) list of emails to notify when the run starts. :param Sequence[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: @@ -6958,6 +6998,14 @@ 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]: + """ + (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") + @property @pulumi.getter(name="onDurationWarningThresholdExceededs") def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence[str]]: @@ -7131,7 +7179,7 @@ def __init__(__self__, *, :param 'JobTaskForEachTaskTaskEmailNotificationsArgs' email_notifications: (List) An optional set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below. :param 'JobTaskForEachTaskTaskHealthArgs' health: block described below that specifies health conditions for a given task. :param str job_cluster_key: Identifier that can be referenced in `task` block, so that cluster is shared between tasks - :param Sequence['JobTaskForEachTaskTaskLibraryArgs'] libraries: (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + :param Sequence['JobTaskForEachTaskTaskLibraryArgs'] libraries: (Set) An optional list of libraries to be installed on the cluster that will execute the job. :param 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 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 'JobTaskForEachTaskTaskNewClusterArgs' new_cluster: Same set of parameters as for Cluster resource. @@ -7262,7 +7310,7 @@ def job_cluster_key(self) -> Optional[str]: @pulumi.getter def libraries(self) -> Optional[Sequence['outputs.JobTaskForEachTaskTaskLibrary']]: """ - (Set) An optional list of libraries to be installed on the cluster that will execute the job. Please consult libraries section for Cluster resource. + (Set) An optional list of libraries to be installed on the cluster that will execute the job. """ return pulumi.get(self, "libraries") @@ -7383,9 +7431,9 @@ def webhook_notifications(self) -> Optional['outputs.JobTaskForEachTaskTaskWebho @pulumi.output_type class JobTaskForEachTaskTaskConditionTask(dict): def __init__(__self__, *, - left: Optional[str] = None, - op: Optional[str] = None, - right: Optional[str] = None): + left: str, + op: str, + right: str): """ :param str left: The left operand of the condition task. It could be a string value, job state, or a parameter reference. :param 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). @@ -7393,16 +7441,13 @@ def __init__(__self__, *, This task does not require a cluster to execute and does not support retries or notifications. :param str right: The right operand of the condition task. It could be a string value, job state, or parameter reference. """ - if left is not None: - pulumi.set(__self__, "left", left) - if op is not None: - pulumi.set(__self__, "op", op) - if right is not None: - pulumi.set(__self__, "right", right) + pulumi.set(__self__, "left", left) + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "right", right) @property @pulumi.getter - def left(self) -> Optional[str]: + def left(self) -> str: """ The left operand of the condition task. It could be a string value, job state, or a parameter reference. """ @@ -7410,7 +7455,7 @@ def left(self) -> Optional[str]: @property @pulumi.getter - def op(self) -> Optional[str]: + def op(self) -> 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). @@ -7420,7 +7465,7 @@ def op(self) -> Optional[str]: @property @pulumi.getter - def right(self) -> Optional[str]: + def right(self) -> str: """ The right operand of the condition task. It could be a string value, job state, or parameter reference. """ @@ -7598,7 +7643,9 @@ class JobTaskForEachTaskTaskEmailNotifications(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "onDurationWarningThresholdExceededs": + if key == "noAlertForSkippedRuns": + suggest = "no_alert_for_skipped_runs" + elif key == "onDurationWarningThresholdExceededs": suggest = "on_duration_warning_threshold_exceededs" elif key == "onFailures": suggest = "on_failures" @@ -7619,16 +7666,20 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) 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_successes: Optional[Sequence[str]] = None): """ + :param 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 Sequence[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 Sequence[str] on_failures: (List) list of emails to notify when the run fails. :param Sequence[str] on_starts: (List) list of emails to notify when the run starts. :param Sequence[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: @@ -7638,6 +7689,14 @@ 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]: + """ + (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") + @property @pulumi.getter(name="onDurationWarningThresholdExceededs") def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence[str]]: @@ -9969,18 +10028,17 @@ def on_successes(self) -> Optional[Sequence['outputs.JobTaskForEachTaskTaskWebho @pulumi.output_type class JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -9992,18 +10050,17 @@ def id(self) -> Optional[str]: @pulumi.output_type class JobTaskForEachTaskTaskWebhookNotificationsOnFailure(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -10015,18 +10072,17 @@ def id(self) -> Optional[str]: @pulumi.output_type class JobTaskForEachTaskTaskWebhookNotificationsOnStart(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -10038,18 +10094,17 @@ def id(self) -> Optional[str]: @pulumi.output_type class JobTaskForEachTaskTaskWebhookNotificationsOnSuccess(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -12360,18 +12415,17 @@ def on_successes(self) -> Optional[Sequence['outputs.JobTaskWebhookNotifications @pulumi.output_type class JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -12383,18 +12437,17 @@ def id(self) -> Optional[str]: @pulumi.output_type class JobTaskWebhookNotificationsOnFailure(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -12406,18 +12459,17 @@ def id(self) -> Optional[str]: @pulumi.output_type class JobTaskWebhookNotificationsOnStart(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -12429,18 +12481,17 @@ def id(self) -> Optional[str]: @pulumi.output_type class JobTaskWebhookNotificationsOnSuccess(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -12458,6 +12509,8 @@ def __key_warning(key: str): suggest = "file_arrival" elif key == "pauseStatus": suggest = "pause_status" + elif key == "tableUpdate": + suggest = "table_update" if suggest: pulumi.log.warn(f"Key '{key}' not found in JobTrigger. Access the value via the '{suggest}' property getter instead.") @@ -12471,19 +12524,24 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - file_arrival: 'outputs.JobTriggerFileArrival', - pause_status: Optional[str] = None): + file_arrival: Optional['outputs.JobTriggerFileArrival'] = None, + pause_status: Optional[str] = None, + table_update: Optional['outputs.JobTriggerTableUpdate'] = None): """ :param '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 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 'JobTriggerTableUpdateArgs' table_update: configuration block to define a trigger for Table Update events consisting of following attributes: """ - pulumi.set(__self__, "file_arrival", file_arrival) + 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 table_update is not None: + pulumi.set(__self__, "table_update", table_update) @property @pulumi.getter(name="fileArrival") - def file_arrival(self) -> 'outputs.JobTriggerFileArrival': + def file_arrival(self) -> Optional['outputs.JobTriggerFileArrival']: """ 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: """ @@ -12497,6 +12555,14 @@ def pause_status(self) -> Optional[str]: """ return pulumi.get(self, "pause_status") + @property + @pulumi.getter(name="tableUpdate") + def table_update(self) -> Optional['outputs.JobTriggerTableUpdate']: + """ + configuration block to define a trigger for Table Update events consisting of following attributes: + """ + return pulumi.get(self, "table_update") + @pulumi.output_type class JobTriggerFileArrival(dict): @@ -12559,6 +12625,81 @@ def wait_after_last_change_seconds(self) -> Optional[int]: return pulumi.get(self, "wait_after_last_change_seconds") +@pulumi.output_type +class JobTriggerTableUpdate(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "tableNames": + suggest = "table_names" + elif key == "minTimeBetweenTriggersSeconds": + suggest = "min_time_between_triggers_seconds" + elif key == "waitAfterLastChangeSeconds": + suggest = "wait_after_last_change_seconds" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in JobTriggerTableUpdate. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + JobTriggerTableUpdate.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + JobTriggerTableUpdate.__key_warning(key) + return super().get(key, default) + + 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): + """ + :param Sequence[str] table_names: A list of Delta tables to monitor for changes. The table name must be in the format `catalog_name.schema_name.table_name`. + :param str condition: The table(s) condition based on which to trigger a job run. Valid values are `ANY_UPDATED` or `ALL_UPDATED`. + :param 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 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) + + @property + @pulumi.getter(name="tableNames") + def table_names(self) -> Sequence[str]: + """ + A list of Delta tables to monitor for changes. The table name must be in the format `catalog_name.schema_name.table_name`. + """ + return pulumi.get(self, "table_names") + + @property + @pulumi.getter + def condition(self) -> Optional[str]: + """ + The table(s) condition based on which to trigger a job run. Valid values are `ANY_UPDATED` or `ALL_UPDATED`. + """ + return pulumi.get(self, "condition") + + @property + @pulumi.getter(name="minTimeBetweenTriggersSeconds") + def min_time_between_triggers_seconds(self) -> Optional[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") + + @property + @pulumi.getter(name="waitAfterLastChangeSeconds") + def wait_after_last_change_seconds(self) -> Optional[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.output_type class JobWebhookNotifications(dict): @staticmethod @@ -12660,18 +12801,17 @@ def on_successes(self) -> Optional[Sequence['outputs.JobWebhookNotificationsOnSu @pulumi.output_type class JobWebhookNotificationsOnDurationWarningThresholdExceeded(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -12683,18 +12823,17 @@ def id(self) -> Optional[str]: @pulumi.output_type class JobWebhookNotificationsOnFailure(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -12706,18 +12845,17 @@ def id(self) -> Optional[str]: @pulumi.output_type class JobWebhookNotificationsOnStart(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -12729,18 +12867,17 @@ def id(self) -> Optional[str]: @pulumi.output_type class JobWebhookNotificationsOnSuccess(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. > **Note** The following configuration blocks can be standalone or nested inside a `task` block """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered. @@ -12750,119 +12887,500 @@ def id(self) -> Optional[str]: @pulumi.output_type -class LibraryCran(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) +class LakehouseMonitorCustomMetric(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "inputColumns": + suggest = "input_columns" + elif key == "outputDataType": + suggest = "output_data_type" - @property - @pulumi.getter - def package(self) -> str: - return pulumi.get(self, "package") + if suggest: + pulumi.log.warn(f"Key '{key}' not found in LakehouseMonitorCustomMetric. Access the value via the '{suggest}' property getter instead.") - @property - @pulumi.getter - def repo(self) -> Optional[str]: - return pulumi.get(self, "repo") + def __getitem__(self, key: str) -> Any: + LakehouseMonitorCustomMetric.__key_warning(key) + return super().__getitem__(key) + def get(self, key: str, default = None) -> Any: + LakehouseMonitorCustomMetric.__key_warning(key) + return super().get(key, default) -@pulumi.output_type -class LibraryMaven(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) + definition: Optional[str] = None, + input_columns: Optional[Sequence[str]] = None, + name: Optional[str] = None, + output_data_type: Optional[str] = None, + type: Optional[str] = None): + """ + :param str definition: [create metric definition]: https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition + :param Sequence[str] input_columns: Columns on the monitored table to apply the custom metrics to. + :param str name: Name of the custom metric. + :param str output_data_type: The output type of the custom metric. + :param str type: The type of the custom metric. + """ + if definition is not None: + pulumi.set(__self__, "definition", definition) + if input_columns is not None: + pulumi.set(__self__, "input_columns", input_columns) + if name is not None: + pulumi.set(__self__, "name", name) + if output_data_type is not None: + pulumi.set(__self__, "output_data_type", output_data_type) + if type is not None: + pulumi.set(__self__, "type", type) @property @pulumi.getter - def coordinates(self) -> str: - return pulumi.get(self, "coordinates") + def definition(self) -> Optional[str]: + """ + [create metric definition]: https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition + """ + return pulumi.get(self, "definition") + + @property + @pulumi.getter(name="inputColumns") + def input_columns(self) -> Optional[Sequence[str]]: + """ + Columns on the monitored table to apply the custom metrics to. + """ + return pulumi.get(self, "input_columns") @property @pulumi.getter - def exclusions(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "exclusions") + def name(self) -> Optional[str]: + """ + Name of the custom metric. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="outputDataType") + def output_data_type(self) -> Optional[str]: + """ + The output type of the custom metric. + """ + return pulumi.get(self, "output_data_type") @property @pulumi.getter - def repo(self) -> Optional[str]: - return pulumi.get(self, "repo") + def type(self) -> Optional[str]: + """ + The type of the custom metric. + """ + return pulumi.get(self, "type") @pulumi.output_type -class LibraryPypi(dict): +class LakehouseMonitorDataClassificationConfig(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") + enabled: Optional[bool] = None): + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) @property @pulumi.getter - def repo(self) -> Optional[str]: - return pulumi.get(self, "repo") + def enabled(self) -> Optional[bool]: + return pulumi.get(self, "enabled") @pulumi.output_type -class MetastoreDataAccessAwsIamRole(dict): +class LakehouseMonitorInferenceLog(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "roleArn": - suggest = "role_arn" - elif key == "externalId": - suggest = "external_id" - elif key == "unityCatalogIamArn": - suggest = "unity_catalog_iam_arn" + if key == "labelCol": + suggest = "label_col" + elif key == "modelIdCol": + suggest = "model_id_col" + elif key == "predictionCol": + suggest = "prediction_col" + elif key == "predictionProbaCol": + suggest = "prediction_proba_col" + elif key == "problemType": + suggest = "problem_type" + elif key == "timestampCol": + suggest = "timestamp_col" if suggest: - pulumi.log.warn(f"Key '{key}' not found in MetastoreDataAccessAwsIamRole. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in LakehouseMonitorInferenceLog. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - MetastoreDataAccessAwsIamRole.__key_warning(key) + LakehouseMonitorInferenceLog.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - MetastoreDataAccessAwsIamRole.__key_warning(key) + LakehouseMonitorInferenceLog.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - role_arn: str, - external_id: Optional[str] = None, - unity_catalog_iam_arn: Optional[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) + granularities: Optional[Sequence[str]] = None, + label_col: Optional[str] = None, + model_id_col: Optional[str] = None, + prediction_col: Optional[str] = None, + prediction_proba_col: Optional[str] = None, + problem_type: Optional[str] = None, + timestamp_col: Optional[str] = None): + """ + :param Sequence[str] granularities: List of granularities to use when aggregating data into time windows based on their timestamp. + :param str label_col: Column of the model label + :param str model_id_col: Column of the model id or version + :param str prediction_col: Column of the model prediction + :param str prediction_proba_col: Column of the model prediction probabilities + :param str problem_type: Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + :param str timestamp_col: Column of the timestamp of predictions + """ + if granularities is not None: + pulumi.set(__self__, "granularities", granularities) + if label_col is not None: + pulumi.set(__self__, "label_col", label_col) + if model_id_col is not None: + pulumi.set(__self__, "model_id_col", model_id_col) + if prediction_col is not None: + pulumi.set(__self__, "prediction_col", prediction_col) + if prediction_proba_col is not None: + pulumi.set(__self__, "prediction_proba_col", prediction_proba_col) + if problem_type is not None: + pulumi.set(__self__, "problem_type", problem_type) + if timestamp_col is not None: + pulumi.set(__self__, "timestamp_col", timestamp_col) @property - @pulumi.getter(name="roleArn") - def role_arn(self) -> str: - return pulumi.get(self, "role_arn") + @pulumi.getter + def granularities(self) -> Optional[Sequence[str]]: + """ + List of granularities to use when aggregating data into time windows based on their timestamp. + """ + return pulumi.get(self, "granularities") @property - @pulumi.getter(name="externalId") - def external_id(self) -> Optional[str]: - return pulumi.get(self, "external_id") + @pulumi.getter(name="labelCol") + def label_col(self) -> Optional[str]: + """ + Column of the model label + """ + return pulumi.get(self, "label_col") @property - @pulumi.getter(name="unityCatalogIamArn") - def unity_catalog_iam_arn(self) -> Optional[str]: + @pulumi.getter(name="modelIdCol") + def model_id_col(self) -> Optional[str]: + """ + Column of the model id or version + """ + return pulumi.get(self, "model_id_col") + + @property + @pulumi.getter(name="predictionCol") + def prediction_col(self) -> Optional[str]: + """ + Column of the model prediction + """ + return pulumi.get(self, "prediction_col") + + @property + @pulumi.getter(name="predictionProbaCol") + def prediction_proba_col(self) -> Optional[str]: + """ + Column of the model prediction probabilities + """ + return pulumi.get(self, "prediction_proba_col") + + @property + @pulumi.getter(name="problemType") + def problem_type(self) -> Optional[str]: + """ + Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + """ + return pulumi.get(self, "problem_type") + + @property + @pulumi.getter(name="timestampCol") + def timestamp_col(self) -> Optional[str]: + """ + Column of the timestamp of predictions + """ + return pulumi.get(self, "timestamp_col") + + +@pulumi.output_type +class LakehouseMonitorNotifications(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "onFailure": + suggest = "on_failure" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in LakehouseMonitorNotifications. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + LakehouseMonitorNotifications.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + LakehouseMonitorNotifications.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + on_failure: Optional['outputs.LakehouseMonitorNotificationsOnFailure'] = None): + if on_failure is not None: + pulumi.set(__self__, "on_failure", on_failure) + + @property + @pulumi.getter(name="onFailure") + def on_failure(self) -> Optional['outputs.LakehouseMonitorNotificationsOnFailure']: + return pulumi.get(self, "on_failure") + + +@pulumi.output_type +class LakehouseMonitorNotificationsOnFailure(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "emailAddresses": + suggest = "email_addresses" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in LakehouseMonitorNotificationsOnFailure. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + LakehouseMonitorNotificationsOnFailure.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + LakehouseMonitorNotificationsOnFailure.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + email_addresses: Optional[Sequence[str]] = None): + if email_addresses is not None: + pulumi.set(__self__, "email_addresses", email_addresses) + + @property + @pulumi.getter(name="emailAddresses") + def email_addresses(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "email_addresses") + + +@pulumi.output_type +class LakehouseMonitorSchedule(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "pauseStatus": + suggest = "pause_status" + elif key == "quartzCronExpression": + suggest = "quartz_cron_expression" + elif key == "timezoneId": + suggest = "timezone_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in LakehouseMonitorSchedule. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + LakehouseMonitorSchedule.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + LakehouseMonitorSchedule.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + pause_status: Optional[str] = None, + quartz_cron_expression: Optional[str] = None, + timezone_id: Optional[str] = None): + if pause_status is not None: + pulumi.set(__self__, "pause_status", pause_status) + if quartz_cron_expression is not None: + pulumi.set(__self__, "quartz_cron_expression", quartz_cron_expression) + if timezone_id is not None: + pulumi.set(__self__, "timezone_id", timezone_id) + + @property + @pulumi.getter(name="pauseStatus") + def pause_status(self) -> Optional[str]: + return pulumi.get(self, "pause_status") + + @property + @pulumi.getter(name="quartzCronExpression") + def quartz_cron_expression(self) -> Optional[str]: + return pulumi.get(self, "quartz_cron_expression") + + @property + @pulumi.getter(name="timezoneId") + def timezone_id(self) -> Optional[str]: + return pulumi.get(self, "timezone_id") + + +@pulumi.output_type +class LakehouseMonitorSnapshot(dict): + def __init__(__self__): + pass + + +@pulumi.output_type +class LakehouseMonitorTimeSeries(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "timestampCol": + suggest = "timestamp_col" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in LakehouseMonitorTimeSeries. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + LakehouseMonitorTimeSeries.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + LakehouseMonitorTimeSeries.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + granularities: Optional[Sequence[str]] = None, + timestamp_col: Optional[str] = None): + """ + :param Sequence[str] granularities: List of granularities to use when aggregating data into time windows based on their timestamp. + :param str timestamp_col: Column of the timestamp of predictions + """ + if granularities is not None: + pulumi.set(__self__, "granularities", granularities) + if timestamp_col is not None: + pulumi.set(__self__, "timestamp_col", timestamp_col) + + @property + @pulumi.getter + def granularities(self) -> Optional[Sequence[str]]: + """ + List of granularities to use when aggregating data into time windows based on their timestamp. + """ + return pulumi.get(self, "granularities") + + @property + @pulumi.getter(name="timestampCol") + def timestamp_col(self) -> Optional[str]: + """ + Column of the timestamp of predictions + """ + return pulumi.get(self, "timestamp_col") + + +@pulumi.output_type +class LibraryCran(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 LibraryMaven(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 LibraryPypi(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 MetastoreDataAccessAwsIamRole(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "roleArn": + suggest = "role_arn" + elif key == "externalId": + suggest = "external_id" + elif key == "unityCatalogIamArn": + suggest = "unity_catalog_iam_arn" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MetastoreDataAccessAwsIamRole. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MetastoreDataAccessAwsIamRole.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MetastoreDataAccessAwsIamRole.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + role_arn: str, + external_id: Optional[str] = None, + unity_catalog_iam_arn: Optional[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="roleArn") + def role_arn(self) -> str: + return pulumi.get(self, "role_arn") + + @property + @pulumi.getter(name="externalId") + def external_id(self) -> Optional[str]: + return pulumi.get(self, "external_id") + + @property + @pulumi.getter(name="unityCatalogIamArn") + def unity_catalog_iam_arn(self) -> Optional[str]: return pulumi.get(self, "unity_catalog_iam_arn") @@ -13206,6 +13724,8 @@ def __key_warning(key: str): suggest = None if key == "autoCaptureConfig": suggest = "auto_capture_config" + elif key == "servedEntities": + suggest = "served_entities" elif key == "servedModels": suggest = "served_models" elif key == "trafficConfig": @@ -13224,14 +13744,19 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, auto_capture_config: Optional['outputs.ModelServingConfigAutoCaptureConfig'] = None, + served_entities: Optional[Sequence['outputs.ModelServingConfigServedEntity']] = None, served_models: Optional[Sequence['outputs.ModelServingConfigServedModel']] = None, traffic_config: Optional['outputs.ModelServingConfigTrafficConfig'] = None): """ + :param 'ModelServingConfigAutoCaptureConfigArgs' auto_capture_config: Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. + :param Sequence['ModelServingConfigServedEntityArgs'] served_entities: A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. :param Sequence['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 'ModelServingConfigTrafficConfigArgs' traffic_config: A single block represents the traffic split configuration amongst the served models. """ 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: pulumi.set(__self__, "served_models", served_models) if traffic_config is not None: @@ -13240,14 +13765,28 @@ def __init__(__self__, *, @property @pulumi.getter(name="autoCaptureConfig") def auto_capture_config(self) -> Optional['outputs.ModelServingConfigAutoCaptureConfig']: + """ + Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. + """ return pulumi.get(self, "auto_capture_config") + @property + @pulumi.getter(name="servedEntities") + def served_entities(self) -> Optional[Sequence['outputs.ModelServingConfigServedEntity']]: + """ + A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. + """ + return pulumi.get(self, "served_entities") + @property @pulumi.getter(name="servedModels") def served_models(self) -> Optional[Sequence['outputs.ModelServingConfigServedModel']]: """ Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. """ + 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'.""") + return pulumi.get(self, "served_models") @property @@ -13287,6 +13826,12 @@ def __init__(__self__, *, enabled: Optional[bool] = None, schema_name: Optional[str] = None, table_name_prefix: Optional[str] = None): + """ + :param 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 bool enabled: If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable again. + :param 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 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 catalog_name is not None: pulumi.set(__self__, "catalog_name", catalog_name) if enabled is not None: @@ -13299,133 +13844,182 @@ def __init__(__self__, *, @property @pulumi.getter(name="catalogName") def catalog_name(self) -> Optional[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") @property @pulumi.getter def enabled(self) -> Optional[bool]: + """ + If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable again. + """ return pulumi.get(self, "enabled") @property @pulumi.getter(name="schemaName") def schema_name(self) -> Optional[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") @property @pulumi.getter(name="tableNamePrefix") def table_name_prefix(self) -> Optional[str]: + """ + 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, "table_name_prefix") @pulumi.output_type -class ModelServingConfigServedModel(dict): +class ModelServingConfigServedEntity(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "modelName": - suggest = "model_name" - elif key == "modelVersion": - suggest = "model_version" - elif key == "workloadSize": - suggest = "workload_size" + if key == "entityName": + suggest = "entity_name" + elif key == "entityVersion": + suggest = "entity_version" elif key == "environmentVars": suggest = "environment_vars" + elif key == "externalModel": + suggest = "external_model" elif key == "instanceProfileArn": suggest = "instance_profile_arn" + elif key == "maxProvisionedThroughput": + suggest = "max_provisioned_throughput" + elif key == "minProvisionedThroughput": + suggest = "min_provisioned_throughput" elif key == "scaleToZeroEnabled": suggest = "scale_to_zero_enabled" + elif key == "workloadSize": + suggest = "workload_size" elif key == "workloadType": suggest = "workload_type" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ModelServingConfigServedModel. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ModelServingConfigServedEntity. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ModelServingConfigServedModel.__key_warning(key) + ModelServingConfigServedEntity.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ModelServingConfigServedModel.__key_warning(key) + ModelServingConfigServedEntity.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - model_name: str, - model_version: str, - workload_size: str, + entity_name: Optional[str] = None, + entity_version: Optional[str] = None, environment_vars: Optional[Mapping[str, Any]] = None, + external_model: Optional['outputs.ModelServingConfigServedEntityExternalModel'] = None, instance_profile_arn: Optional[str] = None, + max_provisioned_throughput: Optional[int] = None, + min_provisioned_throughput: Optional[int] = None, name: Optional[str] = None, scale_to_zero_enabled: Optional[bool] = None, + workload_size: Optional[str] = None, workload_type: Optional[str] = None): """ - :param str model_name: The name of the model in Databricks Model Registry to be served. - :param str model_version: The version of the model in Databricks Model Registry to be served. - :param 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 Mapping[str, Any] environment_vars: a map of environment variable name/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 str instance_profile_arn: ARN of the instance profile that the served model will use to access AWS resources. - :param str name: The name of a served model. It must be unique across an endpoint. If not specified, this field will default to `modelname-modelversion`. A served model name can consist of alphanumeric characters, dashes, and underscores. - :param bool scale_to_zero_enabled: Whether the compute resources for the served model should scale down to zero. If scale-to-zero is enabled, the lower bound of the provisioned concurrency for each workload size will be 0. The default value is `true`. - :param str workload_type: The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. - """ - pulumi.set(__self__, "model_name", model_name) - pulumi.set(__self__, "model_version", model_version) - pulumi.set(__self__, "workload_size", workload_size) + :param 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 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 Mapping[str, Any] 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 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 '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. For an existing endpoint with `external_model`, it 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 str instance_profile_arn: ARN of the instance profile that the served entity uses to access AWS resources. + :param int max_provisioned_throughput: The maximum tokens per second that the endpoint can scale up to. + :param int min_provisioned_throughput: The minimum tokens per second that the endpoint can scale down to. + :param str name: The name of the external model. + :param bool scale_to_zero_enabled: Whether the compute resources for the served entity should scale down to zero. + :param 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 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="modelName") - def model_name(self) -> str: + @pulumi.getter(name="entityName") + def entity_name(self) -> Optional[str]: """ - The name of the model in Databricks Model Registry to be served. + 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, "model_name") + return pulumi.get(self, "entity_name") @property - @pulumi.getter(name="modelVersion") - def model_version(self) -> str: + @pulumi.getter(name="entityVersion") + def entity_version(self) -> Optional[str]: """ - The version of the model in Databricks Model Registry to be served. + 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, "model_version") + return pulumi.get(self, "entity_version") @property - @pulumi.getter(name="workloadSize") - def workload_size(self) -> str: + @pulumi.getter(name="environmentVars") + def environment_vars(self) -> Optional[Mapping[str, Any]]: """ - 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). + 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 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, "workload_size") + return pulumi.get(self, "environment_vars") @property - @pulumi.getter(name="environmentVars") - def environment_vars(self) -> Optional[Mapping[str, Any]]: + @pulumi.getter(name="externalModel") + def external_model(self) -> Optional['outputs.ModelServingConfigServedEntityExternalModel']: """ - a map of environment variable name/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}}`. + 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. For an existing endpoint with `external_model`, it 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, "environment_vars") + return pulumi.get(self, "external_model") @property @pulumi.getter(name="instanceProfileArn") def instance_profile_arn(self) -> Optional[str]: """ - ARN of the instance profile that the served model will use to access AWS resources. + ARN of the instance profile that the served entity uses to access AWS resources. """ return pulumi.get(self, "instance_profile_arn") + @property + @pulumi.getter(name="maxProvisionedThroughput") + def max_provisioned_throughput(self) -> Optional[int]: + """ + The maximum tokens per second that the endpoint can scale up to. + """ + return pulumi.get(self, "max_provisioned_throughput") + + @property + @pulumi.getter(name="minProvisionedThroughput") + def min_provisioned_throughput(self) -> Optional[int]: + """ + The minimum tokens per second that the endpoint can scale down to. + """ + return pulumi.get(self, "min_provisioned_throughput") + @property @pulumi.getter def name(self) -> Optional[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. + The name of the external model. """ return pulumi.get(self, "name") @@ -13433,1104 +14027,2377 @@ def name(self) -> Optional[str]: @pulumi.getter(name="scaleToZeroEnabled") def scale_to_zero_enabled(self) -> Optional[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`. + Whether the compute resources for the served entity should scale down to zero. """ return pulumi.get(self, "scale_to_zero_enabled") + @property + @pulumi.getter(name="workloadSize") + def workload_size(self) -> Optional[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") + @property @pulumi.getter(name="workloadType") def workload_type(self) -> Optional[str]: """ - The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. + 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.output_type -class ModelServingConfigTrafficConfig(dict): +class ModelServingConfigServedEntityExternalModel(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "ai21labsConfig": + suggest = "ai21labs_config" + elif key == "amazonBedrockConfig": + suggest = "amazon_bedrock_config" + elif key == "anthropicConfig": + suggest = "anthropic_config" + elif key == "cohereConfig": + suggest = "cohere_config" + elif key == "databricksModelServingConfig": + suggest = "databricks_model_serving_config" + elif key == "openaiConfig": + suggest = "openai_config" + elif key == "palmConfig": + suggest = "palm_config" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ModelServingConfigServedEntityExternalModel. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ModelServingConfigServedEntityExternalModel.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ModelServingConfigServedEntityExternalModel.__key_warning(key) + return super().get(key, default) + def __init__(__self__, *, - routes: Optional[Sequence['outputs.ModelServingConfigTrafficConfigRoute']] = None): + name: str, + provider: str, + task: str, + ai21labs_config: Optional['outputs.ModelServingConfigServedEntityExternalModelAi21labsConfig'] = None, + amazon_bedrock_config: Optional['outputs.ModelServingConfigServedEntityExternalModelAmazonBedrockConfig'] = None, + anthropic_config: Optional['outputs.ModelServingConfigServedEntityExternalModelAnthropicConfig'] = None, + cohere_config: Optional['outputs.ModelServingConfigServedEntityExternalModelCohereConfig'] = None, + databricks_model_serving_config: Optional['outputs.ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig'] = None, + openai_config: Optional['outputs.ModelServingConfigServedEntityExternalModelOpenaiConfig'] = None, + palm_config: Optional['outputs.ModelServingConfigServedEntityExternalModelPalmConfig'] = None): + """ + :param str name: The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. + :param str provider: The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `openai`, and `palm`. + :param str task: The task type of the external model. + :param 'ModelServingConfigServedEntityExternalModelAi21labsConfigArgs' ai21labs_config: AI21Labs Config + :param 'ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs' amazon_bedrock_config: Amazon Bedrock Config + :param 'ModelServingConfigServedEntityExternalModelAnthropicConfigArgs' anthropic_config: Anthropic Config + :param 'ModelServingConfigServedEntityExternalModelCohereConfigArgs' cohere_config: Cohere Config + :param 'ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs' databricks_model_serving_config: Databricks Model Serving Config + :param 'ModelServingConfigServedEntityExternalModelOpenaiConfigArgs' openai_config: OpenAI Config + :param 'ModelServingConfigServedEntityExternalModelPalmConfigArgs' palm_config: PaLM Config """ - :param Sequence['ModelServingConfigTrafficConfigRouteArgs'] routes: Each block represents a route that defines traffic to each served model. Each `served_models` block needs to have a corresponding `routes` block + 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 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 + def name(self) -> str: """ - if routes is not None: - pulumi.set(__self__, "routes", routes) + The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the update name. + """ + return pulumi.get(self, "name") @property @pulumi.getter - def routes(self) -> Optional[Sequence['outputs.ModelServingConfigTrafficConfigRoute']]: + def provider(self) -> str: """ - Each block represents a route that defines traffic to each served model. Each `served_models` block needs to have a corresponding `routes` block + The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `openai`, and `palm`. """ - return pulumi.get(self, "routes") + return pulumi.get(self, "provider") + + @property + @pulumi.getter + def task(self) -> str: + """ + The task type of the external model. + """ + return pulumi.get(self, "task") + + @property + @pulumi.getter(name="ai21labsConfig") + def ai21labs_config(self) -> Optional['outputs.ModelServingConfigServedEntityExternalModelAi21labsConfig']: + """ + AI21Labs Config + """ + return pulumi.get(self, "ai21labs_config") + + @property + @pulumi.getter(name="amazonBedrockConfig") + def amazon_bedrock_config(self) -> Optional['outputs.ModelServingConfigServedEntityExternalModelAmazonBedrockConfig']: + """ + Amazon Bedrock Config + """ + return pulumi.get(self, "amazon_bedrock_config") + + @property + @pulumi.getter(name="anthropicConfig") + def anthropic_config(self) -> Optional['outputs.ModelServingConfigServedEntityExternalModelAnthropicConfig']: + """ + Anthropic Config + """ + return pulumi.get(self, "anthropic_config") + + @property + @pulumi.getter(name="cohereConfig") + def cohere_config(self) -> Optional['outputs.ModelServingConfigServedEntityExternalModelCohereConfig']: + """ + Cohere Config + """ + return pulumi.get(self, "cohere_config") + + @property + @pulumi.getter(name="databricksModelServingConfig") + def databricks_model_serving_config(self) -> Optional['outputs.ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig']: + """ + Databricks Model Serving Config + """ + return pulumi.get(self, "databricks_model_serving_config") + + @property + @pulumi.getter(name="openaiConfig") + def openai_config(self) -> Optional['outputs.ModelServingConfigServedEntityExternalModelOpenaiConfig']: + """ + OpenAI Config + """ + return pulumi.get(self, "openai_config") + + @property + @pulumi.getter(name="palmConfig") + def palm_config(self) -> Optional['outputs.ModelServingConfigServedEntityExternalModelPalmConfig']: + """ + PaLM Config + """ + return pulumi.get(self, "palm_config") @pulumi.output_type -class ModelServingConfigTrafficConfigRoute(dict): +class ModelServingConfigServedEntityExternalModelAi21labsConfig(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "servedModelName": - suggest = "served_model_name" - elif key == "trafficPercentage": - suggest = "traffic_percentage" + if key == "ai21labsApiKey": + suggest = "ai21labs_api_key" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ModelServingConfigTrafficConfigRoute. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ModelServingConfigServedEntityExternalModelAi21labsConfig. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ModelServingConfigTrafficConfigRoute.__key_warning(key) + ModelServingConfigServedEntityExternalModelAi21labsConfig.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ModelServingConfigTrafficConfigRoute.__key_warning(key) + ModelServingConfigServedEntityExternalModelAi21labsConfig.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - served_model_name: str, - traffic_percentage: int): - """ - :param str served_model_name: The name of the served model this route configures traffic for. This needs to match the name of a `served_models` block - :param 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="servedModelName") - def served_model_name(self) -> str: + ai21labs_api_key: str): """ - The name of the served model this route configures traffic for. This needs to match the name of a `served_models` block + :param str ai21labs_api_key: The Databricks secret key reference for an AI21Labs API key. """ - return pulumi.get(self, "served_model_name") + pulumi.set(__self__, "ai21labs_api_key", ai21labs_api_key) @property - @pulumi.getter(name="trafficPercentage") - def traffic_percentage(self) -> int: + @pulumi.getter(name="ai21labsApiKey") + def ai21labs_api_key(self) -> str: """ - The percentage of endpoint traffic to send to this route. It must be an integer between 0 and 100 inclusive. + The Databricks secret key reference for an AI21Labs API key. """ - return pulumi.get(self, "traffic_percentage") + return pulumi.get(self, "ai21labs_api_key") @pulumi.output_type -class ModelServingRateLimit(dict): +class ModelServingConfigServedEntityExternalModelAmazonBedrockConfig(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "renewalPeriod": - suggest = "renewal_period" + if key == "awsAccessKeyId": + suggest = "aws_access_key_id" + elif key == "awsRegion": + suggest = "aws_region" + elif key == "awsSecretAccessKey": + suggest = "aws_secret_access_key" + elif key == "bedrockProvider": + suggest = "bedrock_provider" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ModelServingRateLimit. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ModelServingConfigServedEntityExternalModelAmazonBedrockConfig. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ModelServingRateLimit.__key_warning(key) + ModelServingConfigServedEntityExternalModelAmazonBedrockConfig.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ModelServingRateLimit.__key_warning(key) + ModelServingConfigServedEntityExternalModelAmazonBedrockConfig.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - 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) + aws_access_key_id: str, + aws_region: str, + aws_secret_access_key: str, + bedrock_provider: str): + """ + :param str aws_access_key_id: The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. + :param str aws_region: The AWS region to use. Bedrock has to be enabled there. + :param 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 str bedrock_provider: The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. + """ + pulumi.set(__self__, "aws_access_key_id", aws_access_key_id) + pulumi.set(__self__, "aws_region", aws_region) + pulumi.set(__self__, "aws_secret_access_key", aws_secret_access_key) + pulumi.set(__self__, "bedrock_provider", bedrock_provider) @property - @pulumi.getter - def calls(self) -> int: - return pulumi.get(self, "calls") + @pulumi.getter(name="awsAccessKeyId") + def aws_access_key_id(self) -> str: + """ + The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. + """ + return pulumi.get(self, "aws_access_key_id") @property - @pulumi.getter(name="renewalPeriod") - def renewal_period(self) -> str: - return pulumi.get(self, "renewal_period") + @pulumi.getter(name="awsRegion") + def aws_region(self) -> str: + """ + The AWS region to use. Bedrock has to be enabled there. + """ + return pulumi.get(self, "aws_region") @property - @pulumi.getter - def key(self) -> Optional[str]: - return pulumi.get(self, "key") + @pulumi.getter(name="awsSecretAccessKey") + def aws_secret_access_key(self) -> 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") + + @property + @pulumi.getter(name="bedrockProvider") + def bedrock_provider(self) -> str: + """ + The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. + """ + return pulumi.get(self, "bedrock_provider") @pulumi.output_type -class ModelServingTag(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) +class ModelServingConfigServedEntityExternalModelAnthropicConfig(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "anthropicApiKey": + suggest = "anthropic_api_key" - @property - @pulumi.getter - def key(self) -> str: - return pulumi.get(self, "key") + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ModelServingConfigServedEntityExternalModelAnthropicConfig. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ModelServingConfigServedEntityExternalModelAnthropicConfig.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ModelServingConfigServedEntityExternalModelAnthropicConfig.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + anthropic_api_key: str): + """ + :param str anthropic_api_key: The Databricks secret key reference for an Anthropic API key. + The Databricks secret key reference for an Anthropic API key. + """ + pulumi.set(__self__, "anthropic_api_key", anthropic_api_key) @property - @pulumi.getter - def value(self) -> Optional[str]: - return pulumi.get(self, "value") + @pulumi.getter(name="anthropicApiKey") + def anthropic_api_key(self) -> str: + """ + The Databricks secret key reference for an Anthropic API key. + The Databricks secret key reference for an Anthropic API key. + """ + return pulumi.get(self, "anthropic_api_key") @pulumi.output_type -class MountAbfs(dict): +class ModelServingConfigServedEntityExternalModelCohereConfig(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "clientId": - suggest = "client_id" - elif key == "clientSecretKey": - suggest = "client_secret_key" - elif key == "clientSecretScope": - suggest = "client_secret_scope" - elif key == "initializeFileSystem": - suggest = "initialize_file_system" - elif key == "containerName": - suggest = "container_name" - elif key == "storageAccountName": - suggest = "storage_account_name" - elif key == "tenantId": - suggest = "tenant_id" + if key == "cohereApiKey": + suggest = "cohere_api_key" if suggest: - pulumi.log.warn(f"Key '{key}' not found in MountAbfs. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ModelServingConfigServedEntityExternalModelCohereConfig. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - MountAbfs.__key_warning(key) + ModelServingConfigServedEntityExternalModelCohereConfig.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - MountAbfs.__key_warning(key) + ModelServingConfigServedEntityExternalModelCohereConfig.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - client_id: str, - client_secret_key: str, - client_secret_scope: str, - initialize_file_system: bool, - container_name: Optional[str] = None, - directory: Optional[str] = None, - storage_account_name: Optional[str] = None, - tenant_id: Optional[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) + cohere_api_key: str): + """ + :param str cohere_api_key: The Databricks secret key reference for a Cohere API key. + """ + pulumi.set(__self__, "cohere_api_key", cohere_api_key) @property - @pulumi.getter(name="clientId") - def client_id(self) -> str: - return pulumi.get(self, "client_id") + @pulumi.getter(name="cohereApiKey") + def cohere_api_key(self) -> str: + """ + The Databricks secret key reference for a Cohere API key. + """ + return pulumi.get(self, "cohere_api_key") - @property - @pulumi.getter(name="clientSecretKey") - def client_secret_key(self) -> str: - return pulumi.get(self, "client_secret_key") - @property - @pulumi.getter(name="clientSecretScope") - def client_secret_scope(self) -> str: - return pulumi.get(self, "client_secret_scope") +@pulumi.output_type +class ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "databricksApiToken": + suggest = "databricks_api_token" + elif key == "databricksWorkspaceUrl": + suggest = "databricks_workspace_url" - @property - @pulumi.getter(name="initializeFileSystem") - def initialize_file_system(self) -> bool: - return pulumi.get(self, "initialize_file_system") + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig. Access the value via the '{suggest}' property getter instead.") - @property - @pulumi.getter(name="containerName") - def container_name(self) -> Optional[str]: - return pulumi.get(self, "container_name") + def __getitem__(self, key: str) -> Any: + ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig.__key_warning(key) + return super().__getitem__(key) - @property - @pulumi.getter - def directory(self) -> Optional[str]: - return pulumi.get(self, "directory") + def get(self, key: str, default = None) -> Any: + ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + databricks_api_token: str, + databricks_workspace_url: str): + """ + :param 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 str databricks_workspace_url: The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. + """ + pulumi.set(__self__, "databricks_api_token", databricks_api_token) + pulumi.set(__self__, "databricks_workspace_url", databricks_workspace_url) @property - @pulumi.getter(name="storageAccountName") - def storage_account_name(self) -> Optional[str]: - return pulumi.get(self, "storage_account_name") + @pulumi.getter(name="databricksApiToken") + def databricks_api_token(self) -> 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") @property - @pulumi.getter(name="tenantId") - def tenant_id(self) -> Optional[str]: - return pulumi.get(self, "tenant_id") + @pulumi.getter(name="databricksWorkspaceUrl") + def databricks_workspace_url(self) -> 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.output_type -class MountAdl(dict): +class ModelServingConfigServedEntityExternalModelOpenaiConfig(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "clientId": - suggest = "client_id" - elif key == "clientSecretKey": - suggest = "client_secret_key" - elif key == "clientSecretScope": - suggest = "client_secret_scope" - elif key == "sparkConfPrefix": - suggest = "spark_conf_prefix" - elif key == "storageResourceName": - suggest = "storage_resource_name" - elif key == "tenantId": - suggest = "tenant_id" + if key == "openaiApiKey": + suggest = "openai_api_key" + elif key == "openaiApiBase": + suggest = "openai_api_base" + elif key == "openaiApiType": + suggest = "openai_api_type" + elif key == "openaiApiVersion": + suggest = "openai_api_version" + elif key == "openaiDeploymentName": + suggest = "openai_deployment_name" + elif key == "openaiOrganization": + suggest = "openai_organization" if suggest: - pulumi.log.warn(f"Key '{key}' not found in MountAdl. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ModelServingConfigServedEntityExternalModelOpenaiConfig. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - MountAdl.__key_warning(key) + ModelServingConfigServedEntityExternalModelOpenaiConfig.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - MountAdl.__key_warning(key) + ModelServingConfigServedEntityExternalModelOpenaiConfig.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - client_id: str, - client_secret_key: str, - client_secret_scope: str, - directory: Optional[str] = None, - spark_conf_prefix: Optional[str] = None, - storage_resource_name: Optional[str] = None, - tenant_id: Optional[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) -> str: - return pulumi.get(self, "client_id") + openai_api_key: str, + openai_api_base: 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): + """ + :param str openai_api_key: The Databricks secret key reference for an OpenAI or Azure OpenAI API key. + :param 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 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 adjust this parameter to represent the preferred security access validation protocol. For access token validation, use azure. For authentication using Azure Active Directory (Azure AD) use, azuread. + :param 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 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 str openai_organization: This is an optional field to specify the organization in OpenAI or Azure OpenAI. + """ + pulumi.set(__self__, "openai_api_key", openai_api_key) + if openai_api_base is not None: + pulumi.set(__self__, "openai_api_base", openai_api_base) + 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="clientSecretKey") - def client_secret_key(self) -> str: - return pulumi.get(self, "client_secret_key") + @pulumi.getter(name="openaiApiKey") + def openai_api_key(self) -> str: + """ + The Databricks secret key reference for an OpenAI or Azure OpenAI API key. + """ + return pulumi.get(self, "openai_api_key") @property - @pulumi.getter(name="clientSecretScope") - def client_secret_scope(self) -> str: - return pulumi.get(self, "client_secret_scope") + @pulumi.getter(name="openaiApiBase") + def openai_api_base(self) -> Optional[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") @property - @pulumi.getter - def directory(self) -> Optional[str]: - return pulumi.get(self, "directory") + @pulumi.getter(name="openaiApiType") + def openai_api_type(self) -> Optional[str]: + """ + This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and adjust this parameter to represent 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") @property - @pulumi.getter(name="sparkConfPrefix") - def spark_conf_prefix(self) -> Optional[str]: - return pulumi.get(self, "spark_conf_prefix") + @pulumi.getter(name="openaiApiVersion") + def openai_api_version(self) -> Optional[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") @property - @pulumi.getter(name="storageResourceName") - def storage_resource_name(self) -> Optional[str]: - return pulumi.get(self, "storage_resource_name") + @pulumi.getter(name="openaiDeploymentName") + def openai_deployment_name(self) -> Optional[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") @property - @pulumi.getter(name="tenantId") - def tenant_id(self) -> Optional[str]: - return pulumi.get(self, "tenant_id") + @pulumi.getter(name="openaiOrganization") + def openai_organization(self) -> Optional[str]: + """ + This is an optional field to specify the organization in OpenAI or Azure OpenAI. + """ + return pulumi.get(self, "openai_organization") @pulumi.output_type -class MountGs(dict): +class ModelServingConfigServedEntityExternalModelPalmConfig(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "bucketName": - suggest = "bucket_name" - elif key == "serviceAccount": - suggest = "service_account" + if key == "palmApiKey": + suggest = "palm_api_key" if suggest: - pulumi.log.warn(f"Key '{key}' not found in MountGs. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ModelServingConfigServedEntityExternalModelPalmConfig. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - MountGs.__key_warning(key) + ModelServingConfigServedEntityExternalModelPalmConfig.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - MountGs.__key_warning(key) + ModelServingConfigServedEntityExternalModelPalmConfig.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - bucket_name: str, - service_account: Optional[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="bucketName") - def bucket_name(self) -> str: - return pulumi.get(self, "bucket_name") + palm_api_key: str): + """ + :param str palm_api_key: The Databricks secret key reference for a PaLM API key. + """ + pulumi.set(__self__, "palm_api_key", palm_api_key) @property - @pulumi.getter(name="serviceAccount") - def service_account(self) -> Optional[str]: - return pulumi.get(self, "service_account") + @pulumi.getter(name="palmApiKey") + def palm_api_key(self) -> str: + """ + The Databricks secret key reference for a PaLM API key. + """ + return pulumi.get(self, "palm_api_key") @pulumi.output_type -class MountS3(dict): +class ModelServingConfigServedModel(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "bucketName": - suggest = "bucket_name" - elif key == "instanceProfile": - suggest = "instance_profile" + if key == "modelName": + suggest = "model_name" + elif key == "modelVersion": + suggest = "model_version" + elif key == "workloadSize": + suggest = "workload_size" + elif key == "environmentVars": + suggest = "environment_vars" + elif key == "instanceProfileArn": + suggest = "instance_profile_arn" + elif key == "scaleToZeroEnabled": + suggest = "scale_to_zero_enabled" + elif key == "workloadType": + suggest = "workload_type" if suggest: - pulumi.log.warn(f"Key '{key}' not found in MountS3. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ModelServingConfigServedModel. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - MountS3.__key_warning(key) + ModelServingConfigServedModel.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - MountS3.__key_warning(key) + ModelServingConfigServedModel.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - bucket_name: str, - instance_profile: Optional[str] = None): - pulumi.set(__self__, "bucket_name", bucket_name) - if instance_profile is not None: - pulumi.set(__self__, "instance_profile", instance_profile) + model_name: str, + model_version: str, + workload_size: str, + environment_vars: Optional[Mapping[str, Any]] = None, + instance_profile_arn: Optional[str] = None, + name: Optional[str] = None, + scale_to_zero_enabled: Optional[bool] = None, + workload_type: Optional[str] = None): + """ + :param str model_name: The name of the model in Databricks Model Registry to be served. + :param str model_version: The version of the model in Databricks Model Registry to be served. + :param 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 Mapping[str, Any] environment_vars: a map of environment variable name/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 str instance_profile_arn: ARN of the instance profile that the served model will use to access AWS resources. + :param str name: The name of a served model. It must be unique across an endpoint. If not specified, this field will default to `modelname-modelversion`. A served model name can consist of alphanumeric characters, dashes, and underscores. + :param bool scale_to_zero_enabled: Whether the compute resources for the served model should scale down to zero. If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size will be 0. The default value is `true`. + :param str workload_type: The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. + """ + pulumi.set(__self__, "model_name", model_name) + pulumi.set(__self__, "model_version", model_version) + pulumi.set(__self__, "workload_size", workload_size) + 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 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_type is not None: + pulumi.set(__self__, "workload_type", workload_type) @property - @pulumi.getter(name="bucketName") - def bucket_name(self) -> str: - return pulumi.get(self, "bucket_name") + @pulumi.getter(name="modelName") + def model_name(self) -> str: + """ + The name of the model in Databricks Model Registry to be served. + """ + return pulumi.get(self, "model_name") @property - @pulumi.getter(name="instanceProfile") - def instance_profile(self) -> Optional[str]: - return pulumi.get(self, "instance_profile") - + @pulumi.getter(name="modelVersion") + def model_version(self) -> str: + """ + The version of the model in Databricks Model Registry to be served. + """ + return pulumi.get(self, "model_version") -@pulumi.output_type -class MountWasb(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "authType": - suggest = "auth_type" - elif key == "tokenSecretKey": - suggest = "token_secret_key" - elif key == "tokenSecretScope": - suggest = "token_secret_scope" - elif key == "containerName": - suggest = "container_name" - elif key == "storageAccountName": - suggest = "storage_account_name" + @property + @pulumi.getter(name="workloadSize") + def workload_size(self) -> 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") - if suggest: - pulumi.log.warn(f"Key '{key}' not found in MountWasb. Access the value via the '{suggest}' property getter instead.") + @property + @pulumi.getter(name="environmentVars") + def environment_vars(self) -> Optional[Mapping[str, Any]]: + """ + a map of environment variable name/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") - def __getitem__(self, key: str) -> Any: - MountWasb.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - MountWasb.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - auth_type: str, - token_secret_key: str, - token_secret_scope: str, - container_name: Optional[str] = None, - directory: Optional[str] = None, - storage_account_name: Optional[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="instanceProfileArn") + def instance_profile_arn(self) -> Optional[str]: + """ + ARN of the instance profile that the served model will use to access AWS resources. + """ + return pulumi.get(self, "instance_profile_arn") @property - @pulumi.getter(name="authType") - def auth_type(self) -> str: - return pulumi.get(self, "auth_type") + @pulumi.getter + def name(self) -> Optional[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. + """ + return pulumi.get(self, "name") @property - @pulumi.getter(name="tokenSecretKey") - def token_secret_key(self) -> str: - return pulumi.get(self, "token_secret_key") + @pulumi.getter(name="scaleToZeroEnabled") + def scale_to_zero_enabled(self) -> Optional[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") @property - @pulumi.getter(name="tokenSecretScope") - def token_secret_scope(self) -> str: - return pulumi.get(self, "token_secret_scope") + @pulumi.getter(name="workloadType") + def workload_type(self) -> Optional[str]: + """ + The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. + """ + return pulumi.get(self, "workload_type") - @property - @pulumi.getter(name="containerName") - def container_name(self) -> Optional[str]: - return pulumi.get(self, "container_name") - @property - @pulumi.getter - def directory(self) -> Optional[str]: - return pulumi.get(self, "directory") +@pulumi.output_type +class ModelServingConfigTrafficConfig(dict): + def __init__(__self__, *, + routes: Optional[Sequence['outputs.ModelServingConfigTrafficConfigRoute']] = None): + """ + :param Sequence['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 routes is not None: + pulumi.set(__self__, "routes", routes) @property - @pulumi.getter(name="storageAccountName") - def storage_account_name(self) -> Optional[str]: - return pulumi.get(self, "storage_account_name") + @pulumi.getter + def routes(self) -> Optional[Sequence['outputs.ModelServingConfigTrafficConfigRoute']]: + """ + 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, "routes") @pulumi.output_type -class MwsCustomerManagedKeysAwsKeyInfo(dict): +class ModelServingConfigTrafficConfigRoute(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "keyArn": - suggest = "key_arn" - elif key == "keyAlias": - suggest = "key_alias" - elif key == "keyRegion": - suggest = "key_region" + if key == "servedModelName": + suggest = "served_model_name" + elif key == "trafficPercentage": + suggest = "traffic_percentage" if suggest: - pulumi.log.warn(f"Key '{key}' not found in MwsCustomerManagedKeysAwsKeyInfo. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ModelServingConfigTrafficConfigRoute. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - MwsCustomerManagedKeysAwsKeyInfo.__key_warning(key) + ModelServingConfigTrafficConfigRoute.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - MwsCustomerManagedKeysAwsKeyInfo.__key_warning(key) + ModelServingConfigTrafficConfigRoute.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - key_arn: str, - key_alias: Optional[str] = None, - key_region: Optional[str] = None): - """ - :param str key_arn: The AWS KMS key's Amazon Resource Name (ARN). - :param str key_alias: The AWS KMS key alias. - :param str key_region: (Computed) The AWS region in which KMS key is deployed to. This is not required. - """ - 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="keyArn") - def key_arn(self) -> str: + served_model_name: str, + traffic_percentage: int): """ - The AWS KMS key's Amazon Resource Name (ARN). + :param int traffic_percentage: The percentage of endpoint traffic to send to this route. It must be an integer between 0 and 100 inclusive. """ - return pulumi.get(self, "key_arn") + pulumi.set(__self__, "served_model_name", served_model_name) + pulumi.set(__self__, "traffic_percentage", traffic_percentage) @property - @pulumi.getter(name="keyAlias") - def key_alias(self) -> Optional[str]: - """ - The AWS KMS key alias. - """ - return pulumi.get(self, "key_alias") + @pulumi.getter(name="servedModelName") + def served_model_name(self) -> str: + return pulumi.get(self, "served_model_name") @property - @pulumi.getter(name="keyRegion") - def key_region(self) -> Optional[str]: + @pulumi.getter(name="trafficPercentage") + def traffic_percentage(self) -> int: """ - (Computed) The AWS region in which KMS key is deployed to. This is not required. + The percentage of endpoint traffic to send to this route. It must be an integer between 0 and 100 inclusive. """ - return pulumi.get(self, "key_region") + return pulumi.get(self, "traffic_percentage") @pulumi.output_type -class MwsCustomerManagedKeysGcpKeyInfo(dict): +class ModelServingRateLimit(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "kmsKeyId": - suggest = "kms_key_id" + if key == "renewalPeriod": + suggest = "renewal_period" if suggest: - pulumi.log.warn(f"Key '{key}' not found in MwsCustomerManagedKeysGcpKeyInfo. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ModelServingRateLimit. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - MwsCustomerManagedKeysGcpKeyInfo.__key_warning(key) + ModelServingRateLimit.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - MwsCustomerManagedKeysGcpKeyInfo.__key_warning(key) + ModelServingRateLimit.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - kms_key_id: str): + calls: int, + renewal_period: str, + key: Optional[str] = None): """ - :param str kms_key_id: The GCP KMS key's resource name. + :param int calls: Used to specify how many calls are allowed for a key within the renewal_period. + :param str renewal_period: Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + :param 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__, "kms_key_id", kms_key_id) + 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="kmsKeyId") - def kms_key_id(self) -> str: + @pulumi.getter + def calls(self) -> int: """ - The GCP KMS key's resource name. + Used to specify how many calls are allowed for a key within the renewal_period. """ - return pulumi.get(self, "kms_key_id") - - -@pulumi.output_type -class MwsNetworksErrorMessage(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "errorMessage": - suggest = "error_message" - elif key == "errorType": - suggest = "error_type" + return pulumi.get(self, "calls") - if suggest: - pulumi.log.warn(f"Key '{key}' not found in MwsNetworksErrorMessage. Access the value via the '{suggest}' property getter instead.") + @property + @pulumi.getter(name="renewalPeriod") + def renewal_period(self) -> str: + """ + Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + """ + return pulumi.get(self, "renewal_period") - def __getitem__(self, key: str) -> Any: - MwsNetworksErrorMessage.__key_warning(key) - return super().__getitem__(key) + @property + @pulumi.getter + def key(self) -> Optional[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") - def get(self, key: str, default = None) -> Any: - MwsNetworksErrorMessage.__key_warning(key) - return super().get(key, default) +@pulumi.output_type +class ModelServingTag(dict): def __init__(__self__, *, - error_message: Optional[str] = None, - error_type: Optional[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) + key: str, + value: Optional[str] = None): + """ + :param str key: The key field for a tag. + :param 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="errorMessage") - def error_message(self) -> Optional[str]: - return pulumi.get(self, "error_message") + @pulumi.getter + def key(self) -> str: + """ + The key field for a tag. + """ + return pulumi.get(self, "key") @property - @pulumi.getter(name="errorType") - def error_type(self) -> Optional[str]: - return pulumi.get(self, "error_type") + @pulumi.getter + def value(self) -> Optional[str]: + """ + The value field for a tag. + """ + return pulumi.get(self, "value") @pulumi.output_type -class MwsNetworksGcpNetworkInfo(dict): +class MountAbfs(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "networkProjectId": - suggest = "network_project_id" - elif key == "podIpRangeName": - suggest = "pod_ip_range_name" - elif key == "serviceIpRangeName": - suggest = "service_ip_range_name" - elif key == "subnetId": - suggest = "subnet_id" - elif key == "subnetRegion": - suggest = "subnet_region" - elif key == "vpcId": - suggest = "vpc_id" + if key == "clientId": + suggest = "client_id" + elif key == "clientSecretKey": + suggest = "client_secret_key" + elif key == "clientSecretScope": + suggest = "client_secret_scope" + elif key == "initializeFileSystem": + suggest = "initialize_file_system" + elif key == "containerName": + suggest = "container_name" + elif key == "storageAccountName": + suggest = "storage_account_name" + elif key == "tenantId": + suggest = "tenant_id" if suggest: - pulumi.log.warn(f"Key '{key}' not found in MwsNetworksGcpNetworkInfo. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in MountAbfs. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - MwsNetworksGcpNetworkInfo.__key_warning(key) + MountAbfs.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - MwsNetworksGcpNetworkInfo.__key_warning(key) + MountAbfs.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - network_project_id: str, - pod_ip_range_name: str, - service_ip_range_name: str, + client_id: str, + client_secret_key: str, + client_secret_scope: str, + initialize_file_system: bool, + container_name: Optional[str] = None, + directory: Optional[str] = None, + storage_account_name: Optional[str] = None, + tenant_id: Optional[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) -> str: + return pulumi.get(self, "client_id") + + @property + @pulumi.getter(name="clientSecretKey") + def client_secret_key(self) -> str: + return pulumi.get(self, "client_secret_key") + + @property + @pulumi.getter(name="clientSecretScope") + def client_secret_scope(self) -> str: + return pulumi.get(self, "client_secret_scope") + + @property + @pulumi.getter(name="initializeFileSystem") + def initialize_file_system(self) -> bool: + return pulumi.get(self, "initialize_file_system") + + @property + @pulumi.getter(name="containerName") + def container_name(self) -> Optional[str]: + return pulumi.get(self, "container_name") + + @property + @pulumi.getter + def directory(self) -> Optional[str]: + return pulumi.get(self, "directory") + + @property + @pulumi.getter(name="storageAccountName") + def storage_account_name(self) -> Optional[str]: + return pulumi.get(self, "storage_account_name") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[str]: + return pulumi.get(self, "tenant_id") + + +@pulumi.output_type +class MountAdl(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientId": + suggest = "client_id" + elif key == "clientSecretKey": + suggest = "client_secret_key" + elif key == "clientSecretScope": + suggest = "client_secret_scope" + elif key == "sparkConfPrefix": + suggest = "spark_conf_prefix" + elif key == "storageResourceName": + suggest = "storage_resource_name" + elif key == "tenantId": + suggest = "tenant_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MountAdl. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MountAdl.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MountAdl.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_id: str, + client_secret_key: str, + client_secret_scope: str, + directory: Optional[str] = None, + spark_conf_prefix: Optional[str] = None, + storage_resource_name: Optional[str] = None, + tenant_id: Optional[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) -> str: + return pulumi.get(self, "client_id") + + @property + @pulumi.getter(name="clientSecretKey") + def client_secret_key(self) -> str: + return pulumi.get(self, "client_secret_key") + + @property + @pulumi.getter(name="clientSecretScope") + def client_secret_scope(self) -> str: + return pulumi.get(self, "client_secret_scope") + + @property + @pulumi.getter + def directory(self) -> Optional[str]: + return pulumi.get(self, "directory") + + @property + @pulumi.getter(name="sparkConfPrefix") + def spark_conf_prefix(self) -> Optional[str]: + return pulumi.get(self, "spark_conf_prefix") + + @property + @pulumi.getter(name="storageResourceName") + def storage_resource_name(self) -> Optional[str]: + return pulumi.get(self, "storage_resource_name") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[str]: + return pulumi.get(self, "tenant_id") + + +@pulumi.output_type +class MountGs(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "bucketName": + suggest = "bucket_name" + elif key == "serviceAccount": + suggest = "service_account" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MountGs. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MountGs.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MountGs.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + bucket_name: str, + service_account: Optional[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="bucketName") + def bucket_name(self) -> str: + return pulumi.get(self, "bucket_name") + + @property + @pulumi.getter(name="serviceAccount") + def service_account(self) -> Optional[str]: + return pulumi.get(self, "service_account") + + +@pulumi.output_type +class MountS3(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "bucketName": + suggest = "bucket_name" + elif key == "instanceProfile": + suggest = "instance_profile" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MountS3. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MountS3.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MountS3.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + bucket_name: str, + instance_profile: Optional[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="bucketName") + def bucket_name(self) -> str: + return pulumi.get(self, "bucket_name") + + @property + @pulumi.getter(name="instanceProfile") + def instance_profile(self) -> Optional[str]: + return pulumi.get(self, "instance_profile") + + +@pulumi.output_type +class MountWasb(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "authType": + suggest = "auth_type" + elif key == "tokenSecretKey": + suggest = "token_secret_key" + elif key == "tokenSecretScope": + suggest = "token_secret_scope" + elif key == "containerName": + suggest = "container_name" + elif key == "storageAccountName": + suggest = "storage_account_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MountWasb. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MountWasb.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MountWasb.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + auth_type: str, + token_secret_key: str, + token_secret_scope: str, + container_name: Optional[str] = None, + directory: Optional[str] = None, + storage_account_name: Optional[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) -> str: + return pulumi.get(self, "auth_type") + + @property + @pulumi.getter(name="tokenSecretKey") + def token_secret_key(self) -> str: + return pulumi.get(self, "token_secret_key") + + @property + @pulumi.getter(name="tokenSecretScope") + def token_secret_scope(self) -> str: + return pulumi.get(self, "token_secret_scope") + + @property + @pulumi.getter(name="containerName") + def container_name(self) -> Optional[str]: + return pulumi.get(self, "container_name") + + @property + @pulumi.getter + def directory(self) -> Optional[str]: + return pulumi.get(self, "directory") + + @property + @pulumi.getter(name="storageAccountName") + def storage_account_name(self) -> Optional[str]: + return pulumi.get(self, "storage_account_name") + + +@pulumi.output_type +class MwsCustomerManagedKeysAwsKeyInfo(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "keyArn": + suggest = "key_arn" + elif key == "keyAlias": + suggest = "key_alias" + elif key == "keyRegion": + suggest = "key_region" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MwsCustomerManagedKeysAwsKeyInfo. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MwsCustomerManagedKeysAwsKeyInfo.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MwsCustomerManagedKeysAwsKeyInfo.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + key_arn: str, + key_alias: Optional[str] = None, + key_region: Optional[str] = None): + """ + :param str key_arn: The AWS KMS key's Amazon Resource Name (ARN). + :param str key_alias: The AWS KMS key alias. + :param str key_region: (Computed) The AWS region in which KMS key is deployed to. This is not required. + """ + 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="keyArn") + def key_arn(self) -> str: + """ + The AWS KMS key's Amazon Resource Name (ARN). + """ + return pulumi.get(self, "key_arn") + + @property + @pulumi.getter(name="keyAlias") + def key_alias(self) -> Optional[str]: + """ + The AWS KMS key alias. + """ + return pulumi.get(self, "key_alias") + + @property + @pulumi.getter(name="keyRegion") + def key_region(self) -> Optional[str]: + """ + (Computed) The AWS region in which KMS key is deployed to. This is not required. + """ + return pulumi.get(self, "key_region") + + +@pulumi.output_type +class MwsCustomerManagedKeysGcpKeyInfo(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "kmsKeyId": + suggest = "kms_key_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MwsCustomerManagedKeysGcpKeyInfo. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MwsCustomerManagedKeysGcpKeyInfo.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MwsCustomerManagedKeysGcpKeyInfo.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + kms_key_id: str): + """ + :param str kms_key_id: The GCP KMS key's resource name. + """ + pulumi.set(__self__, "kms_key_id", kms_key_id) + + @property + @pulumi.getter(name="kmsKeyId") + def kms_key_id(self) -> str: + """ + The GCP KMS key's resource name. + """ + return pulumi.get(self, "kms_key_id") + + +@pulumi.output_type +class MwsNetworksErrorMessage(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "errorMessage": + suggest = "error_message" + elif key == "errorType": + suggest = "error_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MwsNetworksErrorMessage. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MwsNetworksErrorMessage.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MwsNetworksErrorMessage.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + error_message: Optional[str] = None, + error_type: Optional[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="errorMessage") + def error_message(self) -> Optional[str]: + return pulumi.get(self, "error_message") + + @property + @pulumi.getter(name="errorType") + def error_type(self) -> Optional[str]: + return pulumi.get(self, "error_type") + + +@pulumi.output_type +class MwsNetworksGcpNetworkInfo(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "networkProjectId": + suggest = "network_project_id" + elif key == "podIpRangeName": + suggest = "pod_ip_range_name" + elif key == "serviceIpRangeName": + suggest = "service_ip_range_name" + elif key == "subnetId": + suggest = "subnet_id" + elif key == "subnetRegion": + suggest = "subnet_region" + elif key == "vpcId": + suggest = "vpc_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MwsNetworksGcpNetworkInfo. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MwsNetworksGcpNetworkInfo.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MwsNetworksGcpNetworkInfo.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + network_project_id: str, + pod_ip_range_name: str, + service_ip_range_name: str, subnet_id: str, subnet_region: str, vpc_id: str): """ - :param str network_project_id: The Google Cloud project ID of the VPC network. - :param 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 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 str subnet_id: The ID of the subnet associated with this network. - :param str subnet_region: The Google Cloud region of the workspace data plane. For example, `us-east4`. - :param str vpc_id: The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations. + :param str network_project_id: The Google Cloud project ID of the VPC network. + :param 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 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 str subnet_id: The ID of the subnet associated with this network. + :param str subnet_region: The Google Cloud region of the workspace data plane. For example, `us-east4`. + :param 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(name="networkProjectId") + def network_project_id(self) -> str: + """ + The Google Cloud project ID of the VPC network. + """ + return pulumi.get(self, "network_project_id") + + @property + @pulumi.getter(name="podIpRangeName") + def pod_ip_range_name(self) -> 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") + + @property + @pulumi.getter(name="serviceIpRangeName") + def service_ip_range_name(self) -> 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") + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> str: + """ + The ID of the subnet associated with this network. + """ + return pulumi.get(self, "subnet_id") + + @property + @pulumi.getter(name="subnetRegion") + def subnet_region(self) -> str: + """ + The Google Cloud region of the workspace data plane. For example, `us-east4`. + """ + return pulumi.get(self, "subnet_region") + + @property + @pulumi.getter(name="vpcId") + def vpc_id(self) -> 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") + + +@pulumi.output_type +class MwsNetworksVpcEndpoints(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dataplaneRelays": + suggest = "dataplane_relays" + elif key == "restApis": + suggest = "rest_apis" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MwsNetworksVpcEndpoints. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MwsNetworksVpcEndpoints.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MwsNetworksVpcEndpoints.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + dataplane_relays: Sequence[str], + rest_apis: Sequence[str]): + pulumi.set(__self__, "dataplane_relays", dataplane_relays) + pulumi.set(__self__, "rest_apis", rest_apis) + + @property + @pulumi.getter(name="dataplaneRelays") + def dataplane_relays(self) -> Sequence[str]: + return pulumi.get(self, "dataplane_relays") + + @property + @pulumi.getter(name="restApis") + def rest_apis(self) -> Sequence[str]: + return pulumi.get(self, "rest_apis") + + +@pulumi.output_type +class MwsVpcEndpointGcpVpcEndpointInfo(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "endpointRegion": + suggest = "endpoint_region" + elif key == "projectId": + suggest = "project_id" + elif key == "pscEndpointName": + suggest = "psc_endpoint_name" + elif key == "pscConnectionId": + suggest = "psc_connection_id" + elif key == "serviceAttachmentId": + suggest = "service_attachment_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MwsVpcEndpointGcpVpcEndpointInfo. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MwsVpcEndpointGcpVpcEndpointInfo.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MwsVpcEndpointGcpVpcEndpointInfo.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + endpoint_region: str, + project_id: str, + psc_endpoint_name: str, + psc_connection_id: Optional[str] = None, + service_attachment_id: Optional[str] = None): + """ + :param str endpoint_region: Region of the PSC endpoint. + :param str project_id: The Google Cloud project ID of the VPC network where the PSC connection resides. + :param str psc_endpoint_name: The name of the PSC endpoint in the Google Cloud project. + :param str psc_connection_id: The unique ID of this PSC connection. + :param 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="endpointRegion") + def endpoint_region(self) -> str: + """ + Region of the PSC endpoint. + """ + return pulumi.get(self, "endpoint_region") + + @property + @pulumi.getter(name="projectId") + def project_id(self) -> str: + """ + The Google Cloud project ID of the VPC network where the PSC connection resides. + """ + return pulumi.get(self, "project_id") + + @property + @pulumi.getter(name="pscEndpointName") + def psc_endpoint_name(self) -> str: + """ + The name of the PSC endpoint in the Google Cloud project. + """ + return pulumi.get(self, "psc_endpoint_name") + + @property + @pulumi.getter(name="pscConnectionId") + def psc_connection_id(self) -> Optional[str]: + """ + The unique ID of this PSC connection. + """ + return pulumi.get(self, "psc_connection_id") + + @property + @pulumi.getter(name="serviceAttachmentId") + def service_attachment_id(self) -> Optional[str]: + """ + The service attachment this PSC connection connects to. + """ + return pulumi.get(self, "service_attachment_id") + + +@pulumi.output_type +class MwsWorkspacesCloudResourceContainer(dict): + def __init__(__self__, *, + gcp: 'outputs.MwsWorkspacesCloudResourceContainerGcp'): + """ + :param 'MwsWorkspacesCloudResourceContainerGcpArgs' gcp: A block that consists of the following field: + """ + pulumi.set(__self__, "gcp", gcp) + + @property + @pulumi.getter + def gcp(self) -> 'outputs.MwsWorkspacesCloudResourceContainerGcp': + """ + A block that consists of the following field: + """ + return pulumi.get(self, "gcp") + + +@pulumi.output_type +class MwsWorkspacesCloudResourceContainerGcp(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "projectId": + suggest = "project_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MwsWorkspacesCloudResourceContainerGcp. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MwsWorkspacesCloudResourceContainerGcp.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MwsWorkspacesCloudResourceContainerGcp.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + project_id: str): + """ + :param 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="projectId") + def project_id(self) -> str: + """ + The Google Cloud project ID, which the workspace uses to instantiate cloud resources for your workspace. + """ + return pulumi.get(self, "project_id") + + +@pulumi.output_type +class MwsWorkspacesExternalCustomerInfo(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "authoritativeUserEmail": + suggest = "authoritative_user_email" + elif key == "authoritativeUserFullName": + suggest = "authoritative_user_full_name" + elif key == "customerName": + suggest = "customer_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MwsWorkspacesExternalCustomerInfo. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MwsWorkspacesExternalCustomerInfo.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MwsWorkspacesExternalCustomerInfo.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + authoritative_user_email: str, + authoritative_user_full_name: str, + customer_name: 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(name="authoritativeUserEmail") + def authoritative_user_email(self) -> str: + return pulumi.get(self, "authoritative_user_email") + + @property + @pulumi.getter(name="authoritativeUserFullName") + def authoritative_user_full_name(self) -> str: + return pulumi.get(self, "authoritative_user_full_name") + + @property + @pulumi.getter(name="customerName") + def customer_name(self) -> str: + return pulumi.get(self, "customer_name") + + +@pulumi.output_type +class MwsWorkspacesGcpManagedNetworkConfig(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "gkeClusterPodIpRange": + suggest = "gke_cluster_pod_ip_range" + elif key == "gkeClusterServiceIpRange": + suggest = "gke_cluster_service_ip_range" + elif key == "subnetCidr": + suggest = "subnet_cidr" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MwsWorkspacesGcpManagedNetworkConfig. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MwsWorkspacesGcpManagedNetworkConfig.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MwsWorkspacesGcpManagedNetworkConfig.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + gke_cluster_pod_ip_range: str, + gke_cluster_service_ip_range: str, + subnet_cidr: 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) -> str: + return pulumi.get(self, "gke_cluster_pod_ip_range") + + @property + @pulumi.getter(name="gkeClusterServiceIpRange") + def gke_cluster_service_ip_range(self) -> str: + return pulumi.get(self, "gke_cluster_service_ip_range") + + @property + @pulumi.getter(name="subnetCidr") + def subnet_cidr(self) -> str: + return pulumi.get(self, "subnet_cidr") + + +@pulumi.output_type +class MwsWorkspacesGkeConfig(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "connectivityType": + suggest = "connectivity_type" + elif key == "masterIpRange": + suggest = "master_ip_range" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MwsWorkspacesGkeConfig. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MwsWorkspacesGkeConfig.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MwsWorkspacesGkeConfig.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + connectivity_type: str, + master_ip_range: str): + """ + :param 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 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__, "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__, "connectivity_type", connectivity_type) + pulumi.set(__self__, "master_ip_range", master_ip_range) @property - @pulumi.getter(name="networkProjectId") - def network_project_id(self) -> str: + @pulumi.getter(name="connectivityType") + def connectivity_type(self) -> str: """ - The Google Cloud project ID of the VPC network. + 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, "network_project_id") + return pulumi.get(self, "connectivity_type") @property - @pulumi.getter(name="podIpRangeName") - def pod_ip_range_name(self) -> str: + @pulumi.getter(name="masterIpRange") + def master_ip_range(self) -> 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 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, "pod_ip_range_name") + return pulumi.get(self, "master_ip_range") + + +@pulumi.output_type +class MwsWorkspacesToken(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "lifetimeSeconds": + suggest = "lifetime_seconds" + elif key == "tokenId": + suggest = "token_id" + elif key == "tokenValue": + suggest = "token_value" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MwsWorkspacesToken. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MwsWorkspacesToken.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MwsWorkspacesToken.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + comment: Optional[str] = None, + lifetime_seconds: Optional[int] = None, + token_id: Optional[str] = None, + token_value: Optional[str] = None): + """ + :param 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(name="serviceIpRangeName") - def service_ip_range_name(self) -> str: + @pulumi.getter + def comment(self) -> Optional[str]: + return pulumi.get(self, "comment") + + @property + @pulumi.getter(name="lifetimeSeconds") + def lifetime_seconds(self) -> Optional[int]: """ - 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. + Token expiry lifetime. By default its 2592000 (30 days). """ - return pulumi.get(self, "service_ip_range_name") + return pulumi.get(self, "lifetime_seconds") @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> str: + @pulumi.getter(name="tokenId") + def token_id(self) -> Optional[str]: + return pulumi.get(self, "token_id") + + @property + @pulumi.getter(name="tokenValue") + def token_value(self) -> Optional[str]: + return pulumi.get(self, "token_value") + + +@pulumi.output_type +class OnlineTableSpec(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "performFullCopy": + suggest = "perform_full_copy" + elif key == "pipelineId": + suggest = "pipeline_id" + elif key == "primaryKeyColumns": + suggest = "primary_key_columns" + elif key == "runContinuously": + suggest = "run_continuously" + elif key == "runTriggered": + suggest = "run_triggered" + elif key == "sourceTableFullName": + suggest = "source_table_full_name" + elif key == "timeseriesKey": + suggest = "timeseries_key" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in OnlineTableSpec. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + OnlineTableSpec.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + OnlineTableSpec.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + perform_full_copy: Optional[bool] = None, + pipeline_id: Optional[str] = None, + primary_key_columns: Optional[Sequence[str]] = None, + run_continuously: Optional['outputs.OnlineTableSpecRunContinuously'] = None, + run_triggered: Optional['outputs.OnlineTableSpecRunTriggered'] = None, + source_table_full_name: Optional[str] = None, + timeseries_key: Optional[str] = None): """ - The ID of the subnet associated with this network. + :param 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 str pipeline_id: ID of the associated Delta Live Table pipeline. + :param Sequence[str] primary_key_columns: list of the columns comprising the primary key. + :param 'OnlineTableSpecRunContinuouslyArgs' run_continuously: empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `run_triggered`. + :param '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 str source_table_full_name: full name of the source table. + :param str timeseries_key: Time series key to deduplicate (tie-break) rows with the same primary key. """ - return pulumi.get(self, "subnet_id") + 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="subnetRegion") - def subnet_region(self) -> str: + @pulumi.getter(name="performFullCopy") + def perform_full_copy(self) -> Optional[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") + + @property + @pulumi.getter(name="pipelineId") + def pipeline_id(self) -> Optional[str]: + """ + ID of the associated Delta Live Table pipeline. + """ + return pulumi.get(self, "pipeline_id") + + @property + @pulumi.getter(name="primaryKeyColumns") + def primary_key_columns(self) -> Optional[Sequence[str]]: + """ + list of the columns comprising the primary key. + """ + return pulumi.get(self, "primary_key_columns") + + @property + @pulumi.getter(name="runContinuously") + def run_continuously(self) -> Optional['outputs.OnlineTableSpecRunContinuously']: + """ + empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `run_triggered`. + """ + return pulumi.get(self, "run_continuously") + + @property + @pulumi.getter(name="runTriggered") + def run_triggered(self) -> Optional['outputs.OnlineTableSpecRunTriggered']: + """ + 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). + """ + return pulumi.get(self, "run_triggered") + + @property + @pulumi.getter(name="sourceTableFullName") + def source_table_full_name(self) -> Optional[str]: + """ + full name of the source table. + """ + return pulumi.get(self, "source_table_full_name") + + @property + @pulumi.getter(name="timeseriesKey") + def timeseries_key(self) -> Optional[str]: + """ + Time series key to deduplicate (tie-break) rows with the same primary key. + """ + return pulumi.get(self, "timeseries_key") + + +@pulumi.output_type +class OnlineTableSpecRunContinuously(dict): + def __init__(__self__): + pass + + +@pulumi.output_type +class OnlineTableSpecRunTriggered(dict): + def __init__(__self__): + pass + + +@pulumi.output_type +class OnlineTableStatus(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "continuousUpdateStatus": + suggest = "continuous_update_status" + elif key == "detailedState": + suggest = "detailed_state" + elif key == "failedStatus": + suggest = "failed_status" + elif key == "provisioningStatus": + suggest = "provisioning_status" + elif key == "triggeredUpdateStatus": + suggest = "triggered_update_status" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in OnlineTableStatus. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + OnlineTableStatus.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + OnlineTableStatus.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + continuous_update_status: Optional['outputs.OnlineTableStatusContinuousUpdateStatus'] = None, + detailed_state: Optional[str] = None, + failed_status: Optional['outputs.OnlineTableStatusFailedStatus'] = None, + message: Optional[str] = None, + provisioning_status: Optional['outputs.OnlineTableStatusProvisioningStatus'] = None, + triggered_update_status: Optional['outputs.OnlineTableStatusTriggeredUpdateStatus'] = None): + """ + :param str detailed_state: The state of the online table. + :param 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="continuousUpdateStatus") + def continuous_update_status(self) -> Optional['outputs.OnlineTableStatusContinuousUpdateStatus']: + return pulumi.get(self, "continuous_update_status") + + @property + @pulumi.getter(name="detailedState") + def detailed_state(self) -> Optional[str]: """ - The Google Cloud region of the workspace data plane. For example, `us-east4`. + The state of the online table. """ - return pulumi.get(self, "subnet_region") + return pulumi.get(self, "detailed_state") @property - @pulumi.getter(name="vpcId") - def vpc_id(self) -> str: + @pulumi.getter(name="failedStatus") + def failed_status(self) -> Optional['outputs.OnlineTableStatusFailedStatus']: + return pulumi.get(self, "failed_status") + + @property + @pulumi.getter + def message(self) -> Optional[str]: """ - The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations. + A text description of the current state of the online table. """ - return pulumi.get(self, "vpc_id") + return pulumi.get(self, "message") + + @property + @pulumi.getter(name="provisioningStatus") + def provisioning_status(self) -> Optional['outputs.OnlineTableStatusProvisioningStatus']: + return pulumi.get(self, "provisioning_status") + + @property + @pulumi.getter(name="triggeredUpdateStatus") + def triggered_update_status(self) -> Optional['outputs.OnlineTableStatusTriggeredUpdateStatus']: + return pulumi.get(self, "triggered_update_status") @pulumi.output_type -class MwsNetworksVpcEndpoints(dict): +class OnlineTableStatusContinuousUpdateStatus(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "dataplaneRelays": - suggest = "dataplane_relays" - elif key == "restApis": - suggest = "rest_apis" + if key == "initialPipelineSyncProgress": + suggest = "initial_pipeline_sync_progress" + elif key == "lastProcessedCommitVersion": + suggest = "last_processed_commit_version" if suggest: - pulumi.log.warn(f"Key '{key}' not found in MwsNetworksVpcEndpoints. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in OnlineTableStatusContinuousUpdateStatus. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - MwsNetworksVpcEndpoints.__key_warning(key) + OnlineTableStatusContinuousUpdateStatus.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - MwsNetworksVpcEndpoints.__key_warning(key) + OnlineTableStatusContinuousUpdateStatus.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - dataplane_relays: Sequence[str], - rest_apis: Sequence[str]): - pulumi.set(__self__, "dataplane_relays", dataplane_relays) - pulumi.set(__self__, "rest_apis", rest_apis) + initial_pipeline_sync_progress: Optional['outputs.OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress'] = None, + last_processed_commit_version: Optional[int] = None, + timestamp: Optional[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="dataplaneRelays") - def dataplane_relays(self) -> Sequence[str]: - return pulumi.get(self, "dataplane_relays") + @pulumi.getter(name="initialPipelineSyncProgress") + def initial_pipeline_sync_progress(self) -> Optional['outputs.OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress']: + return pulumi.get(self, "initial_pipeline_sync_progress") @property - @pulumi.getter(name="restApis") - def rest_apis(self) -> Sequence[str]: - return pulumi.get(self, "rest_apis") + @pulumi.getter(name="lastProcessedCommitVersion") + def last_processed_commit_version(self) -> Optional[int]: + return pulumi.get(self, "last_processed_commit_version") + + @property + @pulumi.getter + def timestamp(self) -> Optional[str]: + return pulumi.get(self, "timestamp") @pulumi.output_type -class MwsVpcEndpointGcpVpcEndpointInfo(dict): +class OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "endpointRegion": - suggest = "endpoint_region" - elif key == "projectId": - suggest = "project_id" - elif key == "pscEndpointName": - suggest = "psc_endpoint_name" - elif key == "pscConnectionId": - suggest = "psc_connection_id" - elif key == "serviceAttachmentId": - suggest = "service_attachment_id" + if key == "estimatedCompletionTimeSeconds": + suggest = "estimated_completion_time_seconds" + elif key == "latestVersionCurrentlyProcessing": + suggest = "latest_version_currently_processing" + elif key == "syncProgressCompletion": + suggest = "sync_progress_completion" + elif key == "syncedRowCount": + suggest = "synced_row_count" + elif key == "totalRowCount": + suggest = "total_row_count" if suggest: - pulumi.log.warn(f"Key '{key}' not found in MwsVpcEndpointGcpVpcEndpointInfo. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - MwsVpcEndpointGcpVpcEndpointInfo.__key_warning(key) + OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - MwsVpcEndpointGcpVpcEndpointInfo.__key_warning(key) + OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - endpoint_region: str, - project_id: str, - psc_endpoint_name: str, - psc_connection_id: Optional[str] = None, - service_attachment_id: Optional[str] = None): - """ - :param str endpoint_region: Region of the PSC endpoint. - :param str project_id: The Google Cloud project ID of the VPC network where the PSC connection resides. - :param str psc_endpoint_name: The name of the PSC endpoint in the Google Cloud project. - :param str psc_connection_id: The unique ID of this PSC connection. - :param 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="endpointRegion") - def endpoint_region(self) -> str: - """ - Region of the PSC endpoint. - """ - return pulumi.get(self, "endpoint_region") + estimated_completion_time_seconds: Optional[float] = None, + latest_version_currently_processing: Optional[int] = None, + sync_progress_completion: Optional[float] = None, + synced_row_count: Optional[int] = None, + total_row_count: Optional[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="projectId") - def project_id(self) -> str: - """ - The Google Cloud project ID of the VPC network where the PSC connection resides. - """ - return pulumi.get(self, "project_id") + @pulumi.getter(name="estimatedCompletionTimeSeconds") + def estimated_completion_time_seconds(self) -> Optional[float]: + return pulumi.get(self, "estimated_completion_time_seconds") @property - @pulumi.getter(name="pscEndpointName") - def psc_endpoint_name(self) -> str: - """ - The name of the PSC endpoint in the Google Cloud project. - """ - return pulumi.get(self, "psc_endpoint_name") + @pulumi.getter(name="latestVersionCurrentlyProcessing") + def latest_version_currently_processing(self) -> Optional[int]: + return pulumi.get(self, "latest_version_currently_processing") @property - @pulumi.getter(name="pscConnectionId") - def psc_connection_id(self) -> Optional[str]: - """ - The unique ID of this PSC connection. - """ - return pulumi.get(self, "psc_connection_id") + @pulumi.getter(name="syncProgressCompletion") + def sync_progress_completion(self) -> Optional[float]: + return pulumi.get(self, "sync_progress_completion") @property - @pulumi.getter(name="serviceAttachmentId") - def service_attachment_id(self) -> Optional[str]: - """ - The service attachment this PSC connection connects to. - """ - return pulumi.get(self, "service_attachment_id") - - -@pulumi.output_type -class MwsWorkspacesCloudResourceContainer(dict): - def __init__(__self__, *, - gcp: 'outputs.MwsWorkspacesCloudResourceContainerGcp'): - """ - :param 'MwsWorkspacesCloudResourceContainerGcpArgs' gcp: A block that consists of the following field: - """ - pulumi.set(__self__, "gcp", gcp) + @pulumi.getter(name="syncedRowCount") + def synced_row_count(self) -> Optional[int]: + return pulumi.get(self, "synced_row_count") @property - @pulumi.getter - def gcp(self) -> 'outputs.MwsWorkspacesCloudResourceContainerGcp': - """ - A block that consists of the following field: - """ - return pulumi.get(self, "gcp") + @pulumi.getter(name="totalRowCount") + def total_row_count(self) -> Optional[int]: + return pulumi.get(self, "total_row_count") @pulumi.output_type -class MwsWorkspacesCloudResourceContainerGcp(dict): +class OnlineTableStatusFailedStatus(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "projectId": - suggest = "project_id" + if key == "lastProcessedCommitVersion": + suggest = "last_processed_commit_version" if suggest: - pulumi.log.warn(f"Key '{key}' not found in MwsWorkspacesCloudResourceContainerGcp. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in OnlineTableStatusFailedStatus. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - MwsWorkspacesCloudResourceContainerGcp.__key_warning(key) + OnlineTableStatusFailedStatus.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - MwsWorkspacesCloudResourceContainerGcp.__key_warning(key) + OnlineTableStatusFailedStatus.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - project_id: str): - """ - :param 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) + last_processed_commit_version: Optional[int] = None, + timestamp: Optional[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="projectId") - def project_id(self) -> str: - """ - The Google Cloud project ID, which the workspace uses to instantiate cloud resources for your workspace. - """ - return pulumi.get(self, "project_id") + @pulumi.getter(name="lastProcessedCommitVersion") + def last_processed_commit_version(self) -> Optional[int]: + return pulumi.get(self, "last_processed_commit_version") + + @property + @pulumi.getter + def timestamp(self) -> Optional[str]: + return pulumi.get(self, "timestamp") @pulumi.output_type -class MwsWorkspacesExternalCustomerInfo(dict): +class OnlineTableStatusProvisioningStatus(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "authoritativeUserEmail": - suggest = "authoritative_user_email" - elif key == "authoritativeUserFullName": - suggest = "authoritative_user_full_name" - elif key == "customerName": - suggest = "customer_name" + if key == "initialPipelineSyncProgress": + suggest = "initial_pipeline_sync_progress" if suggest: - pulumi.log.warn(f"Key '{key}' not found in MwsWorkspacesExternalCustomerInfo. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in OnlineTableStatusProvisioningStatus. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - MwsWorkspacesExternalCustomerInfo.__key_warning(key) + OnlineTableStatusProvisioningStatus.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - MwsWorkspacesExternalCustomerInfo.__key_warning(key) + OnlineTableStatusProvisioningStatus.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - authoritative_user_email: str, - authoritative_user_full_name: str, - customer_name: 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(name="authoritativeUserEmail") - def authoritative_user_email(self) -> str: - return pulumi.get(self, "authoritative_user_email") - - @property - @pulumi.getter(name="authoritativeUserFullName") - def authoritative_user_full_name(self) -> str: - return pulumi.get(self, "authoritative_user_full_name") + initial_pipeline_sync_progress: Optional['outputs.OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress'] = None): + if initial_pipeline_sync_progress is not None: + pulumi.set(__self__, "initial_pipeline_sync_progress", initial_pipeline_sync_progress) @property - @pulumi.getter(name="customerName") - def customer_name(self) -> str: - return pulumi.get(self, "customer_name") + @pulumi.getter(name="initialPipelineSyncProgress") + def initial_pipeline_sync_progress(self) -> Optional['outputs.OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress']: + return pulumi.get(self, "initial_pipeline_sync_progress") @pulumi.output_type -class MwsWorkspacesGcpManagedNetworkConfig(dict): +class OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "gkeClusterPodIpRange": - suggest = "gke_cluster_pod_ip_range" - elif key == "gkeClusterServiceIpRange": - suggest = "gke_cluster_service_ip_range" - elif key == "subnetCidr": - suggest = "subnet_cidr" + if key == "estimatedCompletionTimeSeconds": + suggest = "estimated_completion_time_seconds" + elif key == "latestVersionCurrentlyProcessing": + suggest = "latest_version_currently_processing" + elif key == "syncProgressCompletion": + suggest = "sync_progress_completion" + elif key == "syncedRowCount": + suggest = "synced_row_count" + elif key == "totalRowCount": + suggest = "total_row_count" if suggest: - pulumi.log.warn(f"Key '{key}' not found in MwsWorkspacesGcpManagedNetworkConfig. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - MwsWorkspacesGcpManagedNetworkConfig.__key_warning(key) + OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - MwsWorkspacesGcpManagedNetworkConfig.__key_warning(key) + OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - gke_cluster_pod_ip_range: str, - gke_cluster_service_ip_range: str, - subnet_cidr: 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) + estimated_completion_time_seconds: Optional[float] = None, + latest_version_currently_processing: Optional[int] = None, + sync_progress_completion: Optional[float] = None, + synced_row_count: Optional[int] = None, + total_row_count: Optional[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="gkeClusterPodIpRange") - def gke_cluster_pod_ip_range(self) -> str: - return pulumi.get(self, "gke_cluster_pod_ip_range") + @pulumi.getter(name="estimatedCompletionTimeSeconds") + def estimated_completion_time_seconds(self) -> Optional[float]: + return pulumi.get(self, "estimated_completion_time_seconds") @property - @pulumi.getter(name="gkeClusterServiceIpRange") - def gke_cluster_service_ip_range(self) -> str: - return pulumi.get(self, "gke_cluster_service_ip_range") + @pulumi.getter(name="latestVersionCurrentlyProcessing") + def latest_version_currently_processing(self) -> Optional[int]: + return pulumi.get(self, "latest_version_currently_processing") @property - @pulumi.getter(name="subnetCidr") - def subnet_cidr(self) -> str: - return pulumi.get(self, "subnet_cidr") + @pulumi.getter(name="syncProgressCompletion") + def sync_progress_completion(self) -> Optional[float]: + return pulumi.get(self, "sync_progress_completion") + + @property + @pulumi.getter(name="syncedRowCount") + def synced_row_count(self) -> Optional[int]: + return pulumi.get(self, "synced_row_count") + + @property + @pulumi.getter(name="totalRowCount") + def total_row_count(self) -> Optional[int]: + return pulumi.get(self, "total_row_count") @pulumi.output_type -class MwsWorkspacesGkeConfig(dict): +class OnlineTableStatusTriggeredUpdateStatus(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "connectivityType": - suggest = "connectivity_type" - elif key == "masterIpRange": - suggest = "master_ip_range" + if key == "lastProcessedCommitVersion": + suggest = "last_processed_commit_version" + elif key == "triggeredUpdateProgress": + suggest = "triggered_update_progress" if suggest: - pulumi.log.warn(f"Key '{key}' not found in MwsWorkspacesGkeConfig. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in OnlineTableStatusTriggeredUpdateStatus. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - MwsWorkspacesGkeConfig.__key_warning(key) + OnlineTableStatusTriggeredUpdateStatus.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - MwsWorkspacesGkeConfig.__key_warning(key) + OnlineTableStatusTriggeredUpdateStatus.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - connectivity_type: str, - master_ip_range: str): - """ - :param 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 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) + last_processed_commit_version: Optional[int] = None, + timestamp: Optional[str] = None, + triggered_update_progress: Optional['outputs.OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress'] = 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="connectivityType") - def connectivity_type(self) -> 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.getter(name="lastProcessedCommitVersion") + def last_processed_commit_version(self) -> Optional[int]: + return pulumi.get(self, "last_processed_commit_version") @property - @pulumi.getter(name="masterIpRange") - def master_ip_range(self) -> 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") + @pulumi.getter + def timestamp(self) -> Optional[str]: + return pulumi.get(self, "timestamp") + + @property + @pulumi.getter(name="triggeredUpdateProgress") + def triggered_update_progress(self) -> Optional['outputs.OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress']: + return pulumi.get(self, "triggered_update_progress") @pulumi.output_type -class MwsWorkspacesToken(dict): +class OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "lifetimeSeconds": - suggest = "lifetime_seconds" - elif key == "tokenId": - suggest = "token_id" - elif key == "tokenValue": - suggest = "token_value" + if key == "estimatedCompletionTimeSeconds": + suggest = "estimated_completion_time_seconds" + elif key == "latestVersionCurrentlyProcessing": + suggest = "latest_version_currently_processing" + elif key == "syncProgressCompletion": + suggest = "sync_progress_completion" + elif key == "syncedRowCount": + suggest = "synced_row_count" + elif key == "totalRowCount": + suggest = "total_row_count" if suggest: - pulumi.log.warn(f"Key '{key}' not found in MwsWorkspacesToken. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - MwsWorkspacesToken.__key_warning(key) + OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - MwsWorkspacesToken.__key_warning(key) + OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - comment: Optional[str] = None, - lifetime_seconds: Optional[int] = None, - token_id: Optional[str] = None, - token_value: Optional[str] = None): - """ - :param 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) + estimated_completion_time_seconds: Optional[float] = None, + latest_version_currently_processing: Optional[int] = None, + sync_progress_completion: Optional[float] = None, + synced_row_count: Optional[int] = None, + total_row_count: Optional[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 - def comment(self) -> Optional[str]: - return pulumi.get(self, "comment") + @pulumi.getter(name="estimatedCompletionTimeSeconds") + def estimated_completion_time_seconds(self) -> Optional[float]: + return pulumi.get(self, "estimated_completion_time_seconds") + + @property + @pulumi.getter(name="latestVersionCurrentlyProcessing") + def latest_version_currently_processing(self) -> Optional[int]: + return pulumi.get(self, "latest_version_currently_processing") @property - @pulumi.getter(name="lifetimeSeconds") - def lifetime_seconds(self) -> Optional[int]: - """ - Token expiry lifetime. By default its 2592000 (30 days). - """ - return pulumi.get(self, "lifetime_seconds") + @pulumi.getter(name="syncProgressCompletion") + def sync_progress_completion(self) -> Optional[float]: + return pulumi.get(self, "sync_progress_completion") @property - @pulumi.getter(name="tokenId") - def token_id(self) -> Optional[str]: - return pulumi.get(self, "token_id") + @pulumi.getter(name="syncedRowCount") + def synced_row_count(self) -> Optional[int]: + return pulumi.get(self, "synced_row_count") @property - @pulumi.getter(name="tokenValue") - def token_value(self) -> Optional[str]: - return pulumi.get(self, "token_value") + @pulumi.getter(name="totalRowCount") + def total_row_count(self) -> Optional[int]: + return pulumi.get(self, "total_row_count") @pulumi.output_type @@ -15854,8 +17721,8 @@ def __init__(__self__, *, start_version: Optional[int] = None, status: Optional[str] = None): """ - :param str data_object_type: Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, `NOTEBOOK_FILE` are supported. - :param str name: Full name of the object, e.g. `catalog.schema.name` for a table. + :param str data_object_type: Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. + :param str name: Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. :param 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 str comment: Description about the object. :param 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. @@ -15890,7 +17757,7 @@ def __init__(__self__, *, @pulumi.getter(name="dataObjectType") def data_object_type(self) -> str: """ - Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, `NOTEBOOK_FILE` are supported. + Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. """ return pulumi.get(self, "data_object_type") @@ -15898,7 +17765,7 @@ def data_object_type(self) -> str: @pulumi.getter def name(self) -> str: """ - Full name of the object, e.g. `catalog.schema.name` for a table. + 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") @@ -16348,230 +18215,492 @@ def __key_warning(key: str): if suggest: pulumi.log.warn(f"Key '{key}' not found in SqlEndpointTags. Access the value via the '{suggest}' property getter instead.") - def __getitem__(self, key: str) -> Any: - SqlEndpointTags.__key_warning(key) - return super().__getitem__(key) + def __getitem__(self, key: str) -> Any: + SqlEndpointTags.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SqlEndpointTags.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + custom_tags: Optional[Sequence['outputs.SqlEndpointTagsCustomTag']] = None): + if custom_tags is not None: + pulumi.set(__self__, "custom_tags", custom_tags) + + @property + @pulumi.getter(name="customTags") + def custom_tags(self) -> Optional[Sequence['outputs.SqlEndpointTagsCustomTag']]: + return pulumi.get(self, "custom_tags") + + +@pulumi.output_type +class SqlEndpointTagsCustomTag(dict): + def __init__(__self__, *, + key: str, + value: str): + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def key(self) -> str: + return pulumi.get(self, "key") + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + +@pulumi.output_type +class SqlPermissionsPrivilegeAssignment(dict): + def __init__(__self__, *, + principal: str, + privileges: Sequence[str]): + """ + :param str principal: `display_name` for a Group or databricks_user, `application_id` for a databricks_service_principal. + :param Sequence[str] privileges: set of available privilege names in upper case. + + [Available](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html) privilege names are: + """ + pulumi.set(__self__, "principal", principal) + pulumi.set(__self__, "privileges", privileges) + + @property + @pulumi.getter + def principal(self) -> str: + """ + `display_name` for a Group or databricks_user, `application_id` for a databricks_service_principal. + """ + return pulumi.get(self, "principal") + + @property + @pulumi.getter + def privileges(self) -> Sequence[str]: + """ + set of available privilege names in upper case. + + [Available](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html) privilege names are: + """ + return pulumi.get(self, "privileges") + + +@pulumi.output_type +class SqlQueryParameter(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dateRange": + suggest = "date_range" + elif key == "datetimeRange": + suggest = "datetime_range" + elif key == "datetimesecRange": + suggest = "datetimesec_range" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SqlQueryParameter. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SqlQueryParameter.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SqlQueryParameter.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: str, + date: Optional['outputs.SqlQueryParameterDate'] = None, + date_range: Optional['outputs.SqlQueryParameterDateRange'] = None, + datetime: Optional['outputs.SqlQueryParameterDatetime'] = None, + datetime_range: Optional['outputs.SqlQueryParameterDatetimeRange'] = None, + datetimesec: Optional['outputs.SqlQueryParameterDatetimesec'] = None, + datetimesec_range: Optional['outputs.SqlQueryParameterDatetimesecRange'] = None, + enum: Optional['outputs.SqlQueryParameterEnum'] = None, + number: Optional['outputs.SqlQueryParameterNumber'] = None, + query: Optional['outputs.SqlQueryParameterQuery'] = None, + text: Optional['outputs.SqlQueryParameterText'] = None, + title: Optional[str] = None): + """ + :param str name: The literal parameter marker that appears between double curly braces in the query text. + Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. + + For `text`, `number`, `date`, `datetime`, `datetimesec` block + :param 'SqlQueryParameterQueryArgs' query: The text of the query to be run. + :param str title: The text displayed in a parameter picking widget. + """ + 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 + def name(self) -> str: + """ + The literal parameter marker that appears between double curly braces in the query text. + Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. + + For `text`, `number`, `date`, `datetime`, `datetimesec` block + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def date(self) -> Optional['outputs.SqlQueryParameterDate']: + return pulumi.get(self, "date") + + @property + @pulumi.getter(name="dateRange") + def date_range(self) -> Optional['outputs.SqlQueryParameterDateRange']: + return pulumi.get(self, "date_range") + + @property + @pulumi.getter + def datetime(self) -> Optional['outputs.SqlQueryParameterDatetime']: + return pulumi.get(self, "datetime") + + @property + @pulumi.getter(name="datetimeRange") + def datetime_range(self) -> Optional['outputs.SqlQueryParameterDatetimeRange']: + return pulumi.get(self, "datetime_range") + + @property + @pulumi.getter + def datetimesec(self) -> Optional['outputs.SqlQueryParameterDatetimesec']: + return pulumi.get(self, "datetimesec") + + @property + @pulumi.getter(name="datetimesecRange") + def datetimesec_range(self) -> Optional['outputs.SqlQueryParameterDatetimesecRange']: + return pulumi.get(self, "datetimesec_range") + + @property + @pulumi.getter + def enum(self) -> Optional['outputs.SqlQueryParameterEnum']: + return pulumi.get(self, "enum") + + @property + @pulumi.getter + def number(self) -> Optional['outputs.SqlQueryParameterNumber']: + return pulumi.get(self, "number") + + @property + @pulumi.getter + def query(self) -> Optional['outputs.SqlQueryParameterQuery']: + """ + The text of the query to be run. + """ + return pulumi.get(self, "query") + + @property + @pulumi.getter + def text(self) -> Optional['outputs.SqlQueryParameterText']: + return pulumi.get(self, "text") + + @property + @pulumi.getter + def title(self) -> Optional[str]: + """ + The text displayed in a parameter picking widget. + """ + return pulumi.get(self, "title") + + +@pulumi.output_type +class SqlQueryParameterDate(dict): + def __init__(__self__, *, + value: str): + """ + :param str value: The default value for this parameter. + """ + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> str: + """ + The default value for this parameter. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class SqlQueryParameterDateRange(dict): + def __init__(__self__, *, + range: Optional['outputs.SqlQueryParameterDateRangeRange'] = None, + value: Optional[str] = None): + """ + :param 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['outputs.SqlQueryParameterDateRangeRange']: + return pulumi.get(self, "range") + + @property + @pulumi.getter + def value(self) -> Optional[str]: + """ + The default value for this parameter. + """ + return pulumi.get(self, "value") - def get(self, key: str, default = None) -> Any: - SqlEndpointTags.__key_warning(key) - return super().get(key, default) +@pulumi.output_type +class SqlQueryParameterDateRangeRange(dict): def __init__(__self__, *, - custom_tags: Optional[Sequence['outputs.SqlEndpointTagsCustomTag']] = None): - if custom_tags is not None: - pulumi.set(__self__, "custom_tags", custom_tags) + end: str, + start: str): + pulumi.set(__self__, "end", end) + pulumi.set(__self__, "start", start) @property - @pulumi.getter(name="customTags") - def custom_tags(self) -> Optional[Sequence['outputs.SqlEndpointTagsCustomTag']]: - return pulumi.get(self, "custom_tags") + @pulumi.getter + def end(self) -> str: + return pulumi.get(self, "end") + + @property + @pulumi.getter + def start(self) -> str: + return pulumi.get(self, "start") @pulumi.output_type -class SqlEndpointTagsCustomTag(dict): +class SqlQueryParameterDatetime(dict): def __init__(__self__, *, - key: str, value: str): - pulumi.set(__self__, "key", key) + """ + :param str value: The default value for this parameter. + """ pulumi.set(__self__, "value", value) - @property - @pulumi.getter - def key(self) -> str: - return pulumi.get(self, "key") - @property @pulumi.getter def value(self) -> str: + """ + The default value for this parameter. + """ return pulumi.get(self, "value") @pulumi.output_type -class SqlPermissionsPrivilegeAssignment(dict): +class SqlQueryParameterDatetimeRange(dict): def __init__(__self__, *, - principal: str, - privileges: Sequence[str]): + range: Optional['outputs.SqlQueryParameterDatetimeRangeRange'] = None, + value: Optional[str] = None): """ - :param str principal: `display_name` for a Group or databricks_user, `application_id` for a databricks_service_principal. - :param Sequence[str] privileges: set of available privilege names in upper case. - - [Available](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html) privilege names are: + :param str value: The default value for this parameter. """ - pulumi.set(__self__, "principal", principal) - pulumi.set(__self__, "privileges", privileges) + if range is not None: + pulumi.set(__self__, "range", range) + if value is not None: + pulumi.set(__self__, "value", value) @property @pulumi.getter - def principal(self) -> str: - """ - `display_name` for a Group or databricks_user, `application_id` for a databricks_service_principal. - """ - return pulumi.get(self, "principal") + def range(self) -> Optional['outputs.SqlQueryParameterDatetimeRangeRange']: + return pulumi.get(self, "range") @property @pulumi.getter - def privileges(self) -> Sequence[str]: + def value(self) -> Optional[str]: """ - set of available privilege names in upper case. - - [Available](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html) privilege names are: + The default value for this parameter. """ - return pulumi.get(self, "privileges") + return pulumi.get(self, "value") @pulumi.output_type -class SqlQueryParameter(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "dateRange": - suggest = "date_range" - elif key == "datetimeRange": - suggest = "datetime_range" - elif key == "datetimesecRange": - suggest = "datetimesec_range" +class SqlQueryParameterDatetimeRangeRange(dict): + def __init__(__self__, *, + end: str, + start: str): + pulumi.set(__self__, "end", end) + pulumi.set(__self__, "start", start) - if suggest: - pulumi.log.warn(f"Key '{key}' not found in SqlQueryParameter. Access the value via the '{suggest}' property getter instead.") + @property + @pulumi.getter + def end(self) -> str: + return pulumi.get(self, "end") - def __getitem__(self, key: str) -> Any: - SqlQueryParameter.__key_warning(key) - return super().__getitem__(key) + @property + @pulumi.getter + def start(self) -> str: + return pulumi.get(self, "start") - def get(self, key: str, default = None) -> Any: - SqlQueryParameter.__key_warning(key) - return super().get(key, default) +@pulumi.output_type +class SqlQueryParameterDatetimesec(dict): def __init__(__self__, *, - name: str, - date: Optional['outputs.SqlQueryParameterDate'] = None, - date_range: Optional['outputs.SqlQueryParameterDateRange'] = None, - datetime: Optional['outputs.SqlQueryParameterDatetime'] = None, - datetime_range: Optional['outputs.SqlQueryParameterDatetimeRange'] = None, - datetimesec: Optional['outputs.SqlQueryParameterDatetimesec'] = None, - datetimesec_range: Optional['outputs.SqlQueryParameterDatetimesecRange'] = None, - enum: Optional['outputs.SqlQueryParameterEnum'] = None, - number: Optional['outputs.SqlQueryParameterNumber'] = None, - query: Optional['outputs.SqlQueryParameterQuery'] = None, - text: Optional['outputs.SqlQueryParameterText'] = None, - title: Optional[str] = None): + value: str): """ - :param str name: The literal parameter marker that appears between double curly braces in the query text. - Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. - - For `text`, `number`, `date`, `datetime`, `datetimesec` block - :param 'SqlQueryParameterQueryArgs' query: The text of the query to be run. - :param str title: The text displayed in a parameter picking widget. + :param str value: The default value for this parameter. """ - 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__, "value", value) @property @pulumi.getter - def name(self) -> str: + def value(self) -> str: """ - The literal parameter marker that appears between double curly braces in the query text. - Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. + The default value for this parameter. + """ + return pulumi.get(self, "value") - For `text`, `number`, `date`, `datetime`, `datetimesec` block + +@pulumi.output_type +class SqlQueryParameterDatetimesecRange(dict): + def __init__(__self__, *, + range: Optional['outputs.SqlQueryParameterDatetimesecRangeRange'] = None, + value: Optional[str] = None): """ - return pulumi.get(self, "name") + :param 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 date(self) -> Optional['outputs.SqlQueryParameterDate']: - return pulumi.get(self, "date") + def range(self) -> Optional['outputs.SqlQueryParameterDatetimesecRangeRange']: + return pulumi.get(self, "range") @property - @pulumi.getter(name="dateRange") - def date_range(self) -> Optional['outputs.SqlQueryParameterDateRange']: - return pulumi.get(self, "date_range") + @pulumi.getter + def value(self) -> Optional[str]: + """ + The default value for this parameter. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class SqlQueryParameterDatetimesecRangeRange(dict): + def __init__(__self__, *, + end: str, + start: str): + pulumi.set(__self__, "end", end) + pulumi.set(__self__, "start", start) @property @pulumi.getter - def datetime(self) -> Optional['outputs.SqlQueryParameterDatetime']: - return pulumi.get(self, "datetime") + def end(self) -> str: + return pulumi.get(self, "end") @property - @pulumi.getter(name="datetimeRange") - def datetime_range(self) -> Optional['outputs.SqlQueryParameterDatetimeRange']: - return pulumi.get(self, "datetime_range") + @pulumi.getter + def start(self) -> str: + return pulumi.get(self, "start") + + +@pulumi.output_type +class SqlQueryParameterEnum(dict): + def __init__(__self__, *, + options: Sequence[str], + multiple: Optional['outputs.SqlQueryParameterEnumMultiple'] = None, + value: Optional[str] = None, + values: Optional[Sequence[str]] = None): + """ + :param 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 datetimesec(self) -> Optional['outputs.SqlQueryParameterDatetimesec']: - return pulumi.get(self, "datetimesec") + def options(self) -> Sequence[str]: + return pulumi.get(self, "options") @property - @pulumi.getter(name="datetimesecRange") - def datetimesec_range(self) -> Optional['outputs.SqlQueryParameterDatetimesecRange']: - return pulumi.get(self, "datetimesec_range") + @pulumi.getter + def multiple(self) -> Optional['outputs.SqlQueryParameterEnumMultiple']: + return pulumi.get(self, "multiple") @property @pulumi.getter - def enum(self) -> Optional['outputs.SqlQueryParameterEnum']: - return pulumi.get(self, "enum") + def value(self) -> Optional[str]: + """ + The default value for this parameter. + """ + return pulumi.get(self, "value") + + @property + @pulumi.getter + def values(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "values") - @property - @pulumi.getter - def number(self) -> Optional['outputs.SqlQueryParameterNumber']: - return pulumi.get(self, "number") + +@pulumi.output_type +class SqlQueryParameterEnumMultiple(dict): + def __init__(__self__, *, + separator: str, + prefix: Optional[str] = None, + suffix: Optional[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 query(self) -> Optional['outputs.SqlQueryParameterQuery']: - """ - The text of the query to be run. - """ - return pulumi.get(self, "query") + def separator(self) -> str: + return pulumi.get(self, "separator") @property @pulumi.getter - def text(self) -> Optional['outputs.SqlQueryParameterText']: - return pulumi.get(self, "text") + def prefix(self) -> Optional[str]: + return pulumi.get(self, "prefix") @property @pulumi.getter - def title(self) -> Optional[str]: - """ - The text displayed in a parameter picking widget. - """ - return pulumi.get(self, "title") + def suffix(self) -> Optional[str]: + return pulumi.get(self, "suffix") @pulumi.output_type -class SqlQueryParameterDate(dict): +class SqlQueryParameterNumber(dict): def __init__(__self__, *, - value: str): + value: float): """ - :param str value: The default value for this parameter. + :param float value: The default value for this parameter. """ pulumi.set(__self__, "value", value) @property @pulumi.getter - def value(self) -> str: + def value(self) -> float: """ The default value for this parameter. """ @@ -16579,22 +18708,49 @@ def value(self) -> str: @pulumi.output_type -class SqlQueryParameterDateRange(dict): +class SqlQueryParameterQuery(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "queryId": + suggest = "query_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SqlQueryParameterQuery. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SqlQueryParameterQuery.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SqlQueryParameterQuery.__key_warning(key) + return super().get(key, default) + def __init__(__self__, *, - range: Optional['outputs.SqlQueryParameterDateRangeRange'] = None, - value: Optional[str] = None): + query_id: str, + multiple: Optional['outputs.SqlQueryParameterQueryMultiple'] = None, + value: Optional[str] = None, + values: Optional[Sequence[str]] = None): """ :param str value: The default value for this parameter. """ - if range is not None: - pulumi.set(__self__, "range", range) + 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) -> str: + return pulumi.get(self, "query_id") @property @pulumi.getter - def range(self) -> Optional['outputs.SqlQueryParameterDateRangeRange']: - return pulumi.get(self, "range") + def multiple(self) -> Optional['outputs.SqlQueryParameterQueryMultiple']: + return pulumi.get(self, "multiple") @property @pulumi.getter @@ -16604,28 +18760,42 @@ def value(self) -> Optional[str]: """ return pulumi.get(self, "value") + @property + @pulumi.getter + def values(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "values") + @pulumi.output_type -class SqlQueryParameterDateRangeRange(dict): +class SqlQueryParameterQueryMultiple(dict): def __init__(__self__, *, - end: str, - start: str): - pulumi.set(__self__, "end", end) - pulumi.set(__self__, "start", start) + separator: str, + prefix: Optional[str] = None, + suffix: Optional[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 end(self) -> str: - return pulumi.get(self, "end") + def separator(self) -> str: + return pulumi.get(self, "separator") @property @pulumi.getter - def start(self) -> str: - return pulumi.get(self, "start") + def prefix(self) -> Optional[str]: + return pulumi.get(self, "prefix") + + @property + @pulumi.getter + def suffix(self) -> Optional[str]: + return pulumi.get(self, "suffix") @pulumi.output_type -class SqlQueryParameterDatetime(dict): +class SqlQueryParameterText(dict): def __init__(__self__, *, value: str): """ @@ -16642,129 +18812,265 @@ def value(self) -> str: return pulumi.get(self, "value") -@pulumi.output_type -class SqlQueryParameterDatetimeRange(dict): +@pulumi.output_type +class SqlQuerySchedule(dict): + def __init__(__self__, *, + continuous: Optional['outputs.SqlQueryScheduleContinuous'] = None, + daily: Optional['outputs.SqlQueryScheduleDaily'] = None, + weekly: Optional['outputs.SqlQueryScheduleWeekly'] = 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['outputs.SqlQueryScheduleContinuous']: + return pulumi.get(self, "continuous") + + @property + @pulumi.getter + def daily(self) -> Optional['outputs.SqlQueryScheduleDaily']: + return pulumi.get(self, "daily") + + @property + @pulumi.getter + def weekly(self) -> Optional['outputs.SqlQueryScheduleWeekly']: + return pulumi.get(self, "weekly") + + +@pulumi.output_type +class SqlQueryScheduleContinuous(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "intervalSeconds": + suggest = "interval_seconds" + elif key == "untilDate": + suggest = "until_date" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SqlQueryScheduleContinuous. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SqlQueryScheduleContinuous.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SqlQueryScheduleContinuous.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + interval_seconds: int, + until_date: Optional[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) -> int: + return pulumi.get(self, "interval_seconds") + + @property + @pulumi.getter(name="untilDate") + def until_date(self) -> Optional[str]: + return pulumi.get(self, "until_date") + + +@pulumi.output_type +class SqlQueryScheduleDaily(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "intervalDays": + suggest = "interval_days" + elif key == "timeOfDay": + suggest = "time_of_day" + elif key == "untilDate": + suggest = "until_date" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SqlQueryScheduleDaily. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SqlQueryScheduleDaily.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SqlQueryScheduleDaily.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + interval_days: int, + time_of_day: str, + until_date: Optional[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) -> int: + return pulumi.get(self, "interval_days") + + @property + @pulumi.getter(name="timeOfDay") + def time_of_day(self) -> str: + return pulumi.get(self, "time_of_day") + + @property + @pulumi.getter(name="untilDate") + def until_date(self) -> Optional[str]: + return pulumi.get(self, "until_date") + + +@pulumi.output_type +class SqlQueryScheduleWeekly(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dayOfWeek": + suggest = "day_of_week" + elif key == "intervalWeeks": + suggest = "interval_weeks" + elif key == "timeOfDay": + suggest = "time_of_day" + elif key == "untilDate": + suggest = "until_date" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SqlQueryScheduleWeekly. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SqlQueryScheduleWeekly.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SqlQueryScheduleWeekly.__key_warning(key) + return super().get(key, default) + def __init__(__self__, *, - range: Optional['outputs.SqlQueryParameterDatetimeRangeRange'] = None, - value: Optional[str] = None): - """ - :param 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) + day_of_week: str, + interval_weeks: int, + time_of_day: str, + until_date: Optional[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 - def range(self) -> Optional['outputs.SqlQueryParameterDatetimeRangeRange']: - return pulumi.get(self, "range") + @pulumi.getter(name="dayOfWeek") + def day_of_week(self) -> str: + return pulumi.get(self, "day_of_week") @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The default value for this parameter. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class SqlQueryParameterDatetimeRangeRange(dict): - def __init__(__self__, *, - end: str, - start: str): - pulumi.set(__self__, "end", end) - pulumi.set(__self__, "start", start) + @pulumi.getter(name="intervalWeeks") + def interval_weeks(self) -> int: + return pulumi.get(self, "interval_weeks") @property - @pulumi.getter - def end(self) -> str: - return pulumi.get(self, "end") + @pulumi.getter(name="timeOfDay") + def time_of_day(self) -> str: + return pulumi.get(self, "time_of_day") @property - @pulumi.getter - def start(self) -> str: - return pulumi.get(self, "start") + @pulumi.getter(name="untilDate") + def until_date(self) -> Optional[str]: + return pulumi.get(self, "until_date") @pulumi.output_type -class SqlQueryParameterDatetimesec(dict): +class SqlTableColumn(dict): def __init__(__self__, *, - value: str): + name: str, + comment: Optional[str] = None, + nullable: Optional[bool] = None, + type: Optional[str] = None): """ - :param str value: The default value for this parameter. + :param str name: User-visible name of column + :param str comment: User-supplied free-form text. + :param bool nullable: Whether field is nullable (Default: `true`) + :param str type: Column type spec (with metadata) as SQL text. Not supported for `VIEW` table_type. """ - pulumi.set(__self__, "value", value) + pulumi.set(__self__, "name", name) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if nullable is not None: + pulumi.set(__self__, "nullable", nullable) + if type is not None: + pulumi.set(__self__, "type", type) @property @pulumi.getter - def value(self) -> str: + def name(self) -> str: """ - The default value for this parameter. + User-visible name of column """ - return pulumi.get(self, "value") - + return pulumi.get(self, "name") -@pulumi.output_type -class SqlQueryParameterDatetimesecRange(dict): - def __init__(__self__, *, - range: Optional['outputs.SqlQueryParameterDatetimesecRangeRange'] = None, - value: Optional[str] = None): + @property + @pulumi.getter + def comment(self) -> Optional[str]: """ - :param str value: The default value for this parameter. + User-supplied free-form text. """ - if range is not None: - pulumi.set(__self__, "range", range) - if value is not None: - pulumi.set(__self__, "value", value) + return pulumi.get(self, "comment") @property @pulumi.getter - def range(self) -> Optional['outputs.SqlQueryParameterDatetimesecRangeRange']: - return pulumi.get(self, "range") + def nullable(self) -> Optional[bool]: + """ + Whether field is nullable (Default: `true`) + """ + return pulumi.get(self, "nullable") @property @pulumi.getter - def value(self) -> Optional[str]: + def type(self) -> Optional[str]: """ - The default value for this parameter. + Column type spec (with metadata) as SQL text. Not supported for `VIEW` table_type. """ - return pulumi.get(self, "value") + return pulumi.get(self, "type") @pulumi.output_type -class SqlQueryParameterDatetimesecRangeRange(dict): - def __init__(__self__, *, - end: str, - start: str): - pulumi.set(__self__, "end", end) - pulumi.set(__self__, "start", start) +class SqlWidgetParameter(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "mapTo": + suggest = "map_to" - @property - @pulumi.getter - def end(self) -> str: - return pulumi.get(self, "end") + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SqlWidgetParameter. Access the value via the '{suggest}' property getter instead.") - @property - @pulumi.getter - def start(self) -> str: - return pulumi.get(self, "start") + def __getitem__(self, key: str) -> Any: + SqlWidgetParameter.__key_warning(key) + return super().__getitem__(key) + def get(self, key: str, default = None) -> Any: + SqlWidgetParameter.__key_warning(key) + return super().get(key, default) -@pulumi.output_type -class SqlQueryParameterEnum(dict): def __init__(__self__, *, - options: Sequence[str], - multiple: Optional['outputs.SqlQueryParameterEnumMultiple'] = None, + name: str, + type: str, + map_to: Optional[str] = None, + title: Optional[str] = None, value: Optional[str] = None, values: Optional[Sequence[str]] = None): - """ - :param str value: The default value for this parameter. - """ - pulumi.set(__self__, "options", options) - if multiple is not None: - pulumi.set(__self__, "multiple", multiple) + 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: @@ -16772,20 +19078,27 @@ def __init__(__self__, *, @property @pulumi.getter - def options(self) -> Sequence[str]: - return pulumi.get(self, "options") + def name(self) -> str: + return pulumi.get(self, "name") @property @pulumi.getter - def multiple(self) -> Optional['outputs.SqlQueryParameterEnumMultiple']: - return pulumi.get(self, "multiple") + def type(self) -> str: + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="mapTo") + def map_to(self) -> Optional[str]: + return pulumi.get(self, "map_to") + + @property + @pulumi.getter + def title(self) -> Optional[str]: + return pulumi.get(self, "title") @property @pulumi.getter def value(self) -> Optional[str]: - """ - The default value for this parameter. - """ return pulumi.get(self, "value") @property @@ -16795,419 +19108,420 @@ def values(self) -> Optional[Sequence[str]]: @pulumi.output_type -class SqlQueryParameterEnumMultiple(dict): +class SqlWidgetPosition(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sizeX": + suggest = "size_x" + elif key == "sizeY": + suggest = "size_y" + elif key == "autoHeight": + suggest = "auto_height" + elif key == "posX": + suggest = "pos_x" + elif key == "posY": + suggest = "pos_y" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SqlWidgetPosition. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SqlWidgetPosition.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SqlWidgetPosition.__key_warning(key) + return super().get(key, default) + def __init__(__self__, *, - separator: str, - prefix: Optional[str] = None, - suffix: Optional[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) + size_x: int, + size_y: int, + auto_height: Optional[bool] = None, + pos_x: Optional[int] = None, + pos_y: Optional[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 - def separator(self) -> str: - return pulumi.get(self, "separator") + @pulumi.getter(name="sizeX") + def size_x(self) -> int: + return pulumi.get(self, "size_x") @property - @pulumi.getter - def prefix(self) -> Optional[str]: - return pulumi.get(self, "prefix") + @pulumi.getter(name="sizeY") + def size_y(self) -> int: + return pulumi.get(self, "size_y") @property - @pulumi.getter - def suffix(self) -> Optional[str]: - return pulumi.get(self, "suffix") - - -@pulumi.output_type -class SqlQueryParameterNumber(dict): - def __init__(__self__, *, - value: float): - """ - :param float value: The default value for this parameter. - """ - pulumi.set(__self__, "value", value) + @pulumi.getter(name="autoHeight") + def auto_height(self) -> Optional[bool]: + return pulumi.get(self, "auto_height") @property - @pulumi.getter - def value(self) -> float: - """ - The default value for this parameter. - """ - return pulumi.get(self, "value") + @pulumi.getter(name="posX") + def pos_x(self) -> Optional[int]: + return pulumi.get(self, "pos_x") + + @property + @pulumi.getter(name="posY") + def pos_y(self) -> Optional[int]: + return pulumi.get(self, "pos_y") @pulumi.output_type -class SqlQueryParameterQuery(dict): +class StorageCredentialAwsIamRole(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "queryId": - suggest = "query_id" + if key == "roleArn": + suggest = "role_arn" + elif key == "externalId": + suggest = "external_id" + elif key == "unityCatalogIamArn": + suggest = "unity_catalog_iam_arn" if suggest: - pulumi.log.warn(f"Key '{key}' not found in SqlQueryParameterQuery. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in StorageCredentialAwsIamRole. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - SqlQueryParameterQuery.__key_warning(key) + StorageCredentialAwsIamRole.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - SqlQueryParameterQuery.__key_warning(key) + StorageCredentialAwsIamRole.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - query_id: str, - multiple: Optional['outputs.SqlQueryParameterQueryMultiple'] = None, - value: Optional[str] = None, - values: Optional[Sequence[str]] = None): + role_arn: str, + external_id: Optional[str] = None, + unity_catalog_iam_arn: Optional[str] = None): """ - :param str value: The default value for this parameter. + :param 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__, "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) + 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="queryId") - def query_id(self) -> str: - return pulumi.get(self, "query_id") + @pulumi.getter(name="roleArn") + def role_arn(self) -> 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` - @property - @pulumi.getter - def multiple(self) -> Optional['outputs.SqlQueryParameterQueryMultiple']: - return pulumi.get(self, "multiple") + `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") @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The default value for this parameter. - """ - return pulumi.get(self, "value") + @pulumi.getter(name="externalId") + def external_id(self) -> Optional[str]: + return pulumi.get(self, "external_id") @property - @pulumi.getter - def values(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "values") + @pulumi.getter(name="unityCatalogIamArn") + def unity_catalog_iam_arn(self) -> Optional[str]: + return pulumi.get(self, "unity_catalog_iam_arn") @pulumi.output_type -class SqlQueryParameterQueryMultiple(dict): - def __init__(__self__, *, - separator: str, - prefix: Optional[str] = None, - suffix: Optional[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) -> str: - return pulumi.get(self, "separator") +class StorageCredentialAzureManagedIdentity(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" - @property - @pulumi.getter - def prefix(self) -> Optional[str]: - return pulumi.get(self, "prefix") + if suggest: + pulumi.log.warn(f"Key '{key}' not found in StorageCredentialAzureManagedIdentity. Access the value via the '{suggest}' property getter instead.") - @property - @pulumi.getter - def suffix(self) -> Optional[str]: - return pulumi.get(self, "suffix") + def __getitem__(self, key: str) -> Any: + StorageCredentialAzureManagedIdentity.__key_warning(key) + return super().__getitem__(key) + def get(self, key: str, default = None) -> Any: + StorageCredentialAzureManagedIdentity.__key_warning(key) + return super().get(key, default) -@pulumi.output_type -class SqlQueryParameterText(dict): def __init__(__self__, *, - value: str): + access_connector_id: str, + credential_id: Optional[str] = None, + managed_identity_id: Optional[str] = None): """ - :param str value: The default value for this parameter. + :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 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__, "value", value) + 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 - def value(self) -> str: + @pulumi.getter(name="accessConnectorId") + def access_connector_id(self) -> str: """ - The default value for this parameter. + 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, "value") - - -@pulumi.output_type -class SqlQuerySchedule(dict): - def __init__(__self__, *, - continuous: Optional['outputs.SqlQueryScheduleContinuous'] = None, - daily: Optional['outputs.SqlQueryScheduleDaily'] = None, - weekly: Optional['outputs.SqlQueryScheduleWeekly'] = 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) + return pulumi.get(self, "access_connector_id") @property - @pulumi.getter - def continuous(self) -> Optional['outputs.SqlQueryScheduleContinuous']: - return pulumi.get(self, "continuous") + @pulumi.getter(name="credentialId") + def credential_id(self) -> Optional[str]: + return pulumi.get(self, "credential_id") @property - @pulumi.getter - def daily(self) -> Optional['outputs.SqlQueryScheduleDaily']: - return pulumi.get(self, "daily") + @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`. - @property - @pulumi.getter - def weekly(self) -> Optional['outputs.SqlQueryScheduleWeekly']: - return pulumi.get(self, "weekly") + `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account: + """ + return pulumi.get(self, "managed_identity_id") @pulumi.output_type -class SqlQueryScheduleContinuous(dict): +class StorageCredentialAzureServicePrincipal(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "intervalSeconds": - suggest = "interval_seconds" - elif key == "untilDate": - suggest = "until_date" + 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 SqlQueryScheduleContinuous. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in StorageCredentialAzureServicePrincipal. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - SqlQueryScheduleContinuous.__key_warning(key) + StorageCredentialAzureServicePrincipal.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - SqlQueryScheduleContinuous.__key_warning(key) + StorageCredentialAzureServicePrincipal.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - interval_seconds: int, - until_date: Optional[str] = None): - pulumi.set(__self__, "interval_seconds", interval_seconds) - if until_date is not None: - pulumi.set(__self__, "until_date", until_date) + 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** + :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="intervalSeconds") - def interval_seconds(self) -> int: - return pulumi.get(self, "interval_seconds") + @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="untilDate") - def until_date(self) -> Optional[str]: - return pulumi.get(self, "until_date") + @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** + """ + 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 SqlQueryScheduleDaily(dict): +class StorageCredentialDatabricksGcpServiceAccount(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "intervalDays": - suggest = "interval_days" - elif key == "timeOfDay": - suggest = "time_of_day" - elif key == "untilDate": - suggest = "until_date" + if key == "credentialId": + suggest = "credential_id" if suggest: - pulumi.log.warn(f"Key '{key}' not found in SqlQueryScheduleDaily. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in StorageCredentialDatabricksGcpServiceAccount. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - SqlQueryScheduleDaily.__key_warning(key) + StorageCredentialDatabricksGcpServiceAccount.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - SqlQueryScheduleDaily.__key_warning(key) + StorageCredentialDatabricksGcpServiceAccount.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - interval_days: int, - time_of_day: str, - until_date: Optional[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) + credential_id: Optional[str] = None, + email: Optional[str] = None): + """ + :param str email: The email of the GCP service account created, to be granted access to relevant buckets. + + `azure_service_principal` optional configuration block to use service principal as credential details for Azure (Legacy): + """ + 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="intervalDays") - def interval_days(self) -> int: - return pulumi.get(self, "interval_days") + @pulumi.getter(name="credentialId") + def credential_id(self) -> Optional[str]: + return pulumi.get(self, "credential_id") @property - @pulumi.getter(name="timeOfDay") - def time_of_day(self) -> str: - return pulumi.get(self, "time_of_day") + @pulumi.getter + def email(self) -> Optional[str]: + """ + The email of the GCP service account created, to be granted access to relevant buckets. - @property - @pulumi.getter(name="untilDate") - def until_date(self) -> Optional[str]: - return pulumi.get(self, "until_date") + `azure_service_principal` optional configuration block to use service principal as credential details for Azure (Legacy): + """ + return pulumi.get(self, "email") @pulumi.output_type -class SqlQueryScheduleWeekly(dict): +class StorageCredentialGcpServiceAccountKey(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "dayOfWeek": - suggest = "day_of_week" - elif key == "intervalWeeks": - suggest = "interval_weeks" - elif key == "timeOfDay": - suggest = "time_of_day" - elif key == "untilDate": - suggest = "until_date" + if key == "privateKey": + suggest = "private_key" + elif key == "privateKeyId": + suggest = "private_key_id" if suggest: - pulumi.log.warn(f"Key '{key}' not found in SqlQueryScheduleWeekly. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in StorageCredentialGcpServiceAccountKey. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - SqlQueryScheduleWeekly.__key_warning(key) + StorageCredentialGcpServiceAccountKey.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - SqlQueryScheduleWeekly.__key_warning(key) + StorageCredentialGcpServiceAccountKey.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - day_of_week: str, - interval_weeks: int, - time_of_day: str, - until_date: Optional[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) -> str: - return pulumi.get(self, "day_of_week") - - @property - @pulumi.getter(name="intervalWeeks") - def interval_weeks(self) -> int: - return pulumi.get(self, "interval_weeks") - - @property - @pulumi.getter(name="timeOfDay") - def time_of_day(self) -> str: - return pulumi.get(self, "time_of_day") - - @property - @pulumi.getter(name="untilDate") - def until_date(self) -> Optional[str]: - return pulumi.get(self, "until_date") - - -@pulumi.output_type -class SqlTableColumn(dict): - def __init__(__self__, *, - name: str, - comment: Optional[str] = None, - nullable: Optional[bool] = None, - type: Optional[str] = None): + email: str, + private_key: str, + private_key_id: str): """ - :param str name: User-visible name of column - :param str comment: User-supplied free-form text. - :param bool nullable: Whether field is nullable (Default: `true`) - :param str type: Column type spec (with metadata) as SQL text. Not supported for `VIEW` table_type. + :param str email: The email of the GCP service account created, to be granted access to relevant buckets. + + `azure_service_principal` optional configuration block to use service principal as credential details for Azure (Legacy): """ - pulumi.set(__self__, "name", name) - if comment is not None: - pulumi.set(__self__, "comment", comment) - if nullable is not None: - pulumi.set(__self__, "nullable", nullable) - if type is not None: - pulumi.set(__self__, "type", type) + 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 name(self) -> str: - """ - User-visible name of column + def email(self) -> str: """ - return pulumi.get(self, "name") + The email of the GCP service account created, to be granted access to relevant buckets. - @property - @pulumi.getter - def comment(self) -> Optional[str]: - """ - User-supplied free-form text. + `azure_service_principal` optional configuration block to use service principal as credential details for Azure (Legacy): """ - return pulumi.get(self, "comment") + return pulumi.get(self, "email") @property - @pulumi.getter - def nullable(self) -> Optional[bool]: - """ - Whether field is nullable (Default: `true`) - """ - return pulumi.get(self, "nullable") + @pulumi.getter(name="privateKey") + def private_key(self) -> str: + return pulumi.get(self, "private_key") @property - @pulumi.getter - def type(self) -> Optional[str]: - """ - Column type spec (with metadata) as SQL text. Not supported for `VIEW` table_type. - """ - return pulumi.get(self, "type") + @pulumi.getter(name="privateKeyId") + def private_key_id(self) -> str: + return pulumi.get(self, "private_key_id") @pulumi.output_type -class SqlWidgetParameter(dict): +class TableColumn(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "mapTo": - suggest = "map_to" + if key == "typeName": + suggest = "type_name" + elif key == "typeText": + suggest = "type_text" + elif key == "partitionIndex": + suggest = "partition_index" + elif key == "typeIntervalType": + suggest = "type_interval_type" + elif key == "typeJson": + suggest = "type_json" + elif key == "typePrecision": + suggest = "type_precision" + elif key == "typeScale": + suggest = "type_scale" if suggest: - pulumi.log.warn(f"Key '{key}' not found in SqlWidgetParameter. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in TableColumn. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - SqlWidgetParameter.__key_warning(key) + TableColumn.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - SqlWidgetParameter.__key_warning(key) + TableColumn.__key_warning(key) return super().get(key, default) def __init__(__self__, *, name: str, - type: str, - map_to: Optional[str] = None, - title: Optional[str] = None, - value: Optional[str] = None, - values: Optional[Sequence[str]] = None): + position: int, + type_name: str, + type_text: str, + comment: Optional[str] = None, + nullable: Optional[bool] = None, + partition_index: Optional[int] = None, + type_interval_type: Optional[str] = None, + type_json: Optional[str] = None, + type_precision: Optional[int] = None, + type_scale: Optional[int] = 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) + 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 @@ -17216,539 +19530,506 @@ def name(self) -> str: @property @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - @property - @pulumi.getter(name="mapTo") - def map_to(self) -> Optional[str]: - return pulumi.get(self, "map_to") - - @property - @pulumi.getter - def title(self) -> Optional[str]: - return pulumi.get(self, "title") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - return pulumi.get(self, "value") + def position(self) -> int: + return pulumi.get(self, "position") @property - @pulumi.getter - def values(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class SqlWidgetPosition(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sizeX": - suggest = "size_x" - elif key == "sizeY": - suggest = "size_y" - elif key == "autoHeight": - suggest = "auto_height" - elif key == "posX": - suggest = "pos_x" - elif key == "posY": - suggest = "pos_y" + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") - if suggest: - pulumi.log.warn(f"Key '{key}' not found in SqlWidgetPosition. Access the value via the '{suggest}' property getter instead.") + @property + @pulumi.getter(name="typeText") + def type_text(self) -> str: + return pulumi.get(self, "type_text") - def __getitem__(self, key: str) -> Any: - SqlWidgetPosition.__key_warning(key) - return super().__getitem__(key) + @property + @pulumi.getter + def comment(self) -> Optional[str]: + return pulumi.get(self, "comment") - def get(self, key: str, default = None) -> Any: - SqlWidgetPosition.__key_warning(key) - return super().get(key, default) + @property + @pulumi.getter + def nullable(self) -> Optional[bool]: + return pulumi.get(self, "nullable") - def __init__(__self__, *, - size_x: int, - size_y: int, - auto_height: Optional[bool] = None, - pos_x: Optional[int] = None, - pos_y: Optional[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="partitionIndex") + def partition_index(self) -> Optional[int]: + return pulumi.get(self, "partition_index") @property - @pulumi.getter(name="sizeX") - def size_x(self) -> int: - return pulumi.get(self, "size_x") + @pulumi.getter(name="typeIntervalType") + def type_interval_type(self) -> Optional[str]: + return pulumi.get(self, "type_interval_type") @property - @pulumi.getter(name="sizeY") - def size_y(self) -> int: - return pulumi.get(self, "size_y") + @pulumi.getter(name="typeJson") + def type_json(self) -> Optional[str]: + return pulumi.get(self, "type_json") @property - @pulumi.getter(name="autoHeight") - def auto_height(self) -> Optional[bool]: - return pulumi.get(self, "auto_height") + @pulumi.getter(name="typePrecision") + def type_precision(self) -> Optional[int]: + return pulumi.get(self, "type_precision") @property - @pulumi.getter(name="posX") - def pos_x(self) -> Optional[int]: - return pulumi.get(self, "pos_x") + @pulumi.getter(name="typeScale") + def type_scale(self) -> Optional[int]: + return pulumi.get(self, "type_scale") + + +@pulumi.output_type +class VectorSearchEndpointEndpointStatus(dict): + def __init__(__self__, *, + message: Optional[str] = None, + state: Optional[str] = None): + """ + :param str message: Additional status message. + :param 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(name="posY") - def pos_y(self) -> Optional[int]: - return pulumi.get(self, "pos_y") + @pulumi.getter + def message(self) -> Optional[str]: + """ + Additional status message. + """ + return pulumi.get(self, "message") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. + """ + return pulumi.get(self, "state") @pulumi.output_type -class StorageCredentialAwsIamRole(dict): +class VectorSearchIndexDeltaSyncIndexSpec(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "roleArn": - suggest = "role_arn" - elif key == "externalId": - suggest = "external_id" - elif key == "unityCatalogIamArn": - suggest = "unity_catalog_iam_arn" + if key == "embeddingSourceColumns": + suggest = "embedding_source_columns" + elif key == "embeddingVectorColumns": + suggest = "embedding_vector_columns" + elif key == "pipelineId": + suggest = "pipeline_id" + elif key == "pipelineType": + suggest = "pipeline_type" + elif key == "sourceTable": + suggest = "source_table" if suggest: - pulumi.log.warn(f"Key '{key}' not found in StorageCredentialAwsIamRole. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in VectorSearchIndexDeltaSyncIndexSpec. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - StorageCredentialAwsIamRole.__key_warning(key) + VectorSearchIndexDeltaSyncIndexSpec.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - StorageCredentialAwsIamRole.__key_warning(key) + VectorSearchIndexDeltaSyncIndexSpec.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - role_arn: str, - external_id: Optional[str] = None, - unity_catalog_iam_arn: Optional[str] = None): + embedding_source_columns: Optional[Sequence['outputs.VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn']] = None, + embedding_vector_columns: Optional[Sequence['outputs.VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn']] = None, + pipeline_id: Optional[str] = None, + pipeline_type: Optional[str] = None, + source_table: Optional[str] = None): """ - :param 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` - :param str external_id: The external ID used in role assumption to prevent confused deputy problem. - :param str unity_catalog_iam_arn: The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. - - `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): + :param Sequence['VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs'] embedding_source_columns: array of objects representing columns that contain the embedding source. Each entry consists of: + :param Sequence['VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs'] embedding_vector_columns: array of objects representing columns that contain the embedding vectors. Each entry consists of: + :param str pipeline_id: ID of the associated Delta Live Table pipeline. + :param str pipeline_type: Pipeline execution mode. Possible values are: + :param str source_table: The name of the source table. """ - 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) + 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 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="roleArn") - def role_arn(self) -> str: + @pulumi.getter(name="embeddingSourceColumns") + def embedding_source_columns(self) -> Optional[Sequence['outputs.VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn']]: """ - The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + array of objects representing columns that contain the embedding source. Each entry consists of: """ - return pulumi.get(self, "role_arn") + return pulumi.get(self, "embedding_source_columns") @property - @pulumi.getter(name="externalId") - def external_id(self) -> Optional[str]: + @pulumi.getter(name="embeddingVectorColumns") + def embedding_vector_columns(self) -> Optional[Sequence['outputs.VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn']]: """ - The external ID used in role assumption to prevent confused deputy problem. + array of objects representing columns that contain the embedding vectors. Each entry consists of: """ - return pulumi.get(self, "external_id") + return pulumi.get(self, "embedding_vector_columns") @property - @pulumi.getter(name="unityCatalogIamArn") - def unity_catalog_iam_arn(self) -> Optional[str]: + @pulumi.getter(name="pipelineId") + def pipeline_id(self) -> Optional[str]: + """ + ID of the associated Delta Live Table pipeline. """ - The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role. + return pulumi.get(self, "pipeline_id") - `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): + @property + @pulumi.getter(name="pipelineType") + def pipeline_type(self) -> Optional[str]: """ - return pulumi.get(self, "unity_catalog_iam_arn") + Pipeline execution mode. Possible values are: + """ + return pulumi.get(self, "pipeline_type") + + @property + @pulumi.getter(name="sourceTable") + def source_table(self) -> Optional[str]: + """ + The name of the source table. + """ + return pulumi.get(self, "source_table") @pulumi.output_type -class StorageCredentialAzureManagedIdentity(dict): +class VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn(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 key == "embeddingModelEndpointName": + suggest = "embedding_model_endpoint_name" if suggest: - pulumi.log.warn(f"Key '{key}' not found in StorageCredentialAzureManagedIdentity. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - StorageCredentialAzureManagedIdentity.__key_warning(key) + VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - StorageCredentialAzureManagedIdentity.__key_warning(key) + VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn.__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): + embedding_model_endpoint_name: Optional[str] = None, + name: 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 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: + :param str embedding_model_endpoint_name: The name of the embedding model endpoint + :param str name: The name of the column. """ - 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) + 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="accessConnectorId") - def access_connector_id(self) -> str: + @pulumi.getter(name="embeddingModelEndpointName") + def embedding_model_endpoint_name(self) -> Optional[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`. + The name of the embedding model endpoint """ - return pulumi.get(self, "access_connector_id") - - @property - @pulumi.getter(name="credentialId") - def credential_id(self) -> Optional[str]: - return pulumi.get(self, "credential_id") + return pulumi.get(self, "embedding_model_endpoint_name") @property - @pulumi.getter(name="managedIdentityId") - def managed_identity_id(self) -> Optional[str]: + @pulumi.getter + def name(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`. - - `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account: + The name of the column. """ - return pulumi.get(self, "managed_identity_id") + return pulumi.get(self, "name") @pulumi.output_type -class StorageCredentialAzureServicePrincipal(dict): +class VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn(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 key == "embeddingDimension": + suggest = "embedding_dimension" if suggest: - pulumi.log.warn(f"Key '{key}' not found in StorageCredentialAzureServicePrincipal. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - StorageCredentialAzureServicePrincipal.__key_warning(key) + VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - StorageCredentialAzureServicePrincipal.__key_warning(key) + VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn.__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** - :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: + embedding_dimension: Optional[int] = None, + name: Optional[str] = None): """ - The application ID of the application registration within the referenced AAD tenant + :param int embedding_dimension: Dimension of the embedding vector. + :param str name: The name of the column. """ - return pulumi.get(self, "application_id") + 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="clientSecret") - def client_secret(self) -> str: + @pulumi.getter(name="embeddingDimension") + def embedding_dimension(self) -> Optional[int]: """ - The client secret generated for the above app ID in AAD. **This field is redacted on output** + Dimension of the embedding vector. """ - return pulumi.get(self, "client_secret") + return pulumi.get(self, "embedding_dimension") @property - @pulumi.getter(name="directoryId") - def directory_id(self) -> str: + @pulumi.getter + def name(self) -> Optional[str]: """ - The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + The name of the column. """ - return pulumi.get(self, "directory_id") + return pulumi.get(self, "name") @pulumi.output_type -class StorageCredentialDatabricksGcpServiceAccount(dict): +class VectorSearchIndexDirectAccessIndexSpec(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "credentialId": - suggest = "credential_id" + if key == "embeddingSourceColumns": + suggest = "embedding_source_columns" + elif key == "embeddingVectorColumns": + suggest = "embedding_vector_columns" + elif key == "schemaJson": + suggest = "schema_json" if suggest: - pulumi.log.warn(f"Key '{key}' not found in StorageCredentialDatabricksGcpServiceAccount. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in VectorSearchIndexDirectAccessIndexSpec. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - StorageCredentialDatabricksGcpServiceAccount.__key_warning(key) + VectorSearchIndexDirectAccessIndexSpec.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - StorageCredentialDatabricksGcpServiceAccount.__key_warning(key) + VectorSearchIndexDirectAccessIndexSpec.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - credential_id: Optional[str] = None, - email: Optional[str] = None): + embedding_source_columns: Optional[Sequence['outputs.VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn']] = None, + embedding_vector_columns: Optional[Sequence['outputs.VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn']] = None, + schema_json: Optional[str] = None): """ - :param str email: The email of the GCP service account created, to be granted access to relevant buckets. - - `azure_service_principal` optional configuration block to use service principal as credential details for Azure (Legacy): + :param Sequence['VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs'] embedding_source_columns: array of objects representing columns that contain the embedding source. Each entry consists of: + :param Sequence['VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs'] embedding_vector_columns: array of objects representing columns that contain the embedding vectors. Each entry consists of: + :param 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 credential_id is not None: - pulumi.set(__self__, "credential_id", credential_id) - if email is not None: - pulumi.set(__self__, "email", email) + 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="credentialId") - def credential_id(self) -> Optional[str]: - return pulumi.get(self, "credential_id") + @pulumi.getter(name="embeddingSourceColumns") + def embedding_source_columns(self) -> Optional[Sequence['outputs.VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn']]: + """ + array of objects representing columns that contain the embedding source. Each entry consists of: + """ + return pulumi.get(self, "embedding_source_columns") @property - @pulumi.getter - def email(self) -> Optional[str]: + @pulumi.getter(name="embeddingVectorColumns") + def embedding_vector_columns(self) -> Optional[Sequence['outputs.VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn']]: """ - The email of the GCP service account created, to be granted access to relevant buckets. + array of objects representing columns that contain the embedding vectors. Each entry consists of: + """ + return pulumi.get(self, "embedding_vector_columns") - `azure_service_principal` optional configuration block to use service principal as credential details for Azure (Legacy): + @property + @pulumi.getter(name="schemaJson") + def schema_json(self) -> Optional[str]: """ - return pulumi.get(self, "email") + 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") @pulumi.output_type -class StorageCredentialGcpServiceAccountKey(dict): +class VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "privateKey": - suggest = "private_key" - elif key == "privateKeyId": - suggest = "private_key_id" + if key == "embeddingModelEndpointName": + suggest = "embedding_model_endpoint_name" if suggest: - pulumi.log.warn(f"Key '{key}' not found in StorageCredentialGcpServiceAccountKey. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - StorageCredentialGcpServiceAccountKey.__key_warning(key) + VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - StorageCredentialGcpServiceAccountKey.__key_warning(key) + VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - email: str, - private_key: str, - private_key_id: str): + embedding_model_endpoint_name: Optional[str] = None, + name: Optional[str] = None): """ - :param str email: The email of the GCP service account created, to be granted access to relevant buckets. - - `azure_service_principal` optional configuration block to use service principal as credential details for Azure (Legacy): + :param str embedding_model_endpoint_name: The name of the embedding model endpoint + :param str name: The name of the column. """ - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "private_key", private_key) - pulumi.set(__self__, "private_key_id", private_key_id) + 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 - def email(self) -> str: + @pulumi.getter(name="embeddingModelEndpointName") + def embedding_model_endpoint_name(self) -> Optional[str]: """ - The email of the GCP service account created, to be granted access to relevant buckets. - - `azure_service_principal` optional configuration block to use service principal as credential details for Azure (Legacy): + The name of the embedding model endpoint """ - return pulumi.get(self, "email") - - @property - @pulumi.getter(name="privateKey") - def private_key(self) -> str: - return pulumi.get(self, "private_key") + return pulumi.get(self, "embedding_model_endpoint_name") @property - @pulumi.getter(name="privateKeyId") - def private_key_id(self) -> str: - return pulumi.get(self, "private_key_id") + @pulumi.getter + def name(self) -> Optional[str]: + """ + The name of the column. + """ + return pulumi.get(self, "name") @pulumi.output_type -class TableColumn(dict): +class VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "typeName": - suggest = "type_name" - elif key == "typeText": - suggest = "type_text" - elif key == "partitionIndex": - suggest = "partition_index" - elif key == "typeIntervalType": - suggest = "type_interval_type" - elif key == "typeJson": - suggest = "type_json" - elif key == "typePrecision": - suggest = "type_precision" - elif key == "typeScale": - suggest = "type_scale" + if key == "embeddingDimension": + suggest = "embedding_dimension" if suggest: - pulumi.log.warn(f"Key '{key}' not found in TableColumn. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - TableColumn.__key_warning(key) + VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - TableColumn.__key_warning(key) + VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - name: str, - position: int, - type_name: str, - type_text: str, - comment: Optional[str] = None, - nullable: Optional[bool] = None, - partition_index: Optional[int] = None, - type_interval_type: Optional[str] = None, - type_json: Optional[str] = None, - type_precision: Optional[int] = None, - type_scale: Optional[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) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def position(self) -> int: - return pulumi.get(self, "position") - - @property - @pulumi.getter(name="typeName") - def type_name(self) -> str: - return pulumi.get(self, "type_name") - - @property - @pulumi.getter(name="typeText") - def type_text(self) -> str: - return pulumi.get(self, "type_text") + embedding_dimension: Optional[int] = None, + name: Optional[str] = None): + """ + :param int embedding_dimension: Dimension of the embedding vector. + :param str name: The name of the column. + """ + 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 - def comment(self) -> Optional[str]: - return pulumi.get(self, "comment") + @pulumi.getter(name="embeddingDimension") + def embedding_dimension(self) -> Optional[int]: + """ + Dimension of the embedding vector. + """ + return pulumi.get(self, "embedding_dimension") @property @pulumi.getter - def nullable(self) -> Optional[bool]: - return pulumi.get(self, "nullable") - - @property - @pulumi.getter(name="partitionIndex") - def partition_index(self) -> Optional[int]: - return pulumi.get(self, "partition_index") + def name(self) -> Optional[str]: + """ + The name of the column. + """ + return pulumi.get(self, "name") - @property - @pulumi.getter(name="typeIntervalType") - def type_interval_type(self) -> Optional[str]: - return pulumi.get(self, "type_interval_type") - @property - @pulumi.getter(name="typeJson") - def type_json(self) -> Optional[str]: - return pulumi.get(self, "type_json") +@pulumi.output_type +class VectorSearchIndexStatus(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "indexUrl": + suggest = "index_url" + elif key == "indexedRowCount": + suggest = "indexed_row_count" - @property - @pulumi.getter(name="typePrecision") - def type_precision(self) -> Optional[int]: - return pulumi.get(self, "type_precision") + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VectorSearchIndexStatus. Access the value via the '{suggest}' property getter instead.") - @property - @pulumi.getter(name="typeScale") - def type_scale(self) -> Optional[int]: - return pulumi.get(self, "type_scale") + def __getitem__(self, key: str) -> Any: + VectorSearchIndexStatus.__key_warning(key) + return super().__getitem__(key) + def get(self, key: str, default = None) -> Any: + VectorSearchIndexStatus.__key_warning(key) + return super().get(key, default) -@pulumi.output_type -class VectorSearchEndpointEndpointStatus(dict): def __init__(__self__, *, + index_url: Optional[str] = None, + indexed_row_count: Optional[int] = None, message: Optional[str] = None, - state: Optional[str] = None): + ready: Optional[bool] = None): """ - :param str message: Additional status message. - :param str state: Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, `OFFLINE`. + :param str index_url: Index API Url to be used to perform operations on the index + :param int indexed_row_count: Number of rows indexed + :param str message: Message associated with the index status + :param 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 state is not None: - pulumi.set(__self__, "state", state) + if ready is not None: + pulumi.set(__self__, "ready", ready) + + @property + @pulumi.getter(name="indexUrl") + def index_url(self) -> Optional[str]: + """ + Index API Url to be used to perform operations on the index + """ + return pulumi.get(self, "index_url") + + @property + @pulumi.getter(name="indexedRowCount") + def indexed_row_count(self) -> Optional[int]: + """ + Number of rows indexed + """ + return pulumi.get(self, "indexed_row_count") @property @pulumi.getter def message(self) -> Optional[str]: """ - Additional status message. + Message associated with the index status """ return pulumi.get(self, "message") @property @pulumi.getter - def state(self) -> Optional[str]: + def ready(self) -> Optional[bool]: """ - Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, `OFFLINE`. + Whether the index is ready for search """ - return pulumi.get(self, "state") + return pulumi.get(self, "ready") @pulumi.output_type @@ -22506,29 +24787,26 @@ def webhook_notifications(self) -> Optional['outputs.GetJobJobSettingsSettingsTa @pulumi.output_type class GetJobJobSettingsSettingsTaskConditionTaskResult(dict): def __init__(__self__, *, - left: Optional[str] = None, - op: Optional[str] = None, - right: Optional[str] = None): - if left is not None: - pulumi.set(__self__, "left", left) - if op is not None: - pulumi.set(__self__, "op", op) - if right is not None: - pulumi.set(__self__, "right", right) + 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 left(self) -> Optional[str]: + def left(self) -> str: return pulumi.get(self, "left") @property @pulumi.getter - def op(self) -> Optional[str]: + def op(self) -> str: return pulumi.get(self, "op") @property @pulumi.getter - def right(self) -> Optional[str]: + def right(self) -> str: return pulumi.get(self, "right") @@ -22615,10 +24893,13 @@ def outcome(self) -> Optional[str]: @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_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: @@ -22628,6 +24909,11 @@ 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]]: @@ -22899,29 +25185,26 @@ def webhook_notifications(self) -> Optional['outputs.GetJobJobSettingsSettingsTa @pulumi.output_type class GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskResult(dict): def __init__(__self__, *, - left: Optional[str] = None, - op: Optional[str] = None, - right: Optional[str] = None): - if left is not None: - pulumi.set(__self__, "left", left) - if op is not None: - pulumi.set(__self__, "op", op) - if right is not None: - pulumi.set(__self__, "right", right) + 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 left(self) -> Optional[str]: + def left(self) -> str: return pulumi.get(self, "left") @property @pulumi.getter - def op(self) -> Optional[str]: + def op(self) -> str: return pulumi.get(self, "op") @property @pulumi.getter - def right(self) -> Optional[str]: + def right(self) -> str: return pulumi.get(self, "right") @@ -23008,10 +25291,13 @@ def outcome(self) -> Optional[str]: @pulumi.output_type class GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsResult(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_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: @@ -23021,6 +25307,11 @@ 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]]: @@ -24453,16 +26744,15 @@ def on_successes(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTa @pulumi.output_type class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededResult(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ the id of Job if the resource was matched by name. """ @@ -24472,16 +26762,15 @@ def id(self) -> Optional[str]: @pulumi.output_type class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureResult(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ the id of Job if the resource was matched by name. """ @@ -24491,16 +26780,15 @@ def id(self) -> Optional[str]: @pulumi.output_type class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartResult(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ the id of Job if the resource was matched by name. """ @@ -24510,16 +26798,15 @@ def id(self) -> Optional[str]: @pulumi.output_type class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessResult(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ the id of Job if the resource was matched by name. """ @@ -25937,16 +28224,15 @@ def on_successes(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTa @pulumi.output_type class GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededResult(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ the id of Job if the resource was matched by name. """ @@ -25956,16 +28242,15 @@ def id(self) -> Optional[str]: @pulumi.output_type class GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureResult(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ the id of Job if the resource was matched by name. """ @@ -25975,16 +28260,15 @@ def id(self) -> Optional[str]: @pulumi.output_type class GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartResult(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ the id of Job if the resource was matched by name. """ @@ -25994,16 +28278,15 @@ def id(self) -> Optional[str]: @pulumi.output_type class GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessResult(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ the id of Job if the resource was matched by name. """ @@ -26013,15 +28296,19 @@ def id(self) -> Optional[str]: @pulumi.output_type class GetJobJobSettingsSettingsTriggerResult(dict): def __init__(__self__, *, - file_arrival: 'outputs.GetJobJobSettingsSettingsTriggerFileArrivalResult', - pause_status: Optional[str] = None): - pulumi.set(__self__, "file_arrival", file_arrival) + file_arrival: Optional['outputs.GetJobJobSettingsSettingsTriggerFileArrivalResult'] = None, + pause_status: Optional[str] = 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 table_update is not None: + pulumi.set(__self__, "table_update", table_update) @property @pulumi.getter(name="fileArrival") - def file_arrival(self) -> 'outputs.GetJobJobSettingsSettingsTriggerFileArrivalResult': + def file_arrival(self) -> Optional['outputs.GetJobJobSettingsSettingsTriggerFileArrivalResult']: return pulumi.get(self, "file_arrival") @property @@ -26029,6 +28316,11 @@ def file_arrival(self) -> 'outputs.GetJobJobSettingsSettingsTriggerFileArrivalRe def pause_status(self) -> Optional[str]: return pulumi.get(self, "pause_status") + @property + @pulumi.getter(name="tableUpdate") + def table_update(self) -> Optional['outputs.GetJobJobSettingsSettingsTriggerTableUpdateResult']: + return pulumi.get(self, "table_update") + @pulumi.output_type class GetJobJobSettingsSettingsTriggerFileArrivalResult(dict): @@ -26058,6 +28350,42 @@ def wait_after_last_change_seconds(self) -> Optional[int]: return pulumi.get(self, "wait_after_last_change_seconds") +@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__, *, @@ -26098,16 +28426,15 @@ def on_successes(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsWe @pulumi.output_type class GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededResult(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ the id of Job if the resource was matched by name. """ @@ -26117,16 +28444,15 @@ def id(self) -> Optional[str]: @pulumi.output_type class GetJobJobSettingsSettingsWebhookNotificationsOnFailureResult(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ the id of Job if the resource was matched by name. """ @@ -26136,16 +28462,15 @@ def id(self) -> Optional[str]: @pulumi.output_type class GetJobJobSettingsSettingsWebhookNotificationsOnStartResult(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ the id of Job if the resource was matched by name. """ @@ -26155,16 +28480,15 @@ def id(self) -> Optional[str]: @pulumi.output_type class GetJobJobSettingsSettingsWebhookNotificationsOnSuccessResult(dict): def __init__(__self__, *, - id: Optional[str] = None): + id: str): """ :param str id: the id of Job if the resource was matched by name. """ - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: """ the id of Job if the resource was matched by name. """ diff --git a/sdk/python/pulumi_databricks/registered_model.py b/sdk/python/pulumi_databricks/registered_model.py index f7dd7997..45f06729 100644 --- a/sdk/python/pulumi_databricks/registered_model.py +++ b/sdk/python/pulumi_databricks/registered_model.py @@ -18,6 +18,7 @@ def __init__(__self__, *, schema_name: pulumi.Input[str], comment: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, + owner: Optional[pulumi.Input[str]] = None, storage_location: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a RegisteredModel resource. @@ -25,6 +26,7 @@ def __init__(__self__, *, :param pulumi.Input[str] schema_name: The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.* :param pulumi.Input[str] comment: The comment attached to the registered model. :param pulumi.Input[str] name: The name of the registered model. *Change of this parameter forces recreation of the resource.* + :param pulumi.Input[str] owner: Name of the registered model owner. :param pulumi.Input[str] storage_location: The storage location under which model version data files are stored. *Change of this parameter forces recreation of the resource.* """ pulumi.set(__self__, "catalog_name", catalog_name) @@ -33,6 +35,8 @@ def __init__(__self__, *, pulumi.set(__self__, "comment", comment) if name is not None: pulumi.set(__self__, "name", name) + if owner is not None: + pulumi.set(__self__, "owner", owner) if storage_location is not None: pulumi.set(__self__, "storage_location", storage_location) @@ -84,6 +88,18 @@ def name(self) -> Optional[pulumi.Input[str]]: def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) + @property + @pulumi.getter + def owner(self) -> Optional[pulumi.Input[str]]: + """ + Name of the registered model 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="storageLocation") def storage_location(self) -> Optional[pulumi.Input[str]]: @@ -103,6 +119,7 @@ def __init__(__self__, *, catalog_name: Optional[pulumi.Input[str]] = None, comment: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, + owner: Optional[pulumi.Input[str]] = None, schema_name: Optional[pulumi.Input[str]] = None, storage_location: Optional[pulumi.Input[str]] = None): """ @@ -110,6 +127,7 @@ def __init__(__self__, *, :param pulumi.Input[str] catalog_name: The name of the catalog where the schema and the registered model reside. *Change of this parameter forces recreation of the resource.* :param pulumi.Input[str] comment: The comment attached to the registered model. :param pulumi.Input[str] name: The name of the registered model. *Change of this parameter forces recreation of the resource.* + :param pulumi.Input[str] owner: Name of the registered model owner. :param pulumi.Input[str] schema_name: The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.* :param pulumi.Input[str] storage_location: The storage location under which model version data files are stored. *Change of this parameter forces recreation of the resource.* """ @@ -119,6 +137,8 @@ def __init__(__self__, *, pulumi.set(__self__, "comment", comment) 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: @@ -160,6 +180,18 @@ def name(self) -> Optional[pulumi.Input[str]]: def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) + @property + @pulumi.getter + def owner(self) -> Optional[pulumi.Input[str]]: + """ + Name of the registered model 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="schemaName") def schema_name(self) -> Optional[pulumi.Input[str]]: @@ -193,6 +225,7 @@ def __init__(__self__, catalog_name: Optional[pulumi.Input[str]] = None, comment: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, + owner: Optional[pulumi.Input[str]] = None, schema_name: Optional[pulumi.Input[str]] = None, storage_location: Optional[pulumi.Input[str]] = None, __props__=None): @@ -243,6 +276,7 @@ def __init__(__self__, :param pulumi.Input[str] catalog_name: The name of the catalog where the schema and the registered model reside. *Change of this parameter forces recreation of the resource.* :param pulumi.Input[str] comment: The comment attached to the registered model. :param pulumi.Input[str] name: The name of the registered model. *Change of this parameter forces recreation of the resource.* + :param pulumi.Input[str] owner: Name of the registered model owner. :param pulumi.Input[str] schema_name: The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.* :param pulumi.Input[str] storage_location: The storage location under which model version data files are stored. *Change of this parameter forces recreation of the resource.* """ @@ -312,6 +346,7 @@ def _internal_init(__self__, catalog_name: Optional[pulumi.Input[str]] = None, comment: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, + owner: Optional[pulumi.Input[str]] = None, schema_name: Optional[pulumi.Input[str]] = None, storage_location: Optional[pulumi.Input[str]] = None, __props__=None): @@ -328,6 +363,7 @@ def _internal_init(__self__, __props__.__dict__["catalog_name"] = catalog_name __props__.__dict__["comment"] = comment __props__.__dict__["name"] = name + __props__.__dict__["owner"] = owner if schema_name is None and not opts.urn: raise TypeError("Missing required property 'schema_name'") __props__.__dict__["schema_name"] = schema_name @@ -345,6 +381,7 @@ def get(resource_name: str, catalog_name: Optional[pulumi.Input[str]] = None, comment: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, + owner: Optional[pulumi.Input[str]] = None, schema_name: Optional[pulumi.Input[str]] = None, storage_location: Optional[pulumi.Input[str]] = None) -> 'RegisteredModel': """ @@ -357,6 +394,7 @@ def get(resource_name: str, :param pulumi.Input[str] catalog_name: The name of the catalog where the schema and the registered model reside. *Change of this parameter forces recreation of the resource.* :param pulumi.Input[str] comment: The comment attached to the registered model. :param pulumi.Input[str] name: The name of the registered model. *Change of this parameter forces recreation of the resource.* + :param pulumi.Input[str] owner: Name of the registered model owner. :param pulumi.Input[str] schema_name: The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.* :param pulumi.Input[str] storage_location: The storage location under which model version data files are stored. *Change of this parameter forces recreation of the resource.* """ @@ -367,6 +405,7 @@ def get(resource_name: str, __props__.__dict__["catalog_name"] = catalog_name __props__.__dict__["comment"] = comment __props__.__dict__["name"] = name + __props__.__dict__["owner"] = owner __props__.__dict__["schema_name"] = schema_name __props__.__dict__["storage_location"] = storage_location return RegisteredModel(resource_name, opts=opts, __props__=__props__) @@ -395,6 +434,14 @@ def name(self) -> pulumi.Output[str]: """ return pulumi.get(self, "name") + @property + @pulumi.getter + def owner(self) -> pulumi.Output[str]: + """ + Name of the registered model owner. + """ + return pulumi.get(self, "owner") + @property @pulumi.getter(name="schemaName") def schema_name(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_databricks/service_principal.py b/sdk/python/pulumi_databricks/service_principal.py index 63a5f610..6af0a7e6 100644 --- a/sdk/python/pulumi_databricks/service_principal.py +++ b/sdk/python/pulumi_databricks/service_principal.py @@ -35,9 +35,9 @@ def __init__(__self__, *, :param pulumi.Input[bool] active: Either service principal is active or not. True by default, but can be set to false in case of service principal deactivation with preserving service principal assets. :param pulumi.Input[bool] allow_cluster_create: Allow the service principal to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within the boundaries of that specific policy. :param pulumi.Input[bool] allow_instance_pool_create: Allow the service principal to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument. - :param pulumi.Input[str] application_id: This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + :param pulumi.Input[str] application_id: This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. :param pulumi.Input[bool] databricks_sql_access: This is a field to allow the group to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature through databricks_sql_endpoint. - :param pulumi.Input[bool] disable_as_user_deletion: When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + :param pulumi.Input[bool] disable_as_user_deletion: Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. :param pulumi.Input[str] display_name: This is an alias for the service principal and can be the full name of the service principal. :param pulumi.Input[str] external_id: ID of the service principal in an external identity provider. :param pulumi.Input[bool] force_delete_home_dir: This flag determines whether the service principal's home directory is deleted when the user is deleted. It will have no impact when in the accounts SCIM API. False by default. @@ -129,7 +129,7 @@ def allow_instance_pool_create(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="applicationId") def application_id(self) -> Optional[pulumi.Input[str]]: """ - This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. """ return pulumi.get(self, "application_id") @@ -153,7 +153,7 @@ def databricks_sql_access(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="disableAsUserDeletion") def disable_as_user_deletion(self) -> Optional[pulumi.Input[bool]]: """ - When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. """ return pulumi.get(self, "disable_as_user_deletion") @@ -279,9 +279,9 @@ def __init__(__self__, *, :param pulumi.Input[bool] active: Either service principal is active or not. True by default, but can be set to false in case of service principal deactivation with preserving service principal assets. :param pulumi.Input[bool] allow_cluster_create: Allow the service principal to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within the boundaries of that specific policy. :param pulumi.Input[bool] allow_instance_pool_create: Allow the service principal to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument. - :param pulumi.Input[str] application_id: This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + :param pulumi.Input[str] application_id: This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. :param pulumi.Input[bool] databricks_sql_access: This is a field to allow the group to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature through databricks_sql_endpoint. - :param pulumi.Input[bool] disable_as_user_deletion: When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + :param pulumi.Input[bool] disable_as_user_deletion: Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. :param pulumi.Input[str] display_name: This is an alias for the service principal and can be the full name of the service principal. :param pulumi.Input[str] external_id: ID of the service principal in an external identity provider. :param pulumi.Input[bool] force_delete_home_dir: This flag determines whether the service principal's home directory is deleted when the user is deleted. It will have no impact when in the accounts SCIM API. False by default. @@ -373,7 +373,7 @@ def allow_instance_pool_create(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="applicationId") def application_id(self) -> Optional[pulumi.Input[str]]: """ - This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. """ return pulumi.get(self, "application_id") @@ -397,7 +397,7 @@ def databricks_sql_access(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="disableAsUserDeletion") def disable_as_user_deletion(self) -> Optional[pulumi.Input[bool]]: """ - When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. """ return pulumi.get(self, "disable_as_user_deletion") @@ -521,24 +521,31 @@ def __init__(__self__, workspace_access: Optional[pulumi.Input[bool]] = None, __props__=None): """ - Directly manage [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html) that could be added to Group in Databricks workspace or account. + Directly manage [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html) that could be added to Group in Databricks account or workspace. + + There are different types of service principals: + + * Databricks-managed - exists only inside the Databricks platform (all clouds) and couldn't be used for accessing non-Databricks services. + * Azure-managed - existing Azure service principal (enterprise application) is registered inside Databricks. It could be used to work with other Azure services. > **Note** To assign account level service principals to workspace use databricks_mws_permission_assignment. - > **Note** Entitlements, like, `allow_cluster_create`, `allow_instance_pool_create`, `databricks_sql_access`, `workspace_access` applicable only for workspace-level service principals. Use Entitlements resource to assign entitlements inside a workspace to account-level service principals. + > **Note** Entitlements, like, `allow_cluster_create`, `allow_instance_pool_create`, `databricks_sql_access`, `workspace_access` applicable only for workspace-level service principals. Use Entitlements resource to assign entitlements inside a workspace to account-level service principals. + + To create service principals in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using the supported authentication method for account operations. - To create service principals in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments + The default behavior when deleting a `ServicePrincipal` resource depends on whether the provider is configured at the workspace-level or account-level. When the provider is configured at the workspace-level, the service principal will be deleted from the workspace. When the provider is configured at the account-level, the service principal will be deactivated but not deleted. When the provider is configured at the account level, to delete the service principal from the account when the resource is deleted, set `disable_as_user_deletion = false`. Conversely, when the provider is configured at the account-level, to deactivate the service principal when the resource is deleted, set `disable_as_user_deletion = true`. ## Example Usage - Creating regular service principal: + Creating regular Databricks-managed service principal: ```python import pulumi import pulumi_databricks as databricks - sp = databricks.ServicePrincipal("sp", application_id="00000000-0000-0000-0000-000000000000") + sp = databricks.ServicePrincipal("sp", display_name="Admin SP") ``` @@ -550,14 +557,14 @@ def __init__(__self__, import pulumi_databricks as databricks admins = databricks.get_group(display_name="admins") - sp = databricks.ServicePrincipal("sp", application_id="00000000-0000-0000-0000-000000000000") + sp = databricks.ServicePrincipal("sp", display_name="Admin SP") i_am_admin = databricks.GroupMember("i-am-admin", group_id=admins.id, member_id=sp.id) ``` - Creating service principal with cluster create permissions: + Creating Azure-managed service principal with cluster create permissions: ```python @@ -571,7 +578,7 @@ def __init__(__self__, ``` - Creating service principal in AWS Databricks account: + Creating Databricks-managed service principal in AWS Databricks account: ```python @@ -579,17 +586,17 @@ def __init__(__self__, import pulumi_databricks as databricks # initialize provider at account-level - mws = databricks.Provider("mws", + account = databricks.Provider("account", host="https://accounts.cloud.databricks.com", account_id="00000000-0000-0000-0000-000000000000", client_id=var["client_id"], client_secret=var["client_secret"]) sp = databricks.ServicePrincipal("sp", display_name="Automation-only SP", - opts=pulumi.ResourceOptions(provider=databricks["mws"])) + opts=pulumi.ResourceOptions(provider=databricks["account"])) ``` - Creating service principal in Azure Databricks account: + Creating Azure-managed service principal in Azure Databricks account: ```python @@ -597,12 +604,12 @@ def __init__(__self__, import pulumi_databricks as databricks # initialize provider at Azure account-level - azure_account = databricks.Provider("azureAccount", + account = databricks.Provider("account", host="https://accounts.azuredatabricks.net", account_id="00000000-0000-0000-0000-000000000000", auth_type="azure-cli") sp = databricks.ServicePrincipal("sp", application_id="00000000-0000-0000-0000-000000000000", - opts=pulumi.ResourceOptions(provider=databricks["azure_account"])) + opts=pulumi.ResourceOptions(provider=databricks["account"])) ``` @@ -610,12 +617,12 @@ def __init__(__self__, The following resources are often used in the same context: - * End to end workspace management guide. - * 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). - * Group data to retrieve information about Group members, entitlements and instance profiles. - * GroupMember to attach users and groups as group members. - * Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace. - * SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and more to manage secrets for the service principal (only for AWS deployments) + - End to end workspace management guide. + - 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). + - Group data to retrieve information about Group members, entitlements and instance profiles. + - GroupMember to attach users and groups as group members. + - Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace. + - SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and more to manage secrets for the service principal (only for AWS deployments) ## Import @@ -633,9 +640,9 @@ def __init__(__self__, :param pulumi.Input[bool] active: Either service principal is active or not. True by default, but can be set to false in case of service principal deactivation with preserving service principal assets. :param pulumi.Input[bool] allow_cluster_create: Allow the service principal to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within the boundaries of that specific policy. :param pulumi.Input[bool] allow_instance_pool_create: Allow the service principal to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument. - :param pulumi.Input[str] application_id: This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + :param pulumi.Input[str] application_id: This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. :param pulumi.Input[bool] databricks_sql_access: This is a field to allow the group to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature through databricks_sql_endpoint. - :param pulumi.Input[bool] disable_as_user_deletion: When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + :param pulumi.Input[bool] disable_as_user_deletion: Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. :param pulumi.Input[str] display_name: This is an alias for the service principal and can be the full name of the service principal. :param pulumi.Input[str] external_id: ID of the service principal in an external identity provider. :param pulumi.Input[bool] force_delete_home_dir: This flag determines whether the service principal's home directory is deleted when the user is deleted. It will have no impact when in the accounts SCIM API. False by default. @@ -651,24 +658,31 @@ def __init__(__self__, args: Optional[ServicePrincipalArgs] = None, opts: Optional[pulumi.ResourceOptions] = None): """ - Directly manage [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html) that could be added to Group in Databricks workspace or account. + Directly manage [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html) that could be added to Group in Databricks account or workspace. + + There are different types of service principals: + + * Databricks-managed - exists only inside the Databricks platform (all clouds) and couldn't be used for accessing non-Databricks services. + * Azure-managed - existing Azure service principal (enterprise application) is registered inside Databricks. It could be used to work with other Azure services. > **Note** To assign account level service principals to workspace use databricks_mws_permission_assignment. - > **Note** Entitlements, like, `allow_cluster_create`, `allow_instance_pool_create`, `databricks_sql_access`, `workspace_access` applicable only for workspace-level service principals. Use Entitlements resource to assign entitlements inside a workspace to account-level service principals. + > **Note** Entitlements, like, `allow_cluster_create`, `allow_instance_pool_create`, `databricks_sql_access`, `workspace_access` applicable only for workspace-level service principals. Use Entitlements resource to assign entitlements inside a workspace to account-level service principals. + + To create service principals in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using the supported authentication method for account operations. - To create service principals in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments + The default behavior when deleting a `ServicePrincipal` resource depends on whether the provider is configured at the workspace-level or account-level. When the provider is configured at the workspace-level, the service principal will be deleted from the workspace. When the provider is configured at the account-level, the service principal will be deactivated but not deleted. When the provider is configured at the account level, to delete the service principal from the account when the resource is deleted, set `disable_as_user_deletion = false`. Conversely, when the provider is configured at the account-level, to deactivate the service principal when the resource is deleted, set `disable_as_user_deletion = true`. ## Example Usage - Creating regular service principal: + Creating regular Databricks-managed service principal: ```python import pulumi import pulumi_databricks as databricks - sp = databricks.ServicePrincipal("sp", application_id="00000000-0000-0000-0000-000000000000") + sp = databricks.ServicePrincipal("sp", display_name="Admin SP") ``` @@ -680,14 +694,14 @@ def __init__(__self__, import pulumi_databricks as databricks admins = databricks.get_group(display_name="admins") - sp = databricks.ServicePrincipal("sp", application_id="00000000-0000-0000-0000-000000000000") + sp = databricks.ServicePrincipal("sp", display_name="Admin SP") i_am_admin = databricks.GroupMember("i-am-admin", group_id=admins.id, member_id=sp.id) ``` - Creating service principal with cluster create permissions: + Creating Azure-managed service principal with cluster create permissions: ```python @@ -701,7 +715,7 @@ def __init__(__self__, ``` - Creating service principal in AWS Databricks account: + Creating Databricks-managed service principal in AWS Databricks account: ```python @@ -709,17 +723,17 @@ def __init__(__self__, import pulumi_databricks as databricks # initialize provider at account-level - mws = databricks.Provider("mws", + account = databricks.Provider("account", host="https://accounts.cloud.databricks.com", account_id="00000000-0000-0000-0000-000000000000", client_id=var["client_id"], client_secret=var["client_secret"]) sp = databricks.ServicePrincipal("sp", display_name="Automation-only SP", - opts=pulumi.ResourceOptions(provider=databricks["mws"])) + opts=pulumi.ResourceOptions(provider=databricks["account"])) ``` - Creating service principal in Azure Databricks account: + Creating Azure-managed service principal in Azure Databricks account: ```python @@ -727,12 +741,12 @@ def __init__(__self__, import pulumi_databricks as databricks # initialize provider at Azure account-level - azure_account = databricks.Provider("azureAccount", + account = databricks.Provider("account", host="https://accounts.azuredatabricks.net", account_id="00000000-0000-0000-0000-000000000000", auth_type="azure-cli") sp = databricks.ServicePrincipal("sp", application_id="00000000-0000-0000-0000-000000000000", - opts=pulumi.ResourceOptions(provider=databricks["azure_account"])) + opts=pulumi.ResourceOptions(provider=databricks["account"])) ``` @@ -740,12 +754,12 @@ def __init__(__self__, The following resources are often used in the same context: - * End to end workspace management guide. - * 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). - * Group data to retrieve information about Group members, entitlements and instance profiles. - * GroupMember to attach users and groups as group members. - * Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace. - * SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and more to manage secrets for the service principal (only for AWS deployments) + - End to end workspace management guide. + - 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). + - Group data to retrieve information about Group members, entitlements and instance profiles. + - GroupMember to attach users and groups as group members. + - Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace. + - SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and more to manage secrets for the service principal (only for AWS deployments) ## Import @@ -847,9 +861,9 @@ def get(resource_name: str, :param pulumi.Input[bool] active: Either service principal is active or not. True by default, but can be set to false in case of service principal deactivation with preserving service principal assets. :param pulumi.Input[bool] allow_cluster_create: Allow the service principal to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within the boundaries of that specific policy. :param pulumi.Input[bool] allow_instance_pool_create: Allow the service principal to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument. - :param pulumi.Input[str] application_id: This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + :param pulumi.Input[str] application_id: This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. :param pulumi.Input[bool] databricks_sql_access: This is a field to allow the group to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature through databricks_sql_endpoint. - :param pulumi.Input[bool] disable_as_user_deletion: When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + :param pulumi.Input[bool] disable_as_user_deletion: Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. :param pulumi.Input[str] display_name: This is an alias for the service principal and can be the full name of the service principal. :param pulumi.Input[str] external_id: ID of the service principal in an external identity provider. :param pulumi.Input[bool] force_delete_home_dir: This flag determines whether the service principal's home directory is deleted when the user is deleted. It will have no impact when in the accounts SCIM API. False by default. @@ -915,7 +929,7 @@ def allow_instance_pool_create(self) -> pulumi.Output[Optional[bool]]: @pulumi.getter(name="applicationId") def application_id(self) -> pulumi.Output[str]: """ - This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated. + This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. For Databricks-managed service principals this value is auto-generated. """ return pulumi.get(self, "application_id") @@ -931,7 +945,7 @@ def databricks_sql_access(self) -> pulumi.Output[Optional[bool]]: @pulumi.getter(name="disableAsUserDeletion") def disable_as_user_deletion(self) -> pulumi.Output[Optional[bool]]: """ - When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + Deactivate the service principal when deleting the resource, rather than deleting the service principal entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. """ return pulumi.get(self, "disable_as_user_deletion") diff --git a/sdk/python/pulumi_databricks/user.py b/sdk/python/pulumi_databricks/user.py index 8130e523..732c6413 100644 --- a/sdk/python/pulumi_databricks/user.py +++ b/sdk/python/pulumi_databricks/user.py @@ -37,7 +37,7 @@ def __init__(__self__, *, :param pulumi.Input[bool] allow_cluster_create: Allow the user to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within boundaries of that specific policy. :param pulumi.Input[bool] allow_instance_pool_create: Allow the user to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument. :param pulumi.Input[bool] databricks_sql_access: This is a field to allow the group to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint. - :param pulumi.Input[bool] disable_as_user_deletion: When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + :param pulumi.Input[bool] disable_as_user_deletion: Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. :param pulumi.Input[str] display_name: This is an alias for the username that can be the full name of the user. :param pulumi.Input[str] external_id: ID of the user in an external identity provider. :param pulumi.Input[bool] force_delete_home_dir: This flag determines whether the user's home directory is deleted when the user is deleted. It will have not impact when in the accounts SCIM API. False by default. @@ -151,7 +151,7 @@ def databricks_sql_access(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="disableAsUserDeletion") def disable_as_user_deletion(self) -> Optional[pulumi.Input[bool]]: """ - When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. """ return pulumi.get(self, "disable_as_user_deletion") @@ -275,7 +275,7 @@ def __init__(__self__, *, :param pulumi.Input[bool] allow_cluster_create: Allow the user to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within boundaries of that specific policy. :param pulumi.Input[bool] allow_instance_pool_create: Allow the user to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument. :param pulumi.Input[bool] databricks_sql_access: This is a field to allow the group to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint. - :param pulumi.Input[bool] disable_as_user_deletion: When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + :param pulumi.Input[bool] disable_as_user_deletion: Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. :param pulumi.Input[str] display_name: This is an alias for the username that can be the full name of the user. :param pulumi.Input[str] external_id: ID of the user in an external identity provider. :param pulumi.Input[bool] force_delete_home_dir: This flag determines whether the user's home directory is deleted when the user is deleted. It will have not impact when in the accounts SCIM API. False by default. @@ -379,7 +379,7 @@ def databricks_sql_access(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="disableAsUserDeletion") def disable_as_user_deletion(self) -> Optional[pulumi.Input[bool]]: """ - When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. """ return pulumi.get(self, "disable_as_user_deletion") @@ -518,7 +518,9 @@ def __init__(__self__, > **Note** Entitlements, like, `allow_cluster_create`, `allow_instance_pool_create`, `databricks_sql_access`, `workspace_access` applicable only for workspace-level users. Use Entitlements resource to assign entitlements inside a workspace to account-level users. - To create users in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments + To create users in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments. + + The default behavior when deleting a `User` resource depends on whether the provider is configured at the workspace-level or account-level. When the provider is configured at the workspace-level, the user will be deleted from the workspace. When the provider is configured at the account-level, the user will be deactivated but not deleted. When the provider is configured at the account level, to delete the user from the account when the resource is deleted, set `disable_as_user_deletion = false`. Conversely, when the provider is configured at the account-level, to deactivate the user when the resource is deleted, set `disable_as_user_deletion = true`. ## Example Usage @@ -630,7 +632,7 @@ def __init__(__self__, :param pulumi.Input[bool] allow_cluster_create: Allow the user to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within boundaries of that specific policy. :param pulumi.Input[bool] allow_instance_pool_create: Allow the user to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument. :param pulumi.Input[bool] databricks_sql_access: This is a field to allow the group to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint. - :param pulumi.Input[bool] disable_as_user_deletion: When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + :param pulumi.Input[bool] disable_as_user_deletion: Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. :param pulumi.Input[str] display_name: This is an alias for the username that can be the full name of the user. :param pulumi.Input[str] external_id: ID of the user in an external identity provider. :param pulumi.Input[bool] force_delete_home_dir: This flag determines whether the user's home directory is deleted when the user is deleted. It will have not impact when in the accounts SCIM API. False by default. @@ -652,7 +654,9 @@ def __init__(__self__, > **Note** Entitlements, like, `allow_cluster_create`, `allow_instance_pool_create`, `databricks_sql_access`, `workspace_access` applicable only for workspace-level users. Use Entitlements resource to assign entitlements inside a workspace to account-level users. - To create users in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments + To create users in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments. + + The default behavior when deleting a `User` resource depends on whether the provider is configured at the workspace-level or account-level. When the provider is configured at the workspace-level, the user will be deleted from the workspace. When the provider is configured at the account-level, the user will be deactivated but not deleted. When the provider is configured at the account level, to delete the user from the account when the resource is deleted, set `disable_as_user_deletion = false`. Conversely, when the provider is configured at the account-level, to deactivate the user when the resource is deleted, set `disable_as_user_deletion = true`. ## Example Usage @@ -850,7 +854,7 @@ def get(resource_name: str, :param pulumi.Input[bool] allow_cluster_create: Allow the user to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within boundaries of that specific policy. :param pulumi.Input[bool] allow_instance_pool_create: Allow the user to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument. :param pulumi.Input[bool] databricks_sql_access: This is a field to allow the group to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint. - :param pulumi.Input[bool] disable_as_user_deletion: When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + :param pulumi.Input[bool] disable_as_user_deletion: Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. :param pulumi.Input[str] display_name: This is an alias for the username that can be the full name of the user. :param pulumi.Input[str] external_id: ID of the user in an external identity provider. :param pulumi.Input[bool] force_delete_home_dir: This flag determines whether the user's home directory is deleted when the user is deleted. It will have not impact when in the accounts SCIM API. False by default. @@ -924,7 +928,7 @@ def databricks_sql_access(self) -> pulumi.Output[Optional[bool]]: @pulumi.getter(name="disableAsUserDeletion") def disable_as_user_deletion(self) -> pulumi.Output[bool]: """ - When deleting a user, set the user's active flag to false instead of actually deleting the user. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. True by default for accounts SCIM API, false otherwise. + Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags. """ return pulumi.get(self, "disable_as_user_deletion") diff --git a/sdk/python/pulumi_databricks/vector_search_endpoint.py b/sdk/python/pulumi_databricks/vector_search_endpoint.py index 776cce65..1d67a373 100644 --- a/sdk/python/pulumi_databricks/vector_search_endpoint.py +++ b/sdk/python/pulumi_databricks/vector_search_endpoint.py @@ -20,8 +20,8 @@ def __init__(__self__, *, name: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a VectorSearchEndpoint resource. - :param pulumi.Input[str] endpoint_type: type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. - :param pulumi.Input[str] name: Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + :param pulumi.Input[str] endpoint_type: Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). + :param pulumi.Input[str] name: Name of the Vector Search Endpoint to create. """ pulumi.set(__self__, "endpoint_type", endpoint_type) if name is not None: @@ -31,7 +31,7 @@ def __init__(__self__, *, @pulumi.getter(name="endpointType") def endpoint_type(self) -> pulumi.Input[str]: """ - type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). """ return pulumi.get(self, "endpoint_type") @@ -43,7 +43,7 @@ def endpoint_type(self, value: pulumi.Input[str]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + Name of the Vector Search Endpoint to create. """ return pulumi.get(self, "name") @@ -69,11 +69,11 @@ def __init__(__self__, *, :param pulumi.Input[int] creation_timestamp: Timestamp of endpoint creation (milliseconds). :param pulumi.Input[str] creator: Creator of the endpoint. :param pulumi.Input[str] endpoint_id: Unique internal identifier of the endpoint (UUID). - :param pulumi.Input[Sequence[pulumi.Input['VectorSearchEndpointEndpointStatusArgs']]] endpoint_statuses: Object describing the current status of the endpoint consisting of following fields: - :param pulumi.Input[str] endpoint_type: type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. - :param pulumi.Input[int] last_updated_timestamp: Timestamp of last update to the endpoint (milliseconds). + :param pulumi.Input[Sequence[pulumi.Input['VectorSearchEndpointEndpointStatusArgs']]] endpoint_statuses: Object describing the current status of the endpoint consisting of the following fields: + :param pulumi.Input[str] endpoint_type: Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). + :param pulumi.Input[int] last_updated_timestamp: Timestamp of the last update to the endpoint (milliseconds). :param pulumi.Input[str] last_updated_user: User who last updated the endpoint. - :param pulumi.Input[str] name: Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + :param pulumi.Input[str] name: Name of the Vector Search Endpoint to create. :param pulumi.Input[int] num_indexes: Number of indexes on the endpoint. """ if creation_timestamp is not None: @@ -135,7 +135,7 @@ def endpoint_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="endpointStatuses") def endpoint_statuses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchEndpointEndpointStatusArgs']]]]: """ - Object describing the current status of the endpoint consisting of following fields: + Object describing the current status of the endpoint consisting of the following fields: """ return pulumi.get(self, "endpoint_statuses") @@ -147,7 +147,7 @@ def endpoint_statuses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[' @pulumi.getter(name="endpointType") def endpoint_type(self) -> Optional[pulumi.Input[str]]: """ - type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). """ return pulumi.get(self, "endpoint_type") @@ -159,7 +159,7 @@ def endpoint_type(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="lastUpdatedTimestamp") def last_updated_timestamp(self) -> Optional[pulumi.Input[int]]: """ - Timestamp of last update to the endpoint (milliseconds). + Timestamp of the last update to the endpoint (milliseconds). """ return pulumi.get(self, "last_updated_timestamp") @@ -183,7 +183,7 @@ def last_updated_user(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + Name of the Vector Search Endpoint to create. """ return pulumi.get(self, "name") @@ -240,8 +240,8 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] endpoint_type: type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. - :param pulumi.Input[str] name: Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + :param pulumi.Input[str] endpoint_type: Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). + :param pulumi.Input[str] name: Name of the Vector Search Endpoint to create. """ ... @overload @@ -341,11 +341,11 @@ def get(resource_name: str, :param pulumi.Input[int] creation_timestamp: Timestamp of endpoint creation (milliseconds). :param pulumi.Input[str] creator: Creator of the endpoint. :param pulumi.Input[str] endpoint_id: Unique internal identifier of the endpoint (UUID). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VectorSearchEndpointEndpointStatusArgs']]]] endpoint_statuses: Object describing the current status of the endpoint consisting of following fields: - :param pulumi.Input[str] endpoint_type: type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. - :param pulumi.Input[int] last_updated_timestamp: Timestamp of last update to the endpoint (milliseconds). + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VectorSearchEndpointEndpointStatusArgs']]]] endpoint_statuses: Object describing the current status of the endpoint consisting of the following fields: + :param pulumi.Input[str] endpoint_type: Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). + :param pulumi.Input[int] last_updated_timestamp: Timestamp of the last update to the endpoint (milliseconds). :param pulumi.Input[str] last_updated_user: User who last updated the endpoint. - :param pulumi.Input[str] name: Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + :param pulumi.Input[str] name: Name of the Vector Search Endpoint to create. :param pulumi.Input[int] num_indexes: Number of indexes on the endpoint. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -391,7 +391,7 @@ def endpoint_id(self) -> pulumi.Output[str]: @pulumi.getter(name="endpointStatuses") def endpoint_statuses(self) -> pulumi.Output[Sequence['outputs.VectorSearchEndpointEndpointStatus']]: """ - Object describing the current status of the endpoint consisting of following fields: + Object describing the current status of the endpoint consisting of the following fields: """ return pulumi.get(self, "endpoint_statuses") @@ -399,7 +399,7 @@ def endpoint_statuses(self) -> pulumi.Output[Sequence['outputs.VectorSearchEndpo @pulumi.getter(name="endpointType") def endpoint_type(self) -> pulumi.Output[str]: """ - type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). If it's changed, Vector Search Endpoint is recreated. + Type of Vector Search Endpoint. Currently only accepting single value: `STANDARD` (See [documentation](https://docs.databricks.com/api/workspace/vectorsearchendpoints/createendpoint) for the list of currently supported values). """ return pulumi.get(self, "endpoint_type") @@ -407,7 +407,7 @@ def endpoint_type(self) -> pulumi.Output[str]: @pulumi.getter(name="lastUpdatedTimestamp") def last_updated_timestamp(self) -> pulumi.Output[int]: """ - Timestamp of last update to the endpoint (milliseconds). + Timestamp of the last update to the endpoint (milliseconds). """ return pulumi.get(self, "last_updated_timestamp") @@ -423,7 +423,7 @@ def last_updated_user(self) -> pulumi.Output[str]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - Name of the Vector Search Endpoint to create. If name is changed, Vector Search Endpoint is recreated. + Name of the Vector Search Endpoint to create. """ return pulumi.get(self, "name") diff --git a/sdk/python/pulumi_databricks/vector_search_index.py b/sdk/python/pulumi_databricks/vector_search_index.py new file mode 100644 index 00000000..b8016f05 --- /dev/null +++ b/sdk/python/pulumi_databricks/vector_search_index.py @@ -0,0 +1,509 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['VectorSearchIndexArgs', 'VectorSearchIndex'] + +@pulumi.input_type +class VectorSearchIndexArgs: + def __init__(__self__, *, + endpoint_name: pulumi.Input[str], + index_type: pulumi.Input[str], + primary_key: pulumi.Input[str], + delta_sync_index_spec: Optional[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecArgs']] = None, + direct_access_index_spec: Optional[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecArgs']] = None, + name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a VectorSearchIndex resource. + :param pulumi.Input[str] endpoint_name: The name of the Vector Search Endpoint that will be used for indexing the data. + :param pulumi.Input[str] index_type: Vector Search index type. Currently supported values are: + :param pulumi.Input[str] primary_key: The column name that will be used as a primary key. + :param pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecArgs'] delta_sync_index_spec: Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`. + :param pulumi.Input['VectorSearchIndexDirectAccessIndexSpecArgs'] direct_access_index_spec: Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`. + :param pulumi.Input[str] name: The name of the column. + """ + pulumi.set(__self__, "endpoint_name", endpoint_name) + pulumi.set(__self__, "index_type", index_type) + pulumi.set(__self__, "primary_key", primary_key) + if delta_sync_index_spec is not None: + pulumi.set(__self__, "delta_sync_index_spec", delta_sync_index_spec) + if direct_access_index_spec is not None: + pulumi.set(__self__, "direct_access_index_spec", direct_access_index_spec) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter(name="endpointName") + def endpoint_name(self) -> pulumi.Input[str]: + """ + The name of the Vector Search Endpoint that will be used for indexing the data. + """ + return pulumi.get(self, "endpoint_name") + + @endpoint_name.setter + def endpoint_name(self, value: pulumi.Input[str]): + pulumi.set(self, "endpoint_name", value) + + @property + @pulumi.getter(name="indexType") + def index_type(self) -> pulumi.Input[str]: + """ + Vector Search index type. Currently supported values are: + """ + return pulumi.get(self, "index_type") + + @index_type.setter + def index_type(self, value: pulumi.Input[str]): + pulumi.set(self, "index_type", value) + + @property + @pulumi.getter(name="primaryKey") + def primary_key(self) -> pulumi.Input[str]: + """ + The column name that will be used as a primary key. + """ + return pulumi.get(self, "primary_key") + + @primary_key.setter + def primary_key(self, value: pulumi.Input[str]): + pulumi.set(self, "primary_key", value) + + @property + @pulumi.getter(name="deltaSyncIndexSpec") + def delta_sync_index_spec(self) -> Optional[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecArgs']]: + """ + Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`. + """ + return pulumi.get(self, "delta_sync_index_spec") + + @delta_sync_index_spec.setter + def delta_sync_index_spec(self, value: Optional[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecArgs']]): + pulumi.set(self, "delta_sync_index_spec", value) + + @property + @pulumi.getter(name="directAccessIndexSpec") + def direct_access_index_spec(self) -> Optional[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecArgs']]: + """ + Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`. + """ + return pulumi.get(self, "direct_access_index_spec") + + @direct_access_index_spec.setter + def direct_access_index_spec(self, value: Optional[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecArgs']]): + pulumi.set(self, "direct_access_index_spec", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the column. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class _VectorSearchIndexState: + def __init__(__self__, *, + creator: Optional[pulumi.Input[str]] = None, + delta_sync_index_spec: Optional[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecArgs']] = None, + direct_access_index_spec: Optional[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecArgs']] = None, + endpoint_name: Optional[pulumi.Input[str]] = None, + index_type: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + primary_key: Optional[pulumi.Input[str]] = None, + statuses: Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexStatusArgs']]]] = None): + """ + Input properties used for looking up and filtering VectorSearchIndex resources. + :param pulumi.Input[str] creator: Creator of the endpoint. + :param pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecArgs'] delta_sync_index_spec: Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`. + :param pulumi.Input['VectorSearchIndexDirectAccessIndexSpecArgs'] direct_access_index_spec: Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`. + :param pulumi.Input[str] endpoint_name: The name of the Vector Search Endpoint that will be used for indexing the data. + :param pulumi.Input[str] index_type: Vector Search index type. Currently supported values are: + :param pulumi.Input[str] name: The name of the column. + :param pulumi.Input[str] primary_key: The column name that will be used as a primary key. + :param pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexStatusArgs']]] statuses: Object describing the current status of the index consisting of the following fields: + """ + if creator is not None: + pulumi.set(__self__, "creator", creator) + if delta_sync_index_spec is not None: + pulumi.set(__self__, "delta_sync_index_spec", delta_sync_index_spec) + if direct_access_index_spec is not None: + pulumi.set(__self__, "direct_access_index_spec", direct_access_index_spec) + if endpoint_name is not None: + pulumi.set(__self__, "endpoint_name", endpoint_name) + if index_type is not None: + pulumi.set(__self__, "index_type", index_type) + if name is not None: + pulumi.set(__self__, "name", name) + if primary_key is not None: + pulumi.set(__self__, "primary_key", primary_key) + if statuses is not None: + pulumi.set(__self__, "statuses", statuses) + + @property + @pulumi.getter + def creator(self) -> Optional[pulumi.Input[str]]: + """ + Creator of the endpoint. + """ + return pulumi.get(self, "creator") + + @creator.setter + def creator(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "creator", value) + + @property + @pulumi.getter(name="deltaSyncIndexSpec") + def delta_sync_index_spec(self) -> Optional[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecArgs']]: + """ + Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`. + """ + return pulumi.get(self, "delta_sync_index_spec") + + @delta_sync_index_spec.setter + def delta_sync_index_spec(self, value: Optional[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecArgs']]): + pulumi.set(self, "delta_sync_index_spec", value) + + @property + @pulumi.getter(name="directAccessIndexSpec") + def direct_access_index_spec(self) -> Optional[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecArgs']]: + """ + Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`. + """ + return pulumi.get(self, "direct_access_index_spec") + + @direct_access_index_spec.setter + def direct_access_index_spec(self, value: Optional[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecArgs']]): + pulumi.set(self, "direct_access_index_spec", value) + + @property + @pulumi.getter(name="endpointName") + def endpoint_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the Vector Search Endpoint that will be used for indexing the data. + """ + return pulumi.get(self, "endpoint_name") + + @endpoint_name.setter + def endpoint_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "endpoint_name", value) + + @property + @pulumi.getter(name="indexType") + def index_type(self) -> Optional[pulumi.Input[str]]: + """ + Vector Search index type. Currently supported values are: + """ + return pulumi.get(self, "index_type") + + @index_type.setter + def index_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "index_type", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the column. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="primaryKey") + def primary_key(self) -> Optional[pulumi.Input[str]]: + """ + The column name that will be used as a primary key. + """ + return pulumi.get(self, "primary_key") + + @primary_key.setter + def primary_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "primary_key", value) + + @property + @pulumi.getter + def statuses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexStatusArgs']]]]: + """ + Object describing the current status of the index consisting of the following fields: + """ + return pulumi.get(self, "statuses") + + @statuses.setter + def statuses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexStatusArgs']]]]): + pulumi.set(self, "statuses", value) + + +class VectorSearchIndex(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + delta_sync_index_spec: Optional[pulumi.Input[pulumi.InputType['VectorSearchIndexDeltaSyncIndexSpecArgs']]] = None, + direct_access_index_spec: Optional[pulumi.Input[pulumi.InputType['VectorSearchIndexDirectAccessIndexSpecArgs']]] = None, + endpoint_name: Optional[pulumi.Input[str]] = None, + index_type: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + primary_key: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + > **Note** This resource could be only used on Unity Catalog-enabled workspace! + + This resource allows you to create [Vector Search Index](https://docs.databricks.com/en/generative-ai/create-query-vector-search.html) in Databricks. Vector Search is a serverless similarity search engine that allows you to store a vector representation of your data, including metadata, in a vector database. The Vector Search Index provides the ability to search data in the linked Delta Table. + + ## Example Usage + + + ```python + import pulumi + import pulumi_databricks as databricks + + sync = databricks.VectorSearchIndex("sync", + endpoint_name=databricks_vector_search_endpoint["this"]["name"], + primary_key="id", + index_type="DELTA_SYNC", + delta_sync_index_spec=databricks.VectorSearchIndexDeltaSyncIndexSpecArgs( + source_table="main.default.source_table", + pipeline_type="TRIGGERED", + embedding_source_columns=[databricks.VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs( + name="text", + embedding_model_endpoint_name=databricks_model_serving["this"]["name"], + )], + )) + ``` + + + ## Import + + The resource can be imported using the name of the Vector Search Index + + bash + + ```sh + $ pulumi import databricks:index/vectorSearchIndex:VectorSearchIndex this + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['VectorSearchIndexDeltaSyncIndexSpecArgs']] delta_sync_index_spec: Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`. + :param pulumi.Input[pulumi.InputType['VectorSearchIndexDirectAccessIndexSpecArgs']] direct_access_index_spec: Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`. + :param pulumi.Input[str] endpoint_name: The name of the Vector Search Endpoint that will be used for indexing the data. + :param pulumi.Input[str] index_type: Vector Search index type. Currently supported values are: + :param pulumi.Input[str] name: The name of the column. + :param pulumi.Input[str] primary_key: The column name that will be used as a primary key. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: VectorSearchIndexArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + > **Note** This resource could be only used on Unity Catalog-enabled workspace! + + This resource allows you to create [Vector Search Index](https://docs.databricks.com/en/generative-ai/create-query-vector-search.html) in Databricks. Vector Search is a serverless similarity search engine that allows you to store a vector representation of your data, including metadata, in a vector database. The Vector Search Index provides the ability to search data in the linked Delta Table. + + ## Example Usage + + + ```python + import pulumi + import pulumi_databricks as databricks + + sync = databricks.VectorSearchIndex("sync", + endpoint_name=databricks_vector_search_endpoint["this"]["name"], + primary_key="id", + index_type="DELTA_SYNC", + delta_sync_index_spec=databricks.VectorSearchIndexDeltaSyncIndexSpecArgs( + source_table="main.default.source_table", + pipeline_type="TRIGGERED", + embedding_source_columns=[databricks.VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs( + name="text", + embedding_model_endpoint_name=databricks_model_serving["this"]["name"], + )], + )) + ``` + + + ## Import + + The resource can be imported using the name of the Vector Search Index + + bash + + ```sh + $ pulumi import databricks:index/vectorSearchIndex:VectorSearchIndex this + ``` + + :param str resource_name: The name of the resource. + :param VectorSearchIndexArgs 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(VectorSearchIndexArgs, 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, + delta_sync_index_spec: Optional[pulumi.Input[pulumi.InputType['VectorSearchIndexDeltaSyncIndexSpecArgs']]] = None, + direct_access_index_spec: Optional[pulumi.Input[pulumi.InputType['VectorSearchIndexDirectAccessIndexSpecArgs']]] = None, + endpoint_name: Optional[pulumi.Input[str]] = None, + index_type: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + primary_key: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = VectorSearchIndexArgs.__new__(VectorSearchIndexArgs) + + __props__.__dict__["delta_sync_index_spec"] = delta_sync_index_spec + __props__.__dict__["direct_access_index_spec"] = direct_access_index_spec + if endpoint_name is None and not opts.urn: + raise TypeError("Missing required property 'endpoint_name'") + __props__.__dict__["endpoint_name"] = endpoint_name + if index_type is None and not opts.urn: + raise TypeError("Missing required property 'index_type'") + __props__.__dict__["index_type"] = index_type + __props__.__dict__["name"] = name + if primary_key is None and not opts.urn: + raise TypeError("Missing required property 'primary_key'") + __props__.__dict__["primary_key"] = primary_key + __props__.__dict__["creator"] = None + __props__.__dict__["statuses"] = None + super(VectorSearchIndex, __self__).__init__( + 'databricks:index/vectorSearchIndex:VectorSearchIndex', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + creator: Optional[pulumi.Input[str]] = None, + delta_sync_index_spec: Optional[pulumi.Input[pulumi.InputType['VectorSearchIndexDeltaSyncIndexSpecArgs']]] = None, + direct_access_index_spec: Optional[pulumi.Input[pulumi.InputType['VectorSearchIndexDirectAccessIndexSpecArgs']]] = None, + endpoint_name: Optional[pulumi.Input[str]] = None, + index_type: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + primary_key: Optional[pulumi.Input[str]] = None, + statuses: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VectorSearchIndexStatusArgs']]]]] = None) -> 'VectorSearchIndex': + """ + Get an existing VectorSearchIndex 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] creator: Creator of the endpoint. + :param pulumi.Input[pulumi.InputType['VectorSearchIndexDeltaSyncIndexSpecArgs']] delta_sync_index_spec: Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`. + :param pulumi.Input[pulumi.InputType['VectorSearchIndexDirectAccessIndexSpecArgs']] direct_access_index_spec: Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`. + :param pulumi.Input[str] endpoint_name: The name of the Vector Search Endpoint that will be used for indexing the data. + :param pulumi.Input[str] index_type: Vector Search index type. Currently supported values are: + :param pulumi.Input[str] name: The name of the column. + :param pulumi.Input[str] primary_key: The column name that will be used as a primary key. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VectorSearchIndexStatusArgs']]]] statuses: Object describing the current status of the index consisting of the following fields: + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _VectorSearchIndexState.__new__(_VectorSearchIndexState) + + __props__.__dict__["creator"] = creator + __props__.__dict__["delta_sync_index_spec"] = delta_sync_index_spec + __props__.__dict__["direct_access_index_spec"] = direct_access_index_spec + __props__.__dict__["endpoint_name"] = endpoint_name + __props__.__dict__["index_type"] = index_type + __props__.__dict__["name"] = name + __props__.__dict__["primary_key"] = primary_key + __props__.__dict__["statuses"] = statuses + return VectorSearchIndex(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def creator(self) -> pulumi.Output[str]: + """ + Creator of the endpoint. + """ + return pulumi.get(self, "creator") + + @property + @pulumi.getter(name="deltaSyncIndexSpec") + def delta_sync_index_spec(self) -> pulumi.Output[Optional['outputs.VectorSearchIndexDeltaSyncIndexSpec']]: + """ + Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`. + """ + return pulumi.get(self, "delta_sync_index_spec") + + @property + @pulumi.getter(name="directAccessIndexSpec") + def direct_access_index_spec(self) -> pulumi.Output[Optional['outputs.VectorSearchIndexDirectAccessIndexSpec']]: + """ + Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`. + """ + return pulumi.get(self, "direct_access_index_spec") + + @property + @pulumi.getter(name="endpointName") + def endpoint_name(self) -> pulumi.Output[str]: + """ + The name of the Vector Search Endpoint that will be used for indexing the data. + """ + return pulumi.get(self, "endpoint_name") + + @property + @pulumi.getter(name="indexType") + def index_type(self) -> pulumi.Output[str]: + """ + Vector Search index type. Currently supported values are: + """ + return pulumi.get(self, "index_type") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the column. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="primaryKey") + def primary_key(self) -> pulumi.Output[str]: + """ + The column name that will be used as a primary key. + """ + return pulumi.get(self, "primary_key") + + @property + @pulumi.getter + def statuses(self) -> pulumi.Output[Sequence['outputs.VectorSearchIndexStatus']]: + """ + Object describing the current status of the index consisting of the following fields: + """ + return pulumi.get(self, "statuses") +